Sunday, January 29, 2012

SET UP VIRTUAL PENETRATION TESTING LAB

1st Day, Lessons 1

Today, start to learning Information security but I don't have access to a live test environment or can't find system to run penetration tests against. Choosing virtual lab with virtual box its a good idea. It is a network diagram before setting up penetration lab.

Host   
192.168.56.1
255.255.255.0
    |
    |---------------> XP (Guest) 192.168.56.2 / 255.255.255.0
    |
    |---------------> Ubuntu (Guest) 192.168.56.9 / 255.255.255.0


These step to set up virtualbox :
  1.  Add new machine for Windows XP and Ubuntu
  2. Install Microsoft Windows XP or Ubuntu in the virtualbox
  3. Open the network editor and than add host-only network.
  4. Open the setting, change the network for adapter1 to enable network adapter, attached to host-only Adapter in the name of vboxnet0.
  5. Set up ip address  For Windows : righ click My Network Places – Properties – Network Connections – Local Area Connections – Properties – Internet Protocol (TCP/IP) – Use The Following Ip Address and fill in the textbox with Ip Address and subnet mask.
    For Linux : you can write in the console example : ifconfig eth0 192.168.56.2/24
  6. Test the host to guest and guest to host with ping, if you can see reply or live other ethernet, your network is runing.

Why use host only adapter?
By using this type of adapter, you’ll be able to access a private, virtual network consisting solely of your host and any guests. Any of the member machines can access each other, but nothing outside of this self-contained “network in a box” can get in. 

Lets see this screenshoot, the network is runing (host - guest xp)
host guest xp
 And than see hos to guest (ubuntu)
Host guest ubuntu

0 comments:

Post a Comment