Skip to content

Volatile Memory Dumping & LiME / Volatility 3 Kernel Triage

Density:

Captures bit-stream volatile RAM using the LiME (Linux Memory Extractor) kernel module or WinPmem on live endpoints, transfers cryptographically hashed images to a secured forensic share, and executes automated Volatility 3 plugins to isolate hollowed processes, injected DLLs, and hidden eBPF rootkits.

  • ๐Ÿ› ๏ธ LiME kernel module
  • ๐Ÿ› ๏ธ Volatility 3
  • ๐Ÿ› ๏ธ dwarf2json
  • ๐Ÿ› ๏ธ sha256sum
  1. Load LiME kernel module and stream directly to encrypted storage
    Terminal window
    # Compile or load pre-built LiME driver matching kernel version
    insmod lime-$(uname -r).ko "path=tcp:4444 format=lime"
    # On forensic capture workstation:
    nc -d $TARGET_HOST 4444 | tee /evidence/mem_$(hostname)_$(date +%s).lime | sha256sum > /evidence/mem.sha256
    Artifacts Preserved: Raw RAM Image (.lime), Cryptographic SHA256 Manifest
  1. Detect Process Hollowing, Malfind injections, and hidden network sockets
    Terminal window
    # Generate symbol table if needed via dwarf2json
    vol -f /evidence/mem_dump.lime linux.pslist.PsList
    vol -f /evidence/mem_dump.lime linux.malfind.Malfind --dump
    vol -f /evidence/mem_dump.lime linux.sockstat.Sockstat
    Artifacts Preserved: Extracted Injected Payloads (.dmp), Unlinked Process Descriptors, Hidden Sockets Map

Memory Hash Integrity

Inspection Method:

Terminal window
sha256sum -c /evidence/mem.sha256

Success Criteria: SHA256 signature verification returns OK.

Injected Code Extraction

Inspection Method:

Terminal window
file /evidence/malfind/*.dmp

Success Criteria: All rogue executable sections identified and matched with YARA detection rules.

  • ๐Ÿ”’ Quarantine parent processes associated with suspicious memory segments.
  • ๐Ÿ”’ Verify kernel symbol table integrity using linux.check_syscall plugin.
  • ๐Ÿ”’ Block identified C2 IPs and extraction domains at edge firewalls.