Docs/Reference/Forensic Analysis

Forensic Analysis Reference

Detailed CLI reference for volatile state, memory dumps, file analysis, and forensic inventory.

All commands require agent mode (--agent). For scheduling, see Incident Forensics.


export volatile

reel --agent export volatile --pod <pod> [--container <container>] -n <namespace> [-o <file>]

Runtime state: process tree, open file descriptors, network connections, memory maps, and environment variables.

FlagDescriptionDefault
-o, --outputDestination filestdout
-f, --formatOutput format: json, yamljson

export metadata

reel --agent export metadata --pod <pod> [--container <container>] -n <namespace> [-o <file>]

Container configuration, image info, resource limits, environment variables, and volume mounts.

FlagDescriptionDefault
-o, --outputDestination filestdout
-f, --formatOutput format: json, yamljson

export memory

reel --agent export memory --pod <pod> [--container <container>] -n <namespace> [-o <file>]

GDB-compatible ELF core dump. Uses gcore when available, falls back to /proc/mem. Compressed with zstd by default (~60% size reduction).

FlagDescriptionDefault
-o, --outputDestination fileauto
--compressCompression: none, fast, default, better, bestdefault

list files / export files

# List files (query)
reel --agent list files --pod <pod> --path <path> -n <namespace> [flags]
# Export files (archive)
reel --agent export files --pod <pod> --path <path> -n <namespace> -o <file>
FlagDescription
-r, --recursiveInclude subdirectories
--modified-sinceModified after time (e.g., 1h, 24h, 7d)
--modified-beforeModified before time
--suidFilter for SUID bit
--sgidFilter for SGID bit
--hashCalculate file hashes (SHA-256)
--show-hiddenInclude hidden files
--include / --excludeGlob patterns for filtering
--min-size / --max-sizeSize filters (e.g., 1KB, 10MB)

export inventory

reel --agent export inventory --pod <pod> --path <path> -n <namespace> --hash [-o <file>]

Forensic file inventory in CycloneDX 1.6 format. Includes cryptographic hashes, permissions, timestamps, and optional chain-of-custody metadata.

FlagDescription
-o, --outputDestination file
-f, --formatOutput format: json, xml
--chain-of-custodyInclude extended forensic metadata
--hashCalculate file hashes
--diff-onlyScan only diff layer (zero-copy)
--from-layerScan stored layer by ID

See Incident Forensics for scheduling and use case examples.