analyzing-disk-images

analyzing-disk-images is a skill for Claude Code from trilwu/secskills. It costs 119 tokens per session (4,955 once invoked), scanned D, original, MIT.

A guide to investigating a disk image, which is a frozen copy of a computer's storage. It uses forensic tools to examine files, deleted data, operating-system records, and timelines while keeping the evidence unchanged.

In plain words
What is it for?
Use it to examine E01, raw, AFF4, VMDK, or VHDX images, recover deleted files, build activity timelines, inspect registry and browser artifacts, carve files, and look for anti-forensics.
Why use it?
It helps recover information that is missing from a live system, including deleted files and traces hidden in unused disk space. Read-only handling and hashes help show that the evidence was not altered.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the secskills-defense plugin — 22 skills shipped together

Good fit Use it to examine E01, raw, AFF4, VMDK, or VHDX images, recover deleted files, build activity timelines, inspect registry and browser artifacts, carve files, and look for anti-forensics.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/trilwu/secskills/analyzing-disk-images
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 trilwu/secskills --skill analyzing-disk-images
Clone the repo
git clone --depth 1 https://github.com/trilwu/secskills

Made for: Claude Code.

Or install secskills-defense, the plugin that ships this one along with the rest of its 22 skills.

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 analyzing-disk-images

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/trilwu/secskills/analyzing-disk-images"><img src="https://agentmods.dev/badge/skills/trilwu/secskills/analyzing-disk-images.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 119 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,955 The whole file, excluding the scripts and references it only reads on demand.
Security scan D 3 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00119 $0.04955
Opus 5.5 $0.00048 $0.01982
Sonnet 5.5 $0.00024 $0.00991
Haiku 4.5 $0.00012 $0.00496

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

Security

Grade D, and why

analyzing-disk-images scanned grade D with 3 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 3mo 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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

sudo ewfacquire -t /evidence/host01 -f encase6 -c deflate:fast \

Reaches for credential fileshighPrivilege escalation

SSH keys, cloud credentials, git-credentials, .npmrc, /etc/shadow: reading these is how a config file becomes a credential leak.

# /etc/{crontab,cron.d,rc.local}, /etc/systemd, ~/.ssh/authorized_keys

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

grep -aiE "sudo|ssh|useradd|wget|curl" /mnt/evidence/var/log/auth.log
secskills-defense/skills/analyzing-disk-images/SKILL.md · 389 lines

How it starts

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

Analyzing Disk Images

A disk image is a frozen crime scene, and the whole discipline is preserving that. Work only from a verified, read-only copy, prove nothing changed with hashes at every step, and remember that the deleted and the unallocated often say more than the live file system — because that is exactly what someone tried to remove.

When to Use

  • You have an acquired disk image (.E01, .dd/.raw, .aff4, .vmdk, .vhdx) to examine
  • Recovering deleted files, or reconstructing what was on a wiped or reformatted volume
  • Building a file-system timeline or a full super-timeline across the whole image
  • Carving files and artifacts out of unallocated space, slack, and free clusters
  • Mining registry hives, browser data, logs, or other artifacts offline from a mounted image
  • Confirming or refuting anti-forensics — timestomping, wiping, hidden or encrypted containers

When NOT to Use

  • You have a RAM capture, not a disk image — use analyzing-memory-images
  • You have a live or triage Windows host and want the artifact-by-artifact investigation, not raw image handling — use investigating-windows-endpoints
  • You are sweeping a live Linux host for persistence — use analyzing-linux-persistence
  • You need the wider incident-response process — scoping, containment, eradication — use responding-to-incidents
  • You recovered a specific sample and want to detonate it — use analyzing-malware

Acquisition and Integrity

Everything downstream is worthless if the image is not provably the disk. Never touch the original media without a write blocker, and never analyze the original image — work on a copy.

# Acquire to E01 (EWF) with built-in compression and hashing — preferred format
sudo ewfacquire -t /evidence/host01 -f encase6 -c deflate:fast \
     -C "IR-2026-014" -E "1" -D "Dell OptiPlex sda" /dev/sda

# Raw acquisition alternative — dd with error handling, hash inline
sudo dd if=/dev/sda bs=4M conv=noerror,sync status=progress \
     | tee /evidence/host01.dd | sha256sum

# Verify an existing E01 against its stored hashes
ewfverify /evidence/host01.E01

# Hash the working copy and record it — MD5 and SHA-256 both, for legacy tooling
md5sum   /evidence/host01.dd
sha256sum /evidence/host01.dd

Read the full file on GitHub · 389 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. 3mo ago First seen · 389 lines · 119 tokens per session scan D c483e064f874

Subscribe to this mod's changes

analyzing-disk-images is a skill published in the GitHub repository trilwu/secskills (211 stars, last pushed 2mo ago), licensed MIT. It adds 119 tokens to every session and 4,955 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it D with 3 findings (asks for root, reaches for credential files, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

analyzing-disk-images compared with skills from other repositories

analyzing-disk-images next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
analyzing-disk-imagestrilwu/secskillsSkill2112mo agoMITD119Claude Code
claude-md-improveranthropics/claude-plugins-officialSkill49kyesterdayApache-2.0A82Claude Code
agent-platform-model-registrygoogle/skillsSkill25ktodayApache-2.0A60Claude Code, Codex
gke-reliabilitygoogle/skillsSkill25ktodayApache-2.0A85Claude Code, Codex
gke-workload-securitygoogle/skillsSkill25ktodayApache-2.0A171Claude Code, Codex
google-cloud-solution-agentic-analytics-spark-knowledge-cataloggoogle/skillsSkill25ktodayApache-2.0A132Claude Code, Codex
glance-canonical-layoutsandroid/skillsSkill11k7d agoApache-2.0A56Claude Code