Skip to main content

Learning path

Become a cybersecurity analyst

Learn to defend servers, applications and email against the attacks that actually happen. Defensive work only.

You will be able toYou'll finish able to harden a server, find weak spots in an application and check a system against a baseline.

Stage 01

Foundations

Assumes: Nothing. A computer and, for the server tutorials, a small cloud server.

Learn how Linux users, keys and permissions work, since most defence starts there.

  1. How to Log In to a Linux Server with SSH Keys

    You will create an Ed25519 SSH key, install its public half on a server, log in without a password, and save the connection as a short name.

    Beginner · 10 min

  2. How to Create a Sudo User on Ubuntu 26.04

    You will create a user that can run administrative commands with sudo, test it, limit it to specific commands, and take the access away again.

    Beginner · 9 min

  3. How File Permissions Work in Linux: chmod, chown and umask

    You will read Linux permission strings, change them with chmod and chown, set up a folder two users can share, and control the defaults with umask.

    Beginner · 12 min

Stage 02

Core skills

Assumes: You can log in to and administer a Linux server.

Harden servers and applications against common attacks.

  1. How to Harden SSH on Ubuntu 26.04: Keys Only, No Root, Custom Limits

    You will switch an Ubuntu 26.04 server's SSH daemon to key-only logins, turn off root login, limit who can connect and how many guesses they get, and test the change without locking yourself out.

    Intermediate · 12 min

  2. How to Set Up a UFW Firewall on Ubuntu 26.04

    You will turn on UFW with a deny-by-default policy, allow SSH before you enable it so you stay connected, open only the web ports your server needs, and learn to list, remove and limit rules.

    Beginner · 11 min

  3. How to Block Brute-Force Logins with Fail2ban

    You will install Fail2ban 1.1 on Ubuntu 26.04, set it up to ban any address that keeps failing SSH logins, test the rule against a sample log line, and learn how to see and undo bans.

    Intermediate · 11 min

  4. How to Turn On Automatic Security Updates on Ubuntu 26.04

    You will check that unattended-upgrades installs security fixes by itself on Ubuntu 26.04, tune it to reboot at a quiet hour when a kernel update needs it, and read its logs to confirm it works.

    Beginner · 9 min

  5. How to Add Security Headers to Your Site in Nginx

    You will add the HTTP security headers every site should send, keep them in one reusable file, avoid the add_header inheritance trap, and roll out Content-Security-Policy and HSTS in the safe order.

    Intermediate · 14 min

  6. How to Keep Passwords and API Keys Out of Git

    You will keep secrets in a git-ignored .env file, commit a safe template instead, stop a commit that contains a key with a pre-commit hook, and learn what to do when a secret has already been committed.

    Beginner · 12 min

  7. How to Prevent SQL Injection in Python and Node.js

    You will write a login lookup that an attacker can break with one line of input, watch it fail, fix it with parameterised queries in both Python and Node.js, and learn the cases where parameters are not enough.

    Intermediate · 14 min

  8. How to Set Up SPF, DKIM and DMARC So Your Email Is Not Marked as Spam

    You will publish the three DNS records that prove your email is really from your domain, SPF, DKIM and DMARC, check each with dig, stay under SPF's 10-lookup limit, use 2048-bit DKIM keys, and move DMARC safely from p=none to quarantine to reject using its reports.

    Intermediate · 22 min

Stage 03

Build projects

Assumes: You can harden a server and explain why each step matters.

Audit a system and secure the integrations around it.

  1. How to Audit Your Linux Server's Security with Lynis

    You will run a Lynis 3.1 security audit on an Ubuntu 26.04 server, read its hardening score and findings, fix one of them, and run it again to see the score move.

    Intermediate · 11 min

  2. How to Receive and Verify Webhooks Safely in Node.js

    You will build an Express 5.3 webhook receiver on Node.js 26 that checks an HMAC-SHA256 signature over the raw request body, compares it in constant time, rejects stale timestamps and duplicate events, and a small sender that proves each rejection works.

    Intermediate · 22 min

  3. How to Defend an LLM App Against Prompt Injection

    You will build the layers that limit the damage of prompt injection in a mail-summarising assistant, which are separated data, a tool allowlist per task, validated actions, filtered output and human approval of side effects, and write tests that check each layer without a model.

    Advanced · 28 min