Online admissions open for the SEO, web development and networking & cybersecurity courses. Enquire for the next batch.

Kali Linux for Beginners: Installation, Tools and Safe Practice

5 min read Updated By the SkillNewton team

What is Kali Linux?

Kali Linux is a free, Debian-based Linux distribution maintained by OffSec for security testing, digital forensics and research. It ships with hundreds of preconfigured tools for tasks such as network scanning, web application testing, password auditing and wireless analysis. It is a toolkit for professionals and learners, and it must only be used against systems you own or are authorised to test.

What Kali Linux is, and what it is not

Kali is a rolling release built on Debian testing, so packages are updated continuously rather than in large version jumps. Quarterly snapshots such as 2026.1 are simply fresh installer images. Under the hood it is ordinary Linux: the same shell, filesystem layout and package manager covered in Linux for network engineers.

Kali is not a hacking shortcut and not a daily desktop. Its tools do exactly what the operator tells them, and most are also available on other distributions. Its value is convenience: a consistent, maintained set of security tools that work together, documented in one place.

Key terms

  • Metapackage: a package that installs a group of tools, such as kali-linux-default, kali-linux-large or kali-tools-top10.
  • Target: the system being tested. It must be in scope and covered by written permission.
  • Lab: an isolated network of machines you control, built for practice.
  • Scope: the agreed list of systems, addresses and techniques a test may cover.

Installation options: virtual machine, WSL, live USB or bare metal

OptionHow it worksGood for
Virtual machinePrebuilt images for VirtualBox, VMware, Hyper-V and QEMU, or install from the ISOLearners: snapshots, easy reset, isolated lab networks
WSLRuns Kali inside Windows Subsystem for Linux; Win-KeX adds a graphical desktopCommand-line tools on a Windows laptop
Live USBBoots from a USB drive without touching the internal disk; persistence is optionalField work and testing hardware
Bare metalInstalled directly on a laptop or desktopWireless work and full hardware access
Cloud and ARMImages for cloud providers and boards such as Raspberry PiRemote labs and small devices

For learning, a virtual machine is the safest choice. Download the image only from the official Kali website, verify its SHA-256 checksum against the published value, then import it. On Windows 10 or 11, WSL needs one command:

# Windows PowerShell (as administrator)
wsl --install -d kali-linux

# Inside the new Kali shell: the WSL image is minimal, so add the standard tools
sudo apt update
sudo apt install -y kali-linux-default

The default non-root user and first steps after install

Since release 2020.1, Kali runs as a standard non-root user by default. The installer asks you to create the account, and the prebuilt virtual machine and live images use the documented account kali with the password kali. Commands that need administrator rights are run with sudo, exactly as on Ubuntu or Debian. This limits the damage a mistake or a malicious file can do.

  1. Log in and change the default password immediately with passwd.
  2. Update the package lists and upgrade every installed package.
  3. Take a virtual machine snapshot of the clean, updated system.
  4. Set the network adapter to host-only or an internal network for lab work.
  5. Install extra tools only when you need them.
passwd                                  # change the current user's password
sudo apt update                         # refresh package lists
sudo apt full-upgrade -y                # upgrade, allowing dependency changes
apt search nmap                         # find a package
sudo apt install -y kali-tools-top10    # a small set of commonly used tools

Use full-upgrade rather than upgrade on a rolling distribution, because new package versions sometimes add or remove dependencies. The essential Linux commands reference covers the shell basics you will need.

Core tool categories

The Kali menu groups tools by the stage of an assessment. Knowing the category matters more than memorising every tool.

CategoryPurposeExample tools
Information gatheringDiscover hosts, ports, services and DNS datanmap, dnsrecon, theHarvester
Vulnerability analysisFind known weaknesses in servicesnikto, nmap scripts
Web application analysisIntercept and test web trafficBurp Suite Community, sqlmap, ffuf
Password attacksAudit password strength and hashesJohn the Ripper, hashcat, hydra
Wireless attacksAssess Wi-Fi securityaircrack-ng suite
ExploitationConfirm a vulnerability in an authorised testMetasploit Framework
Sniffing and spoofingCapture and analyse trafficWireshark, tcpdump
Forensics and reportingExamine evidence and document findingsAutopsy, binwalk

Packet capture with Wireshark ties directly to the TCP/IP fundamentals: you can watch a three-way handshake, a DNS query and a TLS negotiation happen.

Ethics and the law: authorised targets in an isolated lab

Scanning or attacking a system without permission is illegal in India and most other countries. The Information Technology Act, 2000 covers unauthorised access and damage to computer systems, and "I was only learning" is not a defence. Every professional test starts with written authorisation that defines scope, timing and contacts, as described in penetration testing explained.

  • Test only machines you own, or systems whose owner has given you written permission.
  • Build an isolated lab: a host-only or internal virtual network with no route to your home or office network.
  • Use deliberately vulnerable practice targets, such as Metasploitable 2, DVWA or OWASP Juice Shop, never public websites.
  • Do not run Kali tools on a college, employer or public Wi-Fi network without permission from its owner.
  • Keep notes of every command you run; professionals report their actions in full.

Practical exercise: build a two-machine lab and run a first scan

Using VirtualBox or VMware on your own computer, set up a contained lab.

  1. Import the Kali virtual machine image and a deliberately vulnerable target such as Metasploitable 2.
  2. Attach both to the same host-only network, and confirm neither has a route to your real network.
  3. In Kali, change the default password, update the system and take a snapshot.
  4. Find both addresses with ip a, then run nmap -sV <target-ip> against the target only.
  5. List each open port, the service and version reported, and one reason it might be risky.

You are done when you have a short report listing the target services and the exact commands you ran, and you can explain why the lab cannot reach any system you do not own. Guided lab work of this kind is part of the Advanced Networking course.

Common mistakes

  • Scanning a website or network you do not own because a tutorial used it as an example.
  • Leaving the default kali password unchanged on a machine connected to a shared network.
  • Using Kali as an everyday desktop for browsing, email and personal files.
  • Bridging the lab virtual machine to the home network, so practice scans reach real devices.
  • Downloading Kali images from unofficial mirrors without checking the published checksum.

Frequently asked questions

Is Kali Linux legal to download and use?

Yes. Installing and learning Kali is legal. What can be illegal is using its tools against systems without the owner's permission, so keep all practice inside your own lab.

Do I need Kali to learn cybersecurity?

No. Most tools run on any Linux distribution, and the fundamentals in cybersecurity basics and networking matter far more. Kali simply saves set-up time.

Why does Kali no longer log in as root?

Running everything as root meant one mistake or malicious file could damage the whole system. Since 2020.1 Kali uses a normal account and sudo, which is standard Linux practice.

How much hardware does a Kali virtual machine need?

A machine with 2 CPU cores, 4 GB of RAM for the virtual machine and around 40 GB of disk space handles most learning labs comfortably. Heavy password cracking benefits from a dedicated GPU.

Want to Learn This Properly?

The Advanced Networking & Cybersecurity Mastery (Online) turns guides like this into practised skills, with projects on real websites.

WhatsApp Call Us Now

Free counselling

Send an Enquiry

Tell us which course you are interested in. We reply by email or phone with the next batch and how to enrol.

Protected by reCAPTCHA. Google Privacy and Terms apply.

We reply by email or phone within working hours. No spam.