Public beta. We're in our soft launch: the lessons are ready, but things may still change, and your feedback shapes what comes next.

Learning path · 8 lessons · about 4½ h

Security basics: defend your own server

Every server that's on the internet gets poked at, all day, by automated bots. This path teaches you to be the one who's ready for it: to close the doors that shouldn't be open, notice when something is wrong, and check your own machines the way an attacker would, so you find the problems first.

Is this path for you?

You should be comfortable with these (each links to the lesson that teaches it):

Finished Linux Sysadmin? Then you're ready.

What's ahead

LessonYou'll learn to…
lesson 1: think like an attackerknow the rules, build a threat model, and map (then shrink) your server's attack surface
lesson 2: lock down SSHlog in with keys only, turn off root logins, and beat the drop-in files that quietly override your settings
lesson 3: firewalls in depthdefault deny, SSH only from your own network, zones vs rule order, and logging what gets blocked
lesson 4: nmap on your own labfind the machines on your network, read open, closed and filtered ports, and close a database left open to everyone
lesson 5: spot trouble in the logsfind the one login that worked among hundreds of failures, and respond in the right order
lesson 6: find the weak spotsstray SUID programs, scripts anyone can change, a readable /etc/shadow and sudo rules that give away too much
lesson 7: did anyone change anything?checksums, rpm -V and dpkg --verify, and an AIDE fingerprint database
lesson 8: web server hardening & HTTPShide version numbers, stop folder listings, add security headers, then HTTPS and a redirect to it
Thenthe final challenge: harden a whole server on your own

How this path works

The rule for this whole path

Only test machines you own or have written permission to test. Scanning or trying to log in to someone else's computer is against the law in most countries, even "just to look". Everything in these lessons happens on your own server or the practice lab, and that's where it stays.

Send feedback

We're in a public beta, so every message helps. What's on your mind?

Please don't include your name, email or other personal details. We can't reply, but we read every one. We'll note which page you sent it from.