Use this when collecting and analysing evidence after a security incident.
Digital Forensics
Digital forensics collects and analyses evidence from disks, memory, logs and networks after an incident, preserving integrity with imaging, hashing and chain of custody so findings are reliable and defensible.
1. Digital forensics collects and analyses evidence soundly.
2. Preserve integrity (write blockers, hashes).
3. Document chain of custody.
4. Legal requirements.
5. Use trained staff or experts.
evidence → acquisition → analysis → report
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Commands Verify boundary
sha256sum evidence.img
log2timeline.py timeline.plaso evidence.img
psort.py -o l2tcsv timeline.plaso > timeline.csv
Step 2 Common mistakes Narrow the fault
- Powering off before capturing memory.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
Subtopics
Go one level deeper into this subject.
Forensics fundamentals: preserve evidence first, work on verified copies, collect in order of volatility (memory before disk), document everything and keep chain of custody, so conclusions can be trusted.
Subtopic EvidenceDigital evidence is any data that supports an investigation — disk and memory images, logs, packet captures, emails — collected in a way that preserves integrity and records where it came from.
Subtopic Chain of CustodyChain of custody documents who collected, handled, transferred and stored each piece of evidence and when, so it can be shown the evidence was not altered and remains admissible.
Subtopic Disk ForensicsDisk forensics analyses a forensic image of a storage device for files, deleted data, file-system metadata, registry, browser artefacts and timestamps, using tools like Autopsy or FTK.
Subtopic Memory ForensicsMemory forensics analyses a RAM capture for running processes, network connections, injected code, credentials and fileless malware that never touch disk, using tools like Volatility.
Subtopic Network ForensicsNetwork forensics examines packet captures, flow data and proxy or DNS logs to trace attacker communication, data exfiltration and lateral movement.
Subtopic Log ForensicsLog forensics reconstructs events from system, security, application, firewall and cloud logs, correlating timestamps and identities to show what an attacker did and when.
Subtopic Timeline AnalysisTimeline analysis merges timestamps from file systems, logs, registry and other sources into one chronological view, such as a super timeline with plaso, to see the sequence of an incident.
Subtopic Hash VerificationHash verification computes a cryptographic hash, such as SHA-256, of evidence at acquisition and again later.
Subtopic Forensic ImagingForensic imaging makes a bit-for-bit copy of a disk or device, including unallocated space, with a write blocker and tools like dd, dc3dd or FTK Imager, and hashes it to prove the copy is exact.
- Preserve evidence before changing anything.
- Collect in order of volatility: memory before disk.
- Work on verified copies, never originals.
- Forensic readiness (logging, tools, procedures) — preparation
- Chain of custody forms — process
- Forensic tool inventory — capability
ReferenceWhy it matters1 section · depth on demand
How it works
Digital forensics collects and preserves evidence, analyses it to reconstruct what happened, and documents the findings so they hold up to review. Evidence comes from disks, memory, logs, network captures and cloud audit trails.
ReferenceImportant terms & boundaries2 sections · depth on demand
Evidence sources
Order of volatility
1. CPU registers, cache
2. Memory (RAM)
3. Network state, running processes
4. Disk
5. Remote logs, backups
Collect the most volatile first (RFC 3227).
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Digital Forensics. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://csrc.nist.gov/pubs/sp/800/86/final · confidence 94%