Digital evidence in criminal trials: What your lawyer ignores and makes you lose

2026-05-09

Internal image: Digital evidence in criminal trials: What your lawyer ignores and makes you lose

Your lawyer's been handling the evidence as a 1990 document.

Print emails. Takes screenshots of WhatsApp. Presents videos on a USB without chain of custody. Offers "screenshots" as proof of bank transfers. He brings to court a folder with printed sheets of things that exist in the digital world and wants the judge to evaluate them as if they were a notarized contract.

And the judge, who doesn't understand them at all. Or turn them down. It depends on the mood of the day, whether the counterpart objects to them, whether anyone in the room has the knowledge to question what's currently occurring.

That is the state of the digital evidence in criminal trials in Mexico. A systematic disaster that is costing cases, that is letting the guilty go free, that is convicting the innocent, and that the vast majority of practicing lawyers do not understand what is happening. Not because they are bad lawyers. Because no one taught them. Because law school taught them how to handle physical documents, oral testimony, and expert evidence on paper. It didn't teach them that an email is not the page you printed it on. That a WhatsApp chat is not the screenshot. That a video is not the file on the USB.

During my professional career in computer forensics. I have trained forensic experts in Latin America. I have participated in hundreds of criminal trials where digital evidence was central. And what I have seen in those trials has convinced me that the biggest problem with digital justice in Mexico is not technological. It's educational. It's just that lawyers don't know what they don't know. And what they don't know is costing their clients their cases.

This article is the summary of everything I have written about digital evidence. It is the summary that every lawyer should read before touching electronic evidence. It is the compendium of errors that I have seen repeated hundreds of times and that continue to be repeated because no one points them out.

I'll point them out. All of them.

Capital error 1: Print digital evidence

I'm going to start with the most common, most serious and most absurd error that exists in the management of digital tests in Mexico. I have seen him at criminal, civil, family, employment and commercial proceedings. I have seen him at every level: from a newly advanced lawyer to a 30-year-old litigant. I have seen him so many times that I have stopped surprising myself.

Print digital evidence.

Print an email and present the sheet as proof of the email. Print a screenshot of WhatsApp and present the sheet as proof of the conversation. Print a bank statement downloaded from the portal and present the sheet as proof of the transfer.

Every time a lawyer prints digital evidence, he is doing something equivalent to recording a phone call, transcribing it by hand onto a sheet of paper, destroying the recording, and presenting the sheet as evidence of what was said on the call.

The sheet is not the proof. The proof is the recording. And the recording no longer exists because you decided that the sheet was enough.

When you print an email, you are removing everything that makes the email verifiable: the technical headers that show the path the email took from the origin server to your inbox, the SPF/DKIM/DMARC authentication information that allows you to verify if the email really came from the domain it claims to come from, the server metadata, the SMTP protocol timestamps, the digital signature if it has one.

The printed sheet has none of that. The printed sheet has text. Text that anyone can type into a word processor, print, and present as "an email."

Lawyer who reads me and who has presented printed emails as evidence: I'll be straight. If the counterparty had a competent computer forensic expert, these printed emails would have been challenged and probably dismissed. If they weren't challenged, that's not because they're valid. That's because the counterparty didn't know I could question them either. That's what you earned with the quality of your trial but with the ignorance of your opponent. And to bet on an adversary's ignorance isn't a procedural strategy. That's lucky. And luck's up.

What you should have done instead of printing

The proof of the email is not the sheet. It is email in its native format. The .eml or .msg file that contains all the headers, all the metadata, all the technical information that allows you to verify its authenticity.

A computer forensic expert can take that file, analyze the header, check the transmission chain from the source server to the destination server, validate the SPF / DKIM authentication, comput the file's hash to secure its integrity and issue an opinion that says: "That email was sent from the X server by user Y, at date Z, and has been unchanged since its receipt."

That's proof. The other is paper.

What you should have done instead of printing, in «Digital evidence in criminal trials: What your lawyer ignores and makes you lose»

Capital error 2: Not understanding digital chain of custody

The chain of custody is a concept that every lawyer knows in the physical world. If police collect a gun at a crime scene, they must document who collected it, when, where, how they stored it, who had access to it, how it got to the lab, how it got to the courthouse. If there is a broken link in that chain, the defense can argue that the weapon was contaminated, altered or planted.

In the digital world, chain of custody is exactly as important. And exactly as ignored.

I have seen cell phones that are evidence in a criminal case kept in the desk drawer of the public prosecutor's office. Without antistatic bag. No Faraday cage. Without documentation of who has manipulated them. With the battery charged and connectivity active -- which means that anyone who knows the cloud credentials linked to the device can remotely delete content while the cell phone is "safeguarded" by the authority.

I have seen USBs with digital evidence delivered without verification hash. Without documentation of who copied them, when, with what tool, from what device. No guarantee that the content that is on the USB is identical to the content that was on the original device.

I have seen hard drives "secured" without a forensic image. The authority works directly on the original disk -- searches for files, opens documents, navigates folders -- contaminating the evidence with each operation. Every time you open a file on a disk, you modify the "last access" timestamp. Each modification is a broken link in the chain of custody. And each broken link is an opportunity for the defense to argue contamination.

Defense lawyer who reads to me: If the digital evidence against your client doesn't have chain of custody documented, you have a powerful argument. Not a technicism. A bottom line. Because without chain of custody, there's no guarantee that the evidence presented at the trial was the same as that that that currently existed on the device at the time of its assurance. It could have been altered. That could have been contaminated. It could have been planted. And if there's no documentation to prove otherwise, reasonable doubt exists.

The forensic image: the first step that almost no one takes

The first thing to do when securing a digital device as evidence is to create a forensic image. A bit-by-bit copy -- exact, complete, verifiable -- of the entire contents of the device. Not a copy of files. Not an endorsement. A forensic image that replicates every sector of the disk, including deleted files, unallocated space, data fragments, everything.

That forensic image is verified with a cryptographic hash -- SHA-256 is the current standard. The hash is a unique value calculated from the entire content of the image. If a single bit of the image is changed, the hash changes. It is the way to demonstrate that the copy is identical to the original and that it has not been modified.

The whole later analysis is about the forensic image, never about the original device. The original device is preserved intact and documented with chain of custody, under conditions that prevent its alteration.

If this was not done -- and in an appalling number of cases in Mexico isn't done -- digital evidence is committed from the time of insurance.

Capital error 3: Screenshots as proof of WhatsApp

I have dedicated entire articles to this topic. I have done live demonstrations of how to make a WhatsApp conversation in 120 seconds. I have explained injection in SQLite. I have documented all three manufacturing methods. I have shown why screenshots have no evidentiary value.

And lawyers are still presenting WhatsApp screenshots as evidence.

I'm gonna figure that out one last time, with the hope that this will be the time it's been recorded.

A WhatsApp screen capture is an image. A picture that can be generated by the application itself showing a real conversation, by a mochup application showing an invented conversation, by a browser with modified HTML, or by an altered SQLite database. The image contains no information to distinguish between these scenarios.

Making a visually perfect WhatsApp conversation takes 90 seconds with a mockup app. Injecting messages into the device's SQLite database takes 5 minutes with free tools. Modifying the conversation in WhatsApp Web with the browser's developer tools takes 30 seconds.

In all three cases, the result is an image indistinguishable from a capture of a real conversation.

The only way to authenticate a WhatsApp conversation is to forensically extract the device. He doesn't catch her. Not the "export" from the app. Not the "look, here it is on your cell phone." Forensic extraction that copies the database, WAL files, file system metadata, media logs. The extraction that allows forensic expert to verify server timestamps, ID sequences, internal table consistency, operating system timestamps.

If your case depends on a WhatsApp conversation and your evidence's a screen capture, you have no evidence. You have an image.

Capital error 3: Screenshots as proof of WhatsApp, in «Digital evidence in criminal trials: What your lawyer ignores and makes you lose»

Capital error 4: Not requesting computer forensics

This is the silent error. The error of omission. The lawyer who has a case where digital evidence is central and does not request computer forensics.

Sometimes it's because you don't know it exists. Sometimes it's because you think it's too expensive. Sometimes it is because he thinks that "the evidence speaks for itself" -- that the email, the WhatsApp screenshot, the security camera video explain themselves and do not need expert interpretation.

None of that is true.

The digital evidence does not speak alone. She can't talk to herself. Because the digital evidence is not what you see on the screen. It is what is below what you see on the screen. It is the metadata that the eye does not see. These are the headers that the average user does not read. They are the hashes that no one calculated. They are the timestamps that no one verified. They are the inconsistencies that no one looked for.

Without an examination, digital evidence appears raw. No context. No check. No technical interpretation. And the judge, who isn't computer, values her as she can -- that's usually how an ordinary citizen would value her by looking at a screen: "looks real, looks legitimate, I accept."

That's not justice. It's blind trust. And blind trust in digital evidence is the shortest path to injustice.

Defendant whose case depends on digital evidence: talk to your lawyer. Ask her if she requested computer forensics. Ask him if the evidence against you was verified by an independent forensic expert. Ask him if his device's hash was calculated at the time of his insurance. Ask him if there's a forensic image. Ask if chain of custody is documented.

If the answer to any of these questions is "No," your case has a vulnerability that can be the difference between a fair verdict and a wrong verdict.

Capital error 5: Not challenging the counterparty's digital evidence

This error is the twin of the previous one. Just as many lawyers do not request expert opinion for their own evidence, they do not challenge the counterparty's digital evidence either.

The counterparty presents a printed email. Your lawyer doesn't object. The counterpart presents a screenshot of WhatsApp. Your lawyer doesn't question it. The counterpart presents a video on USB. Your lawyer does not ask about chain of custody. The counterparty presents records from a computer. Your lawyer does not request that the forensic image be verified.

Each of these omissions is a missed opportunity. Because each of these tests has technical vulnerabilities that a computer forensic expert can identify and that a prepared lawyer can turn into solid challenging arguments.

The printing of an email can be manufactured. WhatsApp capture can be invented. The video on USB may have been edited. Computer records may have been altered. None of those possibilities are remote. They are all technical, documentable and demonstrable.

But if no one questions them, the judge accepts them. And he accepts them not because they are valid, but because no one gave him reason to doubt them.

Capital error 5: Not challenging the digital evidence of the counterparty, in «digital evidence in criminal trials: What your lawyer ignores and makes you lose»

Article 210-A: the law that exists and that no one applies correctly

The Federal Code of Civil Procedures, in its article 210-A, establishes the requirements so that the information generated or communicated by electronic means has evidentiary value. Three requirements:

Reliability of the method in which it was generated, communicated, received or archived. This means that the party presenting evidence must demonstrate that the method used to generate and preserve the information is reliable. A screenshot is not a reliable method -- because it can be fabricated. A printout is not a reliable method -- because it eliminates verifiable information. A forensic extraction with verification hash and documented chain of custody is a reliable method.

Possibility of attributing the content of the information to the obligated persons. This means that the content must be able to be linked to the person who supposedly generated it. A printed email does not allow such linking -- because anyone can type the text and print the sheet. An SMTP header scan with SPF/DKIM verification does allow such binding -- because the headers document the mail path from the origin server.

Possibility of accessing information for further consultation. This means that the evidence must be accessible for later verification. If the only evidence is a printed sheet and the original email no longer exists, accessibility is null. If the forensic image of the device with verification hash exists, accessibility is complete -- any forensic expert can reproduce the analysis.

These three requirements -- reliability, attributability, accessibility -- are the law. They are not recommendations. They are not good practices. They are current legal requirements. And the vast majority of digital evidence presented in trials in Mexico does not comply with any of the three.

What your lawyer should do with each type of digital evidence

I'll give the full map. Type of evidence by type of evidence. What goes wrong and what should be done.

Emails. NO: print the email and present the sheet. YES: preserve the email in native format (.eml or .msg), calculate SHA-256 hash of the file, request expertise to analyze SMTP headers and verify SPF/DKIM/DMARC authentication, document chain of custody of the file since it was obtained.

WhatsApp conversations. NO: take screenshot. NO: export the conversation from the app. YES: preserve the entire device. Request professional forensic extraction of the device. Expert analysis of the msgstore.db database, WAL files, server timestamps, ID sequences, media logs. Chain of custody of the device from the first moment.

Security camera videos. NO: copy the video to USB from the DVR playback interface. YES: Forensic removal of the DVR/NVR hard drive. Preservation of the native video format -- which is generally not MP4 or AVI, but a proprietary format from the equipment manufacturer. Hash of the original file. Expert analysis of video metadata, timestamps, frame continuity, absence of editing.

Computer records. DON'T: open the computer, browse the folders, copy the "relevant" files to a USB. YES: create forensic image of the entire disk before any operation. SHA-256 hash of the image. All subsequent analysis on the forensic image, never on the original disk.

Digital banking records. NO: print the account statement from the banking portal. YES: request the bank, through a court order, to deliver the records in digital format with bank certification, including access logs, source IPs, server timestamps. Complement with expertise that analyzes the client's network if fraud is alleged.

Digital photographs. NO: print the photo. NO: present the photo as a file without analysis. YES: preserve the original file without modifications. Expert analysis of EXIF ​​metadata (camera, date, GPS location if applicable, configuration). Integrity verification using hash. PRNU analysis if the image needs to be linked to a specific device.

Digital photographs, in «Digital evidence in criminal trials: What your lawyer ignores and makes you lose»

The cost of not knowing: cases that are lost due to ignorance, not lack of reason

I will be frank with something I regularly see and that I find painful to observe.

There are people who are right. That they are innocent. That they did not commit what they are accused of. They have the digital evidence that proves it. And they lose the trial because their lawyer did not know how to handle that evidence.

I have seen defendants whose innocence was in the metadata of an email that their attorney submitted in print -- and when printing, removed the metadata. I've seen divorces where the WhatsApp conversation that proved the other party's infidelity was presented as a screenshot -- and the other party challenged it and the judge threw it out. I have seen employment cases where email proving harassment was rejected because no one verified its authenticity.

In each of those cases, the evidence existed. The truth was there. But the way it was presented -- in print, without hash, without chain of custody, without expertise -- turned it into worthless paper.

They did not lose for lack of reason. They lost due to lack of technique.

That's unacceptable. Because the technique exists. forensic experts exist. The tools exist. The law requires them to be used. And lawyers aren't using them because they don't know they exist.

What should change in the training of lawyers

This is not a gratuitous criticism. It is an observation that comes from many years of seeing the same problem repeat itself.

Law schools in Mexico do not teach digital evidence. They don't teach what a hash is. They do not teach what a forensic image is. They do not teach what digital chain of custody is. They do not teach article 210-A in its technical dimension. They do not teach how to distinguish between a valid digital proof and a sheet of paper with text.

And then we hope lawyers will manage the evidence correctly in a world where 80% of communication is digital, where mobile phones are the device that contains the most evidence, where email has replaced the paper contract, where WhatsApp is the channel where crimes are committed and documented.

This has to change. I don't know when. I don't know how. But it has to change. Because justice cannot continue to function with lawyers who handle 21st century evidence with 20th century techniques.

Your lawyer isn't bad. Your lawyer doesn't know. And what she doesn't know is costing you the case.

I'm not asking you to become an engineer. I'm not asking you to learn to program. I'm not asking you to understand the internal structure of an SQLite database. I ask you three things.

One: stop printing digital evidence. That preserves the test in its native format. Don't destroy information that makes it verifiable.

Two: request computer forensics in each case where digital evidence is relevant. Do not present digital evidence without the support of a forensic expert report that verifies its authenticity and integrity.

3: challenges the counterparty's digital evidence if it does not meet the requirements of Article 210A. To ask about the hash. To ask for chain of custody. That I ask about the forensic image. That's what I have to ask about.

Three things. Three changes. The difference between losing a case you had to gain and winning.

At Duriva, we do forensic device extraction, email analysis, WhatsApp conversation authentication, video analysis, computer forensics for criminal, civil, family, labor and commercial trials. We do it with documented chain of custody, with SHA-256 hashes, with forensic images, with opinions that meet the requirements of 210-A.

Because the digital evidence is not what you see on the screen. It's what's underneath. And what is below is only seen by forensic expert.

Contact
Let's talk about your case
Open contact form