Kali boot menu

Installing Kali Linux in a VMware ESXi Environment

Kali Linux Uncategorized VirtualBox Virtualization

There are many options when it comes to Kali. You could install it with VMware, VirtualBox or installing on a physical machine. Available for download are, prebuild VM images, as well as different prebuild ISO’s, depending on the environment. I am going to download the full ISO, install manually, apply updates, and setup SSH. Head over to https://www.kali.org/downloads/ to download the latest ISO. Always make sure to check the hash of the file. To do this on Windows 10, simply open a PowerShell terminal, change directory to where you have the ISO saved and run the command “certutil -hashfile “name of file.iso” sha256”.

Windows PoserShell certutil -hashfile

Creating the Virtual machine

I will be working with the HTML5 vSphere client for this.

  1. Right on your cluster and select “New Virtual Machine…”
  2. On the new dialog box choose “Create a new virtual machine”
  3. Give your virtual machine a name and select a location for the virtual machine
  4. Select the destination resources for the new virtual machine
  5. Choose the storage for this machine
  6. Select the compatibility for this machine
  7. Select the guest OS, I am choosing “Debian GNU/Linux 10(64-bit). This may very for future release.
  8. Customize the hardware, I will be giving this machine 2 CPU, 8GB memory and 60GB hard drive space. Make sure to select “Thin Provision” for disk provisioning as this can help conserved unused space in your data store.
  9. Finally review the setting you have chosen and click “Finish”

VMware New Virtual Machine

Image 1 of 11

 

Mounting the ISO

You will first need to connect the cd/dvd drive to the ISO we downloaded earlier. To do this right click on the name of your new VM and choose “Edit Settings”, then expand “CD/DVD drive 1”. You will then need to select “Connect At Power On” and browse to the ISO.

31-Annotation-2019-09-16-103642

Image 46 of 56

Kali Desktop

Installing Kali

You can now power on the new virtual machine. Then choose “Launch Remote Console”.

VMware Remote Console

When the boot menu appears, select “install”

Kali boot menu

Choose a Language

Kali Choose Language

Select your location

Kali Select location

Choose your keyboard layout

Choose your keyboard layout

Enter the hostname for this installation

Hostname

Enter your domain name (if you have one)

Domain name

Enter a password for the Root user

Set up users and passwords

Re-Enter the password for the Root user

Re-enter password

The next screen with try and set the time from your network. This may or may not work.

Setting up the clock

If this was not successful choose the correct time zone from this list.

Configure the clock

The next screen will be the options for partitioning the disk. I will be choosing the first option of “Guided – use entire disk”. Information on the other two guided options can be found <here>

Partition disks

Select the disk to be partitioned

Select disk to partition

If everything looks good, select “Finish partitioning and write changes to disk”

Finish partitioning and write changes

Because this will format the partition you have to confirm that you want to do this. Choose “Yes” on the next screen.

Write the changes to disks

I will be choosing “No” on the next screen, you can however read more about network mirrors and package manager https://docs.kali.org/community/kali-linux-mirrors.

Configure the package manager

Choose “Yes” to install the GRUB boot loader on the HD.

Install the GRUB boot loader

Select the /dev/sda option on the next screen.

Device for boot loader installation

 

The installation is now complete, click “Continue”

The machine will reboot. You should be presented with the log on screen. Log into the new machine with the root user and password setup during installation.

31-Annotation-2019-09-16-103642

Image 3 of 3

Kali Desktop

That’s it, you now have Kali Linux installed in your VMware environment. The next steps will be updating the apps and upgrading the distribution. If you want to set a static IP address you can find that info here.

Leave a Reply