Step by Step Process To Install Kali Linux on VMware
In this step by step tutorial I will show you guys how to install Kali Linux on VMware. This is a complete process of installing Kali Linux on VMware and also finalizing the installation after installation is complete.
What is Kali Linux Operating System
Kali Linux is a Debian-derived Linux distribution designed for digital forensics and penetration testing. It is maintained and funded by Offensive Security Ltd. This will be your primary attacking platform and you can download it from here: https://www.kali.org/downloads/
What are the alternatives to Virtual Machine for installing Kali Linux
Alternatives to VMware to Install Kali Linux
There are some alternatives to VMware which you could also install to host your virtual machines. However, as Metasploitable is a native VMware virtual machine you will need to tweak the Metasploitable VM to which ever platform you choose. This book will use VMware as the chosen virtualization platform.
You can use Virtual Box to Install Kali Linux
VirtualBox is a cross-platform virtualization application. It runs on Intel or AMD-based computers, whether they are running Windows, Mac, Linux or Solaris operating systems. You can download VirtualBox from here: https://www.virtualbox.org/wiki/Downloads
To install Metasploitable so on VirtualBox you can follow the instructions detailed at this blog post:
You can also use Hyper-V to Install Kali Linux
Hyper-V is a native hypervisor which only runs on Microsoft Windows. You can use it to create and run virtual machines. Hyper-V is not recommended for the purposes of penetration testing as it has no USB support which you will require for any wireless hacking you intend on performing with your Kali or Windows VM. To enable Hyper-V on your Windows machine, follow these steps:
Since this tutorial is All about installing Kali Linux on VMware, Let’s start the process of installing VMware on Windows. Now that we have our hardware prepared and have downloaded all the software we will need; the next step is to install VMware Workstation Player on our machine so that we can start building our virtual machines.
This blog illustrates the VMware Workstation Player install process on Windows.
For a detailed explanation on how to install VMware Fusion on an Apple Mac go to this VMware knowledgebase article:
Steps to Install VMware Workstation Player
Once you double-click the VMware Workstation Player install file you will be presented with a splash screen.
Once the welcome screen opens, click on ‘Next’ to start the installation.
You will then be presented with the EULA. Ensure you select the tick-box to accept the terms and then click on ‘Next’.
You will now be presented with the Custom Setup options where you can change the installation directory and enabled an enhanced keyboard driver.
Click ‘Next’ once you have made the changes or leave the default settings.
You will then move on to the User Experience Settings where you can opt to let the software check for updates on startup and send anonymous data to VMware to help improve the software. Once you have made the selection, click ‘Next’. Both selections are optional and not enabling them will not influence VMware’s features or performance.
Next select the shortcuts you want the software to install for you. Desktop and/ or Start menu. Once you have made your selection, click ‘Next’.
You are now ready to start the installation. Click ‘Install’.
You will be presented with a progress screen which will show you progress being made by your machine on the installation.
Once the installation has completed click on ‘Finish’ to finalize the installation and close the installation wizard.
When you start VMware Workstation Player for the first time you will be presented with a first start welcome message. Select use for non-commercial use and enter your email address. Once completed click on ‘Continue’.
Your VMware Workstation Player is now installed and ready to go. Click ‘Finish’ to open the management console.
Now Let’s Install Kali Linux on VMware by Configuring the Virtual Machine on VMware Workstation Player
The first step in getting Kali Linux up and running on VMware Workstation Player is to configure the virtual machine settings before starting the actual operating system install.
To begin click on ‘Create a New Virtual Machine’ on your VMware Workstation Player console as per the image below.
Increase your processors. As with memory the more the better. Configure at least 2 vCPU’s. Once done click ‘Close’.
Installing Kali on VMware
Now that we have configured the virtual machine it’s time to do the actual Kali Linux install.
To get started click on ‘Play virtual machine’ on the VMware Workstation Console as shown in the image below.
You may get certain warnings when first starting your VM. Read through the alert and accept or decline any changes VMware wishes to make. As per the example below we have chosen to no longer receive warnings on keyboard related errors as it does not affect the performance of the virtual machine.
Once the virtual machine has finished booting you will be presented with the installation wizard. The first step is to choose the installation language. Once you have done this, click ‘Continue’.
The next screen asks you to select your location. Once done click ‘Continue’.Please note that location settings are used to configure your time zone settings so choose the correct location to ensure your clock and date are always correct.
The installation wizard will now load the installation components it needs to proceed with the install.
Once the installation components have been loaded you will need to choose a hostname for your Kali instance. It is important to note that in your penetration testing lab this will not be an issue. However, in a real-world penetration test, Intrusion Prevention Systems and Intrusion Detection Systems have alerts that look for the hostname ‘Kali’ on the network so choosing ‘Kali’ as a hostname in that instance would result in you being discovered. Once you have chosen your hostname, click ‘Continue’.
Now you will need to fill in the root password for your Kali instance. Fill it n and verify it by filling it in again and REMEMBER it as there is no ‘Lost your password’ on Kali Linux so remembering your password is vital. Once done, click on ‘Continue’.
The next step is to partition the disk. Choose the default ‘ Guided – use entire disk ’ if you do not want to have multiple partitions. For beginners, this is recommended. Once done, click ‘
You will then be asked to choose the disk to partition and install Kali Linux on.If you have followed this guide, your virtual machine should only have a single disk select it and click ‘Continue’.
Next you will be asked to choose on which partition you want the differentLinux folders and files located. Choose the default which is recommended for new users and then click ‘Continue’.
Finally, you will get a confirmation screen showing your disk partition configuration. If you are happy with the information click on ‘Continue’.
You will now be asked to confirm one last time. Select the ‘Yes’ radio button and then click on ‘Continue’.
After some time, you will be prompted to configure the package manager. If you use a proxy to access the Internet fill in the information or leave it blank if you do not use a proxy. Once done, click ‘Continue’.
The installation wizard will now configure APT which is the package tools used by Kali to install new software and update existing software.
Once APT has been configured you will be prompted to install GRUB boot loader. Select the ‘Yes’ radio button and then click ‘Continue’.
Select your boot disk which should be /dev/sda and then click ‘Continue’ to start the installation of GRUB.
The Kali Linux installation wizard will now finish the installation. Once the installation has completed you will be presented with the Installation Complete screen. Click ‘ Continue’ to finalize the install. You have now successfully install Kali Linux on VMware Workstation Player.
Finalizing Your Kali Installation on VMware
Now that you have successfully installed Kali Linux you need to install the VMware Tools and update your Kali instance. Kali is now what is called a‘rolling release’ so new functionality and updates are added all the time. To take advantage of these new features and patches you must update your Kali instance regularly.
First let’s get the VMware tools installed. Which will give better integration into your host system and allow you to resize the screen as well as copy and paste documents from your host machine to the Kali virtual machine and vice versa.
Login to your Kali virtual machine with the default username ‘root’ and then click ‘Next’.
Enter the password you created during the installation and then click ‘Sign In’.
Once this has completed open a terminal by going to Applications / Favorites/ Terminal as per the image below.
At the terminal prompt type ‘ls’ to get a directory listing and ensure vmware-tools-distrib is present.
Then navigate into that directory by typing the command ‘cd vmware-tools-distrib’.
Finally start the installation by typing ‘./vmware-install.pl’
Once the virtual machine has rebooted, login so that we can run updates to ensure you have latest version of all the software that comes bundled with KaliLinux.
Open a terminal and type ‘sudo apt-get install update && sudo apt-get install upgrade’ to start the process.
You will then be prompted to proceed with the installation once Kali has informed you which packages are out of date as shown by the image below. Hit‘Y’ to proceed with all the updates and restart the virtual machine once this process has completed. This could take a long time depending on your Internet speed and number of updates needed.
Once you have restarted the installation and configuration of Kali Linux has been completed. To shut down the machine click on the shutdown icon which is in the top right-hand corner of the screen as shown in the image above.