Examinations

Forensic images and hash values: what does a court need to see?

A forensic image is a copy of a drive, phone or file made for examination, and its hash value is the number that ties the copy to the original. Since December 1, 2017, Federal Rule of Evidence 902(14) lets a qualified person certify a process of digital identification, such as a hash comparison, so the copy authenticates itself. A match proves the copy is exact. It does not prove who created the data.

Two bare hard drives rest on linen, one cabled to a small metal write blocker

What is a forensic image, and why does the examiner work from a copy?

A forensic image is a copy of the data on a drive, phone or other storage medium, made so that the examination does not touch the original. The original data are hashed while the image is created.

Digital evidence changes easily. Opening a file, starting an operating system or connecting a drive to a computer can write new data to the medium. The Scientific Working Group on Digital Evidence (SWGDE) wrote in its 2006 document on data integrity that digital evidence submitted for examination should be maintained in such a way that the integrity of the data is preserved, and named hashing as the commonly accepted method to achieve this.

For that reason the examiner analyzes a copy. The SWGDE document calls the hash of the original data taken while the image is being created an acquisition hash. The original drive or phone is then stored, and the analysis runs on the image. If a question arises a year later, a second examiner can make a new copy of the same original or check the existing image against the acquisition hash.

The same document requires logical and physical security to prevent contamination between cases or unauthorized access to the original evidence, and states that it is incumbent upon the examiner to document all procedures used. Without that record a later examiner has no acquisition hash to check the image against, and the court has only the first examiner's word that the copy is complete.

What is a hash value?

A number produced by an algorithm from the digital contents of a drive, medium or file. The committee note to Rule 902(14) states that if original and copy have the same hash value, it is highly improbable that they differ.

The advisory committee that drafted Rule 902(14) described a hash value as a number that is often represented as a sequence of characters and is produced by an algorithm based upon the digital contents of a drive, medium, or file. The same data run through the same algorithm give the same value every time. Change the data and the value changes.

SWGDE states that the value will be changed dramatically if any data is altered or the file is accessed. The comparison of two values is therefore a yes-or-no test: they match, or they do not. A hash value says nothing about what the data mean. It identifies a particular set of bytes.

The committee note draws the legal consequence. If the hash values for the original and copy are the same, it is highly improbable that the original and copy are not identical, and identical hash values reliably attest to the fact that they are exact duplicates. On that basis Rule 902(14) accepts a certified hash comparison as enough to authenticate the copy without a witness on the stand.

A hash can be computed for a whole drive or for one file. When a party produces a single contract file or a chat export, the examiner can hash the produced file and the corresponding file inside the forensic image and compare the two numbers. If they match, the produced file is the file that was on the device when it was imaged.

When does the examiner calculate hash values?

Under the SWGDE document, at three points: when the image is created, after acquisition and before analysis, and at the end of the examination, so each stage can be checked against the first value.

The acquisition hash is taken from the original data while the image is being made. The verification hash is calculated from the finished image after the completion of acquisition and before the image is analyzed. If the two values agree, the image matched the source at the moment it was made.

At the end of the examination, the SWGDE document states, the image can be hashed again to prove that no alterations have occurred to the data. For a re-examination the same hashing can authenticate the image as a true and accurate representation of the original evidence. A second examiner retained by the other side starts with that comparison before looking at any file.

Each value belongs in the examiner's notes with the date, the time, the time zone and the name of the algorithm. The IAE digital forensics page lists comparison of a copy with the original by hash value among the examiner's tasks for documents and files, and lists matching hash values for the image and the source among the first points a reviewer checks in the opposing report.

What does a matching hash value prove, and what does it not prove?

It proves the copy holds the same data as the source at the moment the source was hashed. It does not prove who put the data there, what happened to the device before imaging, or that the content is true.

A match ties two sets of data together at the time of the first hash. Anything that happened to the device before that moment falls outside the comparison. If a phone kept receiving messages for a day after it was collected and before it was imaged, the hash of the image covers the phone as it stood on the day of imaging, with those new messages in it.

The committee note to Rule 902(14) separates authenticity from everything else. A certification under the rule can only establish that the proffered item is authentic. The note gives an example from a criminal case: the defendant can still challenge whether the information on the hard drive was placed there by the defendant. Rule 902(14) is solely limited to authentication, and any attempt to satisfy a hearsay exception must be made independently.

Matching values also say nothing about the software that later read the data. Matthew Meyers and Marc Rogers of Purdue University's CERIAS wrote in a technical report dated December 8, 2004 that hash tools provide reasonable reliability that the image or the data written to a drive is identical, and added: "While this approach can determine if an error occurred, it provides no information related to actual or potential error rates." The same report states that the vendors have not published information relating to error rates.

The hash answers the copy question. The examiner's analysis of the copy answers the case questions: who used the account, when a file was created, whether a message was deleted. Each of those conclusions needs its own basis, and each is tested separately under Rule 702.

How does Rule 902(14) let a hash-verified copy authenticate itself?

Since December 1, 2017, data copied from a device, storage medium or file are self-authenticating if a qualified person certifies a process of digital identification, such as a hash comparison, and the proponent gives the notice required by Rule 902(11).

Rule 902(14) lets a written certification take the place of a witness who describes how a copy was made. It covers data copied from an electronic device, storage medium, or file, if authenticated by a process of digital identification, as shown by a certification of a qualified person that complies with the certification requirements of Rule 902(11) or (12).

The Federal Judicial Center's video on the amendments, which took effect on December 1, 2017, describes a certification of a qualified person that she checked the hash value of the proffered item. The committee note adds that the rule is flexible enough to accept certifications through processes other than comparison of hash value.

The certificate must contain information that would be sufficient to establish authenticity if the person who signed it testified at trial. A one-line statement that the copy is accurate gives no such information. A certificate that names the source, the process and the result lets the other side repeat the comparison.

Notice comes with the certificate. Rule 902(11) requires the proponent, before the trial or hearing, to give an adverse party reasonable written notice of the intent to offer the record and to make the record and certification available for inspection, so that the party has a fair opportunity to challenge them.

What can the other side still challenge after a 902(14) certificate?

Everything except the copy's identity with its source: who created or placed the data, hearsay, relevance, and the reliability of the certified process. A challenge may need a forensic expert, which bears on whether the notice was fair.

The committee note states that the opponent remains free to object to admissibility of the proffered item on other grounds. The Federal Judicial Center video names hearsay and relevance as examples. Authorship stays open as well, as the hard drive example in the note shows.

The certificate itself can be tested. The note to the companion paragraph, Rule 902(13), states that a challenge to the authenticity of electronic evidence may require technical information about the system or process at issue, "including possibly retaining a forensic technical expert," and that such factors will affect whether the opponent has a fair opportunity to challenge the evidence given the notice provided. The time between the notice and the hearing is therefore part of the question.

Rule 104 sets the frame for these disputes. Under Rule 104(a), the court decides any preliminary question about whether evidence is admissible, and in doing so it is not bound by evidence rules, except those on privilege. When the relevance of evidence depends on whether a fact exists, Rule 104(b) requires proof sufficient to support a finding that the fact does exist.

The questions for the certifying person follow from the rule: which algorithm was used, which data were hashed, who computed the original value and when, whether the original device was still in the same state, and whether the certificate describes the process or only states the result.

What happens when the hash values do not match?

The copy is not identical to the source it was compared with. The examiner has to find out why: a different source, a source that changed, an incomplete copy, or a device that keeps writing data between readings.

SWGDE states that the hash value changes dramatically when any data are altered or a file is accessed. A computer that is running writes logs, and a phone that is switched on updates its databases, so two readings of a live system taken an hour apart can give different values without anyone editing a document. The report has to say which explanation the evidence supports and which it rules out.

File-level comparison can still settle the question that matters for the case. If the contract file in the produced copy and the contract file in the examiner's own image have the same value, that file is identical even when the full images differ because one of them contains a later system log.

For the court, the consequence turns on Rule 702. The proponent of the expert must show the court that it is more likely than not that the testimony is based on sufficient facts or data and is the product of reliable principles and methods applied reliably to the facts of the case. The 2023 committee note adds that each expert opinion must stay within the bounds of what can be concluded from a reliable application of the expert's basis and methodology.

If data were lost before anyone imaged them, Rule 37(e) of the Federal Rules of Civil Procedure applies. When electronically stored information that should have been preserved is lost because a party failed to take reasonable steps to preserve it, and it cannot be restored or replaced through additional discovery, the court, upon finding prejudice, may order measures no greater than necessary to cure the prejudice. Stronger measures require a finding of intent to deprive another party of the information's use in the litigation.

Can a party ask the other side for a forensic image instead of printouts?

A Rule 34 request can name the form of production. Without a named form, the responding party produces the information as ordinarily maintained or in a reasonably usable form, and need not produce it in more than one form.

Rule 34(a)(1) lets a party request that another party produce and permit the requesting party or its representative to inspect, copy, test, or sample items in its possession, custody, or control. Subparagraph (A) covers electronically stored information, including writings, photographs, sound recordings, images, and other data or data compilations. The request must specify a reasonable time, place, and manner for the inspection, and the written response is due within 30 days after service.

Under Rule 34(b)(2)(E)(ii), if a request does not specify a form, the responding party must produce the information in a form in which it is ordinarily maintained or in a reasonably usable form. Under (iii), it need not produce the same electronically stored information in more than one form. A stack of printed text messages answers a request that named no form, and it carries no hash value at all.

A request can therefore name the form: the native files with their metadata, or a forensic image with its acquisition and verification hash values and the log of the tool that made it. The limits come from Rule 26. Discovery must be proportional to the needs of the case under Rule 26(b)(1), and under Rule 26(b)(2)(B) a party need not provide information from sources it identifies as not reasonably accessible because of undue burden or cost.

What should the expert report say about the image and its hash values?

Under Rule 26(a)(2)(B), the facts or data the examiner considered. For an image that means the source, the tool and its version, the algorithm, each hash value with date and time, and every step taken on the copy.

Rule 26(a)(2)(B) requires a retained expert's written report to contain a complete statement of all opinions and the basis and reasons for them, the facts or data considered, the exhibits, the witness's qualifications including publications from the previous 10 years, a list of cases in which the witness testified as an expert during the previous 4 years, and a statement of compensation.

For a forensic image the facts or data considered start with the source: the device and its identifiers, or the file and where it was stored. Then come the acquisition method, the tool and its version, the algorithm, the acquisition and verification hash values with date, time and time zone, and the place where the original was kept afterward. The rehash at the end of the examination closes the record.

When the other side serves a forensic report, Rule 26(a)(2)(D)(ii) sets 30 days after that disclosure for evidence intended solely to contradict or rebut it on the same subject, unless the parties stipulate or the court orders otherwise. A rebuttal examiner who receives the image and the hash log can verify the copy first and spend the rest of the period on the analysis.

What does IAE do when a forensic copy or its hash values are disputed?

An IAE examiner prepares a digital forensics report on the client's questions, including comparison of a copy with the original by hash value, or a review of the opposing forensic report, issued in up to 5 business days.

The IAE digital forensics page covers three groups of questions. For messages, the examiner extracts the messaging database from the phone or computer and compares screenshots with it: sender, timestamps, deleted and edited messages, attachments. For documents and files, the examiner establishes creation and modification dates from document and file system metadata, looks for traces of editing in PDFs and images, and compares a copy with the original by hash value. For software and devices, the examiner looks at event logs, browser history and traces of connected USB drives.

For a review of the opposing report the examiner checks whether another examiner could repeat the work from the report: whether the image and the source have matching hash values, which tool and version extracted the data, whether timestamps were read in the right time zone and whether each conclusion follows from the data.

IAE confirms the questions, the devices and how the data reach the examiner before work starts. The secretariat confirms receipt the same day, and within one business day IAE confirms the format, the cost, the deadline and the specialist from its public registry; the client approves the candidate and the CV. The signed document is issued in up to 5 business days, with a 48-hour rush for tight deadlines. The examiner confirms in the document that he or she has no interest in the outcome and can be verified by Member ID or QR code. IAE is not a law firm, and whether the copy is admitted is decided by the court.

Sources

Read also

All articles

Expert examinations

Ready to discuss your case?

Send the materials: the secretariat will confirm the format, cost, deadline and the specialist within one business day.

Expertise request

Received

Cost and timeline estimate

WorkReview of an opinion
TimelineUp to 5 business days
ExpertIAE registry member