Introduction
This guide is about virtualizing Kali Linux inside of Parallels, allowing you to have a Kali VM. This is a great way to use Kali, as it is completely separate from the host, allows you to interact with other VMs (as well as the host, and other machines on the network), and allows you to revert to snapshots.
Prerequisites
- MacOS 11 (Big Sur) or later
- At least 4GB of free RAM
- 20GB of free storage space
- UTM installed on your Mac
Step 1: Installing UTM
UTM is a full-featured virtual machine host for Mac. You can download it from:
- Mac App Store (Paid version)
- GitHub (Free version)
Step 2: Downloading Kali Linux
Visit the official Kali Linux website and download the ARM64 version if you're using an M1/M2 Mac, or the AMD64 version for Intel Macs.
Step 3: Creating a New Virtual Machine
- Open UTM and click "Create a New Virtual Machine"
- Select "Virtualize" for M1/M2 Macs or "Emulate" for Intel Macs
- Choose "Linux" as the operating system
- Select your downloaded Kali Linux ISO
Step 4: Configuring the Virtual Machine
Configure these recommended settings:
- Memory: 4GB minimum (8GB recommended)
- CPU Cores: 2 minimum (4 recommended)
- Storage: 20GB minimum
- Enable Sharing Directory (optional)
Step 5: Installing Kali Linux
Follow the Kali Linux installation wizard:
- Choose your language and location
- Set up your keyboard layout
- Create your username and password
- Configure the disk partitioning (use guided - entire disk)
Step 6: Post-Installation Setup
After installation, update your system:
sudo apt update
sudo apt upgrade -y
sudo apt dist-upgrade -y
Common Issues and Solutions
- Screen Resolution: Use the display settings to adjust to your preference
- Shared Clipboard: Enable in UTM settings for better integration
- Network Issues: Ensure "Share Network" is enabled in UTM
Conclusion
You now have a fully functional Kali Linux environment on your Mac. This setup allows you to explore cybersecurity tools and techniques in a safe, isolated environment. Remember to always use these tools ethically and responsibly.