This tutorial will use BackTrack (A security and penetration testing focused Linux distribution) and VMWare to help the student set up their own testing lab on a personal PC. Additionally this tutorial can be performed with Microsoft Virtual PC, a free alternative to VMWare.
Download and install VMWare Workstation from the VMWare website
Open VMWare Workstation and select File, New, Virtual Machine
Choose 'Custom'
Choose 'New - Workstation 5'
Choose 'Linux' then for version 'Other Linux 2.6.x kernel'
Name your new Virtual Machine, in our example we used 'BackTrack'
You can also change the location your Virtual Machine is stored here.
The minimum amount of memory here should be 256mb. If you have more memory in your computer I would advise using up to 512mb.
Four options are presented here.
- Use Bridged networking
- Use network address translation (NAT)
- Use host-only networking
- Do not use a network connection
The first three options are of use to us right now. Bridged Networking allows the Virtual Machine to use your computer's current network connection to access the Internet or Network. To use this option you must be able to give your Virtual Machine an address on the same network your host computer resides on. If you cannot do that select NAT instead.
NAT uses the host computer as a router to access the network or Internet. Requests are sent to the host computer, which then forwards them out via its network connection. If you do not have the ability to assign your Virtual Machine its own IP address, use this option.
Host-only networking sets up a network within the host computer. This will be very useful later for our testing as no packets leave the host computer, in fact no packets ever leave VMWare which is why we'll be using this option for our attack and defense scenarios.
For now choose either Bridged or NAT depending on your network situation and continue on, all these options can be changed at a later date.
Choose 'Buslogic'
Choose 'Create a new virtual disk'
Choose 'IDE'
To fully install BackTrack 2.5GB are needed for the files and an additional 500mb is needed for swap space. 4GB is the default and a good choice, however if you do not have enough space you can choose to install BackTrack compressed which will slow the system down, but save a lot of room. If you choose compression you only need 1.5GB of free space.
Use the default setting of 'BackTrack.vmdk'
Click 'BackTrack' then 'Edit virtual machine settings' and from the pop-up menu select 'CD-ROM'

Point the CD-ROM to the BackTrack.iso file you downloaded earlier, then click 'OK'
Start the Virtual Machine from the menu and move on to installing BackTrack to disk. |