Hello aspiring hackers, as you already know, the latest version of Kali, Kali rolling edition 2017.3 has been released. In this howto, we will see how to install Kali Linux 2017.3 in VirtualBox. The newest edition of Kali Linux gives users the best of all worlds – the stability of Debian, together with the latest versions of the many outstanding penetration testing tools created and shared by the information security community. The best feature I like in this version is constantly updated tools. Now let us start with the installation part. Download the latest version of Kali Linux from here.

For this howto, we will use VirtualBox version 5.30 (the latest version till date) which can be downloaded from here. Before we start the installation there’s a small step we need to perform. Enabling Virtualization technology in the host (the system on which VirtualBox is installed or being installed).

Virtualization is a feature included in processors which when enabled will help in accelerating virtual machines used by Virtualbox, Vmware or Hyper-V. Intel Processors have Intel-VTx and  AMD processors have AMD-V hardware acceleration features. I don’t know what exactly is the reason but this feature is disabled by default in modern CPU’s. This feature can be enabled by booting into the BIOS or UEFI.

The BIOS key is different for different PC brands. Here I have given the BIOS hot keys for some popular PC brands I collected from internet.

Acer – Del or F2                                                                                                                                Asus – Del, F2 or F9                                                                                                                            Acer – Del or F2                                                                                                                                  Compaq Presario – F10                                                                                                                        Dell – F2 or F12                                                                                                                                      HP – Esc or F10                                                                                                                                      Lenovo -F1 or F2                                                                                                                                    Samsung – F2                                                                                                                                        Sony – F2                                                                                                                                        Toshiba – Esc, F1 or F12

To boot into BIOS, you need to restart the system and start pressing the respective hot key for your PC brand. Once you boot into BIOS,you will see a screen as shown below. This is a BIOS screen for a Lenovo system.

Enable that feature as shown below and Save the options and exit.

With that taken care of,  Open Virtualbox and go to “Machine” and click on “New” or hold “CTRL+N”. The below window will pop up.

Click on “Expert Mode” and the window should transform as shown below.

Choose the name for your virtual machine. I named it Kali 2017.3. Choose the OS type as “Linux” and version as “Debian(32 bit)” ( since I am installing 32bit version.). Allocate memory of atleast 1GB. Keep other options default and click on “Create”.

Allocate hard disk size around 14GB or minimum 10GB and click on “Create”.

A virtual machine is created. Now open its settings, go to system settings and enable the PAE/NX feature as shown below.

Turn on the Virtual machine. It should start up as shown below.

Browse to the ISO file of Kali Linux we downloaded.

In our previous guides, we were performing Install. For a change, we will do the Graphical Install this time. Select the Graphical Install Option.

Choose the language as “English” or as applicable. Click on “Continue“.

Select the location of your choice. I chose “India.” Click on “Continue“.

Choose your keyboard. Click on “Continue“.

The system will load some additional components and then prompt you for the hostname. Enter hostname and click on  the “Continue” button.

Give any domain name if you want. However it is optional. You can even leave it blank. Click on  “Continue”.

The system will prompt you to set the root password. Enter the root password, confirm it  and click on “Continue.”

The system will prompt you to partition disks. If you are not sure what to do or a novice, choose “Guide-use entire disk” option. Click on “Continue“.

Click on “Continue“.

Select the partitioning scheme of your choice. If you are a new user, choose the first option as recommended. Click on “Continue“.

Then we will be shown an overview of current settings we chose. Choose the option “Finish partitioning and write changes to disk.” and Click on “Continue“.

Select the option “Yes” to write the changes to disk. Click on “Continue”.

The installation will start. It will take a bit of time to be finished.

In the middle of the process, you will be prompted if you want to use a network mirror. select “No” or “Yes” according to your choice. I chose “YES”.

In the “Proxy” window, leave it blank and Click on “Continue“.

Then system will ask you whether to install the grub Boot loader or not. Select “Yes” and click on “Continue“.

Select the highlighted option and click on “Continue”.

When the installation is completed, the system will ask you to boot into the system. Click on “Continue” to perform this.

The system will reboot into the operating system. Enter the username as “root” and the password as configured above. Now comes the most interesting but contentious part. Yes, installation of guest additions. Open a terminal and type command “apt update && apt -y dist-upgrade” without quotes. This will update system to the latest packages and repositories.

Reboot the system using “reboot” command to make sure system is updated.  Now to install Guest Additions, type command “apt -y install virtualbox-guest-x11” without quotes in the terminal. This will take some time so don’t panic. Just wait and watch.

Reboot  the system again. This will successfully install Guest Additions in Kali. Hope this was helpful. If you face any problems during installation, please leave a comment below. Thanks.

Hello aspiring hackers, as you already know, the latest version of Kali, Kali rolling edition 2017.1 has been released. The rolling edition of Kali Linux gives users the best of all worlds – the stability of Debian, together with the latest versions of the many outstanding penetration testing tools created and shared by the information security community. The best feature I like in this version is constantly updated tools. Now let us see how to install this latest version of Kali linux in virtualbox and I assure you, this will be the easiest guide.

For this howto, I am using the latest version of Oracle Virtualbox, i.e version 5.1.22. Ever since Sana has been released, the makers of Kali Linux have also released Pre-built virtual images for virtualbox and Vmware. We will use that virtualbox image in this howto. Go here and download the Pre-built virtualbox image. They are as shown below.


This howto is using the Kali Linux 32bit VBox PAE . Your downloaded contents should look like below. As you can see, we have an ova file.

Now open Virtualbox and click on File>Import Appliance as shown below.


A window like below will open.

Now browse to the location of the ova file we just downloaded as shown below and  click on Next.

The system will present you a summary of settings used for  thsi VM. If you want to make any changes, change and click on “Import”.

The importing process will start as shown below. It will take some time, but it will be worth the wait.

After import is completed, a new virtual machine is automatically created as shown below.

Power on the machine. As the virtual machine powers up, it will prompt for username and password. The default username is “root” and password is “toor”.

Given below is our Kali Linux rolling 2017.1 successfully installed in Virtualbox. No need of installing guest additions. If you face any problems during installation, please comment. I will be happy to help you.


Good Morning friends. Today let us see how to install Kali Linux Rolling 2016 in Vmware Workstation. We will use Vmware Workstation 10 for this howto. The rolling edition of Kali Linux gives users the best of all worlds – the stability of Debian, together with the latest versions of the many outstanding penetration testing tools created and shared by the information security community.  Watch the video or scroll down for step-by-step guide.

Ever since Sana has been released, the makers of Kali Linux have also released Pre-built virtual images for virtual box and Vmware. We will use that virtualbox image in this howto. Go here and download the Pre-built vmware image. After download is finished, you will get a zip file as shown below..


Extract the contents of this file using any unzipping software into a folder  as shown below. The extracted file will be around 12GB, so make space appropriately.


After extraction, the files will look like below.


Now open Vmware Workstation and open the New Virtual Machine wizard( or just hit CTRL + N). Select the Custom radio button as shown below and click on “Next”.


Click on “Next”.


Select the option “I will install the operating system later” and click on “Next”.


Select guest operating system as Linux and version as Debian 7 64-bit if you downloaded a 64 bit Vmware virtual image and Debian if you downloaded a 32bit Vmware image. Click on “Next”.


Give any name to your virtual machine, allocate the location for it and click on “Next”.


Click on “Next”.



The system will take the required RAM as shown below. If you have more memory, you can allocate more RAM. Click on “Next”.


For network type, choose NAT and click on “Next”.


Click on “Next”.


Click on “Next”.


In the disk selection, choose the option “use an existing virtual disk” and click on “Next”.


Now browse to the folder where we have earlier extracted files of our zip file. Click on “Next”.


You will be shown a summary of your virtual machine. Your virtual machine has been successfully created. Click on “Finish”.


Now power on the Virtual machine. It should be like below. Hope it was helpful. If you face any problems during installation, please comment below.


NOTE : Kali Linux Rolling 2016.2 has been released. This guide works even for that too.

Good evening friends. I have seen that most of the people are still facing many problems while installing Kali Linux in Virtualbox. So today i brought the easiest method to install Kali linux in Virtualbox. It doesn’t involve  typing of any lengthy  commands. For this howto, I am installing Kali Linux v2.0 Sana in virtualbox version 5. This howto works for any host OS, from Windows XP to Windows 10. Just install the latest Virtualbox version for that operating system.

The makers of Kali Linux are providing prebuilt virtualbox images which are available for download here. First download the image.  It would be a compressed image. Now extract the contents of  the file at any location of your choice.


It would be a ova extension file as shown below.


Now open Virtualbox. Go to “File” and choose option “Import appliance”. Click on it.


As soon as you click on it, the below window will open.


Now, browse to the location of the OVA file we just downloaded. Click on “Next”.


You will see the below window.  Check out all the options shown. Change any options if required.


Make sure that the location where you are creating disk has enough space. Click on Import.


The process of importing will start as shown below.


It will take some time to process.  Just wait. As soon as the importing is over you will see the virtual machine  as shown below.


Power On the virtual machine.  After some system processes, you will be asked for the username. The username is “root”.


Next you will be prompted for password. The default password is “toor”.


If everything went well, you should see the interface as shown below. Go to full screen to see if its working. You are all good to go. See, this is the easiest way to install Kali Linux in virtualbox. Hope it was helpful. Please comment if you encounter any problem. I would be happy to solve it.


Hi everybody, the much awaited Kali Linux V2.0 Sana has been released. It can be downloaded from here. Another good news is there is a new version of Oracle VirtualBox named version 5.o available for download here. So let us see how to install Kali Linux V2.o Sana in Virtualbox 5.0.

Open VirtualBox and click on New virtual machine wizard. The below window will open. Give the name you like for the virtual machine. Assign type as “Linux” and version as “Debian(32-bit)”. Assign memory size of atleast 768MB and select the option “Create a virtual hard disk now”. Click on “Create”.


Choose the location where you want your virtual machine to be located. Keep the file size atleast 15GB. If you prefer to use your virtual machine in any other virtualization software like Vmware(VMDK) or others, choose appropriately else select VDI. Leave the storage to be “Dynamically allocated”. Click on “Create”.


Now go to Virtual machine settings, click on “system settings”, on the “processor” tab check the option “Enable PAE/NX” and click on “OK”.


Now power on the virtual machine and browse to  the iso file you downloaded from the website. Click on “Start”.


When the Boot menu appears, select “Install”.


Select the language you prefer for installation process using “space” bar and hit on “Enter” after selecting.


Select your appropriate location.


Select the keymap you prefer.


Enter the hostname for your system. I named it as Kali. Hit on “Continue”.


Assign a domain name if you want. You can leave it blank if you want. Click on “Continue”.


Assign the password for root account.


Confirm the root password.


Select the partitioning option you prefer. If you are a newbie, select the first option as shown below.


Select the disk to format. Obviously you will have only one disk to format.


Select the partitioning scheme you prefer. If you are a new user, select the first option as recommended.


A summary of your selections is listed. Proceed to finish partitioning and write changes to the disk as shown below.


Select “Yes” to write changes to disk.


Select a network mirror if you want otherwise select “no”.


If you get stuck on a blue screen for a bit long time as shown below, don’t panic. Just wait for the system to finish its job.


Next, install the Grub bootloader when prompted to install.


Select the hard disk on which to install GRUB bootloader. Since we have not partitioned our hard disk, that would be second choice as shown below.


The system will start installing. Once the installation is finished as shown below, click on “Continue” to restart the system.


Once system reboots, enter username. The default username is “root”. Click on “Next”.


Next, enter the password. That would be the password you configured above. Hope you have not forgotten it.


The new Kali Linux V2.0 Sana will look like below. Congrats, you have successfully installed Kali Linux in virtualbox.  Next, let’s install Virtualbox guest additions.


Go to Devices and click on “Insert Guest Additions CD image” as shown below.


You will see a CD image on the Desktop as shown below. The system will automatically prompt you to run the CD.


But when you click on “Run”, you will get the error as shown below.


Now open a teminal. Type command “cd /media“. Next type “ls“. type “cd cdrom” and type “ls” once again as shown below.  The guest addition CD is mounted at the location cdrom and we just navigated to that location. Copy the highlighted file as shown below to the root directory by using command “cp /root”.


Now navigate to the root directory by typing command “cd /root” and type ls to see if the file has been successfully copied to the directory. Now change the permissions of the file by using command “chmod 755” . Now let us execute the file by typing “./


The file will start executing as shown below. Once it finishes execution, restart the system.


If everything goes well, guest additions will be installed successfully.


If you face any  problem, please leave comments below.

Here’s a video  version  how to install Kali Linux V2.0 Sana in virtualbox.

Matriux Krypton is a pen testing distribution based on Debian. It consists of almost 300 security tools for ethical hacking categorized as arsenals. It has a category for data recovery which is not prevalent in other penetration testing distros. Today we are going to see how to install Matriux Krypton Ec-Centric in Oracle Virtual box. It can be downloaded from here. Open Virtualbox and click on “New virtual machine”. On the popup window, give the name as Matriux ( in fact any name you like ). Select operating system as “Linux” and version as “Ubuntu”. Click on “Next”.



Select the appropriate memory you want to assign to the virtual machine and click on “Next”.



Select the option “create a virtual hard drive file” and click on “Create”.



Select Hard drive file type as VDI. Click on “Next”.



Choose appropriate storage option and click on “Next”.



Set your virtual hard disk size appropriately but I suggest you to keep it above 8 GB. Click on “Create”.



Select the location of the iso file and click on “Start”.


Select the option “Live”  and hit Enter.


Log into account matriux. The default password is  “toor“.


 If everything went well, your system should look like this.


 Before running the Matriux disk Installer, we need to perform some operations. Go to “System>Administration>Gparted” as shown below.


 Enter the administrative password as “toor”. Click on “OK”.


 In the gparted window, click on “Create Partition table”.


 When a warning is shown, click on “Apply”.


 Right click on the unallocated hard disk and select “New” as shown below.


 Change the file system  to ext3 and click on “Add”.


We can see our “New Partition” ready to be created. Click on the “tick mark with blue background”.


 We can see our partition created as below.


 Close the window and click on “Matriux Disk Installer” we saw above. When the window opens as below, click on “Yes”.


 Choose the partition we created( i.e /dev/sda1) and click on “OK”.


Click on “OK”.


Click on “OK”.


Create a personal account login name.


Choose the password for you personal account. Click on “OK”.


Choose the root account password. Click on “OK”.


Select the appropriate locale as en_US. Click on “OK”.


If everything goes well, we will get a window as shown below. Click on “Yes”.


 We will get the below message after successful installation.  Click on “Yes” to reboot your system and you are ready to go.



Hope this was helpful.

Good evening friends. We have seen how to create a virtual pentest lab both in Oracle VirtualBox (see here) and Vmware Workstation(see here). Although both penetration testing labs  were almost similar, there is a small difference between them . As the title of this howto already implies it is the absence of DHCP server in the pentest lab we created using Virtualbox. VirtualBox provides a DHCP server but it can’t be turned on using the GUI feature unlike Vmware Workstation. So let’s see how to enable DHCP server in Virtualbox networks. I am going to assign DHCP server to my pentest lab I created above. I will assume that  virtualbox is installed on Windows. Open CMD and navigate to the directory where  Virtualbox is installed. By default it will be “C:Program Files OracleVirtualBox”. Type the command “vboxmanage dhcpserver add –ip –netmask –lowerip –upperip –netname pentestlab”. Hit Enter.



In the above command, “vboxmanage dhcpserver  add –ip” starts a DHCP server with IP address . The “–netmask″ assigns subnet mask for the network. The “–lowerip” and “–upperip” options assign a lower ip address and upper ip address respectively.   The “–enable” option enables the DHCP server we just created. The “–netname” option assigns a name to the network. Now we have successfully created an internal network named pentestlab with its own DHCP server. Now change the network adapter settings of the attacker machine ( Kali Linux ) to pentestlab.



Similarly change the network settings of the victim machine.



Now start the attacker machine (Kali Linux) to see if the IP address is automatically assigned. If the IP address has not been assigned, disable the adapter using command “ifdown eth0″ and re enable it by typing command “ifup eth0″. Now check if the IP address has been assigned or not by typing command “ifconfig”.



Similarly check on the victim machine.



We can see that the IP addresses have been automatically assigned successfully starting from the range of Hope this was helpful.

Good evening everybody. Sometime back, I wrote an article on how to set up a virtual penetration testing lab using Vmware Workstation. But Vmware Workstation is a commercial product.

Today I am going to show you how to create a pentest lab in VirtualBox absolutely free of cost. I hope this tutorial will be helpful for many beginners into cyber security domain.

What do we need?

1. Oracle VirtualBox. (Download)

2. Kali Linux. (Download)

3. Metasploitable 2. (Download)

Oracle VirtualBox is the virtualization software we will be using to create our lab. We will be using Kali Linux as the attacker machine and Metasploitable 2 as the victim machine. Install Kali Linux and Metasploitable 2 in VirtualBox.

See how to install Kali Linux in VirtualBox.

See how to install Metasploitable in VirtualBox.



Select Kali Linux, Go to settings > network. Enable “network adapter 1″. Set the “Attached to” option to “internal network”. Set the name of the network adapter to “intnet”. Click on “OK” to save the settings.



Do the same for Metasploitable virtual machine.



Power on the metasploitable VM. Log into the system. Default username and password are “msfadmin”.



Type the command “ifconfig” to see the IP addresses of interfaces.



The ‘lo’ interface is the loopback. Now we are going to set the IP address on the interface “eth0”. Type the command “sudo ifconfig eth0 netmask up”. The sudo password is “msfadmin. Verify that the IP address is set by typing command “ifconfig”.



Power on Kali Linux. In the terminal, type command “ifconfig eth0 netmask up”. Verify if the IP address is set by typing command “ifconfig”.



Test whether this system can communicate with victim system by pinging the victim machine as shown below.



The connection is successful. Our penetration testing lab is ready. Happy practising.