Installing Backtrack Linux in Virtual Box on Linux Mint 15

I’ve been studying an on-lineĀ  course which requires reverse engineering of some Malware. A virtual environment is ideal for this situation. A new operating system can be created separate from the main operating system, messed around with and then put back exactly as a fresh install relatively easily.

Here is a small guide onĀ  installing Backtrack Linux on VirtualBox.

Install VirtualBox

Go to Software Manager, search for VirtualBox and install.

VirtualBox package

Now VirtualBox is installed, it’s time to get the backtrack operating system. Head over to http://www.backtrack-linux.org/downloads/ and select BackTrack 5 R3, Choose a Window manager, Architecture, Image Type (I went withVM Ware which works in VirtualBox and is what I’ll show below, though mounting an ISO file in VirtualBox and installing from it is straight forward). Finally select your download method.

Backtrack download selection screen

Open up a terminal (Ctrl + Alt + T) and move into the folder where the file was downloaded. Check the md5sum by entering:

$ md5sum BT5R3-GNOME-VM-32.7z

If the md5sum matches that on the website move the file to a directory where you want to keep your virtual hard drives, otherwise re-download the image.

Move to the directory where you moved the zip file and extract it.

$ p7zip -d BT5R3-GNOME-VM-32.7z

After the file has extracted, open up Virtual Box and click on the “New” button.

Enter a name for your virtual machine and select the type (Linux) and version (Ubuntu or other Linux)

New virtual machine, virtual box

Set the amount of RAM you want to allocate to the machine.

Select Use an existing hard drive file

Select hard drive, virtual box

Navigate to the directory where you extracted the hard drive files and select BT5R3-GNOME-VM-32.vmdk (or similar file without the -s###.vmdk)

Virtual box file browser, select top vmdk file

OK the selection and create the virtual machine.

Start the virtual machine, enter the username and password (can be found on the back track website).

To start the windows manager type:

$ startx

back track 5 r3 running in virtual box