Kali Linux VM
Standing up your Kali Linux VM
Install and Configure Kali Linux VM in VirtualBox on Windows OS
– OR – on Mac OS w/ M1, M2, M3 Chips *COMPLETELY FREE*
– OR – on Mac OS w/ M1, M2, M3 Chips *COMPLETELY FREE*
In this introductory lab, you will learn the foundational skills required for setting up a virtualized environment.
Virtualization is a key technology used in cybersecurity for setting up isolated environments to analyze malware, test systems, mimic production environments, and learn without damaging your host system. Virtual machines (VMs) act as a distinct self-contained computing environment that run on top of a physical host machine.
There are two main types of hypervisors that manage VMs:
Type 1: runs directly on the hardware (bare metal). Ex: VMware, Microsoft Hyper-V
Type 2: runs on software on an existing OS. Ex: VirtualBox, Parallels Desktop
Key Learning Objectives:
Using VirtualBox on Windows OS
Install and set up a Kali Linux virtual machine (VM) within VirtualBox
Other versions can be downloaded, please use this for the lab
Later, try Kali Purple for a fun desktop experience with many tools available
Unzip the download using the 7Zip open-source utility for unzipping the .7z file type
In VirtualBox, click ADD to create a new virtual machine
Set the name and operating system for the VM
Allocate RAM and storage space.
RAM should be at least 4096 MB – 8192 MB (Dependent upon the resources on your PC)
This is equivalent to 4 to 8 GB of RAM*
CPU Cores should be set at minimum 2 – 4 (Dependent upon the resources on your PC)
Do not use more cores than your PC can spare*
For storage, use the “Use an existing virtual hard disk file” option
Set the virtual hard disk size to at least 40 GB (Dependent upon the resources on your PC)
Start the VM
Enter username kali and password kali (You can enter what you prefer, just don't forget.)
Welcome to Kali Linux and your new virtual machine
Familiarize yourself with the new environment
Open the Root Terminal Emulator
Type your [First and Last Name] and press Enter
Take a SCREENSHOT and submit your work
Using UTM on Mac OS with Apple Silicon (M1, M2, M3 Chips):
Download and install UTM on your Mac.
Go to the Kali Linux download page in your browser.
Other versions can be downloaded, please use this for the lab
Later, try Kali Purple for a fun desktop experience with many tools available.
Download the ISO for the 64-bit version of Kali Linux for Apple Silicon, ARM64 Edition
Open UTM and click Create New Virtual Machine. Name it Kali Lab or similar
Choose the Virtualize Option for the Machine and Linux Machine then continue
Select Linux
Select the Apple Virtualization option in the top left corner of UTM during this setup
Boot from the ISO you have downloaded by selecting “Browse” button and on this screen and selecting the ISO file
Allocate RAM and Storage space
RAM should be at least 4096 MB – 8192 MB (Dependent upon the resources on your PC)
This is equivalent to 4 to 8 GB of RAM*
Do not use more RAM than your machine can spare*
CPU Cores should be set at minimum 2 – 4 (Dependent upon the resources on your PC)
Do not use more cores than your computer can spare*
Allocate 40 GB of storage space to the project
When the Installer opens in the new window for the VM, start the GUI installation
Enter username kali and password kali (You can enter what you prefer, just don't forget.)
Once installed, enable Shared Networking under VM Settings to allow the VM to access the host network
Welcome to Kali Linux and your new virtual machine
Familiarize yourself with the new environment
Open the Root Terminal Emulator
Type your [First and Last Name] and press Enter
Take a SCREENSHOT and submit your work