How to Install Kali Linux on Oracle virtualbox – Best Linux OS for Penetration Testing
Kali Linux is a Debian-based Linux distribution from Offensive Security aimed at Penetration Testing, Security research, Computer Forensics and Reverse Engineering. It is a rewrite of old BackTrack Linux. And contain more than 610 penetration testing tools as pre-installed. In this tutorial i am using the below softwares to test it.
Note: If you are using 64-bit guests, you need to enable hardware virtualization in the BIOS on your host system.
Boot to your bios settings and find the virtualization or virtualization technology or hardware virtualization or VT-x or AMD-V option and Enable it.
Install Kali Linux:
Open Oracle VM VirtualBox and click New to create a new virtual machine in your OS.
Name your Kali Linux OS, select Linux as Type from the drop down and select Ubuntu(32bit) as version and click Next button.
The minimum system requirements for Kali linux is 1 GB of RAM and recommended size is 2GB Ram. So set 1024 or more than 2048MB as RAM based on your system memory and click Next button.
Select Create a virtual hard drive now option and click Create button.
Select VDI (VirtualBox Disk Image) and click Next button.
Select Dynamically allocated and click Next.
Type any name and select location of new virtual hard drive by clicking the folder icon. And select the size. Recommended size is a minimum of 20 GB of disk space for kali linux. And then click create button.
Right click on Kali Linux and select Settings.
It will open the settings window. In this window select Storage from left sidebar menu and select Empty under Controller:IDE. Then click the CD icon under CD/DVD Drive and select choose a virtual CD/DVD disk file. And browse the downloaded Kali linux ISO file that is kali-linux-2016.2-i386.iso file.
Then go to System tab from left sidebar menu and under Motherboard tab enable the Input/Output APIC. Then click the Acceleration tab and check/enable the hardware virtualization features VT-x/AMD-V and Nested paging of your CPU . Then go to the Processor tab and enable/check the PAE/NX feature and click Ok button.
Select the Kali linux from the left side menu and click the Start button. In the kali linux boot menu select Graphical install to start the kali Linux installation process.
Then choose your language and country.
Type your Hostname or just leave as kali in that field and click continue.
If you have a domain just type the name. If you don’t have domain, skip this process and click the continue.
Choose a good password and type it as a root password.
Then set your timezone.
After that select Guided-use entire disk option to use the entire disk on our computer. Experienced users can use the “Manual” partitioning method for more additional configuration options.
Then select your VBOX HARD DISK and click continue.
Then select Finish partitioning and write changes to disk option.
In the this option select Yes to write the changes to the disk and click continue button.
In the Use a network mirror option, select Yes and click continue.If you need to connect to the internet via a proxy enter the proxy information here otherwise leave it blank and click Continue.
Or select No if you don’t need to configure the package manager.
To install the GRUP boot loader on the hard disk, click the YES option and click continue.
When you clicked Yes, a new window will be shown to you and choose the second option and click the continue.
Then you’ll be asked to enter the username and password. The default username is root and the password is whatever you’ve entered in the installation step.