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.