Search Hacking Mode Trick Updates

Installing Backtrack 3 under VirtualBox - Part 2

Monday, November 24, 2008 ·

10.): In the "General", "Settings", "Advanced" tab you should do the following:
Click the "Boot Order", "Floppy" checkbox to uncheck it.
The "CD/DVD-ROM" should be the first boot device (for installation only).
You can leave the "Boot Order", "Hard Disk" checkbox checked, you will re-order the drives later.
Leave the "Extended Features", "Enable ACPI" checkbox checked.
Click the "Extended Features", "Enable IO APIC" checkbox to make it checked.
If you have a newer CPU then click the "Extended Features", "Enable VT-x/AMD-V" checkbox to make it checked.
Click the "Extended Features", "Enable PAE/NX" checkbox to make it checked.
Choose "Bidirectional" for the "Shared Clipboard" setting.
Choose "PIIX4 for the "IDE Controller Type" (PIIX3 does not implement an SMBus or I2C bus).
Change the "Snapshot Folder" to the same location as your Virtual Boot Drive (C:\Backtrack3).
11.): In the "General", "Settings", "Description" tab you can type "Backtrack 3".


12.): In the "General", "Settings", "Other" tab you should leave the "Remember Mounted Media" checkbox checked.


13.): In the "Hard Disks" tab you should click the "Enable SATA Controller" checkbox.
You could add a second drive as per the instructions in step 7. call it something
like: "C:\Backtrack3\Backtrack3_HD2.vdi". I disabled the SATA checkbox and it seemed
like VirtualBox ran slightly quicker, more testing required. I Ended up leaving it on.
14.): You have already configured your CD/DVD-ROM settings and can skip the "Floppy" setting (unless you want a floppy drive).


15.): In the "Audio" tab you should click the "Enable Audio" checkbox.
Choose "Windows DirectSound" for the "Host Audio Driver".
Choose "ICH AC97" for the "Audio Controller", (if you don't have audio in Backtrack 3 then
try the older "SoundBlaster 16" card). Audio works fine OOTB one my system.
16.): In the "Network", "Adapter 1" tab you should do the following:
Leave the "Enable Network Adapter" checkbox checked.
Choose "Intel PRO/1000 T Server (82543GC)" for the "Adapter Type" setting.
Choose "Host Interface" for the "Attached to" setting. Later you will (attempt) to 'Bridge' your 'Wireless Network Card'.
Click the "Generate" button and change the last 8 digits of the "MAC Address" to an easy to remember (080012345678) value.

Next to the "Host Interfaces" box click on the "Add" button and name the interface VBH 1 (one, not "i" or "L").
When the Windows "Hardware Installation" panel appears for the "VirtualBox TAP Adapter" click on "Continue Anyway".

After a minute you will get a new Icon in your tray with a 'red X' over it. This is
OK, we will Bridge this later. If you have more than one 'Wireless Network Card' then
you can repeat step 16 (with different MAC and IF names).
17.): In the "Serial Ports", "Port 1" tab click on "Enable Serial Port", choose "Port Number",
"COM1" and "Port Mode", "Host Device". This would allow you to add GPS later and causes
the Linux OS to notice that you do have serial ports (and install a driver).


18.): In the "USB" tab click the "Enable USB Controller" and the "Enable USB 2.0 (EHCI) Controller" checkboxs.

Click your Windows XP "Start" button, click on "Run" and 'Open' "cmd" (to shell to DOS), then type this:

cd "C:\Program Files\Sun\xVM VirtualBox"
VBoxManage list usbhost

Look at the list of USB devices. You can add things like BlueTooth or a USB drive / USB Memory Card.

Use the "Add" button to create a new "Filter" and the "Edit" button to fill in the details,
if you get a detail wrong you will filter out the device and be unable to use it so if you
are uncertain then only fill in the "Name" and "Serial Number".
19.): You can setup "Shared Folders" and "Remote Display" if you want, I did not.


20.): Prior to leaving the "Settings" panel please ensure that there is no "red warning message"
in the bottom panel and "Invalid settings detected". If there is then go back to the
suggested entry and see if it is correct. Sometimes a false warning is given and you can
simply click, then un-click on something, change the pane to a different one and the message
will go away without actually having changed anything. New software can have bugs or you may
have made an incompatable choice.

Hit "OK" and in the "Sun xVM VirtualBox" window, on the "Details" tab, all the black
writing (on the left) will turn blue once you have everthing correctly set.

21.): In the "Sun xVM VirtualBox" window click on "File", "Preferences" and in the "VirtualBox - Settings",
"Input" panel you might want to change the "Host Key" before you continue. Remember what it is
set to and click "OK". The "Host Key" allows you to swap between Backtrack 3 and Windows.


22.): Now click the green start arrow and Backtrack 3 should start to boot in the Virtual Machine.


23.): When the Virtual Machine starts you will get a reminder about your "Host Key", read the
message and then:

Click the "OK" button and QUICKLY get ready to hit the "Maximize button (so Backtrack 3
will know your true screen size). You might get a couple of popups about your screen being
in 24 bit mode (when you are actually in 32 bit mode), click "OK" to ignore these messages.


24.): You will get a "Found New Hardware" Wizard popup as Backtrack 3 boots. Grab the top and
move it out of the way so you can see Backtrack 3's boot screen and ensure that everything
is working properly. Remember, before you can use the mouse to grab the "Found New Hardware"
Wizard popup you MUST hit your "Host Key".


25.): When you get to Backtrack 3's login prompt you can go back to dealing with the "Found New Hardware" Wizard popup.

The first pane of the popup says "Can Windows connect to Windows Update to search for
software?", choose "No, not this time" and click "Next". The second pane of the popup says
"What do you want the Wizard to do?", choose "Install from a list or a specific location
(Advanced)" and click "Next". On the next pane choose the 'Radio Button' labeled "Don't
search. I will choose the driver to install. Click next. If you need to locate the driver
it might be in this directory: C:\Program Files\Sun\xVM VirtualBox\drivers\USB\device\ .
Click "Finish" to close the Wizard.


26.): If you return to Backtrack 3 (using ALT-TAB) you might see a black screen, click on it.
Now you might get a message about capturing the mouseclick, choose capture and move your
mouse. The screensaver will unblank.


27.): Now login to Backtrack three as user "root" with password "toor". Type "reboot" and
Backtrack 3 will eject the virtual CD/DVD-ROM and halt with a Fatal Error. Go to
VirtualBox's "File" menu and choose "Reset", when the capture box pops up click "OK"
(quickly) and hit the "Down Arrow" to defeat the 4 second countdown.


28.): These Lilo boot options are available under VirtualBox (without mods, with 64MB display memory):


Code:
BT3 Graphics mode (Compiz) - Boots but xconfig / startx reboots the X Server.
BT3 Graphics mode (Compiz Nvidia) - Boots but xconfig / startx reboots the X Server.
BT3 Graphics mode (KDE) - Keeps popping up messages about 16-bit mode and rebooting the X Server.
BT3 Graphics mode (Flux) - Keeps popping up messages about 16-bit mode and rebooting the X Server.
BT3 Graphics mode (VESA KDE) - Boots and starts the X session (in 16 bit mode).
...If you use the first setting and then run xconf you can run startx and see the errors
when the X Server terminates. If you use 120MB (120!) of memory for the "Video Memory Size"
then you only get 16 bit display depth (and few errors). Refer to Section 9 (above) in
this Tutorial for info about VirtualBox Video Modes.

After only a little testing (and messing around) I found that "BT3 Graphics mode (VESA KDE)"
was the only true graphics mode that works. You can use the "Compviz" modes if you don't
want to use X11 and the GUI.

write by Nokii@forums.remote-exploit.org

0 comments:

 Subscribe in a reader

Review Update Via Email:

Delivered by FeedBurner

Add to Google Reader or Homepage

Powered by FeedBurner

Archive

FEEDJIT Live Traffic Feed