Skip to content

Digital Forensics DFIR

github-actions[bot] edited this page Nov 15, 2026 · 1 revision

Post-incident artifact extraction and timeline reconstruction โ€” memory, disk, and live response

Part of the ULTIMATE CYBERSECURITY MASTER GUIDE ยท Incident Response section

Blue Team DFIR Forensics


Memory reference: Volatility 3 cheat sheet ยท cheat-sheet audit index. Keep original memory evidence immutable; confirm supported plugin names, dependencies and symbols locally.

Targeted forensic collection: Velociraptor + ForensicArtifacts triage covers consent, collection selection, UTC evidence hashes and custody; it complements existing KAPE/Autopsy and Volatility workflows.

๐ŸŽฏ Purpose

Legacy forensic teaching material: Cypherpunk toolkit curation maps historical memory/IOC resources to modern Volatility 3 and evidence-handling practices.

Index for the Digital Forensics sub-section โ€” guides for acquiring and analyzing evidence after an incident: memory forensics, disk forensics, and volatile live-response collection.

โš™๏ธ Function

Links to a guide per forensic domain โ€” memory analysis with Volatility 3, disk acquisition/analysis with Autopsy and KAPE, and live volatile-data collection โ€” organized around the order of volatility and sound evidence handling.

๐Ÿ† Goal

Enable a responder to capture the right evidence in the right order, analyze it to establish a timeline and indicators of compromise (IoCs), and do so without destroying the evidentiary value of what they collect.

๐Ÿ“‹ When To Use

  • Investigating a compromised host after detection (see Endpoint Visibility / SIEM alerts)
  • Deciding what to collect first from a running system before power-down
  • Extracting malware, injected code, or IoCs from a memory image
  • Building an incident timeline from disk artifacts (registry, event logs, prefetch)

๐Ÿ“‹ Table Of Contents


๐ŸŽฏ Overview

Digital forensics evidence collection verification and custody

Apply case-specific legal authority and custody requirements.

Digital forensics is the disciplined recovery and analysis of evidence from computer systems. In an IR context it answers what happened, how, when, and what was affected โ€” and, when a case may involve legal action, it does so in a way that preserves the evidence's admissibility.

This sub-section covers the three domains you will use most: memory, disk, and live volatile data. Capture is governed by the order of volatility โ€” the most transient evidence (RAM, network state) must be collected before it is lost.

Caution

The act of investigating changes the system. Collect volatile evidence before shutting down, prefer read-only/write-blocked access to disks, and document every step. If a case may go to court, follow strict chain of custody.


๐Ÿ—‚๏ธ Forensic Domains

Domain Guide Evidence Primary Tools
๐Ÿง  Memory Memory/volatility_cheatsheet.md RAM dump (volatile) Volatility 3
๐Ÿšจ Live Response LiveData/live_data_collection.md Running-system state WinPmem, DumpIt, avml
๐Ÿงฐ Portable DFIR Tsurugi Bento Field Guide Live triage and verified acquisitions on running Windows endpoints Bento, SyMenu, Sysinternals, FTK/WinPmem (if available)
๐Ÿ’ฝ Disk Disks/autopsy_kape.md Disk image (non-volatile) Autopsy, KAPE, FTK Imager

๐Ÿ“š Analysis Guides

Build a SyMenu-based field USB, preserve evidence on a separate encrypted device, and follow worked Windows live-response procedures for process/network snapshots, persistence, EVTX, RAM, imaging, artifact triage, hashing, and reports. Bento is a Windows-first live triage toolbox, not a read-only OS or full analysis platform.

Dedicated Ubuntu-based REMnux VM and Proxmox deployment for offline malware triage, suspicious documents, PE/ELF analysis, captured network traffic, memory artifacts and evidence handling. Use this after authorized acquisition; isolate samples and never detonate malware on the analyst host.

The full analysis workflow for Windows and Linux memory dumps. Covers the Volatility 3 plugin taxonomy (windows.pslist, windows.cmdline, windows.netscan, windows.malfind, windows.dlllist), process and network-connection analysis, injected-code detection, registry-hive extraction, and artifact recovery โ€” the fastest route to malware and IoCs that never touch disk.

Capturing volatile evidence from a running system before power-down. Covers the volatile-data priority order, memory acquisition (WinPmem, DumpIt, avml on Linux), network state (netstat/ss, active connections), process listing with hash verification, prefetch/amcache, registry-hive export, browser artifacts, and chain-of-custody documentation.

Acquiring and analyzing disk images. Covers imaging (FTK Imager, dd), the Autopsy case workflow (full forensic platform), KAPE targets/modules for rapid triage collection, timeline analysis, file carving, hash verification, and report generation.


Specialized Starred Projects To Evaluate

  • Linux Write Blocker โ€” kernel patch and utilities illustrating why a read-only filesystem mount is not always sufficient to prevent writes. This is older, kernel-specific research and is not a validated replacement for a hardware write blocker.
  • Digler โ€” Go-based disk analysis and file carving with CLI/GUI interfaces. Its upstream README calls it early development; test using duplicate images and never save recovered files to the evidence device.
  • FastFinder โ€” tool for triaging suspicious files during response; record the version, search criteria and hashes for repeatability.
  • Awesome Forensics โ€” curated discovery list for forensic tools and resources; evaluate linked projects individually before relying on them for evidence.

Use these as companions to Autopsy/KAPE and live-data collection, not substitutes for authorization, write protection, forensic imaging or chain of custody.

๐Ÿงญ Order Of Volatility

Collect most-volatile first (adapted from RFC 3227):

1. CPU registers, cache
2. RAM (memory dump)  ........... Live Response + Memory guides
3. Network state, running processes, open connections
4. Temp files, swap/pagefile
5. Disk (image it)  ............. Disk Forensics guide
6. Remote logs / monitoring data
7. Physical config, archival media

Tip

Detection usually comes from the SIEM or endpoint telemetry; forensics is what you do after an alert to confirm, scope, and reconstruct the incident.


โš ๏ธ Evidence Handling & Legal Warning

โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•
                 โš ๏ธ  PRESERVE EVIDENTIARY VALUE  โš ๏ธ
โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•

1. CHAIN OF CUSTODY
   โ–บ If the case may involve law enforcement or litigation, follow strict
     Chain of Custody: document who, what, when, where for every item.
   โ–บ Use write-blockers for disk imaging; verify with hashes (MD5+SHA-256).
   โ–บ Mishandling can render evidence inadmissible.

2. MINIMIZE FOOTPRINT
   โ–บ Investigating alters the system. Prefer trusted, statically-linked tools
     run from external media; avoid tools that overwrite volatile memory.

3. AUTHORIZATION & PRIVACY
   โ–บ Only analyze systems you own or are explicitly authorized (in writing) to
     examine. Forensic access to others' systems can be unlawful.
   โ–บ Images/memory contain PII/credentials โ€” store encrypted, share sanitized.

4. MALWARE SAFETY
   โ–บ Analyze recovered malware only in isolated, host-only environments.
   โ–บ Do not upload targeted/proprietary samples to public sandboxes โ€” it can
     tip off the attacker.
โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•

๐Ÿค Contributing

Contributions from DFIR analysts are welcome.

What we accept:

  • โœ… Volatility plugin recipes and analysis walkthroughs
  • โœ… KAPE targets/modules and Autopsy workflow tips
  • โœ… Live-response scripts (with volatility-order rationale)
  • โœ… Artifact-location references (registry persistence, browser paths)

Guidelines:

  1. Sanitize any sample artifacts of real PII/credentials.
  2. Note tool versions (e.g., Volatility 3.x).
  3. Describe the investigative value in your PR.

๐Ÿ“š Resources


๐Ÿ”— Quick Links


๐Ÿ›ก๏ธ Collect carefully, document everything โ€” evidence handled wrong is evidence lost.

Maintained by Pacific Northwest Computers (PNWC)


โฌ…๏ธ Back to Master Index | ๐ŸŽฏ Role Navigation | Legal Notice


๐Ÿ“„ Source: IncidentResponse/Digital-Forensics/README.md | โœ๏ธ Suggest an edit | โฌ…๏ธ Back to Incident Response

Clone this wiki locally