Selective file dumper
Selective File Dumper (SFDumper) is a bash script written by Nanni Bassetti and Denis Frati that can, in a single run, retrieve all referenced, deleted and unallocated files of the file types you choose. SFDumper is no longer maintained.
The SFDUMPER.SH script can recover active, deleted and unallocated files automatically and then it can delete the carved duplicate files of the deleted and active files retrieved by The Sleuth Kit, using SHA-256.
It is possible to recognize renamed files through data carving, and it is possible to expand the Foremost configuration file inside the script, for adding new extensions.
Finally, it is possible to do a keywords search on the set of files extracted by The Sleuth Kit and Foremost.
The script can work on the partition chosen from an image file or directly from the device (e.g., /dev/sdb).
Actions
- Choosing the partition to analyze from an image file or a device;
- Choosing the file type by the extension you need to have;
- Extracting all referenced files by their extension;
- Extracting all the deleted files by their extension;
- Carving all the partitions chosen and, automatically, the script will delete the duplicate files leaving only the carved files that are not in the referenced or deleted set of files;
- Executing a keyword search on all the retrieved files;
- Reporting the results along with the investigator name, date and time.
Requirements
- Linux
- The Sleuth Kit
- Foremost
- md5deep
- sed, grep and awk
- dd
Additional requirements for the GUI version
- Zenity
Use
sudo sh sfdumper.sh
or
chmod +x sfdumper.sh
./sfdumper.sh