Defense in Depth — The Cybersecurity Onion
Cybersecurity is often compared to an onion: multiple concentric layers protect the core, and if one layer fails, the next provides defense.
The Four Layers
Outer Layer — Perimeter Security - Firewalls, intrusion detection and prevention systems (IDS/IPS), network access controls - Prevents unauthorized access; monitors traffic at the boundary - Ensures compliance with established security regulations
Intermediate Layer — Network and Application Security - Secure configurations, encryption, vulnerability patching, network behavior monitoring - Mitigates the impact of an intrusion that bypasses perimeter defenses - Includes application-layer controls: input validation, secure coding, WAFs
Deeper Layer — Identity and Access Management (IAM) - Manages user credentials, enforces MFA, regulates access to specific data and systems - Ensures that even if outer defenses are bypassed, attackers face authentication barriers - Role-Based Access Control (RBAC), OAuth, certificate-based authentication
Core Layer — Data Security and Incident Response - Encryption of data at rest and in transit, regular backups, unauthorized access monitoring - Incident Response Plan (IRP) for rapid containment, investigation, and recovery - The core represents the organization's most valuable and targeted asset: sensitive data
Advantages of the Onion Approach
- Layered Defense: If one layer fails, another catches the threat — no single point of failure
- Comprehensive Coverage: Addresses physical, network, application, and data security simultaneously
- Complexity for attackers: Each layer requires different techniques to bypass — dramatically raising the cost and effort of an attack