Kali Linux is a free, open-source Linux distribution built for penetration testing, digital forensics, and security research, and it comes with hundreds of preinstalled security tools, but it is a specialist system for authorized security work, not an everyday desktop for beginners.

This is part of a series on Linux distributions, following Ubuntu, Linux Mint, Fedora, and Debian. Kali is based on Debian, so the package commands will look familiar. If Linux is new to you, start with what Linux is and how its distributions differ. This guide is for learning and defense: understand what Kali is, how to run it safely, and when to use it.

Use Kali only on systems you own or have written permission to test. Testing other people’s systems without permission is illegal in most places.

What Is Kali Linux?

Kali Linux is maintained by OffSec (formerly Offensive Security), the company behind well-known security certifications. It is a complete operating system, based on Debian, that bundles tools for testing the security of networks, websites, and devices. Security professionals use it to find weaknesses before attackers do. It is a good way to learn how attacks work so you can defend against them.

History and Background

Kali replaced an earlier security distribution called BackTrack. Some milestones:

  • 2013: Kali Linux is released, rebuilt on Debian.
  • Later years: Kali moves to a rolling release model that follows Debian’s testing branch, and it adds support for ARM devices, cloud images, and Windows (through WSL).
  • Changes along the way: the default desktop became Xfce, and a regular non-root user became the default instead of logging in as root.
  • Today: Kali is one of the most widely used distributions in the security field and is popular in training and capture-the-flag (CTF) games.

Exact dates and details are on the official Kali site.

Key Features

  • Hundreds of security tools preinstalled and organized by category, such as information gathering, vulnerability analysis, web application testing, password attacks, wireless testing, and forensics.
  • Built on Debian. It uses apt and .deb packages.
  • Frequent updates. Its rolling release keeps tools current.
  • Many ways to run it: an installer, a live USB, virtual machine images, ARM devices such as the Raspberry Pi, cloud images, and Windows (WSL).
  • Open source and free. You can inspect and change it.
  • Strong training and community resources.

Well-known tools include Nmap (network scanning), Wireshark (traffic analysis), Burp Suite (web testing), Metasploit (a penetration testing framework), John the Ripper and Hashcat (password auditing), and Aircrack-ng (wireless security).

Desktop and User Experience

Kali’s default desktop is Xfce, a light and fast interface with a menu organized by security tool category. You can also choose GNOME or KDE Plasma. Most work happens in the terminal. The system is designed for speed and tool access, not for polish, so it looks plainer than Ubuntu or Mint.

System Requirements

Requirements depend on the image and tools you use, so check the official Kali documentation. As a rough guide:

Approximate minimumComfortable
Memory2 GB4 GB or more (8 GB if you run virtual machines)
Storage20 GB50 GB or more
Processor64-bitA recent multi-core processor

If you run Kali in a virtual machine, give it at least 2 CPU cores and 4 GB of RAM. See what a virtual machine is.

Software and Package Management

Kali uses .deb packages and APT, the same as Debian and Ubuntu. Tools are grouped into metapackages, such as kali-linux-default, so you can install a set of tools at once. Try these in a terminal:

# Show the Kali version
cat /etc/os-release

# Refresh the list of available software
sudo apt update

# Install all updates (Kali recommends full-upgrade for its rolling release)
sudo apt full-upgrade

# Search for a package
apt search "network scanner"

# Install a program
sudo apt install nmap

# Scan your own computer, safely (this checks the open ports on localhost)
nmap 127.0.0.1

Only scan your own computer or a network you have permission to test. The last command scans your own machine and is a safe way to see what Nmap shows. For more terminal basics, see Linux terminal essential commands.

Security and Updates

Kali is built to test security, and it is not hardened for everyday use. By default it doesn’t run network services, which helps. A few good habits:

  • Don’t use Kali as your main system for banking, email, or personal files.
  • Run it in a virtual machine when possible, so it is separate from your daily system.
  • Keep it updated with sudo apt update && sudo apt full-upgrade, and take VM snapshots before big changes.
  • Don’t store sensitive data on it, and don’t leave it on an untrusted network.
  • Keep your testing legal. Work only in a lab you control or with written permission.

Kali vs. Ubuntu

Kali LinuxUbuntu
Based onDebian (rolling)Debian (fixed releases)
PurposeSecurity testing and forensicsGeneral use: desktop, server, cloud
Preinstalled toolsHundreds of security toolsGeneral apps
Update styleRollingEvery 6 months, with LTS every 2 years
Everyday useNot recommendedRecommended
Beginner-friendlyNo, it expects some Linux knowledgeYes

If you only want to learn Linux, start with Ubuntu, Mint, or Debian. You can install the same tools on Ubuntu or Debian with apt, but Kali saves you the setup.

Advantages and Disadvantages

Advantages

  • A complete security toolkit, ready to use.
  • Excellent for learning, labs, and certifications.
  • Built on Debian, so it is easy to update and extend.
  • Runs as a virtual machine, a live USB, or on small ARM devices.
  • Free and open source, with strong training resources.

Disadvantages

  • It is not meant for daily use or for beginners with no Linux experience.
  • Many tools can cause harm if misused, so you must know the law and stay within permission.
  • A rolling release can occasionally break after an update.
  • It uses more resources with many tools running.
  • Some tools need extra hardware, such as a compatible wireless adapter.

Who Should Use Kali Linux?

Kali is a good fit for people with some Linux experience who are learning or working in security. Common users include:

  • Students and learners following a cybersecurity course. See Cybersecurity Fundamentals for the concepts behind the tools.
  • IT and security professionals doing authorized penetration tests or audits.
  • Forensics and incident response work.
  • CTF players and home-lab builders.

Kali is not a good choice for a daily computer, a first Linux distribution, or a server. For those, look at Ubuntu, Linux Mint, or Debian. To learn how defenders trap attackers, you can also read about the honeypot.

Download and Installation Overview

Kali offers several ways to run it. The safest for a beginner is a virtual machine:

  1. Download a pre-built virtual machine image, or an installer ISO, from the official Kali site (kali.org). Check the file’s checksum.
  2. Import the VM image into VirtualBox or VMware, or create a new VM and boot it from the ISO.
  3. Log in with the default credentials listed in the Kali documentation, then change the password.
  4. Update the system with sudo apt update && sudo apt full-upgrade.
  5. Take a snapshot so you can roll back after experiments.

You can also use a live USB, install Kali on hardware, run it on a Raspberry Pi, or use it on Windows through WSL. Always download from the official site, and use it only in a lab you control.

Conclusion

Kali Linux is the standard toolkit for learning and doing security testing, and it is best used in a virtual machine and only with permission. Build your Linux basics first with Ubuntu, Mint, or Debian, then try Kali as a lab. If you want help with the security of your website or systems, you can book a free consultation.

Tools, defaults, requirements, and commands can change between Kali versions. Check the official Kali documentation for the version you use, and use these tools only on systems you own or are authorized to test.