Free module
Endpoint hardening
Learn to harden a Linux server hands on: benchmarks, auditd rules, AppArmor profiles, narrow sudo, sandboxed services, AIDE and hardening as code.
The lessons
Each lesson is free and interactive. Press Start lab to run its commands in a live lab and to sit its quizzes and tasks, with no account needed.
1 · Virtual machine lab
Hardening a server against a benchmark
I can audit a Linux server against benchmark items and record each result.
Read the lesson2 · Virtual machine lab
Recording changes with the Linux audit system
I can write an audit rule that records who changed a sensitive file.
Read the lesson3 · Virtual machine lab
Confining a program with AppArmor
I can confine a program with an AppArmor profile and read what it refuses.
Read the lesson4 · Virtual machine lab
Narrow sudo rules and sandboxed services
I can narrow a sudo rule and reduce what a service may reach.
Read the lesson5 · Virtual machine lab
Spotting changed files with an integrity baseline
I can build a file integrity baseline and find what changed since.
Read the lesson6 · Virtual machine lab
Hardening as code with Ansible
I can write a hardening step as code and use it to find drift.
Read the lesson
Worked in a real lab
Every lesson of this module is worked in a lab started for you alone. The labs it uses:
Teaching a class? Set this module for your students with a teacher guide, marked assignments and a lab for every student.