This can be used for searching for familiar file types in anything. I compiled this for windows and added STFS and FATX definitions in the magic file. It was specifically made for *nix OSs but with some tinkering I got it working. This was actually compiled under cygwin, which means I needed to add all of the DLLs the binarys depend on :PBinwalk is a tool for searching a given binary image for embedded files. Specifically, it is designed for identifying files embedded inside of firmware images. Binwalk uses the libmagic library, so it is compatible with magic signatures created for the Unix file utility.
Binwalk also includes a custom magic signature file which contains improved signatures for files that are commonly found in firmware images such as compressed/archived files, firmware headers, Linux kernels, bootloaders, filesystems, etc.
binwalk -v myfile