performing-disk-forensics-investigation

mukul975/Anthropic-Cybersecurity-Skills · updated May 25, 2026

MDX-style export adds YAML metadata + attribution linking explainx.ai and this canonical listing URL.

$npx skills install mukul975/Anthropic-Cybersecurity-Skills/performing-disk-forensics-investigation
0 commentsdiscussion
summary

Conducts disk forensics investigations using forensic imaging, file system analysis, artifact recovery, and timeline reconstruction to support incident response cases. Utilizes tools such as FTK Imager, Autopsy, and The Sleuth Kit for evidence acquisition, deleted file recovery, and artifact examination. Activates for requests involving disk forensics, hard drive analysis, forensic imaging, file recovery, evidence acquisition, or digital forensic investigation.

skill.md
name
performing-disk-forensics-investigation
description
'Conducts disk forensics investigations using forensic imaging, file system analysis, artifact recovery, and timeline reconstruction to support incident response cases. Utilizes tools such as FTK Imager, Autopsy, and The Sleuth Kit for evidence acquisition, deleted file recovery, and artifact examination. Activates for requests involving disk forensics, hard drive analysis, forensic imaging, file recovery, evidence acquisition, or digital forensic investigation. '
domain
cybersecurity
subdomain
incident-response
tags
- disk-forensics - forensic-imaging - evidence-acquisition - file-recovery - chain-of-custody
mitre_attack
- T1070 - T1027 - T1036 - T1564
version
1.0.0
author
mahipal
license
Apache-2.0
nist_csf
- RS.MA-01 - RS.MA-02 - RS.AN-03 - RC.RP-01

Performing Disk Forensics Investigation

When to Use

  • A security incident requires forensic analysis of a system's persistent storage
  • Evidence preservation is needed for potential legal proceedings or HR investigations
  • Deleted files, browser history, or application artifacts must be recovered
  • A timeline of user or adversary activity must be reconstructed from file system metadata
  • Malware persistence mechanisms stored on disk need identification and documentation

Do not use for volatile evidence (running processes, network connections); use memory forensics with Volatility instead.

Prerequisites

  • Forensic workstation with write-blocking hardware or software (Tableau T35u, Arsenal Image Mounter)
  • Forensic imaging software: FTK Imager, Guymager, or dd with dcfldd
  • Analysis platform: Autopsy, FTK (Forensic Toolkit), or X-Ways Forensics
  • Sufficient storage (2-3x the target drive size for image plus working copies)
  • Chain of custody forms and evidence bags for physical media
  • Hash verification tools for evidence integrity (SHA-256)

Workflow

Step 1: Secure and Document the Evidence

Before touching any storage media, establish chain of custody:

  • Photograph the system, noting serial numbers, labels, and cable connections
  • Document the evidence source: device type, make, model, serial number, capacity
  • Complete chain of custody form with date, time, handler name, and reason for acquisition
  • Use a hardware write blocker when connecting the evidence drive to the forensic workstation
Chain of Custody Record:
━━━━━━━━━━━━━━━━━━━━━━━
Case ID:          INC-2025-1547
Evidence ID:      EVD-001
Description:      Samsung 870 EVO 500GB SSD
Serial Number:    S5XXNJ0R912345
Source Host:      WKSTN-042
Acquired By:      [Analyst Name]
Date/Time:        2025-11-15T16:30:00Z
Write Blocker:    Tableau T35u (S/N: T35U-12345)

Step 2: Create a Forensic Image

Produce a bit-for-bit copy of the evidence drive:

Using FTK Imager (Windows):

  1. Connect evidence drive through write blocker
  2. File > Create Disk Image > Select source drive
  3. Choose E01 (Expert Witness Format) for compression and metadata
  4. Set destination path and evidence item information
  5. Enable "Verify images after they are created"
  6. Record source and image hash values

Using dcfldd (Linux):

# Create raw image with hash verification
dcfldd if=/dev/sdb of=/evidence/WKSTN-042.dd \
  hash=sha256 hashlog=/evidence/WKSTN-042.sha256 \
  bs=4096 conv=noerror,sync

# Verify image integrity
sha256sum /evidence/WKSTN-042.dd
Imaging Summary:
Source Drive:    /dev/sdb (Samsung 870 EVO 500GB)
Image File:     WKSTN-042.E01
Image Format:   E01 (Expert Witness)
Source Hash:     SHA-256: a1b2c3d4e5f6...
Image Hash:      SHA-256: a1b2c3d4e5f6...  (MATCH)
Sectors Read:    976,773,168
Errors:          0
Duration:        47 minutes

Step 3: Analyze File System Structure

Open the forensic image in Autopsy or FTK and examine the file system:

  • Identify partition layout (MBR/GPT, NTFS/ext4/APFS partitions)
  • Examine the Master File Table (MFT) for NTFS or inode tables for ext4
  • Identify deleted files and directories (marked as unallocated but not yet overwritten)
  • Recover files from unallocated space using file carving
  • Examine alternate data streams (NTFS ADS) for hidden data

Key Windows Artifacts to Examine:

User Activity:
- NTUSER.DAT (registry hive per user)
- UsrClass.dat (shellbags, file access history)
- Recent files: %AppData%\Microsoft\Windows\Recent\
- Jump lists: %AppData%\Microsoft\Windows\Recent\AutomaticDestinations\

Program Execution:
- Prefetch: C:\Windows\Prefetch\*.pf
- Amcache: C:\Windows\appcompat\Programs\Amcache.hve
- SRUM: C:\Windows\System32\SRU\SRUDB.dat
- ShimCache: SYSTEM registry hive

Persistence:
- Scheduled Tasks: C:\Windows\System32\Tasks\
- Startup folders: %AppData%\Microsoft\Windows\Start Menu\Programs\Startup\
- Services: SYSTEM registry hive

Network:
- WLAN profiles: C:\ProgramData\Microsoft\Wlansvc\Profiles\
- Browser history: Chrome, Firefox, Edge profile directories

Step 4: Reconstruct the Timeline

Build a comprehensive timeline of file system activity:

Using Autopsy Timeline Module:

  1. Generate timeline from all available sources (MFT, event logs, browser history, prefetch)
  2. Filter to the investigation timeframe
  3. Identify clusters of activity correlating with the incident
  4. Document the sequence of attacker actions based on file creation, modification, and access timestamps

Using The Sleuth Kit (command line):

# Generate body file from NTFS image
fls -r -m / WKSTN-042.dd > bodyfile.txt

# Create timeline from body file
mactime -b bodyfile.txt -d > timeline.csv

# Filter timeline to investigation period
grep "2025-11-15" timeline.csv | sort > incident_timeline.csv

Step 5: Recover and Analyze Artifacts

Extract and analyze specific forensic artifacts:

  • Prefetch files: Parse with PECmd to determine program execution times and loaded DLLs
  • Event logs: Parse with EvtxECmd for Windows XML Event Logs
  • Registry: Parse with RegRipper or Registry Explorer for user activity and system configuration
  • Browser artifacts: Parse with Hindsight (Chrome), KAPE, or DB Browser for SQLite databases
  • USB device history: Extract from SYSTEM\CurrentControlSet\Enum\USBSTOR registry key
  • $MFT analysis: Parse with MFTECmd for detailed file metadata including $SI and $FN timestamps

Step 6: Document Findings

Compile a forensic analysis report suitable for legal proceedings:

  • Maintain evidence integrity documentation (hash chain)
  • Document every tool used and its version
  • Record all analysis steps in a reproducible manner
  • Present findings factually without conjecture
  • Clearly distinguish between facts (observed data) and interpretations (analyst conclusions)

Key Concepts

TermDefinition
Forensic ImageBit-for-bit copy of storage media that preserves all data including deleted files and unallocated space
Write BlockerHardware or software device that prevents any modification to evidence media during acquisition
E01 FormatExpert Witness Format used by EnCase and FTK; supports compression, metadata, and built-in hash verification
File CarvingRecovery technique that searches unallocated disk space for file headers and footers to reconstruct deleted files
MFT (Master File Table)NTFS metadata structure containing entries for every file and directory, including deleted entries
MAC TimestampsModified, Accessed, Created timestamps on files used for timeline reconstruction (NTFS also has Entry Modified)
PrefetchWindows artifact recording program execution metadata; contains execution count, timestamps, and loaded DLLs
Unallocated SpaceDisk sectors not assigned to any file; may contain remnants of deleted files recoverable through carving

Tools & Systems

  • FTK Imager: Free forensic imaging tool supporting E01, AFF, and raw formats with built-in hash verification
  • Autopsy: Open-source digital forensics platform built on The Sleuth Kit for comprehensive disk analysis
  • KAPE (Kroll Artifact Parser and Extractor): Triage collection and parsing tool for rapid artifact extraction
  • X-Ways Forensics: Commercial forensic analysis tool known for speed and efficiency on large datasets
  • Eric Zimmerman's Tools: Suite of free forensic parsers (PECmd, MFTECmd, EvtxECmd, RegRipper) for Windows artifacts

Common Scenarios

Scenario: Employee Data Theft Investigation

Context: An employee submitted a resignation and is suspected of copying proprietary files to a USB drive before departing. HR requests a forensic investigation of the employee's workstation.

Approach:

  1. Image the workstation disk using FTK Imager with a write blocker
  2. Parse USB device history from SYSTEM registry to identify connected devices
  3. Examine ShellBags and Jump Lists for evidence of file browsing and copying to removable media
  4. Parse LNK files in the Recent folder to identify recently accessed documents
  5. Analyze browser history for personal cloud storage uploads (Google Drive, Dropbox)
  6. Build a timeline correlating USB connections with file access events

Pitfalls:

  • Failing to image the drive before the IT department reassigns the workstation
  • Not checking cloud storage browser history alongside USB evidence
  • Overlooking Volume Shadow Copies that may contain earlier versions of deleted files
  • Presenting analysis conclusions as fact without supporting evidence documentation

Output Format

DISK FORENSICS INVESTIGATION REPORT
=====================================
Case ID:          INC-2025-1547
Evidence:         EVD-001 (Samsung 870 EVO 500GB SSD)
Examiner:         [Name]
Date of Analysis: 2025-11-16

EVIDENCE INTEGRITY
Source Hash:      SHA-256: a1b2c3d4e5f6...
Image Hash:       SHA-256: a1b2c3d4e5f6... (VERIFIED MATCH)
Write Blocker:    Tableau T35u

PARTITION LAYOUT
Partition 1:  NTFS  100 MB   (System Reserved)
Partition 2:  NTFS  465 GB   (C: - OS and Data)
Partition 3:  NTFS  500 MB   (Recovery)

KEY FINDINGS
1. [Timestamp] - Malware dropper created in %TEMP% (update.exe)
2. [Timestamp] - Scheduled task "WindowsUpdate" created for persistence
3. [Timestamp] - Prefetch shows 14 executions of update.exe
4. [Timestamp] - USB device "Kingston DataTraveler" connected
5. [Timestamp] - 847 files copied to E:\ drive (ShellBag evidence)

RECOVERED ARTIFACTS
- 3 deleted malware samples recovered from unallocated space
- Browser history showing C2 panel access
- Registry evidence of disabled security software

TIMELINE
[Chronological event listing with timestamps and evidence sources]

TOOLS USED
- FTK Imager 4.7.1 (imaging)
- Autopsy 4.21.0 (analysis)
- PECmd 1.5.0 (prefetch parsing)
- MFTECmd 1.2.2 (MFT analysis)
how to use performing-disk-forensics-investigation

How to use performing-disk-forensics-investigation on Cursor

AI-first code editor with Composer

1

Prerequisites

Before installing skills in Cursor, ensure your development environment meets these requirements:

  • Cursor installed and configured on your development machine
  • Node.js version 16.0+ with npm package manager (verify with node --version)
  • Active project directory or workspace where you want to add performing-disk-forensics-investigation
2

Execute installation command

Execute the skills CLI command in your project's root directory to begin installation:

$npx skills install mukul975/Anthropic-Cybersecurity-Skills/performing-disk-forensics-investigation

The skills CLI fetches performing-disk-forensics-investigation from GitHub repository mukul975/Anthropic-Cybersecurity-Skills and configures it for Cursor.

3

Select Cursor when prompted

The CLI will show a list of available agents. Use arrow keys to navigate and space to select Cursor:

◆ Which agents do you want to install to?
│ ── Universal (.agents/skills) ── always included ────
│ • Amp
│ • Antigravity
│ • Cline
│ • Codex
│ ●Cursor(selected)
│ • Cursor
│ • Windsurf
4

Verify installation

Confirm successful installation by checking the skill directory location:

.cursor/skills/performing-disk-forensics-investigation

Reload or restart Cursor to activate performing-disk-forensics-investigation. Access the skill through slash commands (e.g., /performing-disk-forensics-investigation) or your agent's skill management interface.

Security & Verification Notice

We perform automated surface-level scans (Gen AI Scanner, Socket, Snyk) during installation. These checks detect common vulnerabilities but do not guarantee complete security. Always review skill source code and verify the publisher's reputation before production use.

Skills execute code in your development environment. Always verify the publisher's identity, review recent commits, and test in isolated environments before production deployment.

List & Monetize Your Skill

Submit your Claude Code skill and start earning

GET_STARTED →

Use Cases

Task Automation & Efficiency

Automate repetitive workflows and reduce manual effort

Example

Generate reports, summarize documents, draft communications

Save 3-5 hours per week on routine tasks

Knowledge Enhancement

Learn new skills, understand complex topics, get expert guidance

Example

Explain concepts, provide examples, suggest learning resources

Accelerate learning and skill development by 2x

Quality Improvement

Enhance output quality through reviews, suggestions, and refinements

Example

Review drafts, suggest improvements, catch errors

Improve work quality by 30-40% with less effort

Implementation Guide

Prerequisites

  • Claude Desktop or compatible AI client with skill support
  • Clear understanding of task or problem to solve
  • Willingness to iterate and refine outputs

Time Estimate

15-45 minutes depending on use case complexity

Installation Steps

  1. 1.Install skill using provided installation command
  2. 2.Test with simple use case relevant to your work
  3. 3.Evaluate output quality and relevance
  4. 4.Iterate on prompts to improve results
  5. 5.Integrate into regular workflow if valuable

Common Pitfalls

  • Expecting perfect results without iteration
  • Not providing enough context in prompts
  • Using skill for tasks outside its intended scope
  • Accepting outputs without review and validation

Best Practices

✓ Do

  • +Start with clear, specific prompts
  • +Provide relevant context and constraints
  • +Review and refine all outputs before using
  • +Iterate to improve output quality
  • +Document successful prompt patterns

✗ Don't

  • Don't use without understanding skill limitations
  • Don't skip validation of outputs
  • Don't share sensitive information in prompts
  • Don't expect skill to replace human judgment

💡 Pro Tips

  • Be specific about desired format and style
  • Ask for multiple options to choose from
  • Request explanations to understand reasoning
  • Combine AI efficiency with human expertise

When to Use This

✓ Use When

Use when skill capabilities match your task, clear ROI on time saved, and you can validate outputs. Best for repetitive tasks, learning, and quality improvement.

✗ Avoid When

Avoid when task requires deep expertise you can't validate, involves sensitive decisions, or when learning process is more valuable than speed of completion.

Learning Path

  1. 1Familiarize yourself with skill capabilities and limitations
  2. 2Start with low-risk, non-critical tasks
  3. 3Progress to more complex and valuable use cases
  4. 4Build expertise through regular use and experimentation

Discussion

Product Hunt–style comments (not star reviews)
  • No comments yet — start the thread.
general reviews

Ratings

4.563 reviews
  • Olivia Wang· Dec 16, 2024

    Useful defaults in performing-disk-forensics-investigation — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.

  • Noah White· Dec 16, 2024

    performing-disk-forensics-investigation is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.

  • Omar Malhotra· Dec 8, 2024

    Solid pick for teams standardizing on skills: performing-disk-forensics-investigation is focused, and the summary matches what you get after install.

  • Ganesh Mohane· Dec 4, 2024

    We added performing-disk-forensics-investigation from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.

  • Harper Thomas· Dec 4, 2024

    We added performing-disk-forensics-investigation from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.

  • Carlos Rao· Dec 4, 2024

    performing-disk-forensics-investigation fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.

  • Arjun Farah· Nov 27, 2024

    Registry listing for performing-disk-forensics-investigation matched our evaluation — installs cleanly and behaves as described in the markdown.

  • Rahul Santra· Nov 23, 2024

    performing-disk-forensics-investigation reduced setup friction for our internal harness; good balance of opinion and flexibility.

  • Olivia Liu· Nov 23, 2024

    performing-disk-forensics-investigation has been reliable in day-to-day use. Documentation quality is above average for community skills.

  • Carlos Patel· Nov 23, 2024

    performing-disk-forensics-investigation reduced setup friction for our internal harness; good balance of opinion and flexibility.

showing 1-10 of 63

1 / 7