Pcornel
Security · Security Troubleshooting

Log Correlation

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

Back to the Topic

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

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=5147

Confirmation

Confirm action

Continue?