Detection and accountability
Why does prevention fail silently, and why is detection the only control that makes others falsifiable?
Everything so far is preventive, and prevention has one fatal property: it fails silently. A wrong grant produces no error. An over-privileged service account works perfectly. A control that has never been tested looks exactly like a control that does not work.
Detection is the only control that makes the others falsifiable (able to be shown wrong). Its mechanisms:
- Audit logging with a security requirement: non-repudiation. The log must be tamper-evident and written where the actor cannot edit it. This separates it from ordinary provenance (where data came from) and operational logs (what the system did).
- Access review, the forcing function against the decay of controls.
- Anomaly detection on read volume and pattern. It is the only thing that catches an authorized insider.
- Deliberate verification: try the access that you believe is denied, and confirm that it is denied.
The honest limit: detection happens after the fact. It turns an unbounded loss into a bounded one, and its value is entirely in the time to detect. A log nobody reads has a time to detect of infinity and so is worth nothing, which is the most common state of security logging in practice. In Wei's review the time to detect was 11 weeks.