cyber/foundations 0%

Self-paced · Kali · built for low motivation

From command-line beginner to ahead of your cohort

A hands-on path you run in your own Kali VM. Short sessions, a clear "done" for each, progress that saves in your browser. Depth where it matters, honesty where it's hard.

0/0
Sessions finished
0
Tasks ticked
0
Days active

Low-energy day? Do 10 minutes instead

Choose one prompt. Try it from memory, then open the check. One is enough for today.

Finding my way around

Type cd /etc. How would you return home and prove where you landed?

Check in Kali

Run cd on its own, then pwd. Compare the path with the output of echo "$HOME". Both should show your home directory.

Getting help

Which option of ls shows hidden files? Find it in the manual inside Kali.

Check in Kali

Open man ls, type /--all and press Enter. Look for -a, --all. Press q to leave. Run ls -a and look for the entries . and ..

Counting log entries

A tiny log contains FAIL, OK and FAIL on separate lines. Predict how many whole lines match FAIL.

Check in Kali

Run the command below. Expect 2. Change OK to FAIL and predict the new count before running it again.

printf '%s\n' FAIL OK FAIL | grep -c '^FAIL$'
Checking open doors (Phase 2+)

Which command lists the TCP ports your own Kali machine is listening on right now, with program names?

Check in Kali

Run sudo ss -tlnp. Look at the Local Address:Port column and the process name on the right. Remember: ss is the local view; nmap is the remote view.

Encoding vs hashing (Phase 3+)

Someone sends you c2VjcmV0 and says it is encrypted. How can you prove in one command that it is only Base64-encoded?

Check in Kali

Run printf '%s' 'c2VjcmV0' | base64 -d; echo. It prints secret with no key needed — proving it is encoding, not encryption or hashing.

Logging it adds today to your days active.
Days you showed up · last 12 weeks

How to use this

The deal: each session is one sitting (20–45 min) with its own tick-boxes. A session turns green only when you've ticked every box in it — and every box is something you can check yourself in your own terminal. Nothing here depends on an account, a points system, or a platform logging you in.

A realistic week

  • Three sittings a week. Allow up to two hours total. One ten-minute practice is enough in a busy week.
  • Miss a week? Nothing resets. Pick up at Continue here.
  • One good session beats a planned 3-hour grind you'll bail on.
  • Tick boxes as you go, not at the end — the point is to see it move.
  • Stuck on a session for 20 minutes? Park it and move on. It waits for you, and nothing else is blocked.
  • Output looks wrong? Under each command's Expected box, open Check my output and paste what your terminal printed. It spots the usual mistakes.
  • Looking for something? Press /, or the search button at the top, to find any session, command or section.

Your first week

  • First sitting (20 min). Take the snapshot and read your username and current folder from the terminal.
  • Second sitting (25 min). Refresh the package list, open the manual for ls and quit with q.
  • Third sitting (30 min). Move between your home folder and /etc. Check where you landed each time.
  • That is 75 minutes for week one. Stop once you can get home from another folder and show how you checked.
—do this next
~3–5 monthsat 2 hrs/week, with slack for bad weeks
—sessions, 7 phases

The path

Your current session is open. Everything else is collapsed — ignore it until you get there.

Skills unlocked

Each one lights up when you finish the sessions behind it.

Command cheat sheet

Every command in this guide
Show every command

When you're stuck

Work down the list in order.
  1. Read the error slowly. Most errors say what's wrong. No such file or directory: wrong path, so check pwd and ls. Permission denied: it may need sudo, or the file's permissions block you. command not found: a typo, or the tool isn't installed yet: install it with sudo apt install.
  2. Check the boring things. Typos, missing spaces, capital letters, an unclosed quote, being in the wrong folder. These cause most errors, for beginners and professionals alike.
  3. Ask the manual. man <command>, <command> --help, or paste the whole command into explainshell.com.
  4. Search the exact error. Copy the error message itself, put it in quotes and add the word kali. Someone has almost always hit it before you.
  5. Ask well. Try your lecturers, your university's cyber society if it has one, or a forum such as r/linuxquestions. Say what you ran, what you expected, and paste what you got. An AI assistant can explain an error message too; type the fix yourself so it sticks.
  6. Use the 20-minute rule. Still stuck after 20 minutes? Write what you tried in that session's notes box, press Park it for now, and move on to the next session. Fresh eyes fix more problems than grinding does. Before restoring a snapshot, save newer lab work and any guide backup outside the VM.

Being stuck is a normal part of this work. Professionals are stuck for a good part of most days; what makes them good is getting unstuck methodically.

Paste an error, get a likely cause

This knows the errors beginners usually hit in this guide, such as missing packages, permissions, wrong folders, typos and stuck here-documents. It isn't an AI: when it doesn't recognise something, it says so instead of guessing.

Independent practice

Pick a case when you want to use what you know. Each takes about 15 minutes. Your notes save with your guide backup. These optional cases have their own finish lines.

Investigate a sign-in alertAfter Reading the logs · 15 min

You are handing over to the next analyst at a university help desk. All records below are fictional. Times are UTC and the three systems use the same clock.

1. Read the alert

09:10  portal  account=lee  device=lab-07  password=rejected
09:11  portal  account=lee  device=lab-07  password=rejected
09:12  portal  account=lee  device=lab-07  password=accepted  mfa=approved
Compare with two example explanations

A: Lee mistyped their password twice, then signed in and approved the MFA prompt themselves. B: someone else had Lee's password, and Lee approved an MFA prompt they didn't start, perhaps after being sent several. What tells them apart: whether Lee was really at lab-07 at 09:12 and expected that prompt, which only Lee can tell you, and whether the MFA records show other prompts Lee didn't start.

2. Check the help-desk ticket and device record

Show the ticket and device record

09:16, verified call. Lee confirms using lab-07 and approving the sign-in at 09:12. Lee also reports an MFA prompt at 09:05 that they declined.

09:18, device inventory. Lab-07 is a managed library workstation. The portal extract above begins at 09:10.

3. Hand over

Compare with an analyst's handover

At 09:10 and 09:11 the portal rejected two passwords for Lee's account on lab-07, then at 09:12 accepted a sign-in with MFA approved; Lee confirmed on a verified call that they used lab-07 and approved it, and the two rejections fit mistyping on the same workstation, though Lee hasn't confirmed them. Still unexplained is the MFA prompt Lee reports declining at 09:05, which is before this portal extract starts. The identity team should pull Lee's MFA and sign-in records from around 09:05 to find which application and device triggered that prompt, and decide from that whether Lee's password needs resetting.

Done when a reader can distinguish a recorded event from a reported one and pick up your next check without asking you what time or account to look at.

Prove a backup can be restoredAfter Hashing vs encryption vs encoding · 15 min

A backup job reports success. Your job is to recover one file and show it contains exactly what you saved. Use one Kali terminal throughout. The first block makes a fresh practice folder each time.

1. Save a known copy

lab=$(mktemp -d) && cd "$lab"
pwd
printf '%s\n' 'Lab record 12' > record.txt
sha256sum record.txt > receipt.sha256
mkdir backup restored
cp record.txt backup/

mktemp -d creates an empty temporary folder. Check that pwd shows that folder before continuing. The receipt stores both the original file's checksum and its name.

2. Test your recovery plan

printf '%s\n' 'Changed after backup' > record.txt
sha256sum -c receipt.sha256

Expect record.txt: FAILED, followed by a line starting sha256sum: WARNING. Both are the intended result for the changed working file, not a new problem. Before continuing, predict what the same check will report for a restored copy.

cp backup/record.txt restored/
(cd restored && sha256sum -c ../receipt.sha256)
cat restored/record.txt

The parentheses run the check from inside restored. The receipt is one folder up. Expect record.txt: OK and Lab record 12. If both checks say OK, confirm you ran the edit in step 2. If both fail, check which file you copied into restored.

3. Write a recovery receipt

Done when you have seen the changed file fail and the recovered file pass, and can explain why a real backup also needs a copy outside this VM.

The backup passed, but the wrong file was restoredAfter Hashing vs encryption vs encoding · 15 min

A finance team saves a daily summary report. After a workstation fault, a technician restores the report and confirms the checksum matches. The manager who requested the restore says these are the wrong day's figures. All records below are fictional.

1. Read the request and the restore log

TICKET #418 (2026-11-26 09:05 UTC)
Requester: A. Patel
Need: Wednesday's daily report (2026-11-25) restored to shared/finance/.

BACKUP MANIFEST (selected archive: snap-2026-11-24)
file=report-2026-11-24.csv  sha256=8f4c...2a91

RESTORE CHECK
$ sha256sum -c report-2026-11-24.sha256
report-2026-11-24.csv: OK
Compare with an explanation

They do not contradict each other. sha256sum -c only proves integrity: the restored file matches the exact bytes saved in snap-2026-11-24 without corruption. It does not prove that the technician picked the right date. Because the manifest shows report-2026-11-24.csv (Tuesday's report) was restored instead of 2026-11-25 (Wednesday's), the file is intact and the wrong version.

2. Write the handover

Compare with an analyst's handover

Ticket #418 requested Wednesday's report (2026-11-25), but the restore pulled report-2026-11-24.csv from snap-2026-11-24; its checksum passed, proving the file was uncorrupted, not that it was the requested day. Check whether a 2026-11-25 backup snapshot exists and confirm the filename and date inside the manifest before restoring it to shared/finance/. After restoring, verify its integrity against the 2026-11-25 checksum receipt and confirm with A. Patel that the figures match Wednesday's report.

Done when a reader can see the difference between proving a file is uncorrupted and proving it is the right version, and knows the exact check to run next.

Evidence notebook

0 entries saved

Turn lab results into standalone portfolio entries you can show a lecturer or talk through in an interview. Entries save automatically in this browser and are included in your Backup export.

+ Add a lab evidence entry

Backup & restore your progress

Your ticks, parked sessions and notes live inside this one browser. To move them to another machine, or just to be safe, copy the text below and keep it somewhere. To restore, paste it back and press Load.

↑ ↓ to move · Enter to open · Esc to close