Kali Linux - Installation and Configuration

Kali Linux is one of the best security packages of an ethical hacker, containing a set of tools divided by the categories. It is an open source and its official webpage is https://www.kali.org.
Generally, Kali Linux can be installed in a machine as an Operating System, as a virtual machine which we will discuss in the following section. Installing Kali Linux is a practical option as it provides more options to work and combine the tools. You can also create a live boot CD or USB. All this can be found in the following link: https://www.kali.org/downloads/
BackTrack was the old version of Kali Linux distribution. The latest release is Kali 2016.1 and it is updated very often.
Linux Distribution
To install Kali Linux −
  • First, we will download the Virtual box and install it.
  • Later, we will download and install Kali Linux distribution.

Download and Install the Virtual Box

A Virtual Box is particularly useful when you want to test something on Kali Linux that you are unsure of. Running Kali Linux on a Virtual Box is safe when you want to experiment with unknown packages or when you want to test a code.
With the help of a Virtual Box, you can install Kali Linux on your system (not directly in your hard disk) alongside your primary OS which can MAC or Windows or another flavor of Linux.
Let’s understand how you can download and install the Virtual Box on your system.
Step 1 − To download, go to https://www.virtualbox.org/wiki/Downloads. Depending on your operating system, select the right package. In this case, it will be the first one for Windows as shown in the following screenshot.
Virtual Box First Page
Step 2 − Click Next.
SetUp
Step 3 − The next page will give you options to choose the location where you want to install the application. In this case, let us leave it as default and click Next.
Custom Setup
Step 4 − Click Next and the following Custom Setup screenshot pops up. Select the features you want to be installed and click Next.
Custom Features
Step 5 − Click Yes to proceed with the installation.
Network Interface
Step 6 − The Ready to Install screen pops up. Click Install.
Ready to install
Step 7 − Click the Finish button.
Complete Installation
The Virtual Box application will now open as shown in the following screenshot. Now we are ready to install the rest of the hosts for this manual and this is also recommended for professional usage.
Virtual Manager

Install Kali Linux

Now that we have successfully installed the Virtual Box, let’s move on to the next step and install Kali Linux.
Step 1 − Download the Kali Linux package from its official website: https://www.kali.org/downloads/
Offensive Security
Step 2 − Click VirtualBox → New as shown in the following screenshot.
Machine New
Step 3 − Choose the right virtual hard disk file and click Open.
Hard Disk File
Step 4 − The following screenshot pops up. Click the Create button.
Create
Step 5 − Start Kali OS. The default username is root and the password is toor.
Kali OS

Update Kali

It is important to keep updating Kali Linux and its tools to the new versions, to remain functional. Following are the steps to update Kali.
Step 1 − Go to Application → Terminal. Then, type “apt-get update” and the update will take place as shown in the following screenshot.
Application
Terminal
Step 2 − Now to upgrade the tools, type “apt-get upgrade” and the new packages will be downloaded.
Upgrade
Step 3 − It will ask if you want to continue. Type “Y” and “Enter”.
Enter Y
Step 4 − To upgrade to a newer version of Operating System, type “apt-get distupgrade”.
Dist Upgrade

TAG