
Extracting Memory Artifacts
FreeAnalyze memory dumps for security incidents using Rekall.
Free · Opens the source repo
What Extracting Memory Artifacts does
Extracting Memory Artifacts with Rekall is a specialized skill designed for security professionals engaged in incident response and memory forensics. This skill leverages the Rekall memory forensics framework to analyze memory dumps, identifying signs of compromise such as process hollowing, injected code, and hidden processes. By utilizing various Rekall plugins, users can extract critical forensic artifacts from Windows memory images, making it an essential tool for those conducting thorough security assessments.
The skill is particularly useful in scenarios involving malware analysis or during red team exercises, where understanding the techniques used by attackers is crucial. By applying plugins like pslist, psscan, vadinfo, malfind, and dlllist, users can gain insights into the state of a system at the time of the memory dump. This allows for the detection of malicious activities, such as code injection and the presence of rootkits, providing a clearer picture of security incidents.
To effectively use this skill, users should have a solid understanding of security operations and access to a controlled test environment. The skill requires Python 3.8 or higher and necessary dependencies to be installed. With clear instructions and examples provided, users can quickly get started with analyzing memory images, making this skill a practical addition to any security toolkit.
When to use it
Use this skill when conducting authorized security testing, analyzing malware samples, or during penetration testing engagements.
When not to use it
This skill is not suitable for environments without proper authorization or for users unfamiliar with memory forensics concepts.
What you can build with it
Incident Response Analysis
Quickly analyze memory dumps from compromised systems to identify malicious processes and injected code.
Malware Sample Investigation
Utilize Rekall to dissect malware samples in a controlled environment, revealing hidden processes and anomalies.
Red Team Exercises
Enhance red team engagements by understanding and documenting offensive techniques related to memory forensics.
How to install Extracting Memory Artifacts
View source1. Install with the skills CLI
npx skills add mukul975/anthropic-cybersecurity-skills/extracting-memory-artifacts-with-rekall --agent claude-code2. Or install it manually
Download the skill folder and drop it into ~/.claude/skills/ for all projects, or .claude/skills/ to scope it to one repo. Restart Claude Code so it picks up the new skill.
Anthropic's agentic coding CLI, and the reference implementation of Agent Skills. Drop a skill folder into ~/.claude/skills and Claude Code loads it automatically whenever a task matches the skill's description. Claude Code docs
Inside SKILL.md
Written by mukul975Extracting 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}")
Frequently asked questions about Extracting Memory Artifacts
Similar skills
Asset Criticality Scoring for Vulns
Prioritize vulnerabilities based on asset criticality.
Performing Alert Triage with Elastic SIEM
Streamline alert triage processes in Elastic Security.
Active Directory Vulnerability Assessment
Secure your Active Directory with comprehensive assessments.
Active Directory Investigation
Streamline your Active Directory compromise investigations.
Parsing Artifacts with Eric Zimmerman Tools
Efficiently parse Windows forensic artifacts for analysis.
Operationalizing MISP Threat Feeds
Enhance threat detection with curated MISP feeds.
