ELI5: What is Hardening?

When you move into a new house, you lock the doors, close the windows, and maybe remove the spare key from under the mat. Hardening a computer is the same idea — you turn off features you do not need, remove programs that came pre-installed, and change all the default passwords. The fewer unlocked doors and open windows a system has, the harder it is for a bad guy to sneak in.

Overview

Hardening is the process of securing a system by reducing its attack surface through removing unnecessary software, disabling unused services, applying patches, and configuring security settings according to established benchmarks. Every system should be hardened before deployment and maintained through ongoing configuration management. Hardening applies to operating systems, applications, network devices, and firmware.

Key Concepts

Exam Tips

Remember

Hardening = reduce attack surface. Steps: remove defaults, disable services, patch, configure securely, monitor for drift. CIS Benchmarks are the go-to reference for “how should I configure this?”

  • Hardening is NOT a one-time activity — drift detection ensures systems stay in compliance
  • Know that hardening applies to ALL layers: OS, apps, network devices, firmware, cloud services
  • Default configurations are NEVER secure — always customize security settings

Connections

Practice Questions

Scenario

See case-hardening for a practical DevOps scenario applying these concepts.