Hardening
Hardening is the process of increasing security and minimizing vulnerabilities in a system. Learn how hardening works, what it covers from operating systems to applications, and why it is an ongoing practice rather than a one-time task.
What is hardening?
Hardening (also called system or security hardening) is the practice of reducing a system's attack surface by removing anything that is not needed and configuring what remains securely. It applies to operating systems, servers, applications, databases, network devices, and cloud services.
The goal is simple: fewer ways in, and less damage if one is found.
How does hardening work?
Hardening usually follows an established baseline or benchmark and includes steps such as:
- Removing what is unused: uninstall unnecessary software, disable unused services, ports, and accounts.
- Changing defaults: replace default passwords and insecure default settings.
- Patching: apply security updates promptly.
- Restricting access: apply least privilege to users, services, and administrative accounts.
- Securing communications: require encryption and disable outdated protocols.
- Logging and monitoring: record security events so changes and misuse can be detected.
After hardening, systems are checked against the baseline regularly so they do not drift back to insecure settings. As an example for one product, see Devolutions Server security hardening.
Hardening vs. patching
Patching fixes known vulnerabilities in software. Hardening is broader: it also covers configuration, access, and unnecessary features that may not be vulnerabilities on their own but still add risk. Patching is one part of hardening.
Why does hardening matter?
Many attacks succeed through avoidable weaknesses: default credentials, unnecessary services exposed to the network, outdated protocols, or overly broad administrative rights. Hardening closes those gaps before attackers find them and makes the remaining systems easier to monitor.
Hardening also makes systems more predictable. When every server of a given type follows the same baseline, unexpected changes stand out, audits take less time, and new systems can be deployed securely from the start.
Frequently asked questions
What is hardening?
Hardening is the process of increasing security and minimizing vulnerabilities in a system by removing unneeded features and configuring the rest securely.
What is a hardening baseline?
A hardening baseline is a documented set of secure configuration settings for a system type, often based on industry benchmarks, used to configure and audit systems consistently. Using a baseline means every system of the same type starts from the same known, reviewed configuration.
How often should systems be hardened?
Hardening should happen when a system is deployed and then be checked regularly, because updates, new software, and configuration changes can weaken it over time.
Harden privileged access, not just systems
Discover privileged accounts and rotate their passwords automatically.
Related terms
Penetration testing
Penetration testing is ethically attacking an organization's security posture to identify vulnerabilities.
Read now →Security policy
A security policy is a document that outlines an organization's security practices.
Read now →