name: extracting-memory-artifacts-with-rekall description: > 'Uses Rekall memory forensics framework to analyze memory dumps for process Trigger: When working with extracting memory artifacts with rekall tasks. license: Apache-2.0 metadata: author: "trenchant-labs" version: "1.0" scope: ["root"] originalAuthor: "Anthropic" originalSource: "D:\code\AI-Skills\Anthropic-Cybersecurity-Skills\skills\extracting-memory-artifacts-with-rekall\SKILL.md" importedFrom: "Anthropic-Cybersecurity-Skills" securityScore: "100" securityStatus: "passed" importedAt: "2026-07-01T20:59:59.625Z"
Extracting Memory Artifacts with Rekall
When to Use
- When performing authorized security testing that involves extracting memory artifacts with rekall
- When analyzing malware samples or attack artifacts in a controlled environment
- When conducting red team exercises or penetration testing engagements
- When building detection capabilities based on offensive technique understanding
Prerequisites
- Familiarity with security operations concepts and tools
- Access to a test or lab environment for safe execution
- Python 3.8+ with required dependencies installed
- Appropriate authorization for any testing activities
Instructions
Use Rekall to analyze memory dumps for signs of compromise including process injection, hidden processes, and suspicious network connections.
from rekall import session
from rekall import plugins
# Create a Rekall session with a memory image
s = session.Session(
filename="/path/to/memory.raw",
autodetect=["rsds"],
profile_path=["https://github.com/google/rekall-profiles/raw/master"]
)
# List processes
for proc in s.plugins.pslist():
print(proc)
# Detect injected code
for result in s.plugins.malfind():
print(result)
Key analysis steps:
- Load memory image and auto-detect profile
- Run pslist and psscan to find hidden processes
- Use malfind to detect injected/hollowed code in process VADs
- Examine network connections with netscan
- Extract suspicious DLLs and drivers with dlllist/modules
Examples
from rekall import session
s = session.Session(filename="memory.raw")
# Compare pslist vs psscan for hidden processes
pslist_pids = set(p.pid for p in s.plugins.pslist())
psscan_pids = set(p.pid for p in s.plugins.psscan())
hidden = psscan_pids - pslist_pids
print(f"Hidden PIDs: {hidden}")
Attribution
This skill was originally created by Anthropic and imported from Anthropic-Cybersecurity-Skills.
- Original path:
D:\code\AI-Skills\Anthropic-Cybersecurity-Skills\skills\extracting-memory-artifacts-with-rekall\SKILL.md - Imported by: Trenchant Labs AI Skills Generator
- License: See frontmatter above
Please credit the original author when sharing or modifying this skill.
Related skills
Security Audit Scanner
Premium
Security
Analyzes code to detect OWASP Top 10 vulnerabilities.
Claude Codeadvanced
210
87
954
OWASP Security Checklist
Security
Generates application security checklists based on the OWASP Top 10.
claudeCursorWindsurfintermediate
148
41
496
Threat Model Generator
Security
Generates threat model documents with STRIDE analysis.
claudeCursoradvanced
78
23
336