401-403-bypass-techniq…
401/403 bypass playbook. Use when encountering access-denied responses on admin panels, API endpoints, or restricted paths.…
Memory forensics playbook using Volatility 2/3. Use when analyzing memory dumps for malware analysis, credential extraction, process investigation, code injection detection, and incident response timeline reconstruction.
Claude Code
$ npx -y skills add yaklang/hack-skills --skill memory-forensics-volatility --agent claude-code
Codex
$ npx skills add yaklang/hack-skills --skill memory-forensics-volatility -a codex -y
Cursor
$ npx skills add yaklang/hack-skills --skill memory-forensics-volatility -a cursor -y
Gemini CLI
$ npx skills add yaklang/hack-skills --skill memory-forensics-volatility -a gemini-cli -y
GitHub Copilot
$ npx skills add yaklang/hack-skills --skill memory-forensics-volatility -a github-copilot -y
OpenCode
$ npx skills add yaklang/hack-skills --skill memory-forensics-volatility -a opencode -y
Windsurf
$ npx skills add yaklang/hack-skills --skill memory-forensics-volatility -a windsurf -y
name: memory-forensics-volatility description: >- Memory forensics playbook using Volatility 2/3. Use when analyzing memory dumps for malware analysis, credential extraction, process investigation, code injection detection, and incident response timeline reconstruction.
> **AI LOAD INSTRUCTION**: Expert memory forensics techniques using Volatility 2 and 3. Covers memory acquisition, OS identification, process analysis (hidden process detection), network connections, DLL/module analysis, code injection detection (malfind), credential extraction, file carving, registry analysis, and timeline generation. Base models miss the Vol2/Vol3 command differences, malware indicator patterns, and Linux-specific memory analysis.
Before going deep, consider loading:
Also load [VOLATILITY_CHEATSHEET.md](./VOLATILITY_CHEATSHEET.md) when you need:
---
# LiME (Linux Memory Extractor) — kernel module insmod lime.ko "path=/tmp/mem.lime format=lime" # /proc/kcore (if available) dd if=/proc/kcore of=/tmp/mem.raw bs=1M # AVML (Microsoft's open-source) ./avml /tmp/mem.lime
# WinPmem winpmem_mini_x64.exe memdump.raw # FTK Imager (GUI) — capture memory to file # DumpIt (single-click memory dump) DumpIt.exe # Comae (MagnetRAM) MagnetRAMCapture.exe /output memdump.raw
# VMware: .vmem file in VM directory (suspend VM first) # VirtualBox: VBoxManage debugvm "VM_NAME" dumpvmcore --filename mem.raw # KVM/QEMU: virsh dump DOMAIN memdump --memory-only # Hyper-V: checkpoint VM → inspect .bin files
---
| Concept | Volatility 2 | Volatility 3 | |---|---|---| | Profile system | `--profile=Win10x64_19041` | Auto-detected (symbol tables) | | Image info | `imageinfo` | `windows.info` / `linux.info` | | Process list | `pslist` | `windows.pslist` | | Network | `netscan` / `connections` | `windows.netscan` / `windows.netstat` | | DLLs | `dlllist` | `windows.dlllist` | | Injection | `malfind` | `windows.malfind` | | Hashes | `hashdump` | `windows.hashdump` | | Files | `filescan` | `windows.filescan` | | Registry | `hivelist` / `printkey` | `windows.registry.hivelist` / `windows.registry.printkey` | | Install | `pip2 install volatility` | `pip3 install volatility3` |
---
# Vol2 vol.py -f mem.raw imageinfo vol.py -f mem.raw kdbgscan # Vol3 vol -f mem.raw windows.info vol -f mem.raw banners.Banners
# Vol2 vol.py -f mem.raw --profile=PROFILE pslist # EPROCESS linked list vol.py -f mem.raw --profile=PROFILE psscan # pool tag scan (finds unlinked) vol.py -f mem.raw --profile=PROFILE pstree # parent-child hierarchy # Vol3 vol -f mem.raw windows.pslist vol -f mem.raw windows.psscan vol -f mem.raw windows.pstree
**Red flags**: Process in `psscan` but not `pslist` = DKOM (Direct Kernel Object Manipulation) hiding.
# Vol2 vol.py -f mem.raw --profile=PROFILE netscan # TCP/UDP endpoints vol.py -f mem.raw --profile=PROFILE connections # XP/2003 only vol.py -f mem.raw --profile=PROFILE connscan # closed connections # Vol3 vol -f mem.raw windows.netscan vol -f mem.raw windows.netstat
# Vol2 vol.py -f mem.raw --profile=PROFILE dlllist -p PID vol.py -f mem.raw --profile=PROFILE ldrmodules -p PID # find unlinked DLLs # Vol3 vol -f mem.raw windows.dlllist --pid PID
**Red flags**: DLL in `dlllist` but `False` in all three `ldrmodules` columns = reflective DLL injection.
# Vol2 vol.py -f mem.raw --profile=PROFILE malfind -p PID vol.py -f mem.raw --profile=PROFILE malfind -D /tmp/dump/ # dump injected sections # Vol3 vol -f mem.raw windows.malfind --pid PID
**What malfind detects**: Memory regions with `PAGE_EXECUTE_READWRITE` that don't map to a file on disk — classic shellcode/injection indicator.
# Vol2 vol.py -f mem.raw --profile=PROFILE hashdump # SAM hashes vol.py -f mem.raw --profile=PROFILE lsadump # LSA secrets vol.py -f mem.raw --profile=PROFILE cachedump # domain cached creds vol.py -f mem.raw --profile=PROFILE mimikatz # (plugin) plaintext creds # Vol3 vol -f mem.raw windows.hashdump vol -f mem.raw windows.lsadump vol -f mem.raw windows.cachedump
# Vol2 vol.py -f mem.raw --profile=PROFILE filescan | grep -i "password\|secret\|flag" vol.py -f mem.raw --profile=PROFILE dumpfiles -Q OFFSET -D /tmp/dump/ # Vol3 vol -f mem.raw windows.filescan vol -f mem.raw windows.dumpfiles --virtaddr OFFSET
# Vol2 vol.py -f mem.raw --profile=PROFILE hivelist vol.py -f mem.raw --profile=PROFILE printkey -K "Software\Microsoft\Windows\CurrentVersion\Run" vol.py -f mem.raw --profile=PROFILE userassist # program execution evidence # Vol3 vol -f mem.raw windows.registry.hivelist vol -f mem.raw windows.registry.printkey --key "Software\Microsoft\Windows\CurrentVersion\Run"
# Vol2 vol.py -f mem.raw --profile=PROFILE cmdscan # cmd.exe history vol.py -f mem.raw --profile=PROFILE consoles # full console output # Vol3 vol -f mem.raw windows
Master Entry → Category Entries → Deep Topic Skills One master entry, six category entries, and 102 deep topic skills across 14 security domains.
401/403 bypass playbook. Use when encountering access-denied responses on admin panels, API endpoints, or restricted paths.…
Active Directory ACL abuse playbook. Use when exploiting misconfigured AD permissions including GenericAll, WriteDACL, DCSync…
AD Certificate Services attack playbook. Use when targeting misconfigured AD CS for privilege escalation via ESC1-ESC13 template…
Kerberos attack playbook for Active Directory. Use when targeting AD authentication via AS-REP roasting, Kerberoasting,…
AI/ML security playbook. Use when assessing model supply chain attacks (pickle RCE, poisoned weights), adversarial examples,…
Android pentesting playbook. Use when testing Android applications for SSL pinning bypass, exported component abuse, WebView…
Use for authorized security assessment of REST, GraphQL, WebSocket, or SOAP APIs, including discovery, authentication,…
Extract and decrypt Windows DPAPI-protected secrets (Credential Manager, browser logins/cookies, Wi-Fi credentials, KeePass keys)…
Clean and finalize authorized natural-language text intended for readers by auditing suspicious invisible Unicode and rewriting…