Security Troubleshooting
Cheat sheet · https://pcornel.dk/topic.php?topic=5129
Answer
Security troubleshooting finds why access, trust, blocking or detection behaves differently than expected, by checking the identity, policy, enforcing control and its logs in order until the first one that does not match the expected result.
Remember
- Symptom ≠ root cause; a denied login, blocked flow, alert or compliance failure only identifies where investigation starts.
- Security tool status green ≠ end-to-end security path healthy; identity, policy, enforcement, telemetry and dependent services can diverge.
- No alert or log ≠ no event unless source generation, transport, parsing, retention, time synchronization and query coverage are proven.
- Temporary recovery ≠ durable fix; the original failing test and an adjacent regression/security test must both pass after the change.
First checks
- Exact error message and time — symptom
- Relevant logs (auth, firewall, EDR, IdP) — evidence
- Recent changes — likely cause
Verify in this order
symptom → control involved → logs → targeted fix → verify
Where it usually breaks
First mismatch in signal/report → evidence preservation → scoping/analysis → containment → eradication → recovery → validation/lessons learned; preserve identity/policy/pre-state before mutation.
Security Troubleshooting troubleshooting/evidence map
| Boundary | Healthy evidence | Suspicious evidence |
|---|---|---|
| Scope / baseline | Failing case and known-good comparison are reproducible | Symptom changes across users, devices, paths or time without explanation |
| Policy / decision | Authoritative state explains the expected decision | Stale, conflicting or unexpected policy/context changes the decision |
| Enforcement / telemetry | Runtime action and same-window telemetry agree | Decision, enforcement and logs disagree or coverage is missing |
| Verification | Original test and security regression both pass | Temporary recovery, bypass or adjacent regression remains |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=5129