re-disk-forensics

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

A read-only process for examining disk images or storage media to recover deleted files, rebuild timelines, and find suspicious remnants. A disk image is a file that represents the contents of a drive, while E01 is a common forensic image format.

In plain words
What is it for?
It helps analyze partitions and file systems, recover deleted or damaged files, reconstruct activity timelines, locate suspicious files, and perform file recovery from disk images.
Why use it?
It preserves the original evidence by avoiding writes to the source media. Hashes and saved paths make extracted material traceable and help show that the evidence was not changed.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit It helps analyze partitions and file systems, recover deleted or damaged files, reconstruct activity timelines, locate suspicious files, and perform file recovery from disk images.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dslsdzc/rev-skills/re-disk-forensics
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-disk-forensics
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-disk-forensics

README.md
[![agentmods](https://agentmods.dev/badge/skills/dslsdzc/rev-skills/re-disk-forensics/github.svg)](https://agentmods.dev/skills/dslsdzc/rev-skills/re-disk-forensics)
Your own site
<a href="https://agentmods.dev/skills/dslsdzc/rev-skills/re-disk-forensics"><img src="https://agentmods.dev/badge/skills/dslsdzc/rev-skills/re-disk-forensics/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-disk-forensics

Your own site · 80×15
<a href="https://agentmods.dev/skills/dslsdzc/rev-skills/re-disk-forensics"><img src="https://agentmods.dev/badge/skills/dslsdzc/rev-skills/re-disk-forensics.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,848 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.00050 $0.03848
Opus 5 $0.00025 $0.01924
Sonnet 5 $0.00010 $0.00770
Haiku 4.5 $0.00005 $0.00385

Measured 9d ago against content hash 098ed3327ed6, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

re-disk-forensics 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 9d 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-disk-forensics/SKILL.md · 148 lines

How it starts

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

磁盘取证与文件系统分析

何时使用 / 何时不用

  • 用:拿到磁盘镜像(dd / E01)或介质做取证——删除文件恢复、时间线重建、可疑文件/残留数据定位
  • 用:事件响应需要"介质上发生过什么"(删了什么、什么时候写的、留了什么痕迹)
  • 用:分区丢失/损坏后的分区表重建与文件抢救(testdisk)
  • 不用:内存取证(那是 [[re-mem-forensics]],与磁盘取证并列的另一个取证分支)
  • 不用:普通文件系统挂载使用(那要可写挂载;取证一律只读,见坑 1)
  • 不用:加密卷且无密钥——先找密钥(见坑 2)

工具准备

取证铁律:只读。本技能所有工具只读镜像文件、不挂载可写、不在原介质上写任何东西(见坑 1)。镜像获取与可疑对象提取的结果按 sha256 + 路径存档(取证要求可追溯,见 [[platform-tips]])。

sleuthkit —— 取证分析主力(fls/icat/tsk_recover/mmls/fsstat/blkls)

  • Debian/Ubuntu: apt install sleuthkit
  • Fedora: dnf install sleuthkit
  • Arch: pacman -S sleuthkit(extra 仓库)
  • macOS: brew install sleuthkit
  • Windows: WSL 内 Linux 版优先(见 [[platform-tips]] WSL 分支);GUI 用 Autopsy(winget install SleuthKit.Autopsy,内置 sleuthkit 工具)
  • 验证: fls -hmmls -htsk_recover -hmactime -h

testdisk / photorec —— 分区修复与文件雕刻(cgsecurity)

  • Debian/Ubuntu: apt install testdisk(photorec 在同一包内,官方文档确认无独立包)
  • Fedora: dnf install testdisk(photorec CLI 随包;GUI 版独立包 qphotorec
  • Arch: pacman -S testdisk(extra,photorec 随包)
  • openSUSE: zypper install testdisk photorec(该发行版 photorec 为独立包)
  • macOS: brew install testdisk
  • Windows: WSL 内 Linux 版(chocolatey 上 testdisk 包极旧,不推荐)
  • 验证: testdisk /?photorec /?

dd / ewf-tools —— 镜像获取

  • dd: coreutils 自带(Linux/macOS/WSL 均可用)
  • ewf-tools(E01 证据格式,带校验块): Debian/Ubuntu apt install ewf-tools / Fedora dnf install ewf-tools / Arch pacman -S ewf-tools;验证: ewfacquire -V
  • Windows: 只读镜像工具 FTK Imager(GUI,exterro 官网免费版)或 WSL 内 Linux 版

只读挂载 —— loop + ro(需要直接读文件内容时)

  • mount 内置(util-linux);NTFS 需 ntfs-3g: Debian/Ubuntu apt install ntfs-3g / Fedora dnf install ntfs-3g / Arch pacman -S ntfs-3g
  • 验证: mount -o ro,loop,noload ...findmnt 输出包含 ro

autopsy —— 可选 GUI(团队/可视化)

  • Debian/Ubuntu: apt install autopsy;Fedora: dnf install autopsy;Arch: pacman -S autopsy(AUR 或 extra);Windows: winget install SleuthKit.Autopsy;macOS: brew install --cask autopsy

操作步骤

按顺序执行,每步产物(镜像/提取文件/时间线)存档 sha256 + 路径(供 [[re-ioc]] 报告引用)。

Read the full file on GitHub · 148 lines

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. 9d ago First seen · 148 lines · 50 tokens per session scan A 098ed3327ed6

Subscribe to this mod's changes

re-disk-forensics is a skill published in the GitHub repository dslsdzc/rev-skills (50 stars, last pushed 10d ago), licensed Apache-2.0. It adds 50 tokens to every session and 3,848 once invoked, about $0.0003 per session on Opus 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-08-30.

Related

Other skills, from other repositories

analyzing-golang-malware-with-ghidra

Reverse engineer Go-compiled malware in Ghidra by parsing Go buildinfo and pclntab structures, recovering stripped/obfuscated function names (e.g. via GoResolver), and extracting embedded module/dependency strings and types from Go binaries. Use when analyzing a Go-language malware sample, deobfuscating a…

Youngmaidainon/Agent-Level-Up · 95 tokens

analyzing-golang-malware-with-ghidra

Reverse engineer Go-compiled malware in Ghidra by parsing Go buildinfo and pclntab structures, recovering stripped/obfuscated function names (e.g. via GoResolver), and extracting embedded module/dependency strings and types from Go binaries. Use when analyzing a Go-language malware sample, deobfuscating a…

mukul975/Anthropic-Cybersecurity-Skills · 95 tokens

Reverse Engineering & Binary Analysis

Binary analysis, assembly interpretation, disassembly, decompilation, firmware RE, and protocol reverse engineering.

Masriyan/Claude-Code-CyberSecurity-Skill · 26 tokens

analyzing-golang-malware-with-ghidra

Reverse engineer Go-compiled malware using Ghidra with specialized scripts for function recovery, string extraction, and type reconstruction in stripped Go binaries.

plurigrid/asi · 40 tokens

reverse-engineering-binaries-with-ghidra

Uses Ghidra to disassemble and decompile a binary, navigate to key routines via imports and strings, annotate decompiled code, and run headless scripts to automate extraction of C2, crypto, and config. Activates for requests to reverse engineer with Ghidra, decompile a binary, or script Ghidra headless analysis.

meltedinhex/analyst-ai-pack · 80 tokens

reverse-engineering-shellcode

Analyzes position-independent shellcode: disassembling raw bytes at the right architecture, recognizing PEB-walk API resolution and egg hunters, and emulating execution to recover behavior and payloads. Activates for requests to analyze shellcode, disassemble raw position-independent code, or emulate a shellcode blob.

meltedinhex/analyst-ai-pack · 68 tokens