Cybersecurity
What is Hardening?
Also called system hardening, security hardening.
Short definition
Hardening is the process of strengthening the configuration of servers, devices, or applications by shutting off services, accounts, and settings that are not needed, so attackers have fewer weaknesses to exploit.
What it involves
Disabling unused services and ports, removing default accounts or changing their passwords, restricting administrator login to SSH keys or VPN only, enabling the server firewall, installing security updates, and turning on logging. For web applications, hardening includes hiding overly detailed error messages, disabling directory listings, and adding security headers.
Following a standard
So the work does not depend on one person's memory, many teams use established checklists such as the CIS Benchmarks or configuration guides from the operating system vendor. These lists are adapted to the application's needs, because overly strict settings can stop the application from running. The result is written up as a standard configuration document for the next server.
Example in a company
A new server for an internal application is set up with the operating system's default installation. Without hardening, that server runs several services that are never used and exposes administrative access to the internet with only a password. After hardening, only the application port is open to users, administration goes through a VPN, and every login is logged. Hardening needs to be reviewed periodically, because temporary changes are often never reverted. Regular vulnerability assessments help catch configurations that have drifted from the established standard.
Related terms
Further reading
Resources
- NIST Glossary: hardening (csrc.nist.gov)
- NIST SP 800-123: Guide to General Server Security (csrc.nist.gov)