TSK_COMPAREDIR(1) | General Commands Manual | TSK_COMPAREDIR(1) |
tsk_comparedir - compare the contents of a directory with the contents of an image or local device.
tsk_comparedir [-vV] [-n start_inum ] [ -f fstype ] [ -i imgtype ] [ -b dev_sector_size ] [ -o sector_offset ] image [images] comparison_directory
tsk_comparedir compares the contents of image to the contents of comparison_directory. This can be useful for detecting rootkits and when testing. Rootkits can be detected by comparing the contents of a local directory and a local raw device. The rootkits typically don't hide data when it is read directly from the raw device.
The arguments are as follows:
To compare the directories in image.dd to those in directory:
# tsk_comparedir ./image.dd ./directory
Brian Carrier <carrier at sleuthkit dot org>
Send documentation updates to <doc-updates at sleuthkit dot org>