← Back to the blog

Who has to prove that digital evidence is intact?

Proving that a digital file was tampered with requires the original, the hash taken at collection and the handling record — means held by whoever collected it. That is why who proves integrity is a technical question before it is a legal one.

Who has to prove that digital evidence is intact?

The debate on the digital chain of custody usually turns on one question: was the evidence tampered with? There is another one, which comes first and is often decisive: who has to show that it was not? A study published in October 2026, in a column of Migalhas (a Brazilian legal news outlet), helps gauge the problem. It analysed 831 appellate judgments of the STJ (Brazil's Superior Court of Justice) on the subject. A break in the chain was recognised in 59. In the judgments that required the defence to prove tampering, there was no such recognition at all. Most of the recognitions came from judgments that placed on the State the duty to prove integrity. The authors conclude that case law is divided, with no settled criterion.

In digital evidence, integrity means showing that the material examined is the same material that was collected. It rests on three elements. First, the original or a forensic image of it, allowing a new examination. Second, the hash value (for example, SHA-256) computed at the time of collection, which makes it possible to check whether a copy is bit-for-bit identical. Third, the handling record: who accessed the material, when, with which tool and for what purpose. ISO/IEC 27037 treats these stages as identification, collection, acquisition and preservation; the CPP (Brazilian Code of Criminal Procedure), in arts. 158-A to 158-F, describes the phases of the chain of custody.

Note where these three elements originate: with whoever collects and keeps the evidence. The party that receives an extraction report, a set of screenshots or an exported spreadsheet receives the result, not the process. If that party bears the burden of proving tampering, it is being asked for a demonstration that depends precisely on what it does not have. This is not a matter of good or bad faith. It is a matter of access.

The study's figures are consistent with this reading, but they do not prove it: they show an association between the burden-of-proof rule applied and the outcome, and other factors are possible (the nature of the evidence, the quality of documentation in each case, the timing of the challenge). What the technique allows us to say is more modest and more useful: integrity is shown through documentation, and documentation is produced by whoever collects.

In civil procedure, the legislature has settled part of the question. Art. 429, II, of the CPC (Brazilian Code of Civil Procedure) places the burden on the party that produced the document when its authenticity is challenged; item I leaves forgery to whoever alleges it. The distinction is technical: challenging authenticity is questioning whether the document is what it claims to be; alleging forgery is asserting that it was altered. For digital evidence, this means that whoever files a file and has access to its source must be ready to show its origin and integrity when there is a reasoned challenge. In criminal matters the debate remains open, and the draft resolution under discussion at the CNJ (Brazil's National Council of Justice) on the custody of digital evidence deals precisely with logging access, tools and hashes.

For the lawyer, this translates into concrete steps: request the collection hash and the access log; ask for access to the forensic image so that the party expert can examine it; put expert questions on whether the material examined is the same as the material collected, and how that was verified.

The integrity of digital evidence is neither a presumption nor a suspicion. It is something that is demonstrated, with means held by whoever collected the material. Debating the burden of proof without looking at who holds those means is debating in the abstract. The question that connects law and technique is simple: who was in a position to prove integrity — and did they?

3 min read Translated from the original in Portuguese. Read the original →
← Back to the blog Go to the home page