Timestomping
Overview
Detection of timestomping on ext4 partitions
# Finds on which device reside the specified file or folder.
df <FILE | FOLDER> | (read a; read a b; echo "$a")
# Returns the inode number of the specified file or folder.
stat -c %i <FILE | FOLDER>
# Displays the crtime as well as the ctime, atime, and mtime timestamps of the specified file or folder.
# Note that the <> surrounding the inode number are mandatory.
debugfs -R 'stat <<INODE_NUMBER>>' <DEVICE>Last updated