[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6ADQF1YDZYWPBPRF2QF3VZW":3,"skill-same:01M6ADQF1YDZYWPBPRF2QF3VZW":129},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":49,"linkOnly":50,"markdownContent":51,"markdownBody":52,"frontMatter":53,"refName":66,"commitSha":67,"skillDirectory":68,"forksCount":69,"repositoryHtmlUrl":70,"repositoryHomepageUrl":71,"ownerHtmlUrl":72,"ownerBlogUrl":73,"ownerDescription":74,"updatedAt":75,"install":76,"resources":89},"01M6ADQF1YDZYWPBPRF2QF3VZW","analyzing-mft-for-deleted-file-recovery","NTFS MFT 已删除文件恢复","Analyze the NTFS Master File Table ($MFT) with MFTECmd, analyzeMFT, and X-Ways Forensics to recover metadata and content of deleted files by examining MFT record entries, $LogFile, $UsnJrnl, and MFT slack space. Use when recovering evidence of deleted files, reconstructing NTFS file-system timelines, or detecting anti-forensic timestomping during a Windows forensic examination.","使用 MFTECmd、analyzeMFT 和 X-Ways Forensics 分析 NTFS 主文件表（$MFT），通过检查 MFT 记录条目、$LogFile、$UsnJrnl 和 MFT slack 空间，恢复已删除文件的元数据与内容。适用于恢复已删除文件的证据、重建 NTFS 文件系统时间线，或在 Windows 取证检查中检测反取证时间戳篡改。","mukul975\u002FAnthropic-Cybersecurity-Skills","mukul975","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F42860185?v=4","01M6ADEQR8T5M4EEG6C67BQCWF","Mahipal","01M6ADJPMYWG1E5GM1FWBE3128",36146,"Apache-2.0",null,"https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fanalyzing-mft-for-deleted-file-recovery\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BR4MYFKGCC4WCWVJ50KJ2C","安全工程师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BTHYSJPJ500X64JJ5CH06D","安全事件响应与威胁狩猎","SCENARIO","使用场景",[31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48],"analyzing mft for deleted file recovery","file","mft","file-system-forensics","mft-slack-space","logfile","usn-journal","mftecmd","deleted-files","ntfs","slack","dfir","file-recovery","forensics","metadata","content","windows","cybersecurity","2026-11-10 10:12:30",false,"---\nname: analyzing-mft-for-deleted-file-recovery\ndescription: Analyze the NTFS Master File Table ($MFT) with MFTECmd, analyzeMFT,\n  and X-Ways Forensics to recover metadata and content of deleted files by examining\n  MFT record entries, $LogFile, $UsnJrnl, and MFT slack space. Use when recovering\n  evidence of deleted files, reconstructing NTFS file-system timelines, or detecting\n  anti-forensic timestomping during a Windows forensic examination.\ndomain: cybersecurity\nsubdomain: digital-forensics\ntags:\n- mft\n- ntfs\n- deleted-files\n- file-recovery\n- mftecmd\n- usn-journal\n- logfile\n- mft-slack-space\n- file-system-forensics\n- dfir\nversion: '1.0'\nauthor: mahipal\nlicense: Apache-2.0\nnist_csf:\n- RS.AN-03\n- DE.AE-02\n- RS.MA-01\nmitre_attack:\n- T1070.004\n- T1070.006\n- T1005\n---\n\n# Analyzing MFT for Deleted File Recovery\n\n## Overview\n\nThe NTFS Master File Table ($MFT) is the central metadata repository for every file and directory on an NTFS volume. Each file is represented by at least one 1024-byte MFT record containing attributes such as $STANDARD_INFORMATION (timestamps, permissions), $FILE_NAME (name, parent directory, timestamps), and $DATA (file content or cluster run pointers). When a file is deleted, its MFT record is marked as inactive (InUse flag cleared) but the metadata remains until the entry is reallocated by a new file. This persistence makes MFT analysis a primary technique for recovering deleted file evidence, reconstructing file system timelines, and detecting anti-forensic activity such as timestomping.\n\n\n## When to Use\n\n- When investigating security incidents that require analyzing mft for deleted file recovery\n- When building detection rules or threat hunting queries for this domain\n- When SOC analysts need structured procedures for this analysis type\n- When validating security monitoring coverage for related attack techniques\n\n## Prerequisites\n\n- Forensic disk image (E01, raw\u002Fdd, VMDK, or VHDX format)\n- MFTECmd (Eric Zimmerman) or analyzeMFT (Python-based)\n- FTK Imager, Arsenal Image Mounter, or similar for image mounting\n- Timeline Explorer or Excel for CSV analysis\n- Python 3.8+ for custom analysis scripts\n- Understanding of NTFS file system internals\n\n## MFT Structure and Record Layout\n\n### MFT Record Header\n\nEach MFT record begins with the signature \"FILE\" (0x46494C45) and contains:\n\n| Offset | Size | Field |\n|--------|------|-------|\n| 0x00 | 4 bytes | Signature (\"FILE\") |\n| 0x04 | 2 bytes | Offset to update sequence |\n| 0x06 | 2 bytes | Size of update sequence |\n| 0x08 | 8 bytes | $LogFile sequence number |\n| 0x10 | 2 bytes | Sequence number |\n| 0x12 | 2 bytes | Hard link count |\n| 0x14 | 2 bytes | Offset to first attribute |\n| 0x16 | 2 bytes | Flags (0x01 = InUse, 0x02 = Directory) |\n| 0x18 | 4 bytes | Used size of MFT record |\n| 0x1C | 4 bytes | Allocated size of MFT record |\n| 0x20 | 8 bytes | Base file record reference |\n| 0x28 | 2 bytes | Next attribute ID |\n\n### Key MFT Attributes\n\n| Type ID | Name | Description |\n|---------|------|-------------|\n| 0x10 | $STANDARD_INFORMATION | Timestamps, flags, owner ID, security ID |\n| 0x30 | $FILE_NAME | Filename, parent MFT reference, timestamps |\n| 0x40 | $OBJECT_ID | Unique GUID for the file |\n| 0x50 | $SECURITY_DESCRIPTOR | ACL permissions |\n| 0x60 | $VOLUME_NAME | Volume label (volume metadata files only) |\n| 0x80 | $DATA | File content (resident if \u003C700 bytes) or cluster run list |\n| 0x90 | $INDEX_ROOT | B-tree index root for directories |\n| 0xA0 | $INDEX_ALLOCATION | B-tree index entries for large directories |\n| 0xB0 | $BITMAP | Allocation bitmap for index or MFT |\n\n## Deleted File Recovery Techniques\n\n### Technique 1: MFT Record Analysis with MFTECmd\n\n```powershell\n# Extract $MFT from forensic image using KAPE or FTK Imager\n# Parse the $MFT with MFTECmd\nMFTECmd.exe -f \"C:\\Evidence\\$MFT\" --csv C:\\Output --csvf mft_full.csv\n\n# Filter for deleted files (InUse = FALSE) in Timeline Explorer\n# Look for entries where InUse column is False\n```\n\n**Identifying Deleted Files in CSV Output:**\n- `InUse` = False indicates a deleted or reallocated record\n- `ParentPath` shows original file location before deletion\n- `FileSize` shows the original size (may still be recoverable)\n- Timestamps in `$STANDARD_INFORMATION` and `$FILE_NAME` attributes persist\n\n### Technique 2: USN Journal ($UsnJrnl:$J) Analysis\n\nThe USN Journal records all changes to files on an NTFS volume, including creation, deletion, rename, and data modification events.\n\n```powershell\n# Parse USN Journal with MFTECmd\nMFTECmd.exe -f \"C:\\Evidence\\$J\" --csv C:\\Output --csvf usn_journal.csv\n\n# Key USN reason codes for deletion evidence:\n# USN_REASON_FILE_DELETE     = 0x00000200\n# USN_REASON_CLOSE           = 0x80000000\n# USN_REASON_RENAME_OLD_NAME = 0x00001000\n# USN_REASON_RENAME_NEW_NAME = 0x00002000\n```\n\n### Technique 3: $LogFile Transaction Analysis\n\nThe $LogFile stores NTFS transaction records that can reveal file operations even after the USN Journal has been cycled.\n\n```powershell\n# Parse $LogFile with LogFileParser\nLogFileParser.exe -l \"C:\\Evidence\\$LogFile\" -o C:\\Output\n\n# Look for REDO and UNDO operations indicating file deletion:\n# - DeallocateFileRecordSegment\n# - DeleteAttribute\n# - UpdateResidentValue (clearing InUse flag)\n```\n\n### Technique 4: MFT Slack Space Analysis\n\nMFT slack space exists between the end of the used portion of an MFT record and the end of the allocated 1024 bytes. This area may contain remnants of previous file records.\n\n```python\nimport struct\n\ndef parse_mft_slack(mft_path: str, output_path: str):\n    \"\"\"Extract and analyze MFT slack space for deleted file remnants.\"\"\"\n    with open(mft_path, \"rb\") as f:\n        record_size = 1024\n        record_num = 0\n        slack_findings = []\n\n        while True:\n            record = f.read(record_size)\n            if len(record) \u003C record_size:\n                break\n\n            # Verify FILE signature\n            if record[:4] != b\"FILE\":\n                record_num += 1\n                continue\n\n            # Get used size from offset 0x18\n            used_size = struct.unpack(\"\u003CI\", record[0x18:0x1C])[0]\n\n            if used_size \u003C record_size:\n                slack = record[used_size:]\n                # Check if slack contains readable strings or attribute headers\n                if any(c > 0x20 and c \u003C 0x7F for c in slack[:50]):\n                    slack_findings.append({\n                        \"record\": record_num,\n                        \"used_size\": used_size,\n                        \"slack_size\": record_size - used_size,\n                        \"slack_preview\": slack[:100].hex()\n                    })\n\n            record_num += 1\n\n    return slack_findings\n```\n\n## Correlation with Supporting Artifacts\n\n### Cross-Reference MFT with $Recycle.Bin\n\n```powershell\n# Parse Recycle Bin with RBCmd\nRBCmd.exe -d \"C:\\Evidence\\$Recycle.Bin\" --csv C:\\Output --csvf recycle_bin.csv\n\n# Correlate: $I files contain original path and deletion timestamp\n# Match MFT entry numbers from $R files back to original MFT records\n```\n\n### Cross-Reference MFT with Volume Shadow Copies\n\n```powershell\n# List volume shadow copies\nvssadmin list shadows\n\n# Mount shadow copies and extract $MFT from each\n# Compare MFT records across shadow copies to track file changes over time\n```\n\n## Forensic Value\n\n- **Deleted file metadata recovery**: Original filename, path, size, and timestamps\n- **Timeline reconstruction**: File creation, modification, access, and deletion events\n- **Timestomping detection**: Comparing $SI vs $FN timestamps\n- **Data carving guidance**: MFT cluster runs point to file content on disk\n- **Anti-forensic detection**: Identifying wiped or manipulated MFT records\n\n## References\n\n- NTFS MFT Advanced Forensic Analysis: https:\u002F\u002Fwww.deaddisk.com\u002Fposts\u002Fntfs-mft-advanced-forensic-analysis-guide\u002F\n- MFT Slack Space Forensic Value: https:\u002F\u002Fwww.sygnia.co\u002Fblog\u002Fthe-forensic-value-of-mft-slack-space\u002F\n- MFTECmd Documentation: https:\u002F\u002Fericzimmerman.github.io\u002F\n- SANS FOR500: Windows Forensic Analysis\n\n## Example Output\n\n```text\n$ MFTECmd.exe -f \"C:\\Evidence\\$MFT\" --csv \u002Fanalysis\u002Fmft_output\n\nMFTECmd v1.2.2 - MFT Parser\n==============================\nInput: C:\\Evidence\\$MFT (Size: 384 MB)\nTotal MFT Entries: 395,264\n\nParsing MFT entries... Done (12.4 seconds)\n\n--- Deleted File Recovery Summary ---\nTotal Entries:          395,264\nActive Files:           245,832\nDeleted Files:          149,432\n  Recoverable:          87,234 (resident data or clusters not reallocated)\n  Partially Recoverable: 31,456 (some clusters overwritten)\n  Unrecoverable:        30,742 (all clusters reallocated)\n\n--- Recently Deleted Files (Incident Window: 2024-01-15 to 2024-01-18) ---\nMFT Entry | Filename                          | Path                               | Size      | Deleted (UTC)         | Recoverable\n----------|-----------------------------------|------------------------------------|-----------|-----------------------|------------\n148923    | exfil_tool.exe                    | C:\\ProgramData\\Updates\\            | 1,258,496 | 2024-01-17 02:45:12   | YES\n148924    | exfil_tool.log                    | C:\\ProgramData\\Updates\\            | 45,312    | 2024-01-17 02:45:14   | YES\n149001    | passwords.txt                     | C:\\Users\\jsmith\\Desktop\\           | 2,048     | 2024-01-17 02:50:33   | YES\n149150    | scan_results.csv                  | C:\\Users\\jsmith\\AppData\\Local\\Temp | 892,416   | 2024-01-17 03:00:01   | PARTIAL\n149200    | mimikatz.exe                      | C:\\Windows\\Temp\\                   | 1,250,816 | 2024-01-18 01:15:22   | YES\n149201    | sekurlsa.log                      | C:\\Windows\\Temp\\                   | 32,768    | 2024-01-18 01:15:25   | YES\n149302    | .bash_history                     | C:\\Users\\jsmith\\                   | 4,096     | 2024-01-18 03:00:00   | NO\n149400    | ClearEventLogs.ps1                | C:\\Windows\\Temp\\                   | 1,536     | 2024-01-18 03:01:12   | YES\n\n--- $STANDARD_INFORMATION vs $FILE_NAME Timestamp Analysis (Timestomping Detection) ---\nMFT Entry | Filename            | $SI Created          | $FN Created          | Delta     | Verdict\n----------|---------------------|----------------------|----------------------|-----------|----------\n148923    | exfil_tool.exe      | 2023-06-15 10:00:00  | 2024-01-15 14:34:02  | -214 days | TIMESTOMPED\n149200    | mimikatz.exe        | 2022-01-01 00:00:00  | 2024-01-16 02:30:15  | -745 days | TIMESTOMPED\n\nRecovered files exported to: \u002Fanalysis\u002Fmft_output\u002Frecovered\u002F\nFull CSV report: \u002Fanalysis\u002Fmft_output\u002Fmft_analysis.csv (395,264 rows)\nTimeline CSV: \u002Fanalysis\u002Fmft_output\u002Fmft_timeline.csv\n```\n","# Analyzing MFT for Deleted File Recovery\n\n## Overview\n\nThe NTFS Master File Table ($MFT) is the central metadata repository for every file and directory on an NTFS volume. Each file is represented by at least one 1024-byte MFT record containing attributes such as $STANDARD_INFORMATION (timestamps, permissions), $FILE_NAME (name, parent directory, timestamps), and $DATA (file content or cluster run pointers). When a file is deleted, its MFT record is marked as inactive (InUse flag cleared) but the metadata remains until the entry is reallocated by a new file. This persistence makes MFT analysis a primary technique for recovering deleted file evidence, reconstructing file system timelines, and detecting anti-forensic activity such as timestomping.\n\n\n## When to Use\n\n- When investigating security incidents that require analyzing mft for deleted file recovery\n- When building detection rules or threat hunting queries for this domain\n- When SOC analysts need structured procedures for this analysis type\n- When validating security monitoring coverage for related attack techniques\n\n## Prerequisites\n\n- Forensic disk image (E01, raw\u002Fdd, VMDK, or VHDX format)\n- MFTECmd (Eric Zimmerman) or analyzeMFT (Python-based)\n- FTK Imager, Arsenal Image Mounter, or similar for image mounting\n- Timeline Explorer or Excel for CSV analysis\n- Python 3.8+ for custom analysis scripts\n- Understanding of NTFS file system internals\n\n## MFT Structure and Record Layout\n\n### MFT Record Header\n\nEach MFT record begins with the signature \"FILE\" (0x46494C45) and contains:\n\n| Offset | Size | Field |\n|--------|------|-------|\n| 0x00 | 4 bytes | Signature (\"FILE\") |\n| 0x04 | 2 bytes | Offset to update sequence |\n| 0x06 | 2 bytes | Size of update sequence |\n| 0x08 | 8 bytes | $LogFile sequence number |\n| 0x10 | 2 bytes | Sequence number |\n| 0x12 | 2 bytes | Hard link count |\n| 0x14 | 2 bytes | Offset to first attribute |\n| 0x16 | 2 bytes | Flags (0x01 = InUse, 0x02 = Directory) |\n| 0x18 | 4 bytes | Used size of MFT record |\n| 0x1C | 4 bytes | Allocated size of MFT record |\n| 0x20 | 8 bytes | Base file record reference |\n| 0x28 | 2 bytes | Next attribute ID |\n\n### Key MFT Attributes\n\n| Type ID | Name | Description |\n|---------|------|-------------|\n| 0x10 | $STANDARD_INFORMATION | Timestamps, flags, owner ID, security ID |\n| 0x30 | $FILE_NAME | Filename, parent MFT reference, timestamps |\n| 0x40 | $OBJECT_ID | Unique GUID for the file |\n| 0x50 | $SECURITY_DESCRIPTOR | ACL permissions |\n| 0x60 | $VOLUME_NAME | Volume label (volume metadata files only) |\n| 0x80 | $DATA | File content (resident if \u003C700 bytes) or cluster run list |\n| 0x90 | $INDEX_ROOT | B-tree index root for directories |\n| 0xA0 | $INDEX_ALLOCATION | B-tree index entries for large directories |\n| 0xB0 | $BITMAP | Allocation bitmap for index or MFT |\n\n## Deleted File Recovery Techniques\n\n### Technique 1: MFT Record Analysis with MFTECmd\n\n```powershell\n# Extract $MFT from forensic image using KAPE or FTK Imager\n# Parse the $MFT with MFTECmd\nMFTECmd.exe -f \"C:\\Evidence\\$MFT\" --csv C:\\Output --csvf mft_full.csv\n\n# Filter for deleted files (InUse = FALSE) in Timeline Explorer\n# Look for entries where InUse column is False\n```\n\n**Identifying Deleted Files in CSV Output:**\n- `InUse` = False indicates a deleted or reallocated record\n- `ParentPath` shows original file location before deletion\n- `FileSize` shows the original size (may still be recoverable)\n- Timestamps in `$STANDARD_INFORMATION` and `$FILE_NAME` attributes persist\n\n### Technique 2: USN Journal ($UsnJrnl:$J) Analysis\n\nThe USN Journal records all changes to files on an NTFS volume, including creation, deletion, rename, and data modification events.\n\n```powershell\n# Parse USN Journal with MFTECmd\nMFTECmd.exe -f \"C:\\Evidence\\$J\" --csv C:\\Output --csvf usn_journal.csv\n\n# Key USN reason codes for deletion evidence:\n# USN_REASON_FILE_DELETE     = 0x00000200\n# USN_REASON_CLOSE           = 0x80000000\n# USN_REASON_RENAME_OLD_NAME = 0x00001000\n# USN_REASON_RENAME_NEW_NAME = 0x00002000\n```\n\n### Technique 3: $LogFile Transaction Analysis\n\nThe $LogFile stores NTFS transaction records that can reveal file operations even after the USN Journal has been cycled.\n\n```powershell\n# Parse $LogFile with LogFileParser\nLogFileParser.exe -l \"C:\\Evidence\\$LogFile\" -o C:\\Output\n\n# Look for REDO and UNDO operations indicating file deletion:\n# - DeallocateFileRecordSegment\n# - DeleteAttribute\n# - UpdateResidentValue (clearing InUse flag)\n```\n\n### Technique 4: MFT Slack Space Analysis\n\nMFT slack space exists between the end of the used portion of an MFT record and the end of the allocated 1024 bytes. This area may contain remnants of previous file records.\n\n```python\nimport struct\n\ndef parse_mft_slack(mft_path: str, output_path: str):\n    \"\"\"Extract and analyze MFT slack space for deleted file remnants.\"\"\"\n    with open(mft_path, \"rb\") as f:\n        record_size = 1024\n        record_num = 0\n        slack_findings = []\n\n        while True:\n            record = f.read(record_size)\n            if len(record) \u003C record_size:\n                break\n\n            # Verify FILE signature\n            if record[:4] != b\"FILE\":\n                record_num += 1\n                continue\n\n            # Get used size from offset 0x18\n            used_size = struct.unpack(\"\u003CI\", record[0x18:0x1C])[0]\n\n            if used_size \u003C record_size:\n                slack = record[used_size:]\n                # Check if slack contains readable strings or attribute headers\n                if any(c > 0x20 and c \u003C 0x7F for c in slack[:50]):\n                    slack_findings.append({\n                        \"record\": record_num,\n                        \"used_size\": used_size,\n                        \"slack_size\": record_size - used_size,\n                        \"slack_preview\": slack[:100].hex()\n                    })\n\n            record_num += 1\n\n    return slack_findings\n```\n\n## Correlation with Supporting Artifacts\n\n### Cross-Reference MFT with $Recycle.Bin\n\n```powershell\n# Parse Recycle Bin with RBCmd\nRBCmd.exe -d \"C:\\Evidence\\$Recycle.Bin\" --csv C:\\Output --csvf recycle_bin.csv\n\n# Correlate: $I files contain original path and deletion timestamp\n# Match MFT entry numbers from $R files back to original MFT records\n```\n\n### Cross-Reference MFT with Volume Shadow Copies\n\n```powershell\n# List volume shadow copies\nvssadmin list shadows\n\n# Mount shadow copies and extract $MFT from each\n# Compare MFT records across shadow copies to track file changes over time\n```\n\n## Forensic Value\n\n- **Deleted file metadata recovery**: Original filename, path, size, and timestamps\n- **Timeline reconstruction**: File creation, modification, access, and deletion events\n- **Timestomping detection**: Comparing $SI vs $FN timestamps\n- **Data carving guidance**: MFT cluster runs point to file content on disk\n- **Anti-forensic detection**: Identifying wiped or manipulated MFT records\n\n## References\n\n- NTFS MFT Advanced Forensic Analysis: https:\u002F\u002Fwww.deaddisk.com\u002Fposts\u002Fntfs-mft-advanced-forensic-analysis-guide\u002F\n- MFT Slack Space Forensic Value: https:\u002F\u002Fwww.sygnia.co\u002Fblog\u002Fthe-forensic-value-of-mft-slack-space\u002F\n- MFTECmd Documentation: https:\u002F\u002Fericzimmerman.github.io\u002F\n- SANS FOR500: Windows Forensic Analysis\n\n## Example Output\n\n```text\n$ MFTECmd.exe -f \"C:\\Evidence\\$MFT\" --csv \u002Fanalysis\u002Fmft_output\n\nMFTECmd v1.2.2 - MFT Parser\n==============================\nInput: C:\\Evidence\\$MFT (Size: 384 MB)\nTotal MFT Entries: 395,264\n\nParsing MFT entries... Done (12.4 seconds)\n\n--- Deleted File Recovery Summary ---\nTotal Entries:          395,264\nActive Files:           245,832\nDeleted Files:          149,432\n  Recoverable:          87,234 (resident data or clusters not reallocated)\n  Partially Recoverable: 31,456 (some clusters overwritten)\n  Unrecoverable:        30,742 (all clusters reallocated)\n\n--- Recently Deleted Files (Incident Window: 2024-01-15 to 2024-01-18) ---\nMFT Entry | Filename                          | Path                               | Size      | Deleted (UTC)         | Recoverable\n----------|-----------------------------------|------------------------------------|-----------|-----------------------|------------\n148923    | exfil_tool.exe                    | C:\\ProgramData\\Updates\\            | 1,258,496 | 2024-01-17 02:45:12   | YES\n148924    | exfil_tool.log                    | C:\\ProgramData\\Updates\\            | 45,312    | 2024-01-17 02:45:14   | YES\n149001    | passwords.txt                     | C:\\Users\\jsmith\\Desktop\\           | 2,048     | 2024-01-17 02:50:33   | YES\n149150    | scan_results.csv                  | C:\\Users\\jsmith\\AppData\\Local\\Temp | 892,416   | 2024-01-17 03:00:01   | PARTIAL\n149200    | mimikatz.exe                      | C:\\Windows\\Temp\\                   | 1,250,816 | 2024-01-18 01:15:22   | YES\n149201    | sekurlsa.log                      | C:\\Windows\\Temp\\                   | 32,768    | 2024-01-18 01:15:25   | YES\n149302    | .bash_history                     | C:\\Users\\jsmith\\                   | 4,096     | 2024-01-18 03:00:00   | NO\n149400    | ClearEventLogs.ps1                | C:\\Windows\\Temp\\                   | 1,536     | 2024-01-18 03:01:12   | YES\n\n--- $STANDARD_INFORMATION vs $FILE_NAME Timestamp Analysis (Timestomping Detection) ---\nMFT Entry | Filename            | $SI Created          | $FN Created          | Delta     | Verdict\n----------|---------------------|----------------------|----------------------|-----------|----------\n148923    | exfil_tool.exe      | 2023-06-15 10:00:00  | 2024-01-15 14:34:02  | -214 days | TIMESTOMPED\n149200    | mimikatz.exe        | 2022-01-01 00:00:00  | 2024-01-16 02:30:15  | -745 days | TIMESTOMPED\n\nRecovered files exported to: \u002Fanalysis\u002Fmft_output\u002Frecovered\u002F\nFull CSV report: \u002Fanalysis\u002Fmft_output\u002Fmft_analysis.csv (395,264 rows)\nTimeline CSV: \u002Fanalysis\u002Fmft_output\u002Fmft_timeline.csv\n```\n",{"name":5,"tags":54,"author":55,"domain":48,"license":16,"version":56,"nist_csf":57,"subdomain":61,"description":7,"mitre_attack":62},[33,40,39,43,38,37,36,35,34,42],"mahipal","1.0",[58,59,60],"RS.AN-03","DE.AE-02","RS.MA-01","digital-forensics",[63,64,65],"T1070.004","T1070.006","T1005","main","54a798831d2266a3ca61ce68a7acb80b81160d57","skills\u002Fanalyzing-mft-for-deleted-file-recovery",4425,"https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills","https:\u002F\u002Fmahipal.engineer\u002FAnthropic-Cybersecurity-Skills\u002F","https:\u002F\u002Fgithub.com\u002Fmukul975","Mahipal.engineer","🔐 Cybersecurity | 💻 Dev | 📷 Street Photographer\r\n🎓 MSc | 📚 Research & AI Security","2026-08-31 12:32:44",{"source":9,"skillName":5,"commands":77,"prompt":87,"zipAvailable":88},[78,81,84],{"tool":79,"command":80},"npx","npx skills add mukul975\u002FAnthropic-Cybersecurity-Skills --skill analyzing-mft-for-deleted-file-recovery",{"tool":82,"command":83},"bunx","bunx skills add mukul975\u002FAnthropic-Cybersecurity-Skills --skill analyzing-mft-for-deleted-file-recovery",{"tool":85,"command":86},"pnpm","pnpm dlx skills add mukul975\u002FAnthropic-Cybersecurity-Skills --skill analyzing-mft-for-deleted-file-recovery","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fanalyzing-mft-for-deleted-file-recovery\u002FSKILL.md",true,[90,96,101,105,111,115,119,125],{"path":91,"resourceType":92,"resourceTypeDesc":93,"sizeBytes":94,"sourceHtmlUrl":95},"assets\u002Ftemplate.md","ASSET","资产文件",741,"https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fanalyzing-mft-for-deleted-file-recovery\u002Fassets\u002Ftemplate.md",{"path":97,"resourceType":97,"resourceTypeDesc":98,"sizeBytes":99,"sourceHtmlUrl":100},"LICENSE","许可证",11255,"https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fanalyzing-mft-for-deleted-file-recovery\u002FLICENSE",{"path":102,"resourceType":97,"resourceTypeDesc":98,"sizeBytes":103,"sourceHtmlUrl":104},"LICENSE.txt",1467,"https:\u002F\u002Fgithub.com\u002Fderseitenschneider\u002Fdotfiles\u002Fblob\u002Fmain\u002Fclaude-config\u002F.claude\u002Fskills\u002Fsynced\u002Fc18e4183-2bcf-4f84-9592-16baf9918832_492d02ae-7d32-4227-a9d4-d9f601100de4\u002Fbuilt-in-browser\u002FLICENSE.txt",{"path":106,"resourceType":107,"resourceTypeDesc":108,"sizeBytes":109,"sourceHtmlUrl":110},"references\u002Fapi-reference.md","REFERENCE","参考文档",1672,"https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fanalyzing-mft-for-deleted-file-recovery\u002Freferences\u002Fapi-reference.md",{"path":112,"resourceType":107,"resourceTypeDesc":108,"sizeBytes":113,"sourceHtmlUrl":114},"references\u002Fstandards.md",1169,"https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fanalyzing-mft-for-deleted-file-recovery\u002Freferences\u002Fstandards.md",{"path":116,"resourceType":107,"resourceTypeDesc":108,"sizeBytes":117,"sourceHtmlUrl":118},"references\u002Fworkflows.md",1038,"https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fanalyzing-mft-for-deleted-file-recovery\u002Freferences\u002Fworkflows.md",{"path":120,"resourceType":121,"resourceTypeDesc":122,"sizeBytes":123,"sourceHtmlUrl":124},"scripts\u002Fagent.py","SCRIPT","脚本",6088,"https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fanalyzing-mft-for-deleted-file-recovery\u002Fscripts\u002Fagent.py",{"path":126,"resourceType":121,"resourceTypeDesc":122,"sizeBytes":127,"sourceHtmlUrl":128},"scripts\u002Fprocess.py",4501,"https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fanalyzing-mft-for-deleted-file-recovery\u002Fscripts\u002Fprocess.py",[130,162,191,223,249,281],{"skillNo":131,"name":132,"nameZh":133,"description":134,"descriptionZh":135,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":136,"categories":137,"keywords":142,"publishedAt":49},"01M6AGDM3HJXTKXX15ZZ0ZVCJ3","verifying-build-provenance-with-slsa-sigstore","SLSA 构建来源验证","Verifies artifact signatures and SLSA provenance using Sigstore's cosign (verify, verify-attestation, verify-blob-attestation) and slsa-verifier (verify-artifact), enforcing keyless OIDC builder identity and source repo against SLSA Build levels. Use in CI\u002FCD before deploying artifacts, when consuming third-party attestations, establishing a SLSA Build L3 pipeline, or confirming provenance during incident response or admission control.","使用 Sigstore 的 cosign（verify、verify-attestation、verify-blob-attestation）和 slsa-verifier（verify-artifact）验证工件签名和 SLSA 来源（provenance），强制校验 keyless OIDC 构建者身份和源仓库是否符合 SLSA Build 级别。适用于 CI\u002FCD 中部署工件前、消费第三方证明时、建立 SLSA Build L3 管道，或在事件响应或准入控制期间确认来源的场景。","https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fverifying-build-provenance-with-slsa-sigstore\u002FSKILL.md",[138,139],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":140,"categoryName":141,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8C32Q37WAMK06SGMFC02VFP","软件供应链安全",[143,144,145,146,147,48,148,149,150,151,152,153,154,155,156,157,158,159,160,161],"sigstore","provenance","slsa","verifying build provenance with slsa sigstore","security","incident response","identity","pr","code","artifacts","ci","supply-chain","pipeline","supply-chain-security","t1195","attestation","code-signing","cosign","keyless",{"skillNo":163,"name":164,"nameZh":165,"description":166,"descriptionZh":167,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":168,"categories":169,"keywords":174,"publishedAt":49},"01M6AGDGBPWYVZ2F11GFKJ4HZ9","validating-tpm-measured-boot-attestation","TPM 测量启动验证","Verifies TPM 2.0 measured-boot integrity and remote attestation with tpm2-tools -- reading PCRs (tpm2_pcrread), replaying the boot event log, generating and checking signed quotes (tpm2_quote\u002Ftpm2_checkquote), and sealing secrets to a PCR policy. Use to confirm a system booted trusted firmware\u002Fkernel for Zero Trust device posture, detect boot-chain tampering via PCR drift, or build a golden-value baseline for fleet attestation.","使用 tpm2-tools 验证 TPM 2.0 测量启动（measured boot）的完整性和远程证明：读取 PCR（tpm2_pcrread）、重放启动事件日志、生成并检查签名报价（tpm2_quote\u002Ftpm2_checkquote），以及将机密封印（seal）到 PCR 策略。适用于确认系统已启动可信固件\u002F内核以实现零信任（Zero Trust）设备状态、通过 PCR 漂移检测启动链篡改，或构建黄金值基线用于机群（fleet）证明。","https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fvalidating-tpm-measured-boot-attestation\u002FSKILL.md",[170,171],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":172,"categoryName":173,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8C89JJEXGGRGHS6XVXDA46K","终端安全加固",[175,158,176,177,147,178,48,150,179,180,181,182,183,184,185,186,187,188,189,190],"boot","TPM","validating tpm measured boot attestation","policy","verification","ZeRO","firmware","Tools","measured-boot","PCR","integrity","secrets","remote-attestation","tpm2-tools","integrity-verification","trusted-computing",{"skillNo":192,"name":193,"nameZh":194,"description":195,"descriptionZh":196,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":197,"categories":198,"keywords":205,"publishedAt":49},"01M6AGDCW0Y4FXZ3362GT1941M","validating-backup-integrity-for-recovery","备份完整性验证","Validates backup integrity through cryptographic hash verification, automated restore testing, corruption detection, and recoverability checks to confirm backups are reliable for disaster recovery and ransomware response. Use before relying on backups for recovery, when building post-backup validation pipelines, auditing backup infrastructure for compliance, or checking immutable\u002Fair-gapped backups for silent corruption or tampering.","通过加密哈希验证、自动化恢复测试、损坏检测和可恢复性检查来验证备份完整性，确认备份对于灾难恢复和勒索软件响应是可靠的。适用于在依赖备份进行恢复之前、构建备份后验证管道、审计备份基础设施以满足合规要求，或检查不可变\u002Fair-gapped（气隙）备份是否存在静默损坏或篡改的场景。","https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fvalidating-backup-integrity-for-recovery\u002FSKILL.md",[199,202],{"categoryNo":200,"categoryName":201,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQGD4WETX0HM3SM9QKQ15B","SRE 工程师",{"categoryNo":203,"categoryName":204,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BSSTY86MWS6W5GDQWB1ADQ","备份与灾难恢复",[185,206,207,208,209,48,210,211,179,212,213,214,215,216,217,218,219,220,221,222],"backup","recovery","validating backup integrity for recovery","testing","infrastructure","validation","compliance","hash-verification","incident-response","ransomware","cryptocurrency","detection","t1078","t1490","immutable","disaster-recovery","restore-testing",{"skillNo":224,"name":225,"nameZh":226,"description":227,"descriptionZh":228,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":229,"categories":230,"keywords":235,"publishedAt":49},"01M6AGD9GBG2KZ336AE763J3WH","triaging-windows-with-kape","KAPE Windows 取证收集","Runs KAPE (Kroll Artifact Parser and Extractor) to collect targeted forensic artifacts (registry hives, $MFT, event logs, prefetch, browser data) via Targets and parse them with Modules wrapping Eric Zimmerman's EZ Tools (PECmd, MFTECmd, RECmd). Use during early incident containment\u002Ftriage when full disk imaging is impractical but a defensible, parseable Windows artifact set is needed quickly, including at-scale remote collection.","运行 KAPE（Kroll Artifact Parser and Extractor），通过 Targets 收集目标取证工件（注册表配置单元、$MFT、事件日志、prefetch、浏览器数据），并使用封装 Eric Zimmerman 的 EZ Tools（PECmd、MFTECmd、RECmd）的 Modules 进行解析。适用于事件遏制\u002F分诊早期阶段——此时完整磁盘镜像不切实际，但需要快速获得可采信、可解析的 Windows 工件集，包括大规模远程收集。","https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Ftriaging-windows-with-kape\u002FSKILL.md",[231,232],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":233,"categoryName":234,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8C9JZH3GWXPJ6CQG5P7J48Y","数字取证与电子证据分析",[47,236,237,48,238,239,240,241,42,33,38,242,243,244,61,245,182,246,247,248],"kape","triaging windows with kape","registry","browser","logs","windows-forensics","data","prefetch","eric-zimmerman","SET","collection","pecmd","artifact-collection",{"skillNo":250,"name":251,"nameZh":252,"description":253,"descriptionZh":254,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":255,"categories":256,"keywords":261,"publishedAt":49},"01M6AGD5PW5J4EVZM958WD74ZQ","triaging-vulnerabilities-with-ssvc-framework","SSVC 漏洞优先级分诊","Triages and prioritizes vulnerabilities with CISA's Stakeholder-Specific Vulnerability Categorization (SSVC) decision tree, weighing exploitation status (via the CISA KEV catalog and FIRST EPSS API), technical impact, automatability, and mission prevalence to output Track\u002FTrack*\u002FAttend\u002FAct decisions. Use when prioritizing vulnerability scan results (OpenVAS, Nessus, Qualys) for remediation planning beyond raw CVSS scores.","使用 CISA 的 Stakeholder-Specific Vulnerability Categorization（SSVC，利益相关方特定漏洞分类）决策树对漏洞进行分诊和优先级排序，权衡利用状态（通过 CISA KEV 目录和 FIRST EPSS API）、技术影响、自动化程度和任务普遍性，输出 Track\u002FTrack*\u002FAttend\u002FAct 决策。适用于对漏洞扫描结果（OpenVAS、Nessus、Qualys）进行优先级排序以制定修复计划，而不局限于原始 CVSS 分数的场景。","https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Ftriaging-vulnerabilities-with-ssvc-framework\u002FSKILL.md",[257,260],{"categoryNo":258,"categoryName":259,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQV98CYQ7TEW2D1MRQ00TE","安全公告与漏洞管理",{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},[262,263,264,48,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280],"vulnerabilities","framework","triaging vulnerabilities with ssvc framework","status","planning","CISA","vulnerability-management","risk-management","nessus","qualys","openvas","cvss","remediation","risk","vulnerability","api","prioritization","ssvc","decision-tree",{"skillNo":282,"name":283,"nameZh":284,"description":285,"descriptionZh":286,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":287,"categories":288,"keywords":291,"publishedAt":49},"01M6AGD24TTQQM4CXG69E3B9TJ","triaging-security-incident","安全事件初步分诊","Performs initial triage of security incidents using the NIST SP 800-61r3 and SANS PICERL frameworks, classifying incident type, assigning priority by business impact, and routing to the appropriate response team. Use when a SIEM\u002FEDR alert needs human classification, concurrent alerts must be prioritized, or a user report or threat-intel IOC match requires initial incident categorization.","使用 NIST SP 800-61r3 和 SANS PICERL 框架对安全事件进行初步分诊，分类事件类型、按业务影响分配优先级，并路由到相应的响应团队。适用于 SIEM\u002FEDR 告警需要人工分类、并发告警必须确定优先级，或用户报告或威胁情报 IOC 匹配需要初步事件分类的场景。","https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Ftriaging-security-incident\u002FSKILL.md",[289,290],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},[147,292,48,293,32,294,295,296,297,298,299,218,300,219,301,302,303,304,305,306],"triaging security incident","siem","ioc","soc","NIST-800-61","NIST","severity","edr","execution","analysis","classification","severity-classification","incident-triage","SANS-PICERL","SOC-operations"]