Kali Linux-Home

Kali Linux

Kali Linux is one of the best open-source security packages of an ethical hacker, containing a set of tools divided by categories. Kali Linux can be installed in a machine as an Operating System, which is discussed in this tutorial. Installing Kali Linux is a practical option as it provides more options to work and combine the tools.

This tutorial gives a complete understanding on Kali Linux and explains how to use it in practice.

Audience

This tutorial has been prepared for beginners to help them understand the fundamentals of Kali Linux. It will specifically be useful for penetration testing professionals. After completing this tutorial, you will find yourself at a moderate level of expertise from where you can take yourself to the next levels.

Prerequisites

Although this tutorial will benefit most of the beginners, it will definitely be a plus if you are familiar with the basic concepts of any Linux operating system.

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.

Kali 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 (1)
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

Kali Linux Laboratory Setup

In this section, we will set up another testing machine to perform the tests with the help of tools of Kali Linux.

Step 1 − Download Metasploitable, which is a Linux machine. It can be downloaded from the official webpage of Rapid7https://information.rapid7.com/metasploitabledownload.html?LS=1631875&CS=web

metaspolitable

Step 2 − Register by supplying your details. After filling the above form, we can download the software.

Kali Linux regestering

Step 3 − Click VirtualBox → New.

Kali Linux machine new

Step 4 − Click “Use an existing virtual hard disk file”. Browse the file where you have downloaded Metasploitable and click Open.

Kali Linux existing hard disk

Step 5 − A screen to create a virtual machine pops up. Click “Create”.

 Kali Linux machine popus

The default username is msfadmin and the password is msfadmin.

Kali Linux login details

Next Topic : Click Here

This Post Has One Comment

Leave a Reply