A lab is an important thing for ethical hackers which helps in learning new attacks and new helps to keep the vulnerable environment isolated.
In this article we will help you to create your own hacking environment.
What is VirtualBox?
VirtualBox is a Type 2 Hypervisor. An hypervisor is a type of emulator which helps to emulate as a real hardware. There are 2 types of hypervisors
- Type 1 Hypervisor
- Type 2 Hypervisor
Type 1 Hypervisor
A bare-metal Hypervisor (Type 1) is a layer of software we install directly on top of a physical server and its underlying hardware. There is no software or any operating system in between the VM and the hardware.
Type 2 Hypervisor
A Type 2 hypervisor, also called a hosted hypervisor, is a virtual machine (VM) manager that is installed as a software application on an existing operating system (OS).
To know more about Hypervisors check the video below
Now the fun Part, Ready!!
Fire up your virtualbox, Install the operating systems you have downloaded. If you face any error while installing feel free to comment below and we are happy to help.
Why it is important to Isolate your hacking lab?
Because while practicing or testing vulnerable VM’s there my be high risk if you add those vulnerable machines to direct home or office network. For the sake we are going to create a separate network in our virtualbox.
Step 1 :
Select your kali vm and choose settings
Step 2 :
Then Select Network Tab and change attached mode to Internal Network and enter a name for your network and select ok.
Step 3 :
Do the same Step 1 and Step 2 for all the VM’s which you want to keep isolated from real network.
Step 4 :
Now we have to create a DHCP Server for that open command prompt (Win Key + R) then type cmd.
1st command = cd /Program Files/Oracle/VirtualBox/
2nd command = vboxmanage dhcpserver add –network=Test_Lab –server-ip=10.20.10.1 –lower-ip=10.20.10.100 –upper-ip=10.20.10.200 –netmask=255.255.255.0 –enable
In the above command Test_Lab is the name of the network which we have configured in the virtualbox. Server ip is the gateway for the server. Lower ip is the starting address and Upper ip is the ending address for the ip lease.
Now you have your own isolated and safe network