recovering-deleted-files-with-photorec

Featured

Recover deleted files from disk images and storage media using PhotoRec's file signature-based carving engine regardless of file system damage.

AI & Automation 12,642 stars 1468 forks Updated today Apache-2.0

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Recovering Deleted Files with PhotoRec ## When to Use - When recovering deleted files from a forensic disk image or storage device - When the file system is corrupted, formatted, or overwritten - During investigations requiring recovery of documents, images, videos, or databases - When file system metadata is unavailable but raw data sectors remain intact - For recovering files from memory cards, USB drives, and hard drives ## Prerequisites - PhotoRec installed (part of TestDisk suite) - Forensic disk image or direct device access (read-only) - Sufficient output storage space (potentially larger than source) - Write-blocker if working with original media - Root/sudo privileges for device access - Knowledge of target file types for focused recovery ## Workflow ### Step 1: Install PhotoRec and Prepare the Environment ```bash # Install TestDisk (includes PhotoRec) on Debian/Ubuntu sudo apt-get install testdisk # On RHEL/CentOS sudo yum install testdisk # On macOS brew install testdisk # Verify installation photorec --version # Create output directory structure mkdir -p /cases/case-2024-001/recovered/{all,documents,images,databases} # Verify the forensic image file /cases/case-2024-001/images/evidence.dd ls -lh /cases/case-2024-001/images/evidence.dd ``` ### Step 2: Run PhotoRec in Interactive Mode ```bash # Launch PhotoRec against a forensic image photorec /cases/case-2024-001/images/evidence.dd # Interactive menu steps: # 1. Select the disk image: evidence.dd # 2...

Details

Author
mukul975
Repository
mukul975/Anthropic-Cybersecurity-Skills
Created
3 months ago
Last Updated
today
Language
Python
License
Apache-2.0

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Featured

performing-disk-forensics-investigation

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.

12,642 Updated today
mukul975
AI & Automation Featured

analyzing-disk-image-with-autopsy

Perform comprehensive forensic analysis of disk images using Autopsy to recover files, examine artifacts, and build investigation timelines.

12,642 Updated today
mukul975
AI & Automation Listed

analyzing-disk-image-with-autopsy

Perform comprehensive forensic analysis of disk images using Autopsy to recover files, examine artifacts, and build investigation timelines.

6 Updated today
26zl
AI & Automation Featured

performing-file-carving-with-foremost

Recover files from disk images and unallocated space using Foremost's header-footer signature carving to extract evidence regardless of file system state.

12,642 Updated today
mukul975
AI & Automation Featured

analyzing-mft-for-deleted-file-recovery

Analyze 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.

12,642 Updated today
mukul975