Module 8 · Kali Linux and Security Tools · Lesson 22 of 75
Kali Linux: what it is and how to set it up safely
Why testers use Kali, the ways to run it, first-boot housekeeping, and habits that keep your lab and your own data safe.
In this lesson · about 30 minutes
- Explain what Kali Linux is and is not
- Choose a safe way to run it and update it
- Set up a tidy working folder for each engagement
Ways to run Kali
| Option | Good for | Watch out for |
|---|---|---|
| Virtual machine (pre-built VirtualBox/VMware images) | Most learners: snapshots, easy reset, isolated networks | Give it 4 GB RAM or more; Wi-Fi attacks need a USB adapter |
| WSL (Windows Subsystem for Linux) | Quick command-line tools on a Windows laptop | Limited networking for scanning; antivirus may quarantine tools |
| Live USB with persistence | Using a borrowed or lab machine without installing | Easy to lose; encrypt the persistence partition |
| Cloud instance | Testing internet-facing targets you are authorised for | Cloud providers have their own testing rules; never leave it open |
First-boot housekeeping
- Change the default password (
passwd). Kali uses a normal user,kali, andsudofor admin tasks. - Update:
sudo apt update && sudo apt full-upgrade -y. Tools change weekly. - Take a snapshot called "clean" once updated.
- Install extra tools as needed:
sudo apt install seclists gobuster. Thekali-linux-largemetapackage adds many more. - Learn where things live: word lists in
/usr/share/wordlists(rockyou is compressed there) and/usr/share/seclists; Nmap scripts in/usr/share/nmap/scripts; exploit database in/usr/share/exploitdb.
Good habits
- One folder per engagement:
~/engagements/acme-2026-11/{scans,loot,notes,screens}. - Log your terminal:
script -a notes/terminal.logrecords everything you type and see. - Save every scan to a file (
-oAin Nmap) so you never need to re-run it. - Do not browse the web, read email or log in to personal accounts from Kali.
- Download tools only from official sources. Fake "hacking tools" laced with malware are a common trap for beginners.
Hands-on lab (simulated terminal)
Lab: prepare Kali for an engagement
A freshly imported Kali VM. Output is simulated.
Step 1 of 5. Type each command and press Enter. Nothing runs on your computer.
1. Update the package lists and upgrade everything.
Check your understanding0 of 3 correct
Quiz score: 0 of 3
Written by Noviq Academy in its own words. All labs are simulations: no real systems are touched, and every name, address, password and hash is made up. The offensive techniques taught here are for defending systems and for authorised testing only; never scan, access or test a system without the owner's written permission. Tool and product names belong to their owners, and command output may differ slightly from yours. Read-aloud uses your device's built-in voices.