Hashes and integrity: a case study
A dispute over a video filed in a lawsuit: how hash values settle the question of whether the copies match.
Example built for teaching purposes.
In an employment case a company files footage from an internal camera showing an employee leaving with a parcel. The employee’s lawyer argues that the filed video has been cut compared with the original.
The security manager exports the footage from the video recorder to a USB stick and hands it to the legal department.
An expert acquires the stick with a write blocker and computes the SHA-256 value of the file, recording it together with the size in bytes.
The filed file has the same value stated in the record: it is identical to the one handed to the expert.
The expert acquires the footage again from the recorder, which had been preserved, and checks that duration and content match the filed file.
What the hash settled
The value closed part of the debate: the filed file is exactly the one acquired by the expert. On its own it could not say that the initial export was complete; that is why it was decisive that the recorder had been preserved and could be re-examined.
Hashes and integrity: the checklist
The essential checks for using hash values correctly during an acquisition and in the later stages.
The pages of this topic
Back to the overviewHashes and integrity: how it works
The properties that make a hash function suitable for forensic use and why MD5 and SHA-1 are no longer enough on their own.
Hashes and integrity: the step-by-step procedure
How hash values are computed, documented and verified during a forensic acquisition and in the later stages.
Hashes and integrity: the tools
From commands built into operating systems to forensic software: what is used to compute and verify hash values.
Hashes and integrity: pitfalls to avoid
Values computed too late, weak algorithms, the wrong files: the mistakes that take away the value of the hash seal.
Hashes and integrity: value in court
How the hash value meets the requirement to preserve original data and prevent their alteration, and its limits before a judge.
Hashes and integrity: frequently asked questions
Short answers to the most common doubts about hash values, algorithms and the integrity of digital evidence.