Chapter 15: Ubuntu Hardening and Patch Operations
Word target: 3,400
Primary deliverable: Practical Ubuntu hardening profile
Key diagrams: Layered defense model
Learning Goals
- Apply host-level hardening suited to homelab operations.
- Build predictable patch windows and emergency patch policy.
- Measure and reduce exposed attack surface.
MVP Lab Worksheet
- Objective: Implement baseline hardening controls.
- Starting state: Ubuntu baseline active.
- Steps:
- Configure firewall and service exposure.
- Enforce update policy and package hygiene.
- Validate hardening with checklist.
- Evidence: Hardening checklist with pass/fail results.
- Exit criteria: Critical controls enabled and verified.
- Rollback: Restore previous firewall/service policy snapshot.
Advanced Lab Worksheet
- Objective: Continuous security remediation loop.
- Starting state: Baseline hardened.
- Steps:
- Run periodic vulnerability scans.
- Prioritize findings by risk and exploitability.
- Remediate and retest.
- Evidence: Scan diff report and closure log.
- Exit criteria: High-risk findings closed within policy window.
- Rollback: Revert risky remediations with change control record.
Portability Placeholder
Keep distro-specific hardening commands in sidebars, not core narrative.