Skill v1.0.0
currentAutomated scan100/100name: memory-malware-hunting description: Use when hunting malware in memory images on an authorized investigation. Covers Volatility 3 workflows, process and injection detection, network artifact recovery, and finding fileless malware. Also use when disk forensics shows nothing but the host is clearly compromised. version: 1.0.0 domain: soc lifecycle: stable last_verified: 2026-10-23 requires: [] extends: [] relates: [memory-forensics, threat-hunting, edr-evasion-detection] tools:
- name: Python
version: 3.12
Fileless malware lives in memory and never touches disk the way analysts expect: injected threads, hollowed processes, and malicious WMI. This skill covers hunting it in memory images you are authorized to analyze: the Volatility 3 workflow, injection detection, and recovering the payload. Work on captures from your own investigations with proper handling.
Quick Workflow
- Verify the capture: hash, profile (OS version), and acquisition
method.
- List processes and look for the unusual: no parent, wrong path,
or hollowed images.
- Check for injection: threads, hooks, and memory regions that do
not map to files.
- Review network artifacts: connections and sockets from the
capture.
- Dump suspicious processes and regions for static analysis.
- Check persistence hooks that live in memory: WMI, scheduled
tasks, registry run keys in the hive.
- Correlate with disk and logs: what launched it.
- Document the indicators with offsets and hashes.
1. Volatility 3 triage
# Identify the right profile/symbols firstpython3 /opt/volatility3/vol.py -f /evidence/memory.raw windows.info 2>/dev/null | head -15# List processes with parent relationshipspython3 /opt/volatility3/vol.py -f /evidence/memory.raw windows.pslist 2>/dev/null | head -30# Look for: parent PID 0 anomalies, processes with no image path,# names mimicking system processes in wrong directories
# Injection and hollowing detectionpython3 /opt/volatility3/vol.py -f /evidence/memory.raw windows.malfind 2>/dev/null | head -40# malfind flags injected code: review each hit, it also flags some legit JITpython3 /opt/volatility3/vol.py -f /evidence/memory.raw windows.psscan 2>/dev/null | head -20# psscan finds hidden processes that pslist misses (DKOM hiding)
# Network state at capture timepython3 /opt/volatility3/vol.py -f /evidence/memory.raw windows.netscan 2>/dev/null | head -20# Established connections to unknown externals = C2 candidates
2. Dumping and correlation
# Dump a suspicious process for static analysispython3 /opt/volatility3/vol.py -f /evidence/memory.raw \windows.pslist --pid 1234 --dump 2>/dev/nullpython3 /opt/volatility3/vol.py -f /evidence/memory.raw \windows.malfind --pid 1234 --dump 2>/dev/nullls -l /tmp/dump/ 2>/dev/null || echo "check vol output dir"
# Command line history: what actually ranpython3 /opt/volatility3/vol.py -f /evidence/memory.raw windows.cmdline 2>/dev/null \| grep -i -E "powershell|wmic|rundll32|mshta" | head -20# Correlate: match PIDs and times against the disk timeline
Edge cases
- The profile is wrong and plugins fail. Get the exact OS build
from the capture and fetch matching symbols.
- malfind is noisy on modern systems. Triage by combining with
network and parent anomalies, not malfind alone.
- The capture is from a VM snapshot. Note the method; snapshots
are fine but record the hypervisor and time.
- Encrypted payloads in memory. Dump and let static analysis or
the key in the same capture do the work.
Escalation
- Confirmed fileless malware: move to full incident response;
memory is one host, the campaign is the target.
- Need the payload decrypted: hand the dump to malware analysis
with the capture context.
- EDR missed it: feed the technique to edr-evasion-detection for
the detection gap review.
Detection and defender view
Defenders catch fileless malware with behavioral EDR (injection APIs, hollowed processes), AMSI for scripts, and memory scanning. They see evasion as the same techniques this skill hunts: process hollowing, reflective loading, and living off the land binaries. The durable defense is layered: block the initial execution, scan memory on alert, and keep the memory acquisition capability ready before the incident.
Key references
- MITRE ATT&CK T1055 (Process Injection), T1620 (Reflective Code
Loading).
- Volatility 3 documentation: plugin reference.
- Related skills: memory-forensics, threat-hunting.