Aug 5 2012
Installing VirtualBox Guest Additions in Backtrack
If you want to run BackTrack in virtual box, I highly recommend installing the guest additions to take advantage of the screen resizing, shared windows, shared clip board, etc. Backtrack does not come with the virtualbox guest additions installed by default. Earlier versions of BT required several rounds of downloading kernel headers, patching, and copying files around, as of version BT5 R2 this is no longer the case and it couldn’t be simpler to install guest additions.
These instructions were tested on Mac OSX 10.7.4 running VirtualBox 4.1.18 with the extension pack and BackTrack 5 R2 64bit Gnome edition.
Download and Install
Download BackTrack
Download The Oracle VM Extension Pack, required if you want support for USB 2.0 devices.
If you want support for USB 2.0 devices you must download and install the Oracle VM Extension Pack
We are assuming you already have a copy of BT installed and that you have also installed the extension pack. In the virtual box menu go to Devices >> Install Guest Additions. This will automount the cd and you will be presented with a screen that asks if you wish to run the program, click yes and follow the instructions and everything will compile successfully.
If you run into problems you can download and install the kernel headers on your own with the instructions below, but for BT 5 R2 you shouldn’t have to.
1 2 3 | root@bt # prepare-kernel-sources root@bt # cd /usr/src/linux root@bt # cp -rf include/generated/* include/linux/ |


Aug 6 2012
Free Windows Vista & Windows 7 for Testing on Mac/Linux
If you want to test exploits against windows machines or if you’re a web developer and need to test code in IE 7, 8, and 9 you will want to have multiple windows virtual machines handy. This tutorial will show you how to legally get copies of windows installed on virtualbox using the free editions provided by Microsoft. These additions are not fully registered and you will need to restore the images after every 30 days so they aren’t useful for desktop machines but they are perfect for testing purposes.
This will produce the following virtual machines:
We will be using a script to automate the build process courtesy of Greg Thornton and it is available via github at https://raw.github.com/xdissent/ievms/master/ievms.sh. The admin password for all of the IE VMs is “Password1″ without the quotes. This has been tested and confirmed to work with Mac OS X 10.7 Lion and Mac OS X 10.6 Snow Leopard.
Instructions
Step 1: Download and install VirtualBox
Step 2: Launch the Terminal (located in /Applications/Utilities/)
Step 3: Run the installation script, this will take some time to download and install
Step 4: Launch VirtualBox and boot one of the virtual machine
Recovering from a failed installation
Each version is installed into a subdirectory of “~/.ievms/vhd/“. If the installation fails for any reason (corrupted download, for instance), delete the version-specific subdirectory and rerun the install. If nothing else, you can delete “~/.ievms“ and rerun the install.
By James Ford • Mac, Virtual Box 0