Linux hardening
A default install trusts everyone. This is the hands-on hardening path: lock down access (SSH, keys, PAM, sudo), cut the network attack surface (nftables default-deny, network sysctls, fewer services), harden the kernel and filesystem (sysctl, module blacklists, mount options), enforce mandatory access control (SELinux and AppArmor), and prove it with auditing, integrity monitoring, and CIS benchmarks. Sixteen lessons across five sections, each ending with a self-test.
01SSH hardeningKeys only, no root, minimal exposure.14 min02Keys, MFA & bastionsStrong auth and a single front door.12 min03Accounts & PAM policyPassword rules, lockout, and login limits.12 min04Hardening sudoNarrow rules, logging, and the escape hatches.10 min05Scheduled-task hardeningcron & timer privilege boundaries and PATH hijack.12 min
Progress is saved in this browser only — no account required.
Final exam
Test yourself on everything
50 questions drawn from all 5 sections — every answer explained as you pick.