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.
-
01
Terminal & Linux core
Navigate, inspect, and manipulate Linux from the shell; use pipes and redirection.
-
02
System administration & privileges
Read the Unix privilege model; audit SUID and sudo for escalation surface.
-
03
Network recon & Nmap
Map a network and choose the right scan for stealth, speed, or depth.
-
04
Wireless security & Aircrack-ng
Capture and crack a WPA2 handshake in a lab; understand WPA3 and PMF defenses.
-
05
Packet analysis with Wireshark & tshark
Reassemble sessions, extract cleartext credentials, and describe the fix.
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.
| Host | Address | Service | What it is for |
|---|---|---|---|
attacker | 10.77.0.5 |
Kali toolbox | nmap, tshark, tcpdump, ftp, curl. You run every module from here. |
web-target | 10.77.0.10 |
nginx, plain HTTP | A login form that sends credentials in cleartext. |
ftp-service | 10.77.0.20 |
vsftpd | Anonymous 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