foremost Usage Example

Search for a selection of file types (-t doc,jpg,pdf,xls) in the given image file (-i image.dd):

root@kali:~# foremost -t doc,jpg,pdf,xls -i image.dd
Processing: image.dd
root@kali:~# ls output/
audit.txt  jpg  pdf

Packages and Binaries:


Foremost is a forensic program to recover lost files based on their headers, footers, and internal data structures.

Foremost can work on image files, such as those generated by dd, Safeback, Encase, etc, or directly on a drive. The headers and footers can be specified by a configuration file or you can use command line switches to specify built-in file types. These built-in types look at the data structures of a given file format allowing for a more reliable and faster recovery.

Installed size: 101 KB
How to install: sudo apt install foremost

  • libc6

Recover files using their headers, footers, and data structures

Updated on: 2021-Nov-26