|||

Install a Kali Linux VM in a VMware ESXi 6.7 Environment

Beginning of the Security Lab There are a few options, when it comes to Kali, and running it as a VM. Available for download are, prebuilt VM images, as well as different prebuilt ISOs, depending on the environment. Here, I’m downloading the full ISO, and going to install manually, apply all outstanding updates, and install/configure SSH.

Kali Download

Go to Kali.org download section and select you desired download.

Create the Virtual Machine I’ve opened a VMware HTML5 client session with the Host, as I have not yet installed the VSCA. Click Create VM. Name the VM, select VM options, and configure system resources. The only non default item I configured, was to change the CD/DVD to DataStore ISO, and mount the Kali ISO, downloaded earlier.

Kali Installation

Start the VM, and click on the little remote window, to open a remote console connection tab.

When the boot menu appears, select Install

Set a Language

Select a Location

Choose a Keyboard

Enter the Lab Domain Name

Set a Root password

Reenter the Root password

Set Time Zone

Setting up the disk partitions, I’m selecting Guided setup with LVM. I’ll explore best practices, and different partition scheme’s in a future lab.

Select the disk to be partitioned

Mentioned above, I’ve chosen to put everything on one partition

Select Yes, to write changes to disk

Select Finish Partitioning, and write changes to disk

Select Yes, to continue

Installing

Select No to Network Mirror

Installing Grub

Select Yes, to install Grub to MBR

Select drive to make system bootable

Installation Complete, select Continue

Rebooting

System is up

Patch Current

To check for, and apply all available updates, type the following: apt-get update && echo y’ | apt-get upgrade && echo y’ | apt-get dist-upgrade && echo y’

Setup SSH

Next, I’m setting up SSH. First thing is to create a key. Type: ssh-keygen Answer file in which to save the key, and assign a password

Since we are using Root to login, edit the /etc/ssh/sshd_config. Change the option PermitRootLogin to Yes. Save and Exit the file

Restart the SSH service by typing: service ssh restart

Test SSH

Open your SSH client of choice on another device, and test SSH to Kali

Accepted the thumbprint, and we are in!

Now Explore

Now with Kali installed, I have a ton of stuff to explore and lab!

Up next Install Ubuntu 18.04 Virtual Machine in a VMware ESXi 6.7 Environment Macchanger Utility, and Usage
Latest posts Update macOS with an all in one alias Mac App Store Command Line Interface Update macOS with softwareupdate command Markdown Crash Course Video What’s New with Fusion and Workstation [HCP1833] File IO in Python Overview of vSphere 7 Video What is ISO? Migrating Website HTML details Tag Microsoft RD Client iOS App Create VMware ESXi USB Install Media Intel NUC Lab Hosts Hardware Setup Installing Microsoft SQL 2016, and Management Studio Deploy VMware vCenter Appliance (VCSA) Installing the First Two Domain Controllers in the VMware ESXi 6.7 Lab Environment Macchanger Utility, and Usage Install a Kali Linux VM in a VMware ESXi 6.7 Environment Install Ubuntu 18.04 Virtual Machine in a VMware ESXi 6.7 Environment Install xRDP on Ubuntu 18.04 Install Chromium on Ubuntu 18.04 Install OpenSSH on Ubuntu 18.04 Install VMware Workstation 14 on Ubuntu 18.04 Nested ESXi server Laboratorium Rattus The Animal Within Who is Veeam? RSAC OnDemand Videos Create a Windows 10 Sandbox VM on VMware Workstation 14 RSA Conference 2018 Installing VMware Workstation 14 on Windows 10 VMware vExpert 2018 Announcement, Great News