Cloud 101
What Is Defense in Depth? A Layer-by-Layer Guide to Modern Cybersecurity
Defense in depth is a cybersecurity strategy that combines multiple layers of defensive security controls with people and processes that protect digital assets. If one control fails, others help detect, contain, or limit an attack. These controls protect six security layers—perimeter, networks, endpoints, applications, identities, and data—reducing reliance on any single safeguard.
The National Institute of Standards and Technology (NIST) defines defense in depth as an “Information security strategy integrating people, technology, and operations capabilities to establish variable barriers across multiple layers and missions of the organization.”
This article explains how defense in depth works and how it differs from layered security, Zero Trust and other protection strategies.
How does defense in depth work?
The underlying premise of defense in depth is that security must not rely on a single point of failure. Instead, it implements more than one layer of control to slow down or stop attacks if a layer is bypassed or penetrated, deploying independent controls and countermeasures across multiple layers of the IT environment. It defends digital assets through a multi-layered combination of network security, identity and access management (IAM), application security, endpoint security, and data security.
How does defense in depth relate to other security approaches?
Defense in depth, defense in breadth, Zero Trust, and layered security address different but complementary aspects of cybersecurity:
Defense in depth: A comprehensive strategy that combines security controls across multiple layers with people and processes. It reduces reliance on any single safeguard and helps limit the impact of a compromise.
Defense in breadth: An approach that expands protection horizontally within a security layer, such as segmenting a network.
Zero Trust: An approach that governs access to digital assets. It complements defense in depth by addressing access decisions, while other safeguards help limit the impact if an access control fails or an attacker bypasses it.
Layered security: Elements of layered security protect different areas of an IT environment. It overlaps with defense in depth, which integrates those controls into a broader strategy that includes people and processes.
Defense in depth is not limited to large enterprises. Organizations of any size can tailor the strategy to their risks, resources, and operational needs.
Why defense in depth matters
A defense in depth strategy matters because no single control or countermeasure can be relied upon to function effectively 100% of the time.
For example, imagine an IT environment that only employed a perimeter security control like a firewall. There are no other protections, such as no IAM, no data encryption, no network segmentation, and so forth. That single point of failure is a disaster waiting to happen. If a ransomware attacker can get through that firewall, they will get unfettered access to all of the digital assets in the estate.
Alternatively, if the attacker can breach the perimeter but is stopped by endpoint security or network segmentation, this defense-in-depth strategy will have mitigated the threat.
The traditional layers of defense in depth
The traditional defense in depth layers align with the most common attack paths. Understanding that attackers need to breach the perimeter as a first step in compromising endpoints and later moving laterally across networks, security teams design cybersecurity layers that block this attack method at each stage.
Perimeter security
The perimeter—the outermost layer of a defense-in-depth architecture—sits at the network edge and uses preventive controls such as firewalls and virtual private networks (VPNs). Although essential, perimeter security cannot stand alone; attackers may bypass it with stolen credentials.
Network security
Attackers must traverse the network to breach applications and data stores, so network defense forms an important layer in a defense-in-depth strategy. The network security layer typically includes preventive controls such as network segmentation and network access control (NAC), along with detective controls like intrusion detection and internal traffic monitoring.
Network security is related to, but different from, perimeter security. Perimeter security is about keeping attackers out, while network security focuses on defending digital assets connected to the network. This layer has its vulnerabilities, though, such as those caused by unpatched network devices and an unsegmented “flat” network, which allows too much access to malicious actors.
Endpoint security
Endpoint devices are prime targets for hackers, so endpoint security should be part of a defense-in-depth strategy. Examples of endpoint security controls run the gamut from antivirus software to host-based intrusion prevention (HIPS) and endpoint detection and response (EDR). However, even with such measures in place, endpoints can still be vulnerable, due to incomplete patching or sophisticated attacks that target endpoint firmware.
Application security
Applications are a source of cyber risk because attackers can breach them and extract sensitive data. Or they can disrupt the application’s functioning to damage a business through outages and slowdowns. To prevent such outcomes, a defense-in-depth strategy might include web application firewalls (WAFs), input validation, and secure coding practices. Applications can still be vulnerable, however, due to supply chain attacks and weaknesses in other areas of security, such as IAM.
Identity and access management
IAM is a foundational layer of defense in depth because it verifies identities and ensures that only authenticated, authorized users can access permitted digital assets. Preventive IAM controls include multi-factor authentication (MFA), which helps block access using stolen credentials; least privilege; privileged access management (PAM); and Zero Trust access policies.
Although Zero Trust is sometimes viewed as a separate layer, it is more accurately considered an IAM control. IAM can fail because of phishing-driven impersonation or poor identity management, such as leaving a former employee’s network access active.
Data security
Data is usually the ultimate target of a cyber attack, whether it’s for exfiltration, ransomware, or comparable malicious purposes. Data security controls defend the data asset against such threats. Data encryption (either at rest, in transit, or both) is an example of a preventive control for data security at the data layer of a defense-in-depth strategy. So is data loss prevention (DLP). Sophisticated attackers can circumvent these controls, however, such as with a stolen encryption key.
Defense-in-depth layers
Vulnerabilities | Main security objective | Typical controls | Layers |
|---|---|---|---|
| Perimeter security | Prevent malicious actors from entering the network. | Firewalls, VPNs | Stolen credentials |
| Network security | Prevent malicious actors from moving laterally across the network and exfiltrating data and detect attacks in progress on the network. | Network segmentation, NAC | Unpatched devices, unsegmented “flat” networks |
| Endpoint security | Protect endpoints, such as servers, from breach and compromise. | HIPS, EDR | Firmware attacks |
| Application security | Prevent attackers from breaching applications and stealing data or disrupting operations and detecting when such attacks are in progress. | WAFs, input validation | Supply chain attacks |
| Identity and Access Management (IAM) | Prevent unauthorized individuals from accessing the network or specific digital assets. | Least privilege, Zero Trust, PAM | Phishing attacks |
| Data security | Prevent unauthorized access to data assets. | Encryption, DLP, immutable storage | Stolen encryption keys |
No security layer operates in isolation. A weakness in one can expose another; for example, ineffective IAM may allow an attacker posing as a legitimate user to move across the network undetected. Conversely, strengthening one layer reduces risk to the others.
For some, this interdependence translates into a realization that the basic layers are not enough for a truly robust defense-in-depth strategy. According to the Cybersecurity and Infrastructure Security Agency (CISA), defense in depth should extend into broader domains such as:
Risk management programs, for example assessing threat intelligence and quantifying risks
Cybersecurity architecture, incorporation standards, policies, and procedures
Physical security, such as biometric access controls in data centers
Industry security measures for industrial control systems (ICS) like supervisory control and data acquisition (SCADA)
Host security, including patch and vulnerability management programs
Security monitoring to detect attacks and anomalies that are suggestive of an attack in progress
Vendor and supply chain management, to reduce the risk of malicious actors injecting malware into production software and IT management tools
Human-centric security policies and procedures, along with training and awareness
The data layer: The last line of defense
To understand why the data layer is the last line of defense, consider the methods and targets of a ransomware attack. The attacker needs to break through multiple layers to reach the data. The attacker’s goal is to encrypt the data for a ransom. Getting past IAM, network security, and so forth is a means to an end. For this reason, data security and storage comprise a final non-negotiable layer.
Success at the data layer means preventing attackers from modifying or deleting data. Encryption alone is not enough because ransomware can re-encrypt encrypted data and make it unusable. Preserving data therefore requires immutability. Immutable storage is one effective control: Wasabi Object Lock, for example, rejects attempts to modify or delete stored objects during a defined retention period.
The same protections should extend to backups. Backups alone do not provide an effective data layer because ransomware attackers often target them first. If an organization cannot restore its data, it is more likely to pay the ransom. Physically and logically, air-gapped backups reduce this risk and strengthen ransomware resilience.
Best practices for building a defense-in-depth strategy
Security professionals use established best practices to implement defense-in-depth strategies. Key practices include:
Implement layered IAM controls: Using MFA and least privilege in layers, for example, makes each control more powerful than it would be on its own; even if an attacker can beat the MFA, they will still be restricted by least privilege.
Segment networks to isolate high-value digital assets: Separating user endpoints from databases by network, for instance, reduces the impact of an attacker who has breached the network and is attempting to move laterally.
Protect data on multiple levels: Combining encryption with strong key management, DLP, and immutable backups makes it harder for an attacker to breach sensitive data.
Combine preventive controls with detection and response: Using detective controls like EDR adds a layer that helps catch attacks before they can breach layers of the defense-in-depth architecture.
Test as much as possible: Testing controls is essential for maintaining a robust defense-in-depth strategy. Configurations change, potentially rendering controls deficient. Testing will reveal where controls need to be restored to functionality.
Conclusion
Given enough time and skill, an attacker can breach any cybersecurity control. Because no safeguard is foolproof, relying on a single point of failure leaves a security architecture vulnerable. Defense in depth uses multiple layers of protection to make attacks harder to execute without detection or intervention.
Our approach to security is deep and multi-faceted, designed to protect your data, your storage account, and your business. Additionally, resilience isn’t compromised by hidden costs. There are no charges for retrieving data, running DR drills, or turning on critical protections like immutability. Transparent, predictable pricing means you can back up, test, and restore your data as often as needed without budgetary trade-offs.
cyber-resilient storage
Safeguard your data and your budget
The ideal storage target for cost-effective and secure backup and recovery.