In this post I’ll show you how to easily create a Kali linux virtual machine. I’ll be using VMware Fusion 10. However, you can use whatever virtualization software you prefer.
- Vmware Fusion, Workstation, Player (FREE) or VirtualBox (FREE).
- Kali Linux ISO from https://www.kali.org/downloads/
- Verify the sha256sum after the download finishes with the checksum published on the Kali download page. Download the kali iso again if the checksums don’t match.
Verify the sha256sum of your Kali Linux ISO. To learn more about how to validate checksums look at my Validating Checksums post.
Openssl dgst -sha256 /path/to/kali.iso
Step 1: Create a new virtual machine
Step 2: Choose your kali iso
Step 3: Kali is not a specific Linux Operating System to choose. Kali is built on Debian so choose Debian 9.x 64-bit.
Step 4: Choose your firmware. I tested this with both Legacy BIOS and UEFI. Either is fine and details on the differences are out of scope for this post.
Step 5: Change the hardware settings to suit your own preferences. I highly recommend changing the ram settings to at least 2GB or 2048MB.
Step 6: You will be prompted to save your current work. At the point VMware Fusion will auto start the new virtual machine and start the install process.
Step 7: Choose your language
Step 8: Choose your Country
Step 9: Choose your keyboard layout
Step 10: Choose a hostname
Step 11: I usually leave this blank. It’s your choice.
Step 12: Choose your root password.
Step 13: Choose your time zone
Step 14: Select the “Guided – Use Entire Disk” partitioning option.
Step 15: Select the primary disk to partition.
Step 16: Select the “All files in one partition scheme”.
Step 17: Select the option “Finish partitioning and write changes to disk” and then select yes to complete.
When the installation is completed you will be presented with a login prompt.
User: root Password: The password from step 12.
Step 18: Update your new kali virtual machine by running the following commands in a terminal
Apt update && apt upgrade -y
This will update the software repositories and then upgrade any installed packages with the latest version. The “-y” is an auto accept command for installation.
Enjoy your new Kali virtual machine!