Kali Linux for Beginners

Kali Linux for Beginners

A free course in 5 modules, about 18 hours in total. It starts at your first shell command and ends with reading a password out of captured network traffic. Every command runs against a small Docker lab on your own computer, and each one comes with the output it prints there and how a defender would spot it.

Start with module 01. If you haven't set up the lab yet, do that first: the practice lab.

Authorized targets only. Using these techniques against systems, networks, or wireless access points you do not own or lack written permission to test is illegal in most jurisdictions. Every example in this course targets the lab, 127.0.0.1, or documentation address ranges.

Modules

Take them in order. Every technique gives the command, the output it prints in the lab, and how a defender spots or stops it. Modules 01, 02, 03, and 05 end with lab checks that print PASS or FAIL. Pages you mark complete are remembered in this browser.

  1. 01

    Terminal & Linux core

    Navigate, inspect, and manipulate Linux from the shell; use pipes and redirection.

    Level 0 ~3 hours

  2. 02

    System administration & privileges

    Read the Unix privilege model; audit SUID and sudo for escalation surface.

    Level 1 ~4 hours

  3. 03

    Network recon & Nmap

    Map a network and choose the right scan for stealth, speed, or depth.

    Level 2 ~4 hours

  4. 04

    Wireless security & Aircrack-ng

    Capture and crack a WPA2 handshake in a lab; understand WPA3 and PMF defenses.

    Level 2 ~4 hours (more with hardware)

  5. 05

    Packet analysis with Wireshark & tshark

    Reassemble sessions, extract cleartext credentials, and describe the fix.

    Level 3 ~3 hours

The practice lab

Docker Compose starts a Kali attacker and two deliberately insecure targets on an isolated bridge network, 10.77.0.0/24. Every example in the course runs against it. No Docker? Open the repo in Codespaces and run the same commands there.

Lab network mapThree containers on the 10.77.0.0/24 bridge network: attacker at 10.77.0.5, web-target at 10.77.0.10, ftp-service at 10.77.0.20. From your computer you open a shell on attacker; the targets are also published on 127.0.0.1:8080 and 127.0.0.1:2121.Your computerruns Dockerworkspace/ is /root/workpentest-lab-net · 10.77.0.0/24attacker10.77.0.5Kali toolboxshellweb-target10.77.0.10nginx, plain HTTP · 80/tcpftp-service10.77.0.20vsftpd · 21/tcp127.0.0.1:8080127.0.0.1:2121
HostAddressService What it is for
attacker10.77.0.5 Kali toolboxnmap, tshark, tcpdump, ftp, curl. You run every module from here.
web-target10.77.0.10 nginx, plain HTTPA login form that sends credentials in cleartext.
ftp-service10.77.0.20 vsftpdAnonymous and labuser/labpass logins, all cleartext.
$ ./scripts/setup-lab-env.sh             # build and start the lab
$ ./scripts/setup-lab-env.sh user-shell  # normal user kali: modules 01-02
$ ./scripts/setup-lab-env.sh shell       # root on the attacker: modules 03-05
root@attacker:~# nmap 10.77.0.10 10.77.0.20
Nmap scan report for web-target.pentest-lab-net (10.77.0.10)
PORT   STATE SERVICE
80/tcp open  http

Nmap scan report for ftp-service.pentest-lab-net (10.77.0.20)
PORT   STATE SERVICE
21/tcp open  ftp

Nmap done: 2 IP addresses (2 hosts up) scanned in 0.19 seconds
Output from module 03, run on the attacker in the lab.

Reference