๐ Story hook
When I installed my first Kali, it was a 4-hour pain. A 2015 tutorial, screenshots didn't match, something didn't launch, I gave up.
Three years later, I returned. In 2023, installation takes 30 minutes. All stages are visible, there are direct downloads, Kali created an ISO with a built-in VirtualBox preset.
In this lesson, we'll go step-by-step, no guessing. By the end, you'll have a live Kali Linux running in a window.
๐ง What is a virtual machine (VM) โ in simple terms
A VM is a computer inside your computer. A program (VirtualBox) makes it look like a real computer, and any operating system can run inside it.
Why do you need this:
- You don't ruin your Windows / macOS โ Kali runs in a window
- It's safe โ if you break something, you can just delete the VM
- Snapshots โ save the state "before the hack", return to it with one button
- You can have multiple VMs at the same time (Kali for attack + Ubuntu as "victim")
Analogy: you live in an apartment (Windows). You set up an aquarium (VirtualBox). Fish swim in the aquarium (Kali, Ubuntu, etc.). What they do there doesn't affect your apartment.
๐ Step 1: Download VirtualBox
What to download: VirtualBox latest version (as of 2026 โ 7.1.x)
URL: virtualbox.org/wiki/Downloads
Size: ~110 MB
Platform:
- Windows host โ "Windows hosts" (.exe)
- macOS Intel โ "macOS / Intel hosts" (.dmg)
- macOS Apple Silicon (M1/M2/M3) โ VirtualBox doesn't work perfectly on ARM. Use UTM (free): getutm.app
Installation: run the downloaded file โ Next, Next, Next โ Finish. Default settings are fine.
๐ง Step 2: Download Kali Linux ISO
Where: kali.org/get-kali/#kali-virtual-machines
Choose: "Virtual Machines" tab โ VirtualBox 64-bit โ download the ZIP file.
Size: ~3 GB (depending on the version)
๐ก Life hack: Kali creates a special ready-to-use VM image. This is better than installing from a regular ISO โ you don't have to go through the 30-minute Debian installer.
After downloading: unzip the ZIP file (you'll get a folder with .vbox and .vmdk files).
๐ฌ Step 3: Run Kali in VirtualBox
- Open VirtualBox.
- Menu: File โ Import Appliance (or Tools โ Add in newer versions).
- Choose the .vbox file from the unzipped folder.
- Click Import โ wait 2-5 minutes.
- In the VM list, you'll see kali-linux-2026.x-vbox-amd64.
- Select it โ click Settings:
- System โ Base Memory: 4096 MB (if you have 8GB RAM) or 2048 MB (if you have 4GB)
- System โ Processor: 2 CPUs (minimum 1, better 2)
- Display โ Video Memory: 128 MB
- Network โ Adapter 1: NAT (default)
- OK โ click Start (green arrow).
๐ Step 4: First login
After booting, you'll see the login screen.
Login: kali
Password: kali
โ ๏ธ Security: these are default credentials. Never leave them if your VM is exposed to the internet (e.g., hosted on a VPS). For local use โ it's fine.
You'll see a desktop with a dark background and a dragon icon? Congratulations โ you're in Kali.
โ
Step 5: First test
Open the Terminal (black square icon in the top panel or Ctrl+Alt+T).
Enter the command:
whoami
Response: kali
This is your username. Next:
uname -a
It will show the Linux version. Something like Linux kali 6.x.x-kali ... GNU/Linux.
If both commands succeed โ everything works. You can proceed.
๐ธ Step 6: Save a snapshot
This is the most important step. A snapshot is like a save game for your VM.
In VirtualBox: Machine โ Take Snapshot โ name "Fresh install" โ OK.
Now, if you break something โ right-click on the snapshot โ Restore and your VM will return to this state. No losses.
Make it a habit to take snapshots before each important operation โ it will save you hours of work.
๐จ If something goes wrong
VirtualBox says "VT-x is disabled in BIOS"
Virtualization is disabled in your BIOS. Solution:
- Restart your computer
- On boot, press F2 / Del / Esc (depending on the manufacturer)
- Find Intel VT-x / AMD-V / Virtualization Technology
- Enable it
- Save & Exit
Kali is slow
Probably not enough RAM or CPU. Solution:
- Settings โ System โ Base Memory: increase to 4096 MB
- Settings โ System โ Processor: set 2 CPUs
- Close Chrome / other resource-intensive programs on the host
Kali has no internet
Check network settings:
- Settings โ Network โ Adapter 1: Enable Network Adapter โ
- Attached to: NAT
- In Kali terminal:
ping 8.8.8.8 โ you should get responses
VirtualBox doesn't work on Mac M1/M2/M3
VirtualBox on ARM Mac is not comfortable. Alternative:
๐ค Vibe-task: ask Claude
If you get stuck at any step โ open Claude and ask using the template:
I'm installing Kali Linux in VirtualBox on [Windows 11 / macOS Sonoma].
On step [4: Import Appliance], I get an error:
"[insert exact error text]"
Please help me with a solution. I have [8 / 16] GB RAM, [Intel / AMD] processor.
Claude knows all common VirtualBox + Kali errors. With him, installation goes 3 times faster.
๐ฌ What's next
In the next lesson โ terminal. 10 commands you'll use every day. By the end of the lesson, you'll navigate the system without a mouse.