| name | memory-forensics |
| description | Comprehensive techniques for acquiring, analyzing, and extracting artifacts from memory dumps for incident response and malware analysis. |
| category | Document Processing |
| source | antigravity |
| tags | ["python","api","ai","workflow","document","image","cro"] |
| url | https://github.com/sickn33/antigravity-awesome-skills/tree/main/skills/memory-forensics |
Memory Forensics
Comprehensive techniques for acquiring, analyzing, and extracting artifacts from memory dumps for incident response and malware analysis.
Use this skill when
- Working on memory forensics tasks or workflows
- Needing guidance, best practices, or checklists for memory forensics
Do not use this skill when
- The task is unrelated to memory forensics
- You need a different domain or tool outside this scope
Instructions
- Clarify goals, constraints, and required inputs.
- Apply relevant best practices and validate outcomes.
- Provide actionable steps and verification.
- If detailed examples are required, open
resources/implementation-playbook.md.
Memory Acquisition
Live Acquisition Tools
Windows
# WinPmem (Recommended)
winpmem_mini_x64.exe memory.raw
# DumpIt
DumpIt.exe
# Belkasoft RAM Capturer
# GUI-based, outputs raw format
# Magnet RAM Capture
# GUI-based, outputs raw format
Linux
sudo insmod lime.ko "path=/tmp/memory.lime format=lime"
sudo dd if=/dev/mem of=memory.raw bs=1M
sudo cp /proc/kcore memory.elf
macOS
sudo ./osxpmem -o memory.raw
Virtual Machine Memory
cp vm.vmem memory.raw
vboxmanage debugvm "VMName" dumpvmcore --filename memory.elf
virsh dump <domain> memory.raw --memory-only
Volatility 3 Framework
Installation and Setup
pip install volatility3
vol -f memory.raw <plugin>
vol -f memory.raw -s /path/to/symbols windows.pslist
Essential Plugins
Process Analysis
vol -f memory.raw windows.pslist
vol -f memory.raw windows.pstree
vol -f memory.raw windows.psscan
vol -f memory.raw windows.memmap --pid <PID> --dump
vol -f memory.raw windows.envars --pid <PID>
vol -f memory.raw windows.cmdline
Network Analysis
vol -f memory.raw windows.netscan
vol -f memory.raw windows.netstat
DLL and Module Analysis
vol -f memory.raw windows.dlllist --pid <PID>
vol -f memory.raw windows.ldrmodules
vol -f memory.raw windows.modules
vol -f memory.raw windows.moddump --pid <PID>
Memory Injection Detection
vol -f memory.raw windows.malfind
vol -f memory.raw windows.vadinfo --pid <PID>
vol -f memory.raw windows.vadyarascan --yara-rules rules.yar
Registry Analysis
vol -f memory.raw windows.registry.hivelist
vol -f memory.raw windows.registry.printkey --key "Software\Microsoft\Windows\CurrentVersion\Run"
vol -f memory.raw windows.registry.hivescan --dump
File System Artifacts
vol -f memory.raw windows.filescan
vol -f memory.raw windows.dumpfiles --pid <PID>
vol -f memory.raw windows.mftscan
Linux Analysis
vol -f memory.raw linux.pslist
vol -f memory.raw linux.pstree
vol -f memory.raw linux.bash
vol -f memory.raw linux.sockstat
vol -f memory.raw linux.lsmod
vol -f memory.raw linux.mount
vol -f memory.raw linux.envars
macOS Analysis
vol -f memory.raw mac.pslist
vol -f memory.raw mac.pstree
vol -f memory.raw mac.netstat
vol -f memory.raw mac.lsmod
Analysis Workflows
Malware Analysis Workflow
vol -f memory.raw windows.pstree > processes.txt
vol -f memory.raw windows.pslist > pslist.txt
vol -f memory.raw windows.netscan > network.txt
vol -f memory.raw windows.malfind > malfind.txt
vol -f memory.raw windows.dlllist --pid <PID>
vol -f memory.raw windows.handles --pid <PID>
vol -f memory.raw windows.pslist --pid <PID> --dump
strings -a pid.<PID>.exe > strings.txt
vol -f memory.raw windows.yarascan --yara-rules malware.yar
Incident Response Workf