Skip to content

Volatility 3

75 commands

The current memory-forensics framework: analyse RAM images from Windows, Linux and macOS for processes, network connections, injected code and more.

  • memory forensics
  • DFIR
  • malware

Install Volatility 3

sudo apt install volatility3

Basic Usage & Setup4

vol -h

Displays the main help menu, available flags, and configured plugin list.

vol -f memory.img windows.info

Identifies the Windows operating system version, build number, and architecture from the memory image.

Link
vol -f memory.img -v windows.info

Runs the info plugin with verbose output to show detailed layer information and symbol table loading.

Link
vol -f memory.img -s /path/to/symbols windows.info

Specifies a custom path for symbol tables to aid in offline analysis or air-gapped investigations.

Link

Process Enumeration6

vol -f memory.img windows.pslist

Lists high-level running processes by walking the doubly-linked list of ActiveProcessLinks in the kernel.

Link
vol -f memory.img windows.pslist --pid <PID>

Filters the process list to display details for a specific Process ID only.

Link
vol -f memory.img windows.psscan

Scans physical memory for EPROCESS pool allocations to find unlinked, hidden, or terminated processes.

Link
vol -f memory.img windows.pstree

Visualizes the process hierarchy and parent-child relationships using indentation.

Link
vol -f memory.img windows.cmdline

Extracts the command line arguments used to launch processes, useful for detecting malicious parameters.

Link
vol -f memory.img windows.envars

Displays environment variables for processes, revealing paths, user profiles, and session information.

Link

Deep Process Analysis6

vol -f memory.img windows.dlllist

Lists dynamic link libraries (DLLs) loaded by processes to identify injected modules or unexpected dependencies.

Link
vol -f memory.img windows.dlllist --pid <PID>

Isolates loaded modules for a single suspicious process to reduce noise during analysis.

Link
vol -f memory.img windows.ldrmodules

Compares the VAD tree, PEB list, and module list to detect unlinked or hidden DLLs used by rootkits.

Link
vol -f memory.img windows.handles

Lists open handles (files, registry keys, mutexes, threads) for all processes.

Link
vol -f memory.img windows.handles --pid <PID>

Inspects open resources for a specific process to identify locked files or synchronization markers.

Link
vol -f memory.img windows.privileges

Enumerates process tokens and privileges to detect privilege escalation or system-level access.

Link

Network Analysis2

vol -f memory.img windows.netscan

Scans for network artifacts (TCP endpoints, UDP listeners) including closed or terminated connections.

Link
vol -f memory.img windows.netstat

Lists active network connections derived from the system's network stack structures.

Link

Kernel & Driver Analysis4

vol -f memory.img windows.driverscan

Scans physical memory for DRIVER_OBJECT structures to identify loaded kernel drivers.

Link
vol -f memory.img windows.modules

Lists loaded kernel modules and their base addresses, similar to the lsmod command in Linux.

Link
vol -f memory.img windows.ssdt

Enumerates the System Service Descriptor Table to detect kernel-level API hooking.

Link
vol -f memory.img windows.callbacks

Lists kernel callback routines often used by malware for persistence or AV evasion.

Link

File System Forensics2

vol -f memory.img windows.filescan

Scans memory for FILE_OBJECT structures to find open files, even those without active handles.

Link
vol -f memory.img windows.mftscan

Scans for Master File Table (MFT) record segments resident in memory to recover deleted file metadata.

Link

Malware Analysis4

vol -f memory.img windows.malfind

Scans for code injection by looking for executable memory pages that are not backed by a file on disk.

Link
vol -f memory.img windows.malfind --pid <PID> --dump

Detects injected code in a specific process and extracts the memory segments to disk for analysis.

Link
vol -f memory.img windows.vadinfo

Inspects the Virtual Address Descriptor (VAD) tree to analyze memory protection and mapping attributes.

Link
vol -f memory.img windows.vadinfo --pid <PID>

Details the memory regions of a specific process to identify shellcode or unpacked malware segments.

Link

Registry Forensics4

vol -f memory.img windows.registry.hivelist

Lists the physical addresses of available registry hives (SAM, SYSTEM, SOFTWARE, NTUSER.DAT).

Link
vol -f memory.img windows.registry.hivescan

Scans memory for pool tags associated with registry hives to recover unloaded or partial hives.

Link
vol -f memory.img windows.registry.printkey --key <Path>

Prints the subkeys and values of a specific registry path to check for persistence mechanisms.

Link
vol -f memory.img windows.registry.userassist

Parses UserAssist keys to determine which programs were executed via the GUI and their run counts.

Link

Searching & YARA3

vol -f memory.img windows.yarascan --yara-string "<String>"

Scans process memory and kernel space for a specific text string using YARA logic.

Link
vol -f memory.img windows.yarascan --yara-file rules.yar

Applies a file containing compiled YARA rules to the entire memory image to detect malware signatures.

Link
vol -f memory.img windows.yarascan --pid <PID> --yara-string "<Hex>"

Searches for a hex byte sequence (like a PE header) strictly within the memory space of a specific process.

Link

Extraction & Dumping4

vol -f memory.img windows.pslist --pid <PID> --dump

Extracts the executable image of a running process from memory to disk for static analysis.

Link
vol -f memory.img windows.dumpfiles --pid <PID>

Dumps all file objects associated with a specific process, recovering open documents or logs.

Link
vol -f memory.img windows.moddump --pid <PID> --base <Address>

Extracts a specific loaded module or DLL from a process's memory space based on its base address.

Link
vol -f memory.img windows.memmap --pid <PID> --dump

Dumps the memory map of a process, preserving the layout of code, data, and heap sections.

Link

Linux Forensics7

vol -f linux.mem linux.info

Displays the Linux kernel version and banner from a Linux memory artifact.

Link
vol -f linux.mem linux.pslist

Walks the task_struct list in Linux kernel memory to identify running processes.

Link
vol -f linux.mem linux.bash

Recovers command history from bash processes, providing visibility into attacker activity.

Link
vol -f linux.mem linux.check_syscall

Checks the system call table for hooks, a common technique for Linux rootkits.

Link
vol -f linux.mem linux.elfs

Lists Executable and Linkable Format (ELF) binaries loaded in memory.

Link
vol -f linux.mem linux.lsmod

Lists loaded kernel modules to identify malicious drivers or unauthorized kernel extensions.

Link
vol -f linux.mem linux.mount

Displays mounted filesystems within the Linux memory image.

Link

Mac Forensics4

vol -f mac.mem mac.info

Identifies the macOS kernel version and architecture.

Link
vol -f mac.mem mac.pslist

Lists running processes on a macOS system by analyzing the proc structures.

Link
vol -f mac.mem mac.check_syscalls

Validates the system call table on macOS to detect rootkit hooking.

Link
vol -f mac.mem mac.ifconfig

Recovers network interface configurations and status from macOS memory.

Link

Advanced Filtering2

vol -f memory.img windows.pslist --dump --pid <PID>

Combines filtering by PID and dumping to extract a specific suspicious process immediately.

Link
vol -f memory.img windows.netscan --pid <PID>

Filters network artifacts to show only connections belonging to a specific compromised process.

Link

Output & Reporting3

vol -r json -f memory.img windows.pslist

Outputs the process list in JSON format for ingestion into other analysis tools or SIEMs.

Link
vol -r csv -f memory.img windows.filescan

Exports the file scan results to CSV format for easy filtering and sorting in spreadsheet software.

Link
vol -r pretty -f memory.img windows.info

Forces the standard 'pretty' human-readable table output, useful when overriding defaults.

Link

Timeline Analysis2

vol -f memory.img timeliner.Timeliner

Aggregates timestamps from all available plugins (process creation, file modification) into a master timeline.

Link
vol -r csv -f memory.img timeliner.Timeliner

Exports the master timeline to CSV for analysis in timeline visualization tools.

Link

Credential Hunting3

vol -f memory.img windows.hashdump

extracts NTLM hashes from the registry hives loaded in memory (requires SAM and SYSTEM hives).

Link
vol -f memory.img windows.lmadump

Attempts to extract LowerCase LSA secrets/hashes, though less common on modern Windows.

Link
vol -f memory.img windows.cachedump

Extracts cached domain credentials (MSCache) from the registry.

Link

Threat Hunting4

vol -f memory.img windows.thrdscan

Scans for ETHREAD structures to find hidden threads or threads detached from their parent processes.

Link
vol -f memory.img windows.joblinks

Enumerates job objects to see if processes are grouped or managed together, common in malware families.

Link
vol -f memory.img windows.mutantscan

Scans for mutexes, which are often used by malware to ensure only one instance runs at a time.

Link
vol -f memory.img windows.symlinkscan

Scans for symbolic links in kernel memory which can reveal redirected file paths or device names.

Link

Memory Forensics Configuration1

vol -c config.json -f memory.img windows.info

Runs volatility using a pre-defined JSON configuration file to standardize analysis across a team.

Link

Advanced Debugging1

vol -f memory.img layerwriter.LayerWriter --output-dir ./out

writes out the underlying raw memory layer, useful for converting format specific images to raw.

Link

Memory Mapping1

vol -f memory.img windows.memmap

Provides a detailed map of virtual memory pages for processes.

Link

Command History1

vol -f memory.img windows.cmdline --pid <PID>

Retrieves the command line arguments for a specific process ID.

Link

Interactive Console1

vol -f memory.img shell

Drops into an interactive python shell with the configuration context loaded (if plugin available).

Link

Process Services1

vol -f memory.img windows.get_services

enumerates services registered on the system by parsing the service record database.

Link

Kernel Objects1

vol -f memory.img windows.objecttypes

Lists the object types defined in the kernel to understand available structures.

Link

Memory Integrity1

vol -f memory.img windows.bigpools

Enumerates big pool allocations which can sometimes hide injected code or artifacts.

Link

Filesystem Metadata1

vol -f memory.img windows.mftscan --dump

Scans for and dumps resident MFT records for external parsing.

Link

Malware Hunting1

vol -f memory.img windows.virtmap

Shows the mapping between virtual and physical addresses, useful for identifying remapped pages.

Link

System Info1

vol -f memory.img windows.verinfo

Extracts version information from PE files found in memory.

Link