The Sleuthkit and Ext4


I have developed a set of patches that bring basic support for the Ext4 file system to The Sleuth Kit. Specific features that are supported, or not, are detailed below.

The major feature of Ext4 that affects most users is the use of extents that replace indirect blocks. This set of patches supports the new extent structures, and most Ext4 file systems.

Until the patches are fully incorporated by Brian Carrier into TSK, they will be developed in parallel and released on this webpage. Support is provided to users and testers of the patches that provide feedback and bug reports.

I recommmend users interested in Ext4 support in TSK review Kevin Fairbanks’s branch of TSK on Github. This fork is under active development, and may have rendered these patches unnecessary.




You must build TSK from source to use the Ext4 patches. You must also have the patch utility installed, as well as a compiler toolset such as GCC.

  1. Download TSK source. Download and extract a version of TSK from the homepage.
  2. Download Ext4 patch. Download a patch from this website that corresponds to TSK version you downloaded in the above step. Try to pick the greatest revision number.
  3. Apply patch. From the command line, change directory into TSK source directory. If you perform a directory listing, you should see the file “Makefile”. Now, run the patch command patch -p1 < "../path/to/patch/file".
  4. Build TSK. Configure and install by running the following commands:
    1. ./configure
    2. make
    3. make install