Detective controls identify attacks that preventive controls missed. The main tools are log analysis, honeypots, cryptographic hash verification, and DLP services. Each has different costs, detection speeds, and blind spots that defenders must understand.
- Accounting (log analysis): Recording and monitoring user activity. Logs reveal suspicious patterns like accessing unusual files, activity outside normal hours, or attempts to copy or delete sensitive data.
- Honeypot: A fake file containing realistic-looking but false data (credit card numbers, passwords). Any access attempt triggers an alert because there is no legitimate reason to open it.
- Cryptographic hash function: Produces a fixed-length output (hash) for any input. If a file's hash changes between two measurements, the file was altered. SHA-256 is the standard; MD5 and SHA-1 are considered weak.
- DLP (Data Loss Prevention): Third-party services that monitor data access, usage, and transmission across an organization. High detection capability at higher cost than honeypots or hashing.
- Detection blind spots: Hash functions cannot detect read-only data theft because the file is not altered. Honeypots cannot detect adversaries who never access them. False negatives are a real risk in every detection method.
An adversary reads a sensitive file but does not modify it. Which detection tools would catch this, and which would not?
| Detective Control | Cost | Detection timing | Key limitation |
|---|
| Log analysis (manual) | Low | Retrospective | Requires human review; slow without automation |
| Automated log analysis | Medium | Real-time | Requires configuration; can produce false positives |
| Honeypot | Low | Near-instant | Only detects adversaries who access the honeypot |
| Cryptographic hash | Low | Retrospective | Cannot detect read-only theft; only detects modification |
| DLP service | High | Real-time | Cost may be prohibitive for smaller organizations |