Download and Install Windows XP Virtual Machine in VirtualBox Dr. Cliff Zou University of Central Florida
Acknowledgement “How to add an XP Mode Virtual Machine to Windows 10 (or 8) using Hyper-V” by Mihai Neacsu https://www.download3k.com/articles/How-to-add-an-XP- Mode-Virtual-Machine-to-Windows-10-or-8-using-Hyper-V- 00770 CAP4145: Introduction to Malware Analysis by Dr. Xinwen Fu from UCF http://www.cs.ucf.edu/~xinwenfu/Classes/Malware/2018SP/CAP4 145-2018SP.html
Windows Virtual Machines Microsoft has provided many Windows OS virtual machine for free use Download from: https://dev.windows.com/en-us/microsoft- edge/tools/vms/ Currently it has Win7, Win8, Win10 Under the webpage, “Choose your OS” means your host OS These virtual machines expire after 90 days. You can delete expired VM and reload the original downloaded VM image again for a fresh windows VM
Windows Virtual Machines However, Microsoft has discontinued its Windows XP virtual machine Luckily, there is a way to get WinXP VM through another way
Downloading WinXP VM Download WinXP mode for Windows 7 from: https://www.microsoft.com/en-US/download/details.aspx?id=8002 Either WindowsXPMode_en-us.exe or another one is fine (differed by Media Player software) Use Winzip or WinRar to unzip this file (just treat it as a normal compressed file instead of exe file)
Downloading WinXP VM In the extracted folder, under the ‘sources’ folder, find a file named ‘xpm’, rename it as ‘xpm.zip’ Open this xpm.zip file, extract the ‘VirtualXPVHD’ file out Change ‘VirtualXPVHD’ to ‘VirtualXP.VHD’ This VHD file is the actual VM image of WinXP! Make a copy of this VHD file to a safe file location as it will be used and changed by VirtualBox later
Installing WinXP VM in VirtualBox Under VirtualBox Manager: Menu “Machine” “New” to create a winxp 32-bit vm “Use an existing virtual hard disk file” choose the downloaded VirtualXP.VHD If you feel the WinXP display is too small, when the WinXP VM is running, goto menu “View””Scale factor” change to 200% If your mouse does not work under WinXP VM, close this VM and goto its “Settings” ”System” ”MotherBoard” ”Pointing Device” select “PS/2 Mouse”
Running WinXP Virtual Machine In setup, disable the “automatic update” If you want to go back to host OS, click right CTL key to release your mouse back to your host OS The right CTL key is the default ‘home key’ for VirtualBox Right CTL + HOME will show the popup virtualBox menu
VirtualBox Guest Additions Install Guest Additions for Windows XP Start VirtualBox. Start the WinXP VM Once the host has booted, click Menu “Devices” “Insert Guest Additions CD Image” Following the on-screen instructions. Ignore warnings and continue Mouse integration – moving freely inside and out of Windows XP Enabled with the Guest Additions
VirtualBox Guest Additions Enable copy and paste Start the VM, and once it's booted, click “Devices” “Shared Clipboard” “Bidirectional” Enable Drag and Drop Click “Devices” “Drag and Drop” “Bidirectional” Since the WinXP’s IE browser is too old, it cannot browse most websites (and not safe to use it!) On your host machine, google “Chrome download for winxp 32bit” to find Chrome program to download, then drag-drop to WinXP VM to install Chrome (or firefox) You can safely use the new browser to goto Internet