Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

performing-disk-forensics-investigation

БесплатноЗапускает вложенные скриптыНе проверен

Conduct disk forensics investigations using forensic imaging, file system analysis, and timeline reconstruction, with tools such as FTK Imager, Autopsy, and…

mukul975от mukul975★ 37 010 звёзд на GitHub

Об этом скилле

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 p
Полный SKILL.md на GitHub

Установить performing-disk-forensics-investigation в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

LICENSEreferences/api-reference.mdscripts/agent.py

FAQ

Что делает скилл performing-disk-forensics-investigation?

Conduct disk forensics investigations using forensic imaging, file system analysis, and timeline reconstruction, with tools such as FTK Imager, Autopsy, and The Sleuth Kit, for evidence acquisition, deleted file recovery, and artifact examination. Use when a security incident requires forensic analysis of persistent storage or when evidence must be preserved for legal or HR proceedings.

Как установить скилл performing-disk-forensics-investigation?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл performing-disk-forensics-investigation запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить performing-disk-forensics-investigation с