Defense in Depth
Cheat sheet · https://pcornel.dk/topic.php?topic=5082
Answer
Defense in Depth composes independent and complementary preventive, detective, limiting and recovery controls across different failure modes so compromise of one layer does not automatically expose the protected objective.
Remember
- More controls ≠ defense in depth.
- Multiple products depending on one identity or management plane ≠ independent layers.
- Design intent ≠ runtime enforcement; prove the policy decision, actual enforcement point and observed resource outcome independently.
- No observed bypass ≠ no bypass unless alternate paths, failure modes, management paths and telemetry coverage have been tested.
First checks
- Control layers per critical asset — coverage
- Single points of failure in security controls — gaps
- Detection behind each prevention layer — monitoring
Verify in this order
attacker → multiple independent layers → asset
Where it usually breaks
First mismatch in asset/subject identity → trust/authentication → authorization/policy → enforcement/control → telemetry/detection → protected outcome/response; preserve identity/policy/pre-state before mutation.
Defense in Depth architecture/evidence map
| Boundary | Establish | Does not establish |
|---|---|---|
| Intent / policy | Required trust and access behavior | Runtime enforcement or bypass resistance |
| Decision / context | Inputs and resulting authorization decision | That the decision reached every enforcement point |
| Enforcement / path | Observed allow, deny, step-up or isolation on one path | Coverage of alternate, management or degraded paths |
| Telemetry / reassessment | What state changed and when policy reacted | Complete visibility or absence of compromise |
| Outcome / residual risk | Resource result under the tested conditions | Security outside the tested identities, resources and failure modes |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=5082