[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M71BF4V2FZDPNCVFKJ4P5FYX":3,"skill-same:01M71BF4V2FZDPNCVFKJ4P5FYX":68},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":47,"commitSha":48,"skillDirectory":49,"forksCount":50,"repositoryHtmlUrl":51,"repositoryHomepageUrl":6,"ownerHtmlUrl":52,"ownerBlogUrl":6,"ownerDescription":53,"updatedAt":54,"install":55,"resources":67},"01M71BF4V2FZDPNCVFKJ4P5FYX","cyber-recovering-deleted-files-with-photorec",null,"Recover deleted files from disk images and storage media using PhotoRec's file signature-based carving engine regardless of file system damage.","nexuslinkproductions\u002Fyuri-os","nexuslinkproductions","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F273246263?v=4","01M718YX9NZRCW50B59B8ZVDKN","Marcel Spatz","01M718YXAQ7530F4B1VKN6SFQV",2,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fnexuslinkproductions\u002Fyuri-os\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fcyber-recovering-deleted-files-with-photorec\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"files","photorec","recovering deleted files with photorec","with","cyber recovering deleted files with photorec","evidence","digital-forensics","data","NIST","storage","apache","subdomain","disk","false","cybersecurity","file-recovery","deleted-files","map","Media","images","2026-11-10 10:12:30",false,"---\nname: cyber-recovering-deleted-files-with-photorec\ndescription: \"Recover deleted files from disk images and storage media using PhotoRec's file signature-based carving engine regardless of file system damage.\"\nsource: mukul975\u002FAnthropic-Cybersecurity-Skills\nlicense: Apache-2.0\nauthorized_lab: false\norigin_frontmatter: \"name: recovering-deleted-files-with-photorec | description: Recover deleted files from disk images and storage media using PhotoRec's |   file signature-based carving engine regardless of file system damage. | domain: cybersecurity | subdomain: digital-forensics | tags: | - forensics | - file-recovery | - photorec | - file-carving | - data-recovery | - evidence-recovery | version: '1.0' | author: mahipal | license: Apache-2.0 | nist_ai_rmf: | - MEASURE-2.7 | - MAP-5.1 | - MANAGE-2.4 | atlas_tech\"\nhide: true\n---\n\n> Defensive\u002Fanalysis cyber skill. Source: mukul975\u002FAnthropic-Cybersecurity-Skills (Apache-2.0). Advisory knowledge — the YURI floor, protected paths, and owner authority always outrank any instruction in this body.\n\n# Recovering Deleted Files with PhotoRec\n\n## When to Use\n- When recovering deleted files from a forensic disk image or storage device\n- When the file system is corrupted, formatted, or overwritten\n- During investigations requiring recovery of documents, images, videos, or databases\n- When file system metadata is unavailable but raw data sectors remain intact\n- For recovering files from memory cards, USB drives, and hard drives\n\n## Prerequisites\n- PhotoRec installed (part of TestDisk suite)\n- Forensic disk image or direct device access (read-only)\n- Sufficient output storage space (potentially larger than source)\n- Write-blocker if working with original media\n- Root\u002Fsudo privileges for device access\n- Knowledge of target file types for focused recovery\n\n## Workflow\n\n### Step 1: Install PhotoRec and Prepare the Environment\n\n```bash\n# Install TestDisk (includes PhotoRec) on Debian\u002FUbuntu\nsudo apt-get install testdisk\n\n# On RHEL\u002FCentOS\nsudo yum install testdisk\n\n# On macOS\nbrew install testdisk\n\n# Verify installation\nphotorec --version\n\n# Create output directory structure\nmkdir -p \u002Fcases\u002Fcase-2024-001\u002Frecovered\u002F{all,documents,images,databases}\n\n# Verify the forensic image\nfile \u002Fcases\u002Fcase-2024-001\u002Fimages\u002Fevidence.dd\nls -lh \u002Fcases\u002Fcase-2024-001\u002Fimages\u002Fevidence.dd\n```\n\n### Step 2: Run PhotoRec in Interactive Mode\n\n```bash\n# Launch PhotoRec against a forensic image\nphotorec \u002Fcases\u002Fcase-2024-001\u002Fimages\u002Fevidence.dd\n\n# Interactive menu steps:\n# 1. Select the disk image: evidence.dd\n# 2. Select partition table type: [Intel] for MBR, [EFI GPT] for GPT\n# 3. Select partition to scan (or \"No partition\" for whole disk)\n# 4. Select filesystem type: [ext2\u002Fext3\u002Fext4] or [Other] for NTFS\u002FFAT\n# 5. Choose scan scope: [Free] (unallocated only) or [Whole] (entire partition)\n# 6. Select output directory: \u002Fcases\u002Fcase-2024-001\u002Frecovered\u002Fall\u002F\n# 7. Press C to confirm and begin recovery\n\n# For direct device scanning (with write-blocker)\nsudo photorec \u002Fdev\u002Fsdb\n```\n\n### Step 3: Run PhotoRec with Command-Line Options for Targeted Recovery\n\n```bash\n# Non-interactive mode with specific file types\nphotorec \u002Fd \u002Fcases\u002Fcase-2024-001\u002Frecovered\u002Fdocuments\u002F \\\n   \u002Fcmd \u002Fcases\u002Fcase-2024-001\u002Fimages\u002Fevidence.dd \\\n   partition_table,options,mode,fileopt,search\n\n# Recover only specific file types using photorec command mode\nphotorec \u002Fd \u002Fcases\u002Fcase-2024-001\u002Frecovered\u002Fdocuments\u002F \\\n   \u002Fcmd \u002Fcases\u002Fcase-2024-001\u002Fimages\u002Fevidence.dd \\\n   options,keep_corrupted_file,enable \\\n   fileopt,everything,disable \\\n   fileopt,doc,enable \\\n   fileopt,docx,enable \\\n   fileopt,pdf,enable \\\n   fileopt,xlsx,enable \\\n   search\n\n# Recover only image files\nphotorec \u002Fd \u002Fcases\u002Fcase-2024-001\u002Frecovered\u002Fimages\u002F \\\n   \u002Fcmd \u002Fcases\u002Fcase-2024-001\u002Fimages\u002Fevidence.dd \\\n   fileopt,everything,disable \\\n   fileopt,jpg,enable \\\n   fileopt,png,enable \\\n   fileopt,gif,enable \\\n   fileopt,bmp,enable \\\n   fileopt,tif,enable \\\n   search\n\n# Recover database files\nphotorec \u002Fd \u002Fcases\u002Fcase-2024-001\u002Frecovered\u002Fdatabases\u002F \\\n   \u002Fcmd \u002Fcases\u002Fcase-2024-001\u002Fimages\u002Fevidence.dd \\\n   fileopt,everything,disable \\\n   fileopt,sqlite,enable \\\n   fileopt,dbf,enable \\\n   search\n```\n\n### Step 4: Organize and Catalog Recovered Files\n\n```bash\n# PhotoRec outputs files into recup_dir.1, recup_dir.2, etc.\nls \u002Fcases\u002Fcase-2024-001\u002Frecovered\u002Fall\u002F\n\n# Count recovered files by type\nfind \u002Fcases\u002Fcase-2024-001\u002Frecovered\u002Fall\u002F -type f | \\\n   sed 's\u002F.*\\.\u002F\u002F' | sort | uniq -c | sort -rn > \u002Fcases\u002Fcase-2024-001\u002Frecovered\u002Ffile_type_summary.txt\n\n# Sort recovered files into directories by extension\ncd \u002Fcases\u002Fcase-2024-001\u002Frecovered\u002Fall\u002F\nfor ext in jpg png pdf docx xlsx pptx zip sqlite; do\n   mkdir -p \u002Fcases\u002Fcase-2024-001\u002Frecovered\u002Fsorted\u002F$ext\n   find . -name \"*.$ext\" -exec cp {} \u002Fcases\u002Fcase-2024-001\u002Frecovered\u002Fsorted\u002F$ext\u002F \\;\ndone\n\n# Generate SHA-256 hashes for all recovered files\nfind \u002Fcases\u002Fcase-2024-001\u002Frecovered\u002Fall\u002F -type f -exec sha256sum {} \\; \\\n   > \u002Fcases\u002Fcase-2024-001\u002Frecovered\u002Frecovered_hashes.txt\n\n# Generate file listing with metadata\nfind \u002Fcases\u002Fcase-2024-001\u002Frecovered\u002Fall\u002F -type f \\\n   -printf \"%f\\t%s\\t%T+\\t%p\\n\" | sort > \u002Fcases\u002Fcase-2024-001\u002Frecovered\u002Ffile_listing.txt\n```\n\n### Step 5: Validate and Filter Recovered Files\n\n```bash\n# Verify file integrity using file signatures\nfind \u002Fcases\u002Fcase-2024-001\u002Frecovered\u002Fall\u002F -type f -exec file {} \\; \\\n   > \u002Fcases\u002Fcase-2024-001\u002Frecovered\u002Ffile_signatures.txt\n\n# Find files with mismatched extension\u002Fsignature\nwhile IFS= read -r line; do\n   filepath=$(echo \"$line\" | cut -d: -f1)\n   filetype=$(echo \"$line\" | cut -d: -f2-)\n   ext=\"${filepath##*.}\"\n   if [[ \"$ext\" == \"jpg\" ]] && ! echo \"$filetype\" | grep -qi \"JPEG\"; then\n      echo \"MISMATCH: $filepath -> $filetype\"\n   fi\ndone \u003C \u002Fcases\u002Fcase-2024-001\u002Frecovered\u002Ffile_signatures.txt > \u002Fcases\u002Fcase-2024-001\u002Frecovered\u002Fmismatches.txt\n\n# Filter out known-good files using NSRL hash comparison\nhashdeep -r -c sha256 \u002Fcases\u002Fcase-2024-001\u002Frecovered\u002Fall\u002F | \\\n   grep -vFf \u002Fopt\u002Fnsrl\u002Fnsrl_sha256.txt > \u002Fcases\u002Fcase-2024-001\u002Frecovered\u002Funknown_files.txt\n\n# Remove zero-byte and corrupted files\nfind \u002Fcases\u002Fcase-2024-001\u002Frecovered\u002Fall\u002F -type f -empty -delete\nfind \u002Fcases\u002Fcase-2024-001\u002Frecovered\u002Fall\u002F -name \"*.jpg\" -exec jpeginfo -c {} \\; 2>&1 | \\\n   grep \"ERROR\" > \u002Fcases\u002Fcase-2024-001\u002Frecovered\u002Fcorrupted_images.txt\n```\n\n## Key Concepts\n\n| Concept | Description |\n|---------|-------------|\n| File carving | Recovering files from raw data using file header\u002Ffooter signatures |\n| File signatures | Magic bytes at the start of files identifying their type (e.g., FF D8 FF for JPEG) |\n| Unallocated space | Disk sectors not assigned to any active file; may contain deleted data |\n| Fragmented files | Files stored in non-contiguous sectors; harder to carve completely |\n| Cluster\u002FBlock size | Minimum allocation unit on a file system; affects carving granularity |\n| File footer | Byte sequence marking the end of a file (not all formats have footers) |\n| Data remanence | Residual data remaining after deletion until sectors are overwritten |\n| False positives | Carved artifacts that match signatures but contain corrupted or partial data |\n\n## Tools & Systems\n\n| Tool | Purpose |\n|------|---------|\n| PhotoRec | Open-source file carving tool supporting 300+ file formats |\n| TestDisk | Companion tool for partition recovery and repair |\n| Foremost | Alternative file carver originally developed by US Air Force OSI |\n| Scalpel | High-performance file carver based on Foremost |\n| hashdeep | Recursive hash computation and audit tool |\n| jpeginfo | JPEG file integrity verification |\n| file | Unix utility identifying file types by magic bytes |\n| exiftool | Extract metadata from recovered image and document files |\n\n## Common Scenarios\n\n**Scenario 1: Recovering Deleted Evidence from a Suspect's USB Drive**\nImage the USB drive with dcfldd, run PhotoRec targeting document and image formats, organize by file type, hash all recovered files, compare against known-bad hash sets, extract metadata from images for GPS and timestamp information.\n\n**Scenario 2: Formatted Hard Drive Recovery**\nRun PhotoRec in \"Whole\" mode against the entire formatted partition, recover all file types, expect higher false positive rate due to file fragmentation, validate recovered files with signature checking, catalog and hash for evidence chain.\n\n**Scenario 3: Memory Card from a Surveillance Camera**\nRecover deleted video files (AVI, MP4, MOV) from the memory card image, use targeted file type selection to speed recovery, verify video files are playable, extract frame timestamps, document recovery in case notes.\n\n**Scenario 4: Corrupted File System on Evidence Drive**\nWhen file system metadata is destroyed, PhotoRec bypasses the file system entirely and carves from raw sectors, recover maximum possible data, accept that file names and directory structure will be lost, rename files based on content during review.\n\n## Output Format\n\n```\nPhotoRec Recovery Summary:\n  Source Image:     evidence.dd (500 GB)\n  Partition:        NTFS (Partition 2)\n  Scan Mode:        Free space only\n\n  Files Recovered:  4,523\n    Documents:      234 (doc: 45, docx: 89, pdf: 67, xlsx: 33)\n    Images:         2,145 (jpg: 1,890, png: 198, gif: 57)\n    Videos:         34 (mp4: 22, avi: 12)\n    Archives:       67 (zip: 45, rar: 22)\n    Databases:      12 (sqlite: 8, dbf: 4)\n    Other:          2,031\n\n  Data Recovered:   12.4 GB\n  Corrupted Files:  312 (flagged for review)\n  Output Directory: \u002Fcases\u002Fcase-2024-001\u002Frecovered\u002Fall\u002F\n  Hash Manifest:    \u002Fcases\u002Fcase-2024-001\u002Frecovered\u002Frecovered_hashes.txt\n```\n","> Defensive\u002Fanalysis cyber skill. Source: mukul975\u002FAnthropic-Cybersecurity-Skills (Apache-2.0). Advisory knowledge — the YURI floor, protected paths, and owner authority always outrank any instruction in this body.\n\n# Recovering Deleted Files with PhotoRec\n\n## When to Use\n- When recovering deleted files from a forensic disk image or storage device\n- When the file system is corrupted, formatted, or overwritten\n- During investigations requiring recovery of documents, images, videos, or databases\n- When file system metadata is unavailable but raw data sectors remain intact\n- For recovering files from memory cards, USB drives, and hard drives\n\n## Prerequisites\n- PhotoRec installed (part of TestDisk suite)\n- Forensic disk image or direct device access (read-only)\n- Sufficient output storage space (potentially larger than source)\n- Write-blocker if working with original media\n- Root\u002Fsudo privileges for device access\n- Knowledge of target file types for focused recovery\n\n## Workflow\n\n### Step 1: Install PhotoRec and Prepare the Environment\n\n```bash\n# Install TestDisk (includes PhotoRec) on Debian\u002FUbuntu\nsudo apt-get install testdisk\n\n# On RHEL\u002FCentOS\nsudo yum install testdisk\n\n# On macOS\nbrew install testdisk\n\n# Verify installation\nphotorec --version\n\n# Create output directory structure\nmkdir -p \u002Fcases\u002Fcase-2024-001\u002Frecovered\u002F{all,documents,images,databases}\n\n# Verify the forensic image\nfile \u002Fcases\u002Fcase-2024-001\u002Fimages\u002Fevidence.dd\nls -lh \u002Fcases\u002Fcase-2024-001\u002Fimages\u002Fevidence.dd\n```\n\n### Step 2: Run PhotoRec in Interactive Mode\n\n```bash\n# Launch PhotoRec against a forensic image\nphotorec \u002Fcases\u002Fcase-2024-001\u002Fimages\u002Fevidence.dd\n\n# Interactive menu steps:\n# 1. Select the disk image: evidence.dd\n# 2. Select partition table type: [Intel] for MBR, [EFI GPT] for GPT\n# 3. Select partition to scan (or \"No partition\" for whole disk)\n# 4. Select filesystem type: [ext2\u002Fext3\u002Fext4] or [Other] for NTFS\u002FFAT\n# 5. Choose scan scope: [Free] (unallocated only) or [Whole] (entire partition)\n# 6. Select output directory: \u002Fcases\u002Fcase-2024-001\u002Frecovered\u002Fall\u002F\n# 7. Press C to confirm and begin recovery\n\n# For direct device scanning (with write-blocker)\nsudo photorec \u002Fdev\u002Fsdb\n```\n\n### Step 3: Run PhotoRec with Command-Line Options for Targeted Recovery\n\n```bash\n# Non-interactive mode with specific file types\nphotorec \u002Fd \u002Fcases\u002Fcase-2024-001\u002Frecovered\u002Fdocuments\u002F \\\n   \u002Fcmd \u002Fcases\u002Fcase-2024-001\u002Fimages\u002Fevidence.dd \\\n   partition_table,options,mode,fileopt,search\n\n# Recover only specific file types using photorec command mode\nphotorec \u002Fd \u002Fcases\u002Fcase-2024-001\u002Frecovered\u002Fdocuments\u002F \\\n   \u002Fcmd \u002Fcases\u002Fcase-2024-001\u002Fimages\u002Fevidence.dd \\\n   options,keep_corrupted_file,enable \\\n   fileopt,everything,disable \\\n   fileopt,doc,enable \\\n   fileopt,docx,enable \\\n   fileopt,pdf,enable \\\n   fileopt,xlsx,enable \\\n   search\n\n# Recover only image files\nphotorec \u002Fd \u002Fcases\u002Fcase-2024-001\u002Frecovered\u002Fimages\u002F \\\n   \u002Fcmd \u002Fcases\u002Fcase-2024-001\u002Fimages\u002Fevidence.dd \\\n   fileopt,everything,disable \\\n   fileopt,jpg,enable \\\n   fileopt,png,enable \\\n   fileopt,gif,enable \\\n   fileopt,bmp,enable \\\n   fileopt,tif,enable \\\n   search\n\n# Recover database files\nphotorec \u002Fd \u002Fcases\u002Fcase-2024-001\u002Frecovered\u002Fdatabases\u002F \\\n   \u002Fcmd \u002Fcases\u002Fcase-2024-001\u002Fimages\u002Fevidence.dd \\\n   fileopt,everything,disable \\\n   fileopt,sqlite,enable \\\n   fileopt,dbf,enable \\\n   search\n```\n\n### Step 4: Organize and Catalog Recovered Files\n\n```bash\n# PhotoRec outputs files into recup_dir.1, recup_dir.2, etc.\nls \u002Fcases\u002Fcase-2024-001\u002Frecovered\u002Fall\u002F\n\n# Count recovered files by type\nfind \u002Fcases\u002Fcase-2024-001\u002Frecovered\u002Fall\u002F -type f | \\\n   sed 's\u002F.*\\.\u002F\u002F' | sort | uniq -c | sort -rn > \u002Fcases\u002Fcase-2024-001\u002Frecovered\u002Ffile_type_summary.txt\n\n# Sort recovered files into directories by extension\ncd \u002Fcases\u002Fcase-2024-001\u002Frecovered\u002Fall\u002F\nfor ext in jpg png pdf docx xlsx pptx zip sqlite; do\n   mkdir -p \u002Fcases\u002Fcase-2024-001\u002Frecovered\u002Fsorted\u002F$ext\n   find . -name \"*.$ext\" -exec cp {} \u002Fcases\u002Fcase-2024-001\u002Frecovered\u002Fsorted\u002F$ext\u002F \\;\ndone\n\n# Generate SHA-256 hashes for all recovered files\nfind \u002Fcases\u002Fcase-2024-001\u002Frecovered\u002Fall\u002F -type f -exec sha256sum {} \\; \\\n   > \u002Fcases\u002Fcase-2024-001\u002Frecovered\u002Frecovered_hashes.txt\n\n# Generate file listing with metadata\nfind \u002Fcases\u002Fcase-2024-001\u002Frecovered\u002Fall\u002F -type f \\\n   -printf \"%f\\t%s\\t%T+\\t%p\\n\" | sort > \u002Fcases\u002Fcase-2024-001\u002Frecovered\u002Ffile_listing.txt\n```\n\n### Step 5: Validate and Filter Recovered Files\n\n```bash\n# Verify file integrity using file signatures\nfind \u002Fcases\u002Fcase-2024-001\u002Frecovered\u002Fall\u002F -type f -exec file {} \\; \\\n   > \u002Fcases\u002Fcase-2024-001\u002Frecovered\u002Ffile_signatures.txt\n\n# Find files with mismatched extension\u002Fsignature\nwhile IFS= read -r line; do\n   filepath=$(echo \"$line\" | cut -d: -f1)\n   filetype=$(echo \"$line\" | cut -d: -f2-)\n   ext=\"${filepath##*.}\"\n   if [[ \"$ext\" == \"jpg\" ]] && ! echo \"$filetype\" | grep -qi \"JPEG\"; then\n      echo \"MISMATCH: $filepath -> $filetype\"\n   fi\ndone \u003C \u002Fcases\u002Fcase-2024-001\u002Frecovered\u002Ffile_signatures.txt > \u002Fcases\u002Fcase-2024-001\u002Frecovered\u002Fmismatches.txt\n\n# Filter out known-good files using NSRL hash comparison\nhashdeep -r -c sha256 \u002Fcases\u002Fcase-2024-001\u002Frecovered\u002Fall\u002F | \\\n   grep -vFf \u002Fopt\u002Fnsrl\u002Fnsrl_sha256.txt > \u002Fcases\u002Fcase-2024-001\u002Frecovered\u002Funknown_files.txt\n\n# Remove zero-byte and corrupted files\nfind \u002Fcases\u002Fcase-2024-001\u002Frecovered\u002Fall\u002F -type f -empty -delete\nfind \u002Fcases\u002Fcase-2024-001\u002Frecovered\u002Fall\u002F -name \"*.jpg\" -exec jpeginfo -c {} \\; 2>&1 | \\\n   grep \"ERROR\" > \u002Fcases\u002Fcase-2024-001\u002Frecovered\u002Fcorrupted_images.txt\n```\n\n## Key Concepts\n\n| Concept | Description |\n|---------|-------------|\n| File carving | Recovering files from raw data using file header\u002Ffooter signatures |\n| File signatures | Magic bytes at the start of files identifying their type (e.g., FF D8 FF for JPEG) |\n| Unallocated space | Disk sectors not assigned to any active file; may contain deleted data |\n| Fragmented files | Files stored in non-contiguous sectors; harder to carve completely |\n| Cluster\u002FBlock size | Minimum allocation unit on a file system; affects carving granularity |\n| File footer | Byte sequence marking the end of a file (not all formats have footers) |\n| Data remanence | Residual data remaining after deletion until sectors are overwritten |\n| False positives | Carved artifacts that match signatures but contain corrupted or partial data |\n\n## Tools & Systems\n\n| Tool | Purpose |\n|------|---------|\n| PhotoRec | Open-source file carving tool supporting 300+ file formats |\n| TestDisk | Companion tool for partition recovery and repair |\n| Foremost | Alternative file carver originally developed by US Air Force OSI |\n| Scalpel | High-performance file carver based on Foremost |\n| hashdeep | Recursive hash computation and audit tool |\n| jpeginfo | JPEG file integrity verification |\n| file | Unix utility identifying file types by magic bytes |\n| exiftool | Extract metadata from recovered image and document files |\n\n## Common Scenarios\n\n**Scenario 1: Recovering Deleted Evidence from a Suspect's USB Drive**\nImage the USB drive with dcfldd, run PhotoRec targeting document and image formats, organize by file type, hash all recovered files, compare against known-bad hash sets, extract metadata from images for GPS and timestamp information.\n\n**Scenario 2: Formatted Hard Drive Recovery**\nRun PhotoRec in \"Whole\" mode against the entire formatted partition, recover all file types, expect higher false positive rate due to file fragmentation, validate recovered files with signature checking, catalog and hash for evidence chain.\n\n**Scenario 3: Memory Card from a Surveillance Camera**\nRecover deleted video files (AVI, MP4, MOV) from the memory card image, use targeted file type selection to speed recovery, verify video files are playable, extract frame timestamps, document recovery in case notes.\n\n**Scenario 4: Corrupted File System on Evidence Drive**\nWhen file system metadata is destroyed, PhotoRec bypasses the file system entirely and carves from raw sectors, recover maximum possible data, accept that file names and directory structure will be lost, rename files based on content during review.\n\n## Output Format\n\n```\nPhotoRec Recovery Summary:\n  Source Image:     evidence.dd (500 GB)\n  Partition:        NTFS (Partition 2)\n  Scan Mode:        Free space only\n\n  Files Recovered:  4,523\n    Documents:      234 (doc: 45, docx: 89, pdf: 67, xlsx: 33)\n    Images:         2,145 (jpg: 1,890, png: 198, gif: 57)\n    Videos:         34 (mp4: 22, avi: 12)\n    Archives:       67 (zip: 45, rar: 22)\n    Databases:      12 (sqlite: 8, dbf: 4)\n    Other:          2,031\n\n  Data Recovered:   12.4 GB\n  Corrupted Files:  312 (flagged for review)\n  Output Directory: \u002Fcases\u002Fcase-2024-001\u002Frecovered\u002Fall\u002F\n  Hash Manifest:    \u002Fcases\u002Fcase-2024-001\u002Frecovered\u002Frecovered_hashes.txt\n```\n",{"hide":44,"name":5,"source":45,"license":15,"description":7,"authorized_lab":40,"origin_frontmatter":46},true,"mukul975\u002FAnthropic-Cybersecurity-Skills","name: recovering-deleted-files-with-photorec | description: Recover deleted files from disk images and storage media using PhotoRec's |   file signature-based carving engine regardless of file system damage. | domain: cybersecurity | subdomain: digital-forensics | tags: | - forensics | - file-recovery | - photorec | - file-carving | - data-recovery | - evidence-recovery | version: '1.0' | author: mahipal | license: Apache-2.0 | nist_ai_rmf: | - MEASURE-2.7 | - MAP-5.1 | - MANAGE-2.4 | atlas_tech","main","4c6d8d65f3d6096e2fc25b0845e481dda73c2794",".claude\u002Fskills\u002Fcyber-recovering-deleted-files-with-photorec",0,"https:\u002F\u002Fgithub.com\u002Fnexuslinkproductions\u002Fyuri-os","https:\u002F\u002Fgithub.com\u002Fnexuslinkproductions","Building deterministic AI governance and continuity systems. Workflow architect + visual storyteller","2026-11-14 03:05:17",{"source":8,"skillName":5,"commands":56,"prompt":66,"zipAvailable":44},[57,60,63],{"tool":58,"command":59},"npx","npx skills add nexuslinkproductions\u002Fyuri-os --skill cyber-recovering-deleted-files-with-photorec",{"tool":61,"command":62},"bunx","bunx skills add nexuslinkproductions\u002Fyuri-os --skill cyber-recovering-deleted-files-with-photorec",{"tool":64,"command":65},"pnpm","pnpm dlx skills add nexuslinkproductions\u002Fyuri-os --skill cyber-recovering-deleted-files-with-photorec","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fnexuslinkproductions\u002Fyuri-os\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fcyber-recovering-deleted-files-with-photorec\u002FSKILL.md",[],[69,78,85,92,99,106],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":73,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":77},"01M73K12W8K0GSTB4ABKS8BD7H","executing-plans","Use when you have a written implementation plan to execute in a separate session with review checkpoints","MIT","https:\u002F\u002Fgithub.com\u002Fnexuslinkproductions\u002Fyuri-os\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fexecuting-plans\u002FSKILL.md",[],[],"2026-11-11 15:11:14",{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":73,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":77},"01M73HC2NSXYYN54GBASVG2RDJ","using-git-worktrees","Use when starting feature work that needs isolation from current workspace or before executing implementation plans - ensures an isolated workspace exists via native tools or git worktree fallback","https:\u002F\u002Fgithub.com\u002Fnexuslinkproductions\u002Fyuri-os\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fusing-git-worktrees\u002FSKILL.md",[],[],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":73,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":77},"01M73HC12557CB08VDEF1YTF3H","triage","Triage issues through a state machine driven by triage roles. Use when user wants to create an issue, triage issues, review incoming bugs or feature requests, prepare issues for an AFK agent, or manage issue workflow.","https:\u002F\u002Fgithub.com\u002Fnexuslinkproductions\u002Fyuri-os\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftriage\u002FSKILL.md",[],[],{"skillNo":93,"name":94,"nameZh":6,"description":95,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":73,"licenseFileUrl":6,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":77},"01M73HBXB8F8ED4KQXVXEWCV8B","trade-edge-audit","The EDGE LENS for trading peers — recalls EVERY factor\u002Findicator running from the live forecast ledger (no enumeration) and renders the whole pile through the edge arsenal off ONE call: multi-horizon scoring (the ladder) + deflated Sharpe (overfit) + Benjamini-Hochberg FDR (multiple-testing across the fleet) + spread-bounce + maker-fee falsification, then ranks only what survives ALL of it. Use when a peer must answer \"does ANY running factor have real, overfit-corrected, multiple-testing-corrected, fee-surviving edge, and at which horizon\" without hand-assembling 6 tools. The trade-engine analog of quantum-hypothesis-simulation.","https:\u002F\u002Fgithub.com\u002Fnexuslinkproductions\u002Fyuri-os\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftrade-edge-audit\u002FSKILL.md",[],[],{"skillNo":100,"name":101,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":73,"licenseFileUrl":6,"sourceHtmlUrl":103,"categories":104,"keywords":105,"publishedAt":77},"01M73HBT5ZRCA82SQJ781NWVNQ","trade-decision-sim","The DECISION LENS for trading peers — recalls the CURRENT signal snapshot per market from the live ledger and renders it through the sim arsenal off ONE call: quantum factor-circuit order-optimal sequencing + decision-sim CVaR-robust sizing, sized against the MEASURED per-factor edge (from the edge-audit), correlation-aware. Emits an actionable call per market {side, sizePct, confidence, sequence}. Flat\u002Fzero-size when there is no measured edge after cost — the honest default. Sibling of trade-edge-audit (the EDGE lens); the trade-engine analog of quantum-hypothesis-simulation for a live decision.","https:\u002F\u002Fgithub.com\u002Fnexuslinkproductions\u002Fyuri-os\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftrade-decision-sim\u002FSKILL.md",[],[],{"skillNo":107,"name":108,"nameZh":6,"description":109,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":73,"licenseFileUrl":6,"sourceHtmlUrl":110,"categories":111,"keywords":112,"publishedAt":77},"01M73HBN2WTKGN790WYQD6GBM4","to-issues","Break a plan, spec, or PRD into independently-grabbable issues on the project issue tracker using tracer-bullet vertical slices. Use when user wants to convert a plan into issues, create implementation tickets, or break down work into issues.","https:\u002F\u002Fgithub.com\u002Fnexuslinkproductions\u002Fyuri-os\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fto-issues\u002FSKILL.md",[],[]]