Cheat sheet

Volatility 3

The essential plugins to analyse a Windows memory image. The full approach is in Forensics (DFIR).

CDSAForensics

Syntax

# General form
vol -f memory.raw <plugin> [options]
# Example: process tree
vol -f memory.raw windows.pstree
# CSV output for Timeline Explorer or a spreadsheet
vol -f memory.raw -r csv windows.pslist > pslist.csv
Volatility 2 or 3?Version 3 detects the system automatically: no more --profile option as in version 2. Plugins are prefixed by the OS: windows., linux., mac.

Windows plugins

PluginUse
windows.infoSystem version and image information
windows.pslistActive processes (kernel linked list)
windows.psscanProcesses found by scanning, including hidden or terminated ones
windows.pstreeParent / child process tree
windows.cmdlineCommand line of each process
windows.dlllistDLLs loaded by each process
windows.handlesOpen handles (files, keys, mutexes…)
windows.netscanNetwork connections and ports
windows.malfindSuspicious executable memory regions (injected code)
windows.filescanFile objects present in memory
windows.dumpfilesExtract files from memory
windows.registry.hivelistLoaded registry hives
windows.registry.printkeyRead a registry key
windows.svcscanWindows services
windows.hashdumpLocal account hashes

Suggested analysis order

  1. Identifywindows.info: which system, which capture date.
  2. Processespslist, psscan, pstree: compare, look for anomalies.
  3. Contextcmdline, dlllist: what is each suspicious process doing?
  4. Networknetscan: who is it talking to?
  5. Injectionmalfind: was code injected?
  6. Extractdumpfiles, then hash and analyse the sample.
Red flagsA process present in psscan but missing from pslist (hidden), an almost-correct name (scvhost.exe), an svchost.exe whose parent is not services.exe, a system process launched from an unusual folder.