Scalpel
Scalpel is a fast file carver that reads a database of header and footer definitions and extracts matching files from image files or raw device files. It is filesystem-independent and supports carving from various filesystems like FAT, NTFS, Ext, and more.
Description
Scalpel is a complete rewrite of the Foremost 0.69 file carver, designed for digital forensics investigations and file recovery. It operates independently of the filesystem, enabling it to carve files from FAT16, FAT32, exFAT, NTFS, Ext2, Ext3, Ext4, JFS, XFS, ReiserFS, raw partitions, and others.
The tool uses a database of header and footer definitions to identify and extract files from disk images or raw devices. This makes it particularly useful in scenarios where filesystem metadata is damaged or unavailable, such as in forensic analysis of compromised or corrupted storage media.
Scalpel offers compatibility modes with Foremost and experimental features for advanced carving control, block mapping, and performance optimization.
How It Works
Scalpel reads a configuration file containing header and footer definitions for various file types. It scans disk images or raw device files for matching headers, then searches for corresponding footers within a maximum carve size. Files are extracted when headers and footers match, bypassing filesystem structures entirely. Options like cluster alignment, blockmaps, and foremost compatibility modes adjust the carving behavior for precision or speed.
Installation
sudo apt install scalpelFlags
Examples
scalpel -hscalpel -o /output/dir image.imgscalpel -c scalpel.conf -o audit image.ddscalpel -b -r image.imgscalpel -p -v image.imgscalpel -n -O /tmp/noext image.imgscalpel -q image.imgscalpel -s 1024 image.img