|||

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 0104-change-synology-password-cli 0105-free-git-ebook 0103-using-brew-bundle-to-backup-and-restore-mac-app-store-and-brew-apps Update macOS with an all in one alias Mac App Store Command Line Interface 0100-macos-softwareupdate-cli Markdown Crash Course Video What’s New with Fusion and Workstation [HCP1833] File IO in Python Overview of vSphere 7 Video 0095-what_is_iso Migrating Website HTML details Tag Microsoft RD Client iOS App 0091-create_vmware_esxi_usb_install_media Intel NUC Lab Hosts Hardware Setup 0089-installng_microsoft_sql_2016 Installing the First Two Domain Controllers in the VMware ESXi 6.7 Lab Environment 0088-deploy_vcsa_in_lab 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 0075-create_win10_sandbox_vm