Examinations

Forensic metadata analysis: how an examiner shows when a document was created or altered

A file carries dates in two places: the file system records when the file was created, last accessed and last written, and the document format stores its own creation and modification dates inside the file. Software can change both. A forensic examiner dates a document by comparing these layers with each other, with the hash value of the copy and with emails or logs that mention the document.

A specialist in a dim room faces two monitors filled with tables that cannot be read

What does metadata say about when a document was created?

Two layers record dates: the file system stores creation, last access and last write times for each file, and the document format stores its own creation and modification dates inside the file.

Microsoft's documentation for Windows describes the first layer. A file time "is a 64-bit value that represents the number of 100-nanosecond intervals" since 12:00 A.M. January 1, 1601, Coordinated Universal Time. "The system records file times when applications create, access, and write to files," and the GetFileTime function "copies the creation, last access, and last write times" for a file.

The second layer belongs to the file format. Adobe's documentation for its document services states that PDF metadata is stored "in the Info dictionary of the file trailer dictionary," which holds file details "such as title, author, and creation date," and also "in the Metadata dictionary of the document catalog," where the information "is represented as XMP metadata."

The two layers answer different questions. The file system shows when this copy of the file appeared on this disk and when it was last written there. The internal dates show what the program that saved the document recorded about it. Because the system records file times when a program creates and writes a file, a copy saved from an email on another computer gets file system times from that computer, while the internal dates stay as the original program wrote them.

Why do file dates differ between computers and drives?

NTFS stores file times in UTC, while FAT stores them in the computer's local time. FAT records write times with a resolution of 2 seconds and access dates with a resolution of 1 day.

Microsoft states: "The NTFS file system stores time values in UTC format" and "The FAT file system stores time values based on the local time of the computer." When a file is copied onto a FAT-formatted USB drive from an NTFS disk, the time stored on the drive depends on the time zone setting of the computer that wrote it.

Resolution differs too. On FAT, "the resolution of create time on FAT is 10 milliseconds," "write time has a resolution of 2 seconds" and "access time has a resolution of 1 day." Two copies of one file can show write times that differ by a second without any edit.

The last access time is the weakest of the three. Microsoft notes that "the NTFS file system delays updates to the last access time for a file by up to 1 hour after the last access." An examiner who reads that field states this delay before drawing any conclusion about when someone opened the file.

Can file dates be changed?

Yes. Windows provides the SetFileTime function to set a file's times, and Microsoft's own example sets the last-write time to the current system time. An examiner compares a date with other traces before relying on it.

Microsoft's file times page reads: "To set the file times for a file, use the SetFileTime function." Its example "sets the last-write time for a file to the current system time using the SetFileTime function." After that call the last-write time records the moment the program ran, not the moment the content was last edited.

Internal metadata can be rewritten as well. Adobe's documentation describes how its XMP Utilities service reconciles the two PDF metadata stores: if the Info dictionary is newer, its properties update the XMP metadata, and if the XMP metadata is newer, its properties update the Info dictionary. After such a pass both stores hold the same values, and their agreement alone does not tell the examiner which one was written first.

The examiner's answer to a dating question rests on agreement between independent traces: the file system on the original disk, the time of the email that first carried the file as an attachment and the internal dates of earlier versions. The report states which of them agree and which do not.

How does an examiner show that a copy matches the original?

By hash value. The committee note to Rule 902(14) states that if the hash values of the original and the copy are the same, it is highly improbable that the original and copy are not identical.

Rule 902(14) makes self-authenticating "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." The proponent must also give the notice of Rule 902(11): "reasonable written notice" before the trial or hearing, with the record and the certification available for inspection.

The 2017 committee note explains that such data "are ordinarily authenticated by 'hash value'." It continues: "If the hash values for the original and copy are the same, it is highly improbable that the original and copy are not identical." The note also accepts "other reliable means of identification provided by future technology."

A hash value proves that two files are the same. It says nothing about when the original was created. The committee note keeps the other objections open: the opponent "remains free to object to admissibility of the proffered item on other grounds," including hearsay, and can still dispute who put the information on the device.

How do you get the file with its metadata from the other side?

Ask for it in the right form. Rule 34(b)(1)(C) lets the requester specify the form of production; otherwise the producer uses the form in which the data are ordinarily maintained or a reasonably usable form.

Under Rule 34(b)(1)(C) a request "may specify the form or forms in which electronically stored information is to be produced." If the responding party objects to the requested form, Rule 34(b)(2)(D) requires it to "state the form or forms it intends to use."

If the request specifies nothing, Rule 34(b)(2)(E)(ii) applies: the party "must produce it in a form or forms in which it is ordinarily maintained or in a reasonably usable form or forms." Under Rule 34(b)(2)(E)(iii), "a party need not produce the same electronically stored information in more than one form." A request that names native files with their metadata avoids a later dispute about a second production.

The 2006 committee note limits conversion. The option to produce in a reasonably usable form "does not mean that a responding party is free to convert" the information into a form that makes it harder to use, and if the information is searchable as maintained, "the information should not be produced in a form that removes or significantly degrades this feature." A scanned printout carries none of the original file's system dates or internal properties.

Can metadata authenticate a document in court?

It can support authentication. Rule 901(b)(4) accepts distinctive characteristics of the item taken together with all the circumstances, and Rule 901(b)(9) accepts evidence describing a process that produces an accurate result.

Rule 901(a) requires "evidence sufficient to support a finding that the item is what the proponent claims it is." Under Rule 901(b)(4), "the appearance, contents, substance, internal patterns, or other distinctive characteristics of the item, taken together with all the circumstances" can satisfy that standard. Metadata is part of a file's internal pattern: the author field, the program that produced it, the creation and modification dates.

Rule 901(b)(9) covers "evidence describing a process or system and showing that it produces an accurate result." An examiner who describes how the file was copied, how the hash was computed and how each date was read gives the court that description.

Rule 902(13) offers a certification route for "a record generated by an electronic process or system that produces an accurate result," with the same notice as Rule 902(11). When the dates are disputed, the other side can depose the examiner under Rule 26(b)(4)(A) and test the method.

What does an examiner look for when backdating is suspected?

Dates that do not agree with each other: file system times against the document's internal dates, the PDF Info dictionary against its XMP metadata, and both against emails or logs that mention the document.

The first comparison is between layers in the same file. A document whose internal modification date is later than the last write time of the file on the original disk needs an explanation. Some explanations are innocent, such as a copy from another computer or a FAT drive that stores local time.

The second comparison is with outside records. An email that carried the file as an attachment has its own sending time, and the attachment can be hashed and compared with the file produced in discovery. Earlier versions of the document, if they survive in backups or on a colleague's computer, show which text existed on which date.

The third check covers the tools. The examiner looks for programs that set file times, for traces of editing in PDFs and images, and for a time zone or clock setting that would shift every date on the computer.

What should the examiner's report state?

Which file was examined and how it was obtained, its hash value, every date found and where it is stored, the file system and time zone, and the reasoning that links those dates to the conclusion.

A retained expert's report under Rule 26(a)(2)(B) contains "a complete statement of all opinions the witness will express and the basis and reasons for them," the facts or data considered, exhibits, qualifications with publications from the previous 10 years, prior testimony from the previous 4 years and the compensation.

Rule 702 requires the proponent to show that the testimony "is based on sufficient facts or data" and "is the product of reliable principles and methods," and that the opinion applies those methods reliably to the facts of the case. In a dating opinion, the facts or data are the file, its copy and the outside records, and each conclusion points to the dates that support it.

A report that only rebuts the other side's examiner on the same subject is due "within 30 days after the other party's disclosure" under Rule 26(a)(2)(D)(ii), unless the parties stipulate or the court orders otherwise.

What does IAE do when the date of a file is disputed?

IAE prepares digital forensics expert reports on file metadata, messages and device data and reviews of the opposing forensic report. The signed document is issued within up to 5 business days after the format and cost are confirmed.

The digital forensics page lists the work on documents and files: creation and modification dates from document and file system metadata, traces of editing in PDFs and images, and comparison of a copy with the original by hash value. It also covers software and devices, including event logs, browser history and traces of connected USB drives.

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 registry. The client approves the candidate and the CV before work starts. The draft is checked for facts. Cases with tight deadlines have a 48-hour rush.

Every specialist is a member of the public IAE registry and passed the council's attestation under the published Criteria Matrix. The Member ID from the document opens the specialist's category, specialization, attestation date and record status on the status check page or by QR code. The specialist confirms in the document that he or she has no interest in the outcome of the case.

Materials go through the contact form or to info@iaexperts.com and are not passed to third parties without the client's consent. An expert report is evidence that the court weighs together with the other materials. Neither IAE nor the examiner guarantees the outcome or influences the decision. IAE is not a law firm and does not advise on case strategy.

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