Log Correlation
Cheat sheet · https://pcornel.dk/topic.php?topic=5147
Answer
Log Correlation troubleshooting reconstructs one security-relevant sequence across multiple telemetry sources while accounting for identity translation, timestamps, identifiers, parsing, retention and missing-event boundaries.
Remember
- Same timestamp ≠ same causal event; clocks, buffering and ingestion delay can reorder data.
- Same username ≠ same session or principal across systems without identifier mapping.
- Missing event ≠ event did not occur unless source generation, transport, parsing, retention and query coverage are proven.
- Correlated events ≠ causation; a coherent timeline still requires evidence that dependencies or actions connect them.
First checks
- Time sync across sources — UTC normalised
- Common fields (user, host, IP) — correlation keys
- SIEM correlation query — linked events
Verify in this order
events from many sources → normalised keys → correlated
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.
Log Correlation 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=5147