Skip to content
Skillpedia
Analysis & spreadsheets35k · #7934

extracting-memory-artifacts-with-rekall

What it does

This tool helps analyze a computer's memory to find signs of suspicious or malicious activity. It looks for hidden programs, injected code, and other anomalies that might indicate an attack.

When to use it

  • ✓When investigating a potential computer attack.
  • ✓When testing system security in a controlled environment.
  • ✓When analyzing malware to understand how it operates.

Skill link

https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/extracting-memory-artifacts-with-rekall/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/extracting-memory-artifacts-with-rekall/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Analyze this memory file to find hidden processes and injected code.”

5 new skills a week. 1 minute to read.

How it works

The tool loads a copy of the computer's memory and uses specific commands to look for unusual patterns. It compares process lists and analyzes how programs use memory to identify suspicious activities.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

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:

  1. Load memory image and auto-detect profile
  2. Run pslist and psscan to find hidden processes
  3. Use malfind to detect injected/hollowed code in process VADs
  4. Examine network connections with netscan
  5. 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}")
FAQ

What is a 'memory dump'?

It's a complete copy of a computer's RAM at a specific moment, used for forensic analysis.

What is 'process injection'?

It's a technique used by malicious programs to insert their code into another legitimate program, making them harder to detect.

Do I need to be an expert to use this?

Some basic computer security knowledge is recommended, but the tool is designed to assist in analysis.

Details

Original description by the author

Uses Rekall memory forensics framework to analyze memory dumps for process hollowing, injected code via VAD anomalies, hidden processes, and rootkit detection. Applies plugins like pslist, psscan, vadinfo, malfind, and dlllist to extract forensic artifacts from Windows memory images. Use during incident response memory analysis. '

repo: mukul975/Anthropic-Cybersecurity-Skills

Popularity

GitHub stars
35k
Ranking position
#7934
License
Apache-2.0
Updated
8/31/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills