aniket2348823/vigilagent / .agents/skills/analyzing-mft-for-deleted-file-recovery
analyzing-mft-for-deleted-file-recovery
UnverifiedAnalyze the NTFS Master File Table ($MFT) to recover metadata and content of deleted files by examining MFT record entries, $LogFile, $UsnJrnl, and MFT slack space using MFTECmd, analyzeMFT, and X-Ways Forensics.
| File | Kind | Size |
|---|---|---|
| LICENSE | other | 11.0 KB |
| SKILL.md | skill md | 10.2 KB |
| assets/template.md | markdown | 741 B |
| references/api-reference.md | markdown | 1.6 KB |
| references/standards.md | markdown | 1.1 KB |
| references/workflows.md | markdown | 1.0 KB |
| scripts/agent.py | script | 5.9 KB |
| scripts/process.py | script | 4.4 KB |
references/workflows.md
View on GitHub# Workflows - MFT Deleted File Recovery
## Workflow 1: Basic Deleted File Discovery
```
Extract $MFT from forensic image
|
Parse with MFTECmd to CSV
|
Filter for InUse = False (deleted records)
|
Analyze ParentPath, FileName, FileSize
|
Cross-reference with USN Journal for deletion timestamps
|
Document findings with original paths and timestamps
```
## Workflow 2: MFT Slack Space Recovery
```
Extract raw $MFT binary
|
Parse each 1024-byte record
|
Compare used_size vs allocated_size (1024)
|
Extract slack bytes between used and allocated
|
Search for attribute headers (0x10, 0x30, 0x80)
|
Reconstruct partial file metadata from slack data
```
## Workflow 3: Timeline Reconstruction
```
Parse $MFT for all timestamps ($SI and $FN)
|
Parse $J (USN Journal) for change records
|
Parse $LogFile for transaction records
|
Merge into unified timeline
|
Identify file creation, modification, deletion sequences
|
Flag timestomping indicators ($SI Created < $FN Created)
```
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |