← All Blog articles

Chain of Custody for Digital Evidence: A Practical Guide

Chain of custody for digital evidence is the documented history of a piece of electronic data: who collected it, how, where it was stored, who touched it afterwards, and how anyone can tell it hasn’t changed since.

Chain of Custody for Digital Evidence: A Practical Guide

Chain of custody for digital evidence is the documented history of a piece of electronic data: who collected it, how, where it was stored, who touched it afterwards, and how anyone can tell it hasn’t changed since. The record is only as strong as its weakest handoff. If someone can plausibly say “that file could have been altered while it sat on a shared drive for three weeks,” the rest of your careful work gets a lot less convincing.

This guide walks through what a digital chain of custody needs to contain, where it usually fails, and how cryptographic hashes and blockchain timestamps can strengthen it without pretending to do more than they do.

Why digital evidence is harder to keep “clean” than a physical exhibit

A knife in a sealed bag is obviously a knife in a sealed bag. A spreadsheet is a spreadsheet until someone opens it, and opening it can change metadata. Copying it creates a second object that looks identical on screen. Emailing it, syncing it, or letting an antivirus tool scan it can all leave traces, or quietly modify something.

That’s the core problem. Digital material is easy to copy perfectly and easy to alter invisibly, so the record around it has to do work that the object itself can’t. In practice, a chain of custody for digital evidence has to answer two different questions at every stage: who had it? and was it still the same thing? Most weak chains answer the first one reasonably well and the second one with a shrug.

What the standards actually say

The reference point most practitioners use is ISO/IEC 27037, published in 2012. It organizes digital evidence handling into four processes (identification, collection, acquisition and preservation), and builds on principles such as auditability, repeatability and reproducibility. It also pays attention to who’s actually on the scene: the first person to run into potential evidence is often not a forensic specialist, which is why the guidance is written to be usable by first responders and not only lab staff.

It helps to know what the standard doesn’t try to be. It’s focused on handling potential evidence, not on deep analysis methods, courtroom procedure or jurisdiction-specific legal requirements. For analysis you’d look at ISO/IEC 27042, and in the United States, NIST SP 800-86 and the SWGDE guidelines are commonly used alongside the ISO standards. Which set you lean on depends mostly on where you work and who might eventually review your records.

None of these documents hands you a template to fill in and walk away. They describe principles; you still have to turn them into a procedure your team will actually follow on a bad Tuesday.

The anatomy of a custody record

Whatever form you use (spreadsheet, case-management system, paper log), each entry should let a stranger reconstruct what happened without calling you. The useful fields are less exotic than people expect:

> A unique evidence identifier: Not “screenshot.png”. Something like a case number plus an item number, used consistently everywhere the item appears.

> A description of the item and its source: Which device, account, mailbox or server it came from, and how it was identified.

> Who acquired it, when, and with what method or tool: Including the tool version. “Exported from the admin console” is a method; write down which console and which export option.

> An integrity value: Typically a cryptographic hash of the acquired data, recorded at the moment of acquisition and again at every transfer.

> Every transfer, with both parties named: Handoff time, reason, and the storage location before and after.

> Storage conditions and access controls: Where the working copy and the preserved original live, and who could reach them.

> Anything unusual: A failed copy, a checksum mismatch that was investigated, a gap in the logs. Honest notes about oddities make a record more credible, not less.

Notice what’s missing: opinions about what the evidence means. Keep interpretation out of the custody log. It exists to describe handling.

Where chains actually break

After reading enough incident write-ups, the failures cluster into a handful of patterns, and almost none involve a villain.

Working on the original:

Someone opens the only copy to “just take a quick look.” Standard practice is to preserve a verified original and work from copies, and to hash both so you can show they match.

The undocumented hop:

A file goes from the collector to a colleague’s laptop to a shared folder to counsel. Each hop is innocent. Nobody wrote any of them down.

Hashes recorded once and never checked:

A hash that’s written at collection and never recomputed proves nothing about the intervening months. The value is in the comparison.

Weak or inconsistent hash algorithms:

Many older tools and workflows still default to MD5 or SHA-1. Both are considered weak against deliberate collision attacks. For evidence that might be contested, recording SHA-256 (alone or alongside the older value your tool produces) is a sensible habit.

Logs that can be rewritten:

This is the one people overlook. If the custody log lives in an editable spreadsheet, the log itself becomes a thing someone can question. More on that below.

Confusing “collected” with “authentic.” :

A perfectly preserved screenshot of a forged message is still a forged message, preserved perfectly. Custody speaks to what happened after collection.

Hashes: the part that does the heavy lifting

A cryptographic hash turns a file into a short, fixed-length fingerprint. Change a single byte and the fingerprint changes completely. That property is why hashing sits at the center of modern evidence handling.

It’s also written into the law in at least one major jurisdiction. In US federal courts, Rule 902(14) of the Federal Rules of Evidence, which took effect on December 1, 2017, lets data copied from an electronic device, storage medium or file be authenticated through a process of digital identification, certified by a qualified person, and the rule’s accompanying note observes that hash value comparison is the usual method while leaving room for other reliable means. Worth remembering: the rule deals only with authentication; hearsay questions have to be handled separately. That’s a US federal rule. If your matter is elsewhere, the mechanics will differ, and a lawyer in that jurisdiction should tell you how.

So: hash at acquisition, hash again at every transfer, and compare. A matching value tells you the bytes are identical to what was recorded. A mismatch tells you something changed, and gives you a precise reason to investigate before anyone relies on the file.

Adding a timestamp checkpoint

Here’s the weakness a plain hash leaves open. A hash proves a file matches a value. It doesn’t, by itself, prove when that value was recorded. If the hash and the log both sit in the same system under one party’s control, a skeptic can ask whether the entries were written when they say they were.

This is where a blockchain timestamp earns its place as a supplement, and only as one. When a hash is anchored to a public blockchain, the blockchain record provides independently verifiable evidence that the fingerprint existed at or before the recorded block time. Nobody, including the person who created it, can quietly move that date later.

With Certelo, the SHA-256 hash is calculated locally on your device, so the evidence file itself doesn’t have to be uploaded to create the proof. That’s a practical point for custody work: the material is often confidential, privileged or personal, and you may not be free to send it to a third-party service. Only the hash is anchored, on the Electra Protocol blockchain. Later, anyone holding the original file can recompute its hash and check it against the anchored record. (For the broader concept, see our explainer on trusted timestamping; for how hashing squares with privacy law, see the GDPR article.)

A workable pattern looks like this, using a hypothetical internal investigation:

1- A compliance analyst exports a mailbox archive. The export tool’s output is hashed locally and the value goes into the custody log as the acquisition baseline.

2- That same hash is anchored with Certelo the same day. The log now references a blockchain-recorded checkpoint, not just the analyst’s say-so.

3- The archive is transferred to outside counsel. On receipt, counsel recomputes the hash, records it, and notes whether it matches.

4- Months later, before a hearing, the hash is recomputed once more. If it still matches the anchored value, you have a verifiable story: the file now is the file that existed on that first day.

For a folder of many items, hash each item and then hash a manifest file that lists them. Anchoring the manifest’s hash checkpoints the whole set in one go.

Anchoring the log itself

The better trick, and one most guides skip, is to checkpoint the custody log as well as the evidence. Export the log (a PDF or CSV works), hash it, and anchor that hash at regular intervals or after major events such as a transfer. If an entry is later inserted, deleted or backdated, the log’s hash won’t match the anchored versions from before. You can’t prove the entries were true, but you can show they weren’t altered after the checkpoint date, which is exactly the doubt a sceptical reader tends to raise.

What a timestamp can’t do for you

It’s tempting to oversell this, so let’s be blunt. A hash plus a blockchain timestamp does not prove:

* that the content is genuine or was created by a particular person,

* that it was collected lawfully or by a qualified examiner,

* who handled it between checkpoints (the custody log still has to say that),

* that a court in your jurisdiction will admit it or give it any particular weight.

What it does provide is a cryptographically verifiable record that a specific digital fingerprint existed at or before a specific time, and a way for anyone to test a file against it. That’s a strong supporting layer for a chain of custody. It isn’t a substitute for good handling, a competent examiner or legal advice. If you’re thinking about court use, our article on the legal validity of blockchain records covers where such records stand and where they don’t.

A short field checklist

If you only keep one page from this guide, keep this one:

* Preserve a verified original; work on copies.

* Assign an evidence ID before anything else.

* Hash at acquisition and at every transfer; record every value.

* Name both parties in every handoff.

* Record the tool, version and method, not only the result.

* Note anomalies and how you resolved them.

* Anchor the baseline hash and, periodically, the log.

* Store the originals somewhere with controlled, logged access.

Then run a dry run with someone who wasn’t involved and ask them to reconstruct the story from the paperwork alone. Wherever they get stuck is where your chain is thin.

Let's deep dive

Is a chain of custody legally required for digital evidence?

There’s no single worldwide requirement. Rules on authentication and admissibility differ by country and by type of proceeding. In practice, a documented chain makes it far easier to show an item is what you say it is, and standards like ISO/IEC 27037 treat it as core practice. Ask counsel what your jurisdiction expects.

Does a matching hash prove the evidence wasn’t tampered with?

It shows the file is bit-for-bit identical to the one that produced the recorded hash. It says nothing about what happened before that hash was taken, so the quality of the original acquisition still matters.

Can I use Certelo as my whole chain-of-custody system?

No, and it isn’t meant to be. Certelo creates verifiable integrity and time checkpoints. You still need a log of who handled the material, how, and why.

Does Certelo upload my evidence file?

No. The SHA-256 hash is generated locally and the original file stays on your device. Only the hash is anchored to the blockchain.

Does a blockchain timestamp show who created the file?

No. It shows that a particular fingerprint existed at or before a recorded time. It doesn’t identify an author or establish ownership.

What happens if the file changes by even one character?

Its hash will be completely different, so it won’t match the anchored record. That’s the point: any change is detectable, though the hash can’t tell you what changed.

Which hash algorithm should I record?

SHA-256 is a sound default. If your forensic tool also outputs MD5 or SHA-1, you can record those too for compatibility, but don’t rely on them alone for evidence that may be challenged.

Written by Celine