Saturday 29 December 2012

How to make your own virtual lab for pen-testing;

You can make your own 'VIRTUAL LAB' for testing your exploits and hacks.keep reading..
you can download a copy of  virtual box here:VIRTUAL BOX (ORACLE)



After download completes, install virtual box and select 'NEW' then you should see this--



Our virtual target as i have chosen is a windows xp service pack 2 system.Type 'winows xp sp2' in the name field and click next.Follow--


It will now be asking for allotting RAM; i allotted 128MB as I have many more virtual machines running.Anway, windows xp is good at 128MB also so move on--


Our virtual target surely needs a hard drive to install itself on, select the option i have highlighted in the image above and click 'create'.Go on--




It is asking for a format for the virtual hard disk now which is gonna be 'VHD'.I select this because if somehow your virtual box got deleted and you are unable to launch your VBox, you can launch it from other soft wares like windows virtual pc, vmware workstation etc...click next and read on--



Now select the option 'fixed size' as we don't need the 1st one..see the image below--



You have to select the hard drive size which is going to be 4GB as it is more than enough for windows xp.
You are almost done!! Now you should be seeing the virtual box home screen where you click your virtual


machine that is 'windows xp sp2' and click start which is just above it.




After starting, you should see the above screen and you have to browse for the ISO file of windows xp sp2 as i have done and click start....Thats it!!! NOW ALL YOU HAVE TO DO IS INSTALL THE OS IN THE HARD DRIVE WE CREATED!!(Dont ask me how :D)

And for the attacker OS, you can download the latest version of backtrack here:backtrack 5 r3
Just follow follow the same procedure to install backtrack 5.(which is little different though-)You have to select the ISO you downloaded and in the boot menu select 'default text mode' and press enter--




You should be seeing some terminal loading all the system files, then stops at the backtrack 5 screen after which you see this--


Now type 'startx' and you are in the GUI of backtrack 5 R3!! Read below--


I have highlighted the install icon in the above image>> click it and start the installation...( i am not gonna explain the installation as it would cause the post to go 10 miles!! :D) Anyway,after everything is installed, go to network settings and in the drop down menu select HOST-ONLY ADAPTER in both windows xp and backtrack 5 r3.Now they are connected in LAN. ENJOY!!!!!!!!


TAGS:hacking,virtual box,oracle,windows xp ,pentest lab, LAN...




No comments:

Post a Comment