Google Games

Non-Stop Gaming. Non-Stop Masti..

1 August 2017

Installation & 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_distribution1

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_page1

Step 2 − Click Next.

setup1

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_setup1

Step 4 − Click Next and the following Custom Setup screenshot pops up. Select the features you want to be installed and click Next.

custom_features1

Step 5 − Click Yes to proceed with the installation.

network_interface1

Step 6 − The Ready to Install screen pops up. Click Install.

ready_to_install1

Step 7 − Click the Finish button.

complete_installation1

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_manager1


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_security1

Step 2 − Click VirtualBox → New as shown in the following screenshot.

machine_new1

Step 3 − Choose the right virtual hard disk file and click Open.


 


hard_disk_file1

Step 4 − The following screenshot pops up. Click the Create button.


 

create1


Step 5 − Start Kali OS. The default username is root and the password is toor.


 

kali_os1

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.

application1terminal1

Step 2 − Now to upgrade the tools, type “apt-get upgrade” and the new packages will be downloaded.

upgrade1

Step 3 − It will ask if you want to continue. Type “Y” and “Enter”.

enter_y1

Step 4 − To upgrade to a newer version of Operating System, type “apt-get distupgrade”.

dist_upgrade1

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 Rapid7: https://information.rapid7.com/metasploitabledownload.html?LS=1631875&CS=web

metaspolitable1

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

registering1

Step 3 − Click VirtualBox → New.

machine_new2

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

existing_hard_disk1

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

machine_popups1

The default username is msfadmin and the password is msfadmin.

login_details1


Thanks for reading this article


 

1 comment:

Please make a comment