#Why this matters
Disk artifacts show what was written to storage, yet modern intrusions frequently run decrypted payloads exclusively in RAM, inject code into trusted system processes, or wipe binaries immediately after launch. Volatile memory captures preserve the live truth: active processes, full command-line arguments, open network sockets, decrypted buffers, and memory-resident files.
Volatility 3 is the current standard framework for analyzing Windows, Linux, and macOS memory images. Mastering its core plugins turns a raw multi-gigabyte .raw or .mem dump into actionable host and network indicators.
- Identify OSwindows.info or banners
- Process triagepslist, pstree, psscan
- Hunt anomaliescmdline, netscan, malfind
- Extractdumpfiles and malfind --dump
#How Volatility 3 works
Unlike legacy memory frameworks that required guessing an exact OS profile flag, Volatility 3 automatically detects kernel structures and resolves offsets using Intermediate Symbol Format (ISF) JSON tables. On Windows, it reads PDB GUID metadata directly from the memory image and loads or downloads the matching symbol table.
All Volatility 3 commands follow a consistent structure, with global options such as -f (memory file) and -o (output directory) placed before the plugin name, and plugin-specific options placed after it:
$ vol -f /cases/ws14/mem.raw windows.info
Volatility 3 Framework 2.7.0
Variable Value
Kernel Base 0xf8024a800000
DTB 0x1ad000
Is64Bit True
NtMajorVersion 10
NtMinorVersion 0For Linux captures, Volatility 3 includes parallel plugins under the linux.* namespace (such as linux.pslist and linux.bash) when matching Linux kernel ISF symbols are placed in the symbol directory.
#Process triage: pslist, pstree, psscan, and cmdline
Investigators start by mapping what was executing when RAM was acquired. Each process plugin views kernel memory differently, and comparing them reveals tampering:
| Plugin | Data source | What it reveals |
|---|---|---|
windows.pslist |
Active EPROCESS doubly-linked list |
Currently active processes, PID, PPID, and creation time |
windows.pstree |
Indented view of pslist |
Parent-child anomalies (for example svchost.exe under explorer.exe) |
windows.psscan |
Raw memory pool-tag scan | Terminated processes or processes unlinked from pslist |
windows.cmdline |
Process environment block (PEB) |
Full executable path and launch arguments |
windows.dlllist |
Loaded module lists per PID | Unexpected DLL paths loaded from user-writable folders |
$ vol -f /cases/ws14/mem.raw windows.pstree
PID PPID ImageFileName CreateTime
4 0 System 2025-10-19 07:50:11.000000 UTC
* 612 4 smss.exe 2025-10-19 07:50:11.000000 UTC
* 820 812 services.exe 2025-10-19 07:50:14.000000 UTC
** 1408 820 svchost.exe 2025-10-19 07:50:15.000000 UTC
* 3104 2890 explorer.exe 2025-10-19 07:51:02.000000 UTC
** 4912 3104 svchost.exe 2025-10-19 09:14:33.000000 UTC
$ vol -f /cases/ws14/mem.raw windows.cmdline --pid 4912
PID Process Args
4912 svchost.exe C:\Users\Public\svchost.exe -k netsvcsLegitimate svchost.exe instances are spawned by services.exe from C:\Windows\System32\. Here, PID 4912 has explorer.exe as its parent and executes from C:\Users\Public\, confirming process masquerading.
#Detecting injection, network sockets, and dumping files
Once suspicious PIDs stand out, check their network state and memory protections:
windows.netscan: Scans pool allocations for TCP endpoints and UDP listeners, displaying local/remote IP addresses, ports, connection state, owning PID, and process name.windows.malfind: Walks each process's Virtual Address Descriptor (VAD) tree to flag private memory regions markedPAGE_EXECUTE_READWRITEthat are not backed by a file on disk. It prints a hex dump and disassembly of the first bytes; seeing anMZ(4d 5a) header in an unbacked RWX region strongly indicates an injected PE binary.windows.filescanandwindows.dumpfiles:filescanlocates_FILE_OBJECTstructures in memory and prints their virtual or physical offsets;dumpfilesextracts those cached files to disk for hashing and static inspection.
$ vol -f /cases/ws14/mem.raw windows.malfind --pid 1408
PID Process Start VPN End VPN Protection Hexdump
1408 svchost.exe 0x1f4a0000 0x1f4c5000 PAGE_EXECUTE_READWRITE 4d 5a 90 00 03 00 00 00 ...
$ vol -f /cases/ws14/mem.raw windows.filescan | grep -i "payload.bin"
0xbc89142018c0 \Users\Public\payload.bin
$ vol -f /cases/ws14/mem.raw -o /cases/ws14/carved windows.dumpfiles --virtaddr 0xbc89142018c0Passing -o /cases/ws14/carved before windows.malfind --dump or windows.dumpfiles writes extracted binaries to a dedicated folder without cluttering the case root. Always verify carved files with sha256sum and inspect them in an isolated analysis environment.
#Common mistakes and analyst pitfalls
- Using legacy Volatility 2 syntax: Passing
--profile=Win10x64fails in Volatility 3. Rely on automatic ISF discovery and place global flags (-f,-o) before the plugin name. - Trusting
pslistalone:windows.pslistwalks the active linked list, so terminated or DKOM-unlinked processes disappear from it. Always cross-check againstwindows.psscan. - Treating every
malfindhit as malware: Browsers,.NETCLR applications, and JavaScript JIT engines routinely allocate legitimatePAGE_EXECUTE_READWRITEmemory. Inspect the hexdump (MZheaders or shellcode patterns) and corroborate withnetscan,dlllist, andcmdline. - Running offline without symbol packs: In air-gapped DFIR labs, Volatility 3 cannot fetch Microsoft PDB symbols from the internet. Pre-stage the required Windows and Linux ISF symbol packs inside Volatility's
symbols/directory before triage.
#Summary
- Volatility 3 parses RAM dumps using ISF symbol tables and global
-f/-ooptions placed before the plugin name (windows.info,windows.pstree,windows.psscan). - Comparing
pslistagainstpsscan, inspecting parent-child trees inpstree, and checkingcmdlineexposes process masquerading and hidden processes. windows.malfindandwindows.netscanlink injectedPAGE_EXECUTE_READWRITEregions to active sockets, whilewindows.filescanandwindows.dumpfilescarve memory-resident binaries for hashing and analysis.