start here

Learning roadmap

Pick a domain, then choose exactly the topics you want to learn — in any order. Each topic is a self-contained module: a short read, hands-on assignments you do on your own machine, and a quick test to prove it stuck. Star the topics you want and build your own learning plan; pass a test and the topic is marked done.

Networking

From the Wi-Fi in your home to the protocols running the whole internet.

beginner

How networks actually work

The mental model: packets, addresses, routers and the layers data passes through.

Assignments (3)
  1. Draw the path a packet takes from your laptop to this website, naming every device it crosses.
  2. Run ping and traceroute to a site and explain what each hop is.
  3. Capture one page load with sudo tcpdump -n port 443 and point out the SYN, SYN-ACK and ACK.
Test yourself (3)
Which three segments establish a TCP connection?
Why are initial sequence numbers randomised?
A host answers your SYN with an RST. What does that mean?
beginner

Wi-Fi & wireless

How wireless links work: channels, frequencies, SSIDs, WPA security and why your signal drops.

Assignments (3)
  1. Scan the networks around you and note their channels — find two that overlap and interfere.
  2. Log in to your router and check which security mode (WPA2/WPA3) it uses.
  3. Compare the 2.4 GHz and 5 GHz range and speed in your own home and explain the trade-off.
Test yourself (3)
Which 2.4 GHz channels do not overlap?
Under WPA2/WPA3, your Wi-Fi password is…
WPA3 improves on WPA2 mainly by…
beginner

Websites & HTTP

What really happens between typing a URL and seeing a page: DNS, TCP, TLS, HTTP requests and responses.

Assignments (3)
  1. Open your browser dev tools Network tab and inspect every request for one page load.
  2. Make a raw request with curl -v https://example.com and read the request and response headers.
  3. Identify one caching header and explain what it does.
Test yourself (3)
What is the correct order when loading an https URL?
The browser padlock means…
A 404 status code is in which class?
beginner

DNS — the internet phone book

How names become addresses: resolvers, record types, caching and why changes take time to propagate.

Assignments (3)
  1. Use dig to look up the A, MX and NS records of a domain.
  2. Trace a resolution with dig +trace and follow it from the root servers down.
  3. Explain what TTL does and why a lowered TTL helps before a migration.
Test yourself (3)
A recursive resolver walks the hierarchy in which order?
Which record maps a name to an IPv4 address?
Why do DNS changes take time to take effect?
beginner

IP addressing & subnetting

Read CIDR in your head, split and size networks without a calculator.

Assignments (3)
  1. Split a /24 into four equal subnets on paper, then verify with ipcalc.
  2. Work out the network, broadcast and usable host range for 10.0.5.130/26.
  3. Size a subnet for ~30 hosts and justify the prefix length you chose.
Test yourself (3)
How many usable hosts are in a /26?
Which subnet does 192.168.1.100/26 belong to?
What is the block size of a /28?
beginner

NAT, ports & port forwarding

Why your devices share one public IP, why inbound fails by default, and when to open a port.

Assignments (3)
  1. Map your own NAT: find your private IP, your public IP and your default gateway.
  2. List every listening port on your machine with ss -tulpn and name the service behind each.
  3. Decide: for reaching a home service remotely, would you forward a port or use a VPN? Justify it.
Test yourself (3)
Why do unsolicited inbound connections fail behind NAT by default?
To host a server at home, where is port forwarding configured?
What is a safer alternative to opening a port?
intermediate

Packet analysis

Capture and read real traffic with tcpdump and Wireshark — the ultimate "what is actually happening" tool.

📖 Reading your first capture soon
Assignments (3)
  1. Capture a page load and isolate the TLS handshake in Wireshark.
  2. Write a capture filter that shows only DNS traffic.
  3. Follow a single TCP stream and read the plaintext of an HTTP (not HTTPS) request.
intermediate

VPNs & tunnels

How WireGuard and reverse tunnels move traffic securely across untrusted networks.

📖 How a VPN tunnel works soon
Assignments (3)
  1. Set up a WireGuard tunnel between two of your own machines and ping across it.
  2. Use ssh -L to forward a remote port to localhost and reach a service through it.
  3. Explain the difference between a full-tunnel and split-tunnel VPN.
intermediate

Firewalls & egress filtering

Control what gets in and — more importantly — what gets out. The single best defence against malware calling home.

📖 Inbound vs egress filtering soon
Assignments (3)
  1. Write nftables or ufw rules that allow only outbound 80/443/53.
  2. Prove it: confirm that a blocked outbound port actually fails.
  3. Explain why egress filtering is so effective against RATs.

Linux

The command line, system administration and hardening the environment everything runs on.

beginner

The shell & navigation

Move around, manipulate files, and chain tools with pipes — the core literacy.

Assignments (3)
  1. Write a pipeline that prints the 5 largest files under your home directory.
  2. Rename a batch of files with a single command.
  3. Use grep, sort and uniq together to find the top 10 lines in a log.
Test yourself (3)
What does the pipe | do?
What does sort | uniq -c | sort -rn produce?
Which tool applies a command to each item it receives?
beginner

Users, groups & permissions

Read and set rwx, ownership, sudo, and why "permission denied" happens.

Assignments (3)
  1. Create a file only your user can read, then verify another account cannot.
  2. Explain the practical difference between chmod 755 and chmod 644.
  3. Find all setuid binaries on a system with find / -perm -4000 and explain why they matter.
Test yourself (3)
What is the numeric mode for rwxr-xr-x?
On a directory, the execute bit means…
A setuid-root binary runs with…
intermediate

Services & systemd

Start, stop, enable and debug services; read logs with journalctl.

📖 Managing services with systemd soon
Assignments (3)
  1. Write a small systemd unit that runs a script on boot.
  2. Find out why a failed service died using journalctl -u.
  3. Make a service restart automatically on failure and test it.
intermediate

SSH & remote access

Key-based login and hardening a server against the constant brute-force noise.

Assignments (3)
  1. Set up key-only login on a VM and disable passwords — safely, with a second session open.
  2. Configure AllowUsers and confirm other accounts are refused.
  3. Install fail2ban and watch it ban a test IP after failed logins.
Test yourself (3)
What single change defeats SSH brute-forcing outright?
Before reloading sshd after editing its config, you should…
Why set PermitRootLogin no?
intermediate

Bash scripting

Turn repetitive commands into reliable scripts with variables, loops and error handling.

📖 Bash scripting that does not bite soon
Assignments (3)
  1. Write a backup script that tars a folder into a dated filename.
  2. Add set -euo pipefail and handle a missing argument gracefully.
  3. Loop over files and act only on the ones matching a pattern.
advanced

System hardening

Reduce attack surface: updates, minimal packages, firewall, fail2ban and sane defaults.

📖 A practical hardening baseline soon
Assignments (3)
  1. Harden a fresh VM end to end and write down every change you make.
  2. Enable automatic security updates and verify they apply.
  3. Run a basic audit (e.g. lynis) and act on the top three findings.

Programming

Read code, not just write it — from memory and pointers to version control and automation.

intermediate

C & memory

How variables live in memory, the stack vs the heap, and why C makes you manage it.

Assignments (3)
  1. Write a program that swaps two numbers via pointers.
  2. Trigger a use-after-free under -fsanitize=address and read the report.
  3. Draw the memory layout of a small program: where do the stack, heap and globals live?
Test yourself (3)
What does the & operator do in C?
Using a pointer after you have called free() on it is…
Why pass a pointer to a function?
beginner

From source to running program

Preprocess, compile, assemble, link — what each stage does and where it breaks.

Assignments (3)
  1. Compile a C file one stage at a time with gcc -E, -S and -c.
  2. Read the symbols in a binary with nm.
  3. Cause a linker error on purpose and explain the message.
Test yourself (3)
'undefined reference to foo' is which kind of error?
Which stage expands #include and macros?
A header file (vs a library)…
beginner

Version control with Git

Branches, history surgery, and rescuing work you thought was lost.

Assignments (3)
  1. Use bisect to find a bug you planted a few commits back.
  2. Recover a "deleted" commit with git reflog.
  3. Clean up a messy branch with an interactive rebase before a pull request.
Test yourself (3)
You hard-reset and lost a commit. How do you get it back?
What does git reset --soft HEAD~1 do?
Which tool binary-searches history to find a regression?
beginner

Python for automation

Script the boring stuff: files, APIs and quick tools.

Assignments (3)
  1. Write a script that renames and sorts files into folders by type.
  2. Call a public JSON API and print a field you care about.
  3. Add error handling so the script fails clearly on bad input.
Test yourself (3)
What does requests' raise_for_status() do?
if __name__ == '__main__': lets you…
A virtual environment (venv) is for…
intermediate

Debugging & reading tracebacks

Use a debugger, read stack traces, and reason about failing code methodically.

📖 Debugging without print statements soon
Assignments (3)
  1. Step through a crashing C program in gdb and find the exact line.
  2. Set a conditional breakpoint that fires only on bad input.
  3. Read a stack trace and explain each frame from the top down.

Kernel & OS internals

What the operating system itself is doing — processes, memory, syscalls and the kernel.

intermediate

Processes, threads & scheduling

How the OS runs many programs on a few cores, and what a process really is.

Assignments (3)
  1. Inspect a process tree with ps -ef --forest.
  2. Watch CPU share and context switches with htop.
  3. Explain the difference between a process and a thread in your own words.
Test yourself (3)
The key difference between threads and processes is…
A task blocked waiting on I/O uses…
A load average higher than your core count means…
advanced

Virtual memory

Pages, address spaces and why every process thinks it owns all of RAM.

📖 How virtual memory works soon
Assignments (3)
  1. Read a process map via /proc/<pid>/maps and identify stack, heap and libraries.
  2. Trigger and observe swapping, then explain what thrashing is.
  3. Explain why two processes can both "use" address 0x400000.
intermediate

System calls

The boundary between user space and kernel — every file, socket and process goes through it.

📖 The user/kernel boundary soon
Assignments (3)
  1. Trace the syscalls of a simple command with strace.
  2. Find which syscall a failing program errors on, and why.
  3. Count how many syscalls ls makes and group them by type.
advanced

Writing a kernel module

Load your own code into kernel space and feel why there is no safety net.

Assignments (3)
  1. Build and load the hello-world module in a throwaway VM, watching dmesg.
  2. Add a /proc entry that your module exposes.
  3. Make the module take a parameter at load time.
Test yourself (3)
A null-pointer bug in a kernel module typically…
What replaces main() in a kernel module?
Whatever you allocate or register in init, you must…

Windows

Internals, administration and troubleshooting on the platform most of the world runs.

intermediate

Sysinternals toolkit

See what Task Manager hides: processes, autostarts, file/registry activity and connections.

Assignments (3)
  1. Find a process, its parent and its signature status in Process Explorer.
  2. List every autostart entry with Autoruns and flag one you did not know about.
  3. Use Procmon (filtered) to find why an app fails on startup.
Test yourself (3)
Which tool lists everything that starts automatically on Windows?
A document viewer spawning a command shell is…
Process Monitor (Procmon) becomes useful only once you…
beginner

PowerShell

The object-oriented shell for automating and querying Windows.

Assignments (3)
  1. List the top 5 processes by memory with a single pipeline.
  2. Export running services to a CSV file.
  3. Explain why PowerShell passes objects, not text, between commands.
Test yourself (3)
PowerShell pipelines pass…
Which cmdlet shows an object's properties and methods?
Format-* cmdlets belong…
intermediate

Registry & persistence

How Windows stores config, and the many places software (and malware) hooks to survive reboots.

📖 The registry and autostart locations soon
Assignments (3)
  1. Enumerate the Run keys for your user and for the machine.
  2. Create and then remove a harmless scheduled-task persistence entry.
  3. Name three distinct ways something can auto-start and how to spot each.
intermediate

Event logs & triage

Find the signal in Windows logs: logons, process creation and failures.

📖 Reading Windows event logs soon
Assignments (3)
  1. Find your most recent logon events in Event Viewer.
  2. Filter for failed-logon events and explain the status codes.
  3. Explain what event ID 4688 records and why it matters.

Security

Understand attacks so you can defend — always legally, always in your own lab.

beginner

Rules of the game

The legal and ethical ground rules. Read this before anything else in this domain.

Assignments (3)
  1. Write down, in one line, the single rule that keeps you out of trouble.
  2. List three systems you are legally allowed to practise on.
  3. Describe how you would responsibly disclose a bug you found.
Test yourself (3)
You may test a system when…
"I was only learning" is…
Responsible disclosure means you…
beginner

Build a home lab

A safe, isolated playground of VMs where you can break things with zero risk.

Assignments (3)
  1. Create two VMs on a host-only network so they cannot reach the internet.
  2. Snapshot them so you can reset after every experiment.
  3. Verify the isolation by confirming a VM cannot ping a public address.
Test yourself (3)
Which network mode keeps lab VMs isolated from the internet?
What makes lab experiments instantly reversible?
Should you ever bridge a lab VM directly onto your home LAN?
intermediate

RATs, C2 & reverse connections

How remote-control malware calls home through NAT — and how defenders catch it.

Assignments (3)
  1. In your lab, make a reverse connection between your own two machines and watch it in tcpdump.
  2. Write egress rules that would block that connection and confirm they work.
  3. List three host-based signs of a RAT and how you would detect each.
Test yourself (4)
Why do RATs almost always use reverse (outbound) connections?
In a RAT setup, port forwarding is needed on…
The strongest single defensive control against call-home malware is…
A RAT is usually not the end goal but a…
intermediate

Web vulnerabilities

The classic bugs — injection, XSS, broken auth — and how to prevent them in your own code.

Assignments (3)
  1. Spin up a deliberately vulnerable app (e.g. OWASP Juice Shop) in your lab.
  2. Find one XSS, then fix it in the source.
  3. Explain how parameterised queries stop SQL injection.
Test yourself (3)
The reliable fix for SQL injection is…
XSS is prevented primarily by…
Returning /invoice/1002 to the user who only owns 1001 is…
intermediate

Applied cryptography basics

Hashing vs encryption, TLS, and how to store passwords without regret.

Assignments (3)
  1. Hash a password with Argon2 and explain why a salt matters.
  2. Inspect a site's certificate chain with openssl s_client.
  3. Explain the difference between hashing and encryption in one sentence each.
Test yourself (3)
Hashing differs from encryption because hashing is…
Passwords should be stored as…
A salt prevents…
beginner

Capture the Flag practice

The most fun way to learn offense-for-defense, legally and competitively.

📖 Getting started with CTFs soon
Assignments (3)
  1. Register for picoCTF (free, always open) and solve three challenges.
  2. Write up how you solved one, as if teaching someone else.
  3. Identify which category (web, crypto, pwn, forensics) you enjoy most and why.

Starred topics are saved in this browser so you can pick up where you left off. When you're ready, dive into the knowledge base or the courses.