Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
briiirussell avatar

Disk Forensics

  • 140 installs
  • 341 repo stars
  • Updated May 27, 2026
  • briiirussell/cybersecurity-skills

Disk Forensics is a Claude skill that analyzes disk images, file systems, and memory captures to recover deleted files, extract artifacts, and reconstruct forensic timelines.

About

This skill analyzes disk images, file systems, and memory captures to recover digital evidence and reconstruct timelines for forensic investigations and CTF challenges. A developer or investigator uses it to verify image integrity, mount read-only, list and carve deleted files, extract artifacts, and build a unified event timeline. It requires a confirmed lawful basis and preserves chain of custody before any analysis.

  • Analyzes disk images and file systems to recover deleted files and reconstruct timelines
  • Uses Sleuth Kit, foremost, volatility, exiftool, bulk_extractor with read-only handling
  • Enforces authorization, chain-of-custody, and work-on-copies-only rules

Disk Forensics by the numbers

  • 140 all-time installs (skills.sh)
  • Ranked #915 of 2,203 Security skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
At a glance

disk-forensics capabilities & compatibility

Capabilities
incident triage · recon
Use cases
security audit
Platforms
Linux · Windows · macOS
From the docs

What disk-forensics says it does

Analyze disk images and file systems to recover evidence, reconstruct timelines, and identify artifacts.
SKILL.md
Always work on copies, never originals
SKILL.md
npx skills add https://github.com/briiirussell/cybersecurity-skills --skill disk-forensics

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs140
repo stars341
Last updatedMay 27, 2026
Repositorybriiirussell/cybersecurity-skills

What it does

Recover deleted files and reconstruct a timeline from a disk or memory image during a forensic investigation or CTF.

Who is it for?

Incident responders and CTF players analyzing a forensic disk image for evidence and timeline reconstruction.

Skip if: Capturing the image or containing a live incident (that is incident-triage's upstream phase).

When should I use this skill?

The user mentions disk forensics, file carving, deleted files, evidence recovery, timeline analysis, volatility, autopsy, or sleuthkit.

What you get

A forensic analysis report with verified image hash, recovered files, artifacts, and a unified UTC timeline.

  • Forensic analysis report
  • Recovered files table
  • Unified UTC timeline

By the numbers

  • 8-step forensic methodology
  • 3-point authorization check before analysis

Files

SKILL.mdMarkdownGitHub ↗

Disk Forensics — Digital Evidence Analysis

Analyze disk images and file systems to recover evidence, reconstruct timelines, and identify artifacts.

Cross-references: incident-triage for the upstream containment phase that captures the image this skill analyzes — that skill makes the bit-for-bit copy; this skill analyzes it. breach-patterns for translating the forensic findings into preemptive controls so the same root cause doesn't recur.

Authorization Check

Before analyzing any image, confirm: 1. Lawful basis — the user has authorization for this analysis (internal investigation with documented scope, court-ordered work, signed IR engagement, your own system, CTF / lab environment) 2. Chain of custody is preserved — the image and its hashes were captured in a way that survives evidentiary scrutiny, OR the scope is explicitly non-evidentiary (CTF, internal triage where chain-of-custody is not the goal) 3. Privacy scope — the analysis stays within what was authorized; personal data outside the scope is not pulled, analyzed, or reported

If lawful basis is unclear, ask before proceeding. Never analyze an image you cannot confirm the user is authorized to possess.

Evidence Handling Principles

  • Always work on copies, never originals
  • Verify image integrity with hash comparison before analysis
  • Mount everything read-only
  • Document every command and finding
  • Preserve timestamps — never modify source evidence

Methodology

Step 1: Image Identification and Integrity

Identify the image format and verify integrity:

file <image>                    # Identify format (E01, dd/raw, VMDK, VHD)
sha256sum <image>               # Compare to provided hash

For E01 images, use ewfinfo to extract metadata.

Step 2: Partition Layout

Examine the partition structure:

fdisk -l <image>                # Partition table
mmls <image>                    # Sleuth Kit partition layout

Calculate mount offsets: sector_start × sector_size

Step 3: Mount and Explore

Mount read-only and survey the file system:

mount -o ro,loop,offset=<bytes> <image> /mnt/evidence
ls -laR /mnt/evidence

For encrypted volumes, identify the encryption type and request the key/passphrase.

Step 4: File System Analysis (Sleuth Kit)

fsstat -o <offset> <image>              # File system details
fls -r -o <offset> <image>             # Full file listing (deleted files marked with *)
icat -o <offset> <image> <inode>       # Extract specific file by inode

Step 5: Artifact Recovery

Deleted files: Use fls to find (marked with *), icat to extract by inode.

File carving: Run foremost or scalpel on unallocated space to recover files by header signatures.

Hidden data:

  • NTFS alternate data streams
  • HFS+ resource forks
  • Check image files for steganography: exiftool, binwalk, steghide

System artifacts:

  • Browser history: ~/.mozilla, ~/Library/Safari, AppData\Local\Google
  • System logs: /var/log/*, Windows Event Logs
  • Registry hives (Windows): SAM, SYSTEM, SOFTWARE, NTUSER.DAT
  • Recently accessed files, USB device history, prefetch files

Step 6: Metadata and Timestamps

exiftool <file>                 # EXIF, XMP, IPTC metadata
stat <file>                     # MAC times (Modified, Accessed, Changed)

For NTFS: examine $MFT timestamps and $UsnJrnl for change journal entries.

Use mactime (Sleuth Kit) to generate a unified timeline from body files.

Step 7: Keyword Search

strings <image> | grep -i <keyword>    # Raw string search across image

Use bulk_extractor for automated extraction of emails, URLs, credit card numbers, and other structured data.

Step 8: Timeline Construction

Collect all timestamps into a unified timeline. Cross-reference file events with log entries. Flag anomalies:

  • Timestamps before the OS install date
  • Future-dated files
  • Gaps in otherwise continuous log sequences
  • Timestamps inconsistent with timezone settings

Output Format

# Forensic Analysis Report
## Case: [identifier]
## Image: [filename] — SHA256: [hash]
## Date of Analysis: [date]

### Image Integrity
- Hash verified: [yes/no]
- Algorithm: [SHA256]

### Partition Layout
| # | Type | Start | Size | File System |
|---|------|-------|------|-------------|

### Key Findings
#### Finding 1: [Title]
- **Evidence:** [file path or artifact]
- **Content:** [description]
- **Timestamp:** [UTC]
- **Significance:** [why this matters]

### Recovered Files
| File | Source | Recovery Method | SHA256 | Significance |
|------|--------|-----------------|--------|-------------|

### Timeline
| Timestamp (UTC) | Event | Source | Notes |
|-----------------|-------|--------|-------|

### Conclusions
[Summary of findings and their implications]

Boundaries

  • Work only on provided images and files
  • Maintain read-only access at all times
  • Document chain of custody for real investigations
  • For CTF challenges, focus on finding flags and solving the challenge
  • Never modify evidence or suggest evidence tampering
  • Refuse requests involving unauthorized device access

References

  • NIST SP 800-86: Guide to Integrating Forensic Techniques
  • The Sleuth Kit documentation
  • SANS Digital Forensics cheat sheets

Related skills

FAQ

Does disk-forensics modify the evidence?

No. It always works on copies, verifies image integrity by hash, mounts everything read-only, and never modifies source evidence or timestamps.

What tools does it drive?

Sleuth Kit (mmls, fls, icat, mactime), foremost or scalpel for carving, exiftool and stat for metadata, strings and bulk_extractor for keyword and structured-data extraction.

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.