Pcornel
Security · Incident Response

Evidence Collection

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

Back to the Topic

Answer

Evidence Collection acquires and preserves relevant volatile and persistent data in a way that protects provenance, integrity, time context and investigative value while balancing business continuity, privacy, legal requirements and the risk that response actions alter or destroy evidence.

Remember

  • Collected artifact ≠ reliable evidence unless source, acquisition method, time and integrity are known.
  • Hash match after collection ≠ proof the acquisition method captured all relevant data or that the source was trustworthy before acquisition.
  • Response action ≠ evidence of success; every containment, eradication and recovery change needs an observed result and a rollback or next-step decision.
  • Absence of evidence ≠ evidence of absence unless telemetry coverage, retention, query scope and the relevant time window are independently proven.

First checks

  • Evidence log with hashes — integrity
  • sha256sum <evidence> — hash
  • Volatile data captured first (memory) — order of volatility

Verify in this order

volatile → non-volatile evidence → hashed and logged

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.

Incident Response → Evidence Collection evidence map

BoundaryEstablishDoes not establish
Signal / declarationWhy activity met incident criteria and who owns responseFinal scope, root cause or impact
Analysis / evidenceSupported facts, hypotheses, timeline and confidenceComplete visibility or deterministic attribution
Containment / eradicationSpecific malicious capability or enabling condition was restricted/removedAll footholds, persistence or stolen data are gone
RecoveryService and controls pass defined tests in restored stateFuture safety or trust outside tested scope
ClosureEvidence, decisions, verification and corrective actions are recordedLessons are effective before corrective actions are implemented and retested

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=4973

Confirmation

Confirm action

Continue?