Kali Linux is the go-to operating system for penetration testers, ethical hackers, and security researchers. Maintained by Offensive Security, it comes pre-loaded with 600+ security tools including Nmap, Burp Suite, Metasploit, Wireshark, Aircrack-ng, and John the Ripper.
This guide walks you through every installation method for 2026: downloading and verifying the official ISO, flashing a bootable USB, bare metal installation with full disk or dual boot, virtual machine setup in VirtualBox and VMware, WSL2 on Windows, and essential post-install configuration steps every security professional needs.
◈ Table of Contents
01 — DOWNLOAD & VERIFY THE ISO
STEP 1Always download Kali Linux from the official source: kali.org/get-kali. Never use third-party mirrors or torrents you can't verify. Kali offers several image types — choose the right one for your use case.
| Image Type | Use Case | File Size |
|---|---|---|
| Installer (ISO) | Bare metal install — full disk or dual boot | ~4 GB |
| Live (ISO) | Boot without installing — run from USB to test hardware | ~4 GB |
| Virtual Machine (OVA) | Pre-built image for VirtualBox/VMware — fastest setup | ~3.5 GB |
| WSL | Windows Subsystem for Linux — from Microsoft Store | ~500 MB |
| ARM Images | Raspberry Pi, Apple M1/M2/M3, AWS ARM instances | Varies |
- 1Download the ISO and the matching SHA256SUMS and SHA256SUMS.gpg files from the same Kali download page
- 2Import the Kali Linux official GPG signing key:
gpg --keyserver hkps://keys.openpgp.org --recv-key 827C8569F2518CC677FECA1AED65462EC8D5E4C5 - 3Verify the signature:
gpg --verify SHA256SUMS.gpg SHA256SUMS— look for "Good signature from Kali Linux Development Team" - 4Verify the ISO hash matches:
sha256sum -c SHA256SUMS --ignore-missing
Never skip ISO verification. Tampered Kali ISOs have been used to compromise security researchers in the past. A "Good signature" from the Kali GPG key is the only trust anchor you have before running any code from the image.
02 — CREATE A BOOTABLE USB DRIVE
STEP 2You need a USB drive with at least 8 GB capacity. All data on the USB will be erased. Use a USB 3.0 drive for faster boot and install speeds.
Triple-check the target device in dd commands. Writing to the wrong device (e.g. your main hard drive instead of the USB) will destroy all data on that device with no recovery prompt. Use lsblk or Disks to confirm which device is your USB.
03 — BIOS/UEFI BOOT SETTINGS
STEP 3To boot from your Kali USB you need to either access the boot menu at startup or change the boot order in BIOS/UEFI settings. On most systems, Secure Boot also needs to be disabled.
| Manufacturer | BIOS Key | Boot Menu Key |
|---|---|---|
| ASUS | F2 or Del | F8 or Esc |
| Dell | F2 | F12 |
| HP | F10 or Esc | F9 or Esc then F9 |
| Lenovo | F2 or Fn+F2 | F12 |
| MSI | Del | F11 |
| Gigabyte | Del or F2 | F12 |
| Acer | F2 or Del | F12 or Esc |
- 1Insert the bootable USB drive and power on or restart your system
- 2Rapidly press the BIOS key (see table above) before the OS loads — timing is critical, press repeatedly
- 3In BIOS: navigate to Security or Boot tab → find Secure Boot → set to Disabled
- 4Navigate to Boot Order or Boot Priority → move USB to first position (or select it one-time via boot menu)
- 5Save changes: usually F10 → Confirm "Yes" → system reboots and boots from USB
Using the one-time boot menu (F12 on most systems) is safer than changing boot order permanently — it only affects the next boot, so you don't accidentally leave USB-first boot enabled after installation. Look for the boot menu key specific to your system manufacturer.
04 — FULL DISK INSTALLATION
STEP 4 — BARE METALThe graphical installer guides you through the full installation. Full disk install erases everything on the selected drive — ideal for a dedicated Kali machine or VM. This uses the modern graphical installer available since Kali 2023+.
- 1Boot from USB → select Graphical Install from the Kali boot menu
- 2Language / Location / Keyboard — select your region and keyboard layout
- 3Hostname — set a hostname (e.g.
kaliorredteam). Leave domain name blank - 4User Account — enter your full name, username, and password. Use a strong password — Kali runs many privileged tools
- 5Disk Partitioning — select Guided — use entire disk then choose your target drive. For most users: select All files in one partition
- 6Confirm the partition changes → select Finish partitioning and write changes to disk → Yes to confirm (this is destructive)
- 7Software Selection — default selection includes XFCE desktop + top 10 tools. Select additional metapackages if needed
- 8GRUB bootloader — install GRUB to the primary drive (e.g.
/dev/sdaor/dev/nvme0n1) - 9Installation completes → Remove USB when prompted → click Continue to reboot
- 10System boots into Kali Linux XFCE desktop — log in with the credentials you created
05 — DUAL BOOT KALI WITH WINDOWS
INTERMEDIATEDual booting lets you keep Windows and have a native Kali installation. The key preparation step is shrinking the Windows partition to create free space for Kali, done inside Windows before booting the Kali installer.
Back up all important data before dual-boot setup. Partitioning mistakes can destroy your Windows installation. Disable BitLocker in Windows before proceeding or GRUB will be unable to detect the Windows partition.
- 1In Windows: press
Win + X→ Disk Management - 2Right-click the C: drive partition → Shrink Volume
- 3Enter the amount to shrink — minimum 40,000 MB (40 GB) recommended for Kali, 80+ GB if you plan to store tools and data
- 4Click Shrink — the free unallocated space appears on the disk map. This is where Kali will install
- 5Disable Fast Startup in Windows: Settings → System → Power → Additional power settings → Choose what the power buttons do → uncheck "Turn on fast startup"
- 1Boot from Kali USB → select Graphical Install
- 2At partitioning: select Manual partitioning
- 3Select the FREE SPACE unallocated partition → Create new partition
- 4Create: root partition (
/) using most of the space, and a swap partition (equal to your RAM, max 8 GB) - 5Continue installation — GRUB will detect Windows and add it to the boot menu automatically
- 6On reboot, GRUB menu shows both Kali and Windows — select with arrow keys
If GRUB doesn't detect Windows, run sudo update-grub from inside Kali. If Windows doesn't appear, install the os-prober package first: sudo apt install os-prober && sudo update-grub.
06 — VIRTUALBOX & VMWARE INSTALL
RECOMMENDED FOR BEGINNERSInstalling Kali in a VM is the safest method for beginners — it requires no partitioning or BIOS changes and runs inside your existing OS. The pre-built OVA image available from kali.org is the fastest way to get started.
- 1Install VirtualBox from virtualbox.org — also install the VirtualBox Extension Pack for USB 3.0 and full-screen support
- 2Download the Kali VirtualBox OVA from kali.org/get-kali/#kali-virtual-machines (look for VirtualBox 64-bit)
- 3In VirtualBox: File → Import Appliance → select the OVA file → click Next → Import
- 4Select the imported VM → click Settings: allocate at least 4 GB RAM and 2+ CPU cores under System
- 5Click Start — Kali boots with default credentials: username
kali, passwordkali - 6Immediately change the default password: open terminal →
passwd - 7Install VirtualBox Guest Additions for clipboard sharing and drag-and-drop:
sudo apt install virtualbox-guest-x11 -y→ reboot
07 — KALI ON WSL2 (WINDOWS)
WINDOWS USERSWSL2 lets you run Kali Linux directly inside Windows with a real Linux kernel. It's excellent for command-line security tools but doesn't support full GUI desktop by default, and some tools requiring raw socket access or kernel modules won't work.
WSL2 Kali is ideal for tool usage and scripting but has limitations: no raw socket access (rules out Nmap SYN scans, Wireshark live capture), no kernel module loading, and Bluetooth/Wi-Fi adapter passthrough requires USB/IP. For full offensive capability, use a VM or bare metal install.
08 — POST-INSTALL CONFIGURATION
MANDATORYA fresh Kali installation needs several configuration steps before it's ready for security work. Run these immediately after first boot.
◈ Stay Connected
Follow CyberHawk Threat Intel for Kali Linux tutorials, penetration testing guides, and SOC training content.
"They can't exploit you if you are the Exploit."