Module 2 ยท Lesson 1 ยท 30 minutes

๐Ÿ“ฆ Installing Kali Linux in VirtualBox

Your first hacker's "workstation". From "what is a VM" to a working Kali โ€” in 30 minutes. No fuss.

๐Ÿ“– 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:

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:

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

  1. Open VirtualBox.
  2. Menu: File โ†’ Import Appliance (or Tools โ†’ Add in newer versions).
  3. Choose the .vbox file from the unzipped folder.
  4. Click Import โ†’ wait 2-5 minutes.
  5. In the VM list, you'll see kali-linux-2026.x-vbox-amd64.
  6. 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)
  7. 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:

  1. Restart your computer
  2. On boot, press F2 / Del / Esc (depending on the manufacturer)
  3. Find Intel VT-x / AMD-V / Virtualization Technology
  4. Enable it
  5. Save & Exit
Kali is slow

Probably not enough RAM or CPU. Solution:

Kali has no internet

Check network settings:

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.

โ† Back to module Lesson 2.2: Terminal โ†’