re-memdump

re-memdump is a skill for Claude Code from dslsdzc/rev-skills. It costs 48 tokens per session (3,193 once invoked), scanned A, original, Apache-2.0.

A guide to saving a running process’s memory or analysing an existing core or full-memory dump. It uses tools such as GDB, which is a debugger, and Volatility, which examines saved computer memory.

In plain words
What is it for?
Use it to capture process memory, extract decrypted or unpacked material, inspect a dead process through its core file, or provide a dump for broader memory forensics.
Why use it?
Important keys, decrypted data, unpacked code, or runtime-only content may exist only in memory and disappear when a process stops.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it to capture process memory, extract decrypted or unpacked material, inspect a dead process through its core file, or provide a dump for broader memory forensics.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dslsdzc/rev-skills/re-memdump
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add dslsdzc/rev-skills --skill re-memdump
Clone the repo
git clone --depth 1 https://github.com/dslsdzc/rev-skills

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for re-memdump

README.md
[![agentmods](https://agentmods.dev/badge/skills/dslsdzc/rev-skills/re-memdump/github.svg)](https://agentmods.dev/skills/dslsdzc/rev-skills/re-memdump)
Your own site
<a href="https://agentmods.dev/skills/dslsdzc/rev-skills/re-memdump"><img src="https://agentmods.dev/badge/skills/dslsdzc/rev-skills/re-memdump/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for re-memdump

Your own site · 80×15
<a href="https://agentmods.dev/skills/dslsdzc/rev-skills/re-memdump"><img src="https://agentmods.dev/badge/skills/dslsdzc/rev-skills/re-memdump.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 48 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,193 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00048 $0.03193
Opus 5.5 $0.00019 $0.01277
Sonnet 5.5 $0.00010 $0.00639
Haiku 4.5 $0.00005 $0.00319

Measured 1mo ago against content hash c85ea0c7b3f3, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

re-memdump scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/re-memdump/SKILL.md · 141 lines

How it starts

The opening of the file, as written. The whole thing — 141 lines — stays where its author put it; the contents beside it link to each section on GitHub.

内存转储与提取

何时使用 / 何时不用

  • 用:任何需要读进程内存的任务(找密钥/解密数据、脱壳后提取干净样本、DEX 提取);进程已死后的 core 分析;attach 被禁时的兜底
  • 不用:实时交互调试(那是 [[re-gdb]] / [[re-lldb]] / [[re-x64dbg]] 的活)
  • 不用:静态可得的字符串/结构(静态优先)

工具准备

参考 [[re-analyze/platform-tips]]「直读 vs 转储」决策表与 Linux 内存转储极端段——默认转储优先,直读仅特例。

gdb / gcore(转储主力)

  • Linux: apt install gdb / dnf install gdb / pacman -S gdb(gcore 随附)
  • WSL: Linux 包
  • 验证: gcore --help / gdb --version

gdb core 分析工具

  • gdb(gdb ./target core)、elfutils eu-stack(apt install elfutils)、file core
  • 验证: eu-stack --version

volatility(内存取证分析)

  • 全平台: pip install volatility3(命令 vol)——Volatility 3 是当前唯一维护主线;Volatility 2 已于 2025-05-16 被 upstream 归档(只读),仅用于旧 V2-only 插件/profile 的历史镜像或结果复现,需置于隔离的 Python 2 环境,现代镜像勿作常规 fallback
  • 验证: vol -h;vol -f core windows.info 能识别镜像

proc / psmisc(进程状态)

  • Linux: apt install procps psmisc / dnf install procps-ng psmisc / pacman -S procps-ng psmisc(多数自带)
  • 验证: ps aux、pkill 可用

Windows 转储(procdump / DumpIt,补充分支)

  • procdump(Sysinternals 官方下载,或 choco install sysinternals):procdump -accepteula -ma <pid> out.dmp 全进程内存转储(含托管堆)——x64dbg/windbg 可加载分析
  • DumpIt(Comae 官网):整机物理内存转储(.raw),管理员运行——供 [[re-mem-forensics]] 整机取证
  • 验证: procdump -accepteula -? 输出 usage;转储产物用 file 确认(dmp/raw 头)

操作步骤

  1. 默认转储:gcore -o out <pid>(按明文/代码 materialization 定时机):

    gcore -o out <pid>
    # 或调试器内
    gdb -q -p <pid> -ex 'gcore out' -ex detach -ex quit
    
    • 转储含完整内存 + 寄存器/线程状态(ELF notes),可直接导入 [[re-ghidra]] / [[re-ida]]
    • 时机:转储时机由目标明文/代码的 materialization 决定——经典单层壳在真实 OEP 附近转储通常合适,但 OEP 不是通用完成判据;多阶段 loader、按需/逐页解密、虚拟化保护、反射加载、进程注入与 fake OEP 应按「写→执行转移 + 内存保护变化 + payload 头/导入恢复」定 dump 点,必要时多时点快照(见坑 2;多阶段/fake OEP 的判定正例见 [[re-unpack-simple]] 步骤 3「第一次执行即 OEP 不成立」)
    • 一次转储满足后续所有定向提取需求——不重复多次 dump
  2. 转储前按 maps 过滤 vsyscall/vdso:

    cat /proc/<pid>/maps > maps.txt
    grep -E 'vsyscall|vdso|vvar' maps.txt     # 这些段必须剔除
    # 只保留 r--p / rw-p 可读映射区域作为提取范围
    

    按 [[re-analyze/platform-tips]] Linux 内存转储极端段: [vsyscall](0xffffffffff600000)、[vdso]/[vvar] 读取失败正常,dump 进 core 也只是垃圾页——转储后提取时跳过,或用 maps 白名单方式直读(步骤 5)。

Read the full file on GitHub · 141 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed c85ea0c7b3f3
  2. 2mo ago Changed · +2 lines 19228e3f730f
  3. 2mo ago First seen · 139 lines · 48 tokens per session scan A 1e02abe4bb7f

Subscribe to this mod's changes

re-memdump is a skill published in the GitHub repository dslsdzc/rev-skills (275 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 48 tokens to every session and 3,193 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

re-memdump compared with skills from other repositories

re-memdump next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
re-memdumpdslsdzc/rev-skillsSkill2751mo agoApache-2.0A48Claude Code
deobfuscating-powershell-obfuscated-malwareYoungmaidainon/Agent-Level-UpSkill43mo agoMITA90Claude Code, Codex
conducting-malware-incident-responseYoungmaidainon/Agent-Level-UpSkill43mo agoMITA78Claude Code, Codex
analyzing-golang-malware-with-ghidraMikaru0Mystic/sectinelSkill135mo agoApache-2.0A40Claude Code
analyzing-golang-malware-with-ghidraYoungmaidainon/Agent-Level-UpSkill43mo agoMITA95Claude Code, Codex
analyzing-network-covert-channels-in-malwareYoungmaidainon/Agent-Level-UpSkill43mo agoMITA90Claude Code, Codex
analyzing-heap-spray-exploitationYoungmaidainon/Agent-Level-UpSkill43mo agoMITA46Claude Code, Codex