Segmented hashing is a concept introduced into forensic imaging by Atola Technology in November of 2016.
This method of hashing allows verifying data imaged from damaged media, ensuring that the image can be verified even if data gets corrupt later in the case’s life cycle.
How does it work?
With the conventional hashing method, it is impossible to calculate hash for the entire space of a damaged evidence drive: linear hashing will stop upon encountering the first bad sector.
Segmented hashing can be performed during multi-pass imaging of a damaged drive. This method produces a set of hash values for individual LBA ranges of the evidence drive and the image. Hashes are calculated only for the successfully imaged areas, while all bad sectors are excluded from the calculation.
With segmented hashing, you can prove that the entire image has not been tampered with by verifying all hashes in a set, even if your evidence drive is damaged, or if the data in the image gets corrupt over time: only one the hash for the damaged segment of the drive becomes invalid.
Segmented hashing produces a CSV file in this format:
Hash,start LBA,end LBA
Imaging with segmented hashing and post-hashing of the target for immediate image verification
In the imaging settings, select Segmented hashing method and sector size: you can select size from a range of options (4 to 32 GB).
Make sure to enable post-hash of the target and receive both sets of hashes for both the evidence drive and image.
TaskForce’s highly optimized imaging and hashing algorithms ensure that hashing during imaging does not slow down the session:
After imaging is completed, post-hashing will commence.
Here are imaging results with the link to the file with segmented hashes. With the post-hashing of the target is enabled, you also receive the results of cross-checking between the hash sets of the evidence drive and the image.
Is there any disadvantage compared to linear hashing?
The only potential downside of segmented hashing is the lack of its support in third-party tools. To make verification of segmented hashes easy, we have developed and released a free open-source tool for the validation of segmented hashes: seghash on GitHub.
- RAID 10 configuration autodetection and imaging - October 20, 2021
- XFS, RAID 10 and new imaging features. TaskForce 2021.8 is here! - September 8, 2021
- Imaging and hot plug of NVMe drives with DiskSense 2 - August 19, 2021