Pcornel
Security

Security Troubleshooting

Cheat sheet · https://pcornel.dk/topic.php?topic=5129

Back to the Topic

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

BoundaryHealthy evidenceSuspicious evidence
Scope / baselineFailing case and known-good comparison are reproducibleSymptom changes across users, devices, paths or time without explanation
Policy / decisionAuthoritative state explains the expected decisionStale, conflicting or unexpected policy/context changes the decision
Enforcement / telemetryRuntime action and same-window telemetry agreeDecision, enforcement and logs disagree or coverage is missing
VerificationOriginal test and security regression both passTemporary 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

Confirmation

Confirm action

Continue?