performing-file-carving-with-foremost

Featured

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

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

# Performing File Carving with Foremost ## When to Use - When recovering files from unallocated disk space or corrupted file systems - For extracting evidence from formatted or wiped storage media - When file system metadata is unavailable but raw data sectors contain evidence - During investigations requiring recovery of specific file types from raw images - As a complement to file system-based recovery for maximum evidence extraction ## Prerequisites - Foremost installed on forensic workstation - Forensic disk image in raw (dd) format - Sufficient output storage (potentially larger than source) - Custom foremost.conf for specialized file types (optional) - Understanding of file signatures (magic bytes) for target file types - Scalpel as an alternative for performance-critical carving ## Workflow ### Step 1: Install and Configure Foremost ```bash # Install Foremost sudo apt-get install foremost # Verify installation foremost -V # Review default configuration cat /etc/foremost.conf # The default foremost.conf supports: # jpg, gif, png, bmp - Image formats # avi, exe, mpg, wav - Media and executables # riff, wmv, mov, pdf - Documents and video # ole (doc/xls/ppt), zip, rar - Office and archives # htm, cpp, java - Text/code files # Create custom configuration for additional file types cp /etc/foremost.conf /cases/case-2024-001/custom_foremost.conf # Add custom file signatures cat << 'EOF' >> /cases/case-2024-001/custom_foremost.conf # Custom additions for investigatio...

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

recovering-deleted-files-with-photorec

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

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
API & Backend Featured

performing-endpoint-forensics-investigation

Performs digital forensics investigation on compromised endpoints including memory acquisition, disk imaging, artifact analysis, and timeline reconstruction. Use when investigating security incidents, collecting evidence for legal proceedings, or analyzing endpoint compromise scope. Activates for requests involving endpoint forensics, memory analysis, disk forensics, or incident investigation.

12,642 Updated today
mukul975