Expressvpn Glossary
Security hardening
What is security hardening?
Security hardening is the process of reducing the attack surface of a system, application, or network by removing unnecessary components and tightening its configuration. Hardening often includes least-privilege access controls so that users and processes operate with only the permissions they need.
It supports a layered defense strategy that helps detect and contain unauthorized activity without relying on a single mechanism.
How does security hardening work?
Hardening is a deliberate process that administrators apply across the system lifecycle. It typically starts by disabling unused services, closing non-essential ports, and removing default credentials and unused accounts, all of which are common entry points for attackers.
Administrators then apply secure configuration benchmarks or guidance, such as those published by the Center for Internet Security (CIS) or the Defense Information Systems Agency (DISA), to align systems with established security practices. Hardening doesn't end at initial deployment; it requires continuous patching, log review, and reassessment to address new vulnerabilities and maintain a secure baseline.
Where is security hardening used?
Hardening applies across desktop and server operating systems, network infrastructure, cloud environments, and mobile and Internet of Things (IoT) devices.
On servers and workstations, it involves disabling unnecessary services and applying configuration benchmarks. In networks, hardening may include access control lists, segmentation, firewall rules, and secure management access to restrict traffic and reduce exposure.
In cloud environments, it supports secure provisioning and configuration of virtual machines (VMs), managed services, identity controls, logging, and networking. On mobile and IoT devices, hardening may include restricting wireless interfaces, enforcing strong authentication, applying updates, limiting apps or services, and managing device configurations.
Benefits and limitations of security hardening
Here are the main benefits of security hardening:
- Lowers exploitable weaknesses: Removing unnecessary services reduces the attack surface available to attackers.
- Supports compliance and audit readiness: Secure configurations and documented access controls help meet requirements set by frameworks such as Payment Card Industry Data Security Standard (PCI DSS), Health Insurance Portability and Accountability Act (HIPAA), and System and Organization Controls 2 (SOC 2).
- Strengthens layered security: Hardening contributes to a defense‑in‑depth approach by adding multiple safeguards, so that if one control is breached, others remain effective.
Key limitations include:
- Requires ongoing maintenance: Maintaining a secure baseline demands continual patching, monitoring, and configuration updates to address evolving threats.
- May affect usability: Restrictive configurations and disabled features can reduce convenience or functionality, requiring careful balance.
Further reading
- Attack surface reduction explained: Principles, techniques, and tools
- Your cybersecurity guide to attack surface management (ASM)
- What is security posture? A complete guide for organizations
- Network configuration management for secure networks
- Privilege escalation explained: Types of attacks and prevention