Module 7 - Introduction to Kali Linux
Lesson at a glance
| Field | Value | | ------------------- | --------------------------------------------------------------------- | | Grade band | 9–12 | | Total time | 60 minutes | | Difficulty | Beginner, first Linux distribution | | Required materials | Projector, Kali VM (or teacher demo), student worksheet, signed Safety Agreement on file | | Lab access | Isolated Kali guest VM with a clean snapshot (host-only / NAT, never bridged to school LAN) | | Standards alignment | NICE K0001 (NICE v1 code) / lab ops · CSTA 3A-CS-02 · EHE lab fundamentals |
Safety gate: Do not run this module until every student has a signed classroom Safety Agreement on file (Starter Module 1 / Cyber I Unit 1). Kali is a professional toolkit, not a toy.
Optional branding: Stamp organization / instructor name on the worksheet header. Keep the ethics pin on the board for the full session.
Learning objectives
By the end of this lesson students will be able to:
- Explain what a Linux distribution is and why Kali exists.
- State the classroom rule for Kali in one sentence (authorized lab VM only).
- Locate the terminal, file manager, and applications menu on the Kali desktop.
- Run and explain five starter commands:
whoami,pwd,ls,cd,uname -a. - Describe why snapshots matter before experimenting.
- Distinguish the prompt, command, and output in a terminal session.
Vocabulary (student-friendly)
- Operating system (OS): Software that runs the computer and lets apps talk to hardware.
- Distribution (distro): A packaged flavor of Linux (Kali, Ubuntu, Fedora…). Same family, different tools and defaults.
- Kali Linux: A Debian-based distro built for security testing and digital forensics, used here only in an authorized classroom lab.
- Terminal / shell: Text interface for talking to the OS with commands.
- Prompt: The line that waits for your command (often ends with
$or#). - Command: The instruction you type (
ls,pwd, …). - Path: The address of a folder or file (
/home/kali/Desktop). - Home directory: Your personal folder (
~or/home/<user>). - sudo: “Do this as administrator.” Powerful. Use only when the teacher says so.
- Snapshot: A save-point of the whole VM you can roll back to.
Why this module (teacher background)
Most students arrive having only used Windows or Chromebooks. Day one of Linux fails when we jump straight into tools. This period is orientation: what Kali is, what it is not, how to move around without fear, and how to recover with a snapshot.
Kali ships with many offensive-security tools. Do not demo exploitation tools in this lesson. Open the terminal, the file manager, and maybe the Settings panel. Curiosity about “hacking apps” gets redirected to: authorized lab, later units, signed scope.
Lesson content by block (what to teach)
Use this section as your talking points. It is the content behind each row of the pacing table. Facts about Kali come from the official Kali documentation and release notes listed under Sources.
0-5 min · Opener and ethics gate
Ask: "If someone hands you a set of master keys on your first day at a new job, what is the first thing you need to know?" Take two answers, then land it: which doors you are allowed to open. Kali is a set of master keys for computers. Pin the rule on the board and leave it there all period:
Kali is for learning security, only with written permission, inside our isolated lab VM.
Remind the class that the signed Safety Agreement from Module 1 is what lets them sit at this machine today.
5-15 min · Concept: OS, Linux, distro, Kali
Teach these four ideas in order, one sentence each, then check with a quick show of hands.
- Operating system. The software that runs the computer and lets apps use the hardware. Windows, macOS, ChromeOS, Android, and Linux are all operating systems.
- Linux. A free, open-source operating system family. At its center is the Linux kernel, and around it sit thousands of programs that make a usable system.
- Distribution (distro). A packaged version of Linux with its own choice of tools, desktop, and defaults. Ubuntu, Fedora, Debian, and Kali are all distributions. Same family, different toolkits.
- Kali. A Debian-based distribution built for security testing and digital forensics. Its documentation describes several hundred tools, configurations, and scripts aimed at tasks such as forensics, reverse engineering, and vulnerability detection. Kali is maintained as one of OffSec's community projects.
Say: "Security professionals use Kali because the tools come pre-installed and configured. That is also why the rule matters. These are real tools, and pointing them at a system you do not own, without written permission, is the same line we drew in Module 1."
Two facts worth sharing because students will see them on screen:
- Since release 2020.1, Kali creates a normal (non-root) user by default. Pre-built VM images log in as user
kaliwith passwordkali. Root has no password set; administrator actions go throughsudo. - Since release 2020.4, the default shell is Zsh, and the default prompt is two lines long (see the terminal lab below).
15-22 min · Desktop tour
Kali's default desktop has been Xfce since release 2019.4. Walk the projector through, and have students point at each item on their own screen:
| Item | Where it usually is | What to say | | ---- | ------------------- | ----------- | | Applications menu | Kali dragon icon, top-left of the panel | "Apps are grouped by job. Today we only open the terminal and the file manager." | | Panel | Strip along the top of the screen | Clock, open windows, and shortcuts live here. | | File manager | Folder icon on the panel, or Home on the desktop | "This is the same filesystem the terminal shows, just with pictures." | | Terminal | Black screen icon on the panel | "This is where we will spend most of today." |
Layouts change between releases and VM builds. If your image looks different, name the item and let students find it.
22-42 min · Terminal lab: five commands
Open the terminal and read the prompt aloud before typing anything. A fresh Kali VM shows something like this:
┌──(kali㉿kali)-[~]
└─$
Break it into parts:
kalibefore the symbol is the user name.kaliafter it is the host name (the machine's name).[~]is the current folder. The tilde~is short for your home directory.$means you are a normal user. A#in that spot would mean you are working as root (full administrator). We stay at$today.
Then the three parts of every terminal exchange:
- Prompt: the text the system shows while it waits.
- Command: what you type after the prompt, then Enter.
- Output: what the system prints back. Some commands print nothing when they succeed.
Run each command on the projector first, then have students run it and fill in the worksheet row. Output below is typical of a fresh VM; exact names and version numbers vary.
| Command | What it does | Typical output on a fresh VM | Teaching point |
| ------- | ------------ | ---------------------------- | -------------- |
| whoami | Prints the user you are logged in as | kali | "Before you do anything, know who you are on this machine." |
| pwd | Print working directory: shows the full path of the folder you are in | /home/kali | "This is the long form of the ~ in your prompt." |
| ls | Lists files and folders in the current directory | Desktop Documents Downloads Music Pictures Public Templates Videos | "These are the same folders you saw in the file manager." |
| cd Desktop then cd ~ | Changes directory into Desktop, then back home | No output. The [~] in the prompt changes to [~/Desktop] and back. | "Silence is success. Watch the prompt to see where you are." |
| uname -a | Prints system information: kernel name, host name, kernel version, and hardware type | One long line starting with Linux kali and ending with the architecture, such as x86_64 GNU/Linux | "You do not need to memorize this. You need to know where to look it up." |
Walk the room while students work. Check that every student can point to the prompt, the command, and the output on their own screen.
42-50 min · Paths, sudo caution, and the snapshot
Paths. Draw the filesystem as an upside-down tree on the board:
/
├── etc
├── home
│ └── kali
│ ├── Desktop
│ └── Documents
├── tmp
└── usr
/alone is the root of the filesystem, the top of the tree. Every full path starts there./home/kaliis the full path to thekaliuser's home folder.~is the shortcut for it.- Linux uses forward slashes and has no drive letters.
C:\Users\is a Windows habit; here it is/home/. - Linux names are case-sensitive:
Desktopanddesktopare different names. cd ..moves up one level.cd ~(or justcd) always takes you home.
sudo caution. sudo runs a single command with administrator power. Kali's own documentation advises against using sudo on every command. Say: "If a command fails, sudo is not the fix. Read the error first. Most beginner errors are a typo or the wrong folder, and running a typo as administrator just makes the mistake more powerful. We only use sudo today if I tell you to."
Snapshot. A snapshot saves the whole VM at one moment so you can roll back to it. Demonstrate the restore so students see it is fast. In VirtualBox, snapshots are taken and restored from the machine's Snapshots view (Take Snapshot, then Restore); VMware and Proxmox have equivalents. Confirm every VM shows a snapshot named clean-day1.
Say: "A snapshot is why you can be curious without being afraid. Break it, restore it, learn from it. That freedom only exists inside the lab VM."
Reading common terminal errors
Students will hit these. Treat each as a reading exercise, not a failure.
| Message | Usual cause | What to try |
| ------- | ----------- | ----------- |
| command not found | A typo, or a capital letter where Linux expects lowercase (LS instead of ls) | Retype it carefully in lowercase. |
| No such file or directory | The folder name is misspelled, has the wrong case, or is not in the current folder | Run pwd and ls to see where you are and what is there. |
| Permission denied | The action needs rights your normal user does not have | Stop and ask the teacher. This is the moment students reach for sudo; it is the moment to ask instead. |
50-55 min · Check for understanding (oral)
Cold-call two or three of these. They are discussion checks, separate from the unit quiz.
- "Point to the part of your screen that tells you which folder you are in."
- "Your prompt ends in
#. What does that tell you, and what should you do?" - "You typed
cd documentsand got an error. What two things could be wrong?" - "What is the one-sentence rule for Kali in this class?"
55-60 min · Exit ticket
Students complete the sentence frame from the Assessment section and show you their clean-day1 snapshot before they leave.
Sources
- Kali Linux Documentation, What is Kali Linux?: https://www.kali.org/docs/introduction/what-is-kali-linux/
- Kali Linux Documentation, Kali's Default Credentials (non-root default since 2020.1; VM images use kali/kali): https://www.kali.org/docs/introduction/default-credentials/
- Kali Linux Documentation, All about sudo: https://www.kali.org/docs/general-use/sudo/
- Kali Linux Blog, Kali Linux 2020.4 Release (Zsh default shell and two-line prompt): https://www.kali.org/blog/kali-linux-2020-4-release/
- Kali Linux Blog, Kali Linux 2019.4 Release (Xfce default desktop): https://www.kali.org/blog/kali-linux-2019-4-release/
- Oracle VirtualBox User Guide, chapter 1 (snapshots): https://www.virtualbox.org/manual/ch01.html
Materials checklist
- [ ] Every student: signed Safety Agreement on file
- [ ] Kali VM ready (VirtualBox / VMware / Proxmox) with snapshot named
clean-day1 - [ ] Network mode: NAT or host-only, not bridged to school production LAN
- [ ] Printed worksheets (one per student)
- [ ] Projector for Teach mode:
/teach/intro-kali-linux - [ ] Optional: spare USB live Kali only if district policy allows, VM preferred
Pacing: minute-by-minute
| Minutes | Block | What happens | | ------- | ----- | ------------ | | 0–5 | Opener + ethics gate | Hook + pin: Kali stays inside the lab VM | | 5–15 | Concept | OS → Linux → distro → Kali purpose | | 15–22 | Desktop tour | Menu, panel, file manager, terminal icon | | 22–42 | Terminal lab | Five commands on worksheet; walk the room | | 42–50 | Paths + sudo caution + snapshot | Filesystem tree; never sudo “just because” | | 50–55 | Check / discuss | Two MCQs or oral cold-call | | 55–60 | Exit ticket | One sentence + snapshot confirmation |
If short on machines: Teacher demos terminal on projector; students complete worksheet from the demo and rotate 10 minutes at the end.
If ahead: Add cat /etc/os-release and df -h as stretch commands (read-only).
Differentiation
- Support: Pair students; provide a command cheat strip on the desk; accept correct meaning even if spelling slips.
- Extension:
tree -L 1 /if installed, orls -la ~, explain hidden files (dotfiles). - No prior cyber required: only Module 1 ethics gate.
Assessment
- Formative: Worksheet Parts 1–3 during class
- Exit ticket: “Kali is for ______, only with ______, inside ______.”
- Quiz: the unit quiz (10 multiple-choice items scored in the learner portal, plus 2 short-answer items graded by the teacher). Use the printable version as a warm-up next day if pacing is tight.
Common pitfalls
- Students try to install tools or run scanners on the school Wi-Fi → stop, restate scope.
- Fear of “breaking it” → show snapshot restore in 30 seconds.
- Typing Windows paths (
C:\) → gently redirect to/and~. - Running as root for everything → explain
$vs#and why we stay as a normal user today.
Closing teacher script
“You met Linux today. Kali is one distro among many, we chose it because your cyber pathway uses it later. The rule does not change: authorized lab, defined scope, snapshot first. Tomorrow we build fluency. Curiosity stays inside the VM.”