
Lawyer who reads me -- probably for the first time, probably because your partner sent you to investigate how to challenge a computer forensics that the opposing party presented: what follows in this article is the script that is going to make you sound as if you have been litigating with digital evidence for ten years. Not because you are going to lie about your experience. Because you are going to ask the right questions. And the right questions, in a computer forensics, are more devastating than any allegations.
I'll give you the exact question that destroys an expert. You're gonna be able to use her at an audience tomorrow. And the forensic expert of the counterparty -- if you made the mistake most people make -- will have no response. The question is this:
"Forensic expert, before turning on the device and starting your analysis, did you calculate a hash value of the original storage medium? If so, what algorithm did you use, what was the value obtained and at what point in your procedure did you calculate it?"
If the answer is "No," the examination is challenges. If the answer is "I used MD5," the examination is questionable. If the response is vague, evasive or technical without substance, the examination has a problem.
And I'll explain why. The precision you need to understand and argue and gain.
During my professional career doing computer forensics. I have trained forensic experts in Latin America. I have written five books with ISBN on the subject. I have participated as forensic expert in more trials than I can count. And I'll be frank: the number of computer forensics that reach Mexican courts without a properly calculated SHA-256 hash is alarming. Not because the forensic experts are bad professionals in all cases. But because in Mexico there are only 14 forensic experts on the official lists of the entire Republic -- fourteen --, and the majority of the opinions presented in court are prepared by professionals who do not follow international digital forensics protocols.
Objecting to evidence is the finest issue. And this article is going to teach you exactly how to do it.
What's a hash and why's the bottom line of the whole digital chain of custody
Before I tell you how to destroy an expert report, I need you to understand why the hash is so important. Because if you don't understand why, the argument becomes a trick. And a trick works once. A well-founded argument always works.
A hash value is a unique number that is generated mathematically from a dataset. It's like a digital fingerprint. Just as there are no two people with the same fingerprint, there are no two different datasets that generate the same hash. If you change a single bit -- a single zero to a one in a string of million bits that make up a hard drive -- the result hash is completely different.
I'll put you with the simplest analogy I use in my courses: Hash is the unrepeatable serial number of a piece of digital evidence. When a forensic expert analyzes a hard drive, the first thing you have to do -- before you open a single file, before you turn on your computer, before you connect anything -- is to comput the hash from the original hard drive. That hash is the serial number that says: "this hard drive with this exact content at this time generates this value." If anyone later questions whether forensic expert altered data, if they added something, if they deleted something, if they modified evidence, forensic expert removes the original and current hash. If they are identical, the data have been unchanged. If they're different, something's changed. Period. No argument. No interpretation. That's math.
That's a hash. And without that hash, the digital chain of custody does not exist.
Jr. Lawyer who is taking notes: Record this. The chain of custody in physical evidence works with seals, signatures, minutes and witnesses. The chain of custody at digital evidence works with hashes. A hard drive cannot be sealed with a signature as an envelope of evidence. Be "seal" with a hash. And if that seal doesn't exist from the first moment, anything that's been done with that data after that is questionable. Because nobody can prove that the data that forensic expert analysed are the same data that was on the original device.
SHA-256 vs MD5 vs. SHA-1: Not all hashes are equal
This is where the argument sharpens. Because it is not enough for forensic expert to have calculated a hash. It matters what algorithm you used. And the difference between algorithms is not academic -- it is the difference between an armored expertise and one that can be knocked down.
MD5: the algorithm that no longer works
MD5 was the standard for years. Generates a 128-bit hash. It was created in 1991 and for a long time it was enough. But in 2004, a team of researchers showed that MD5 has collisions: it is possible to create two different files that generate the same MD5 hash. It is not trivial, it is not something that is done by accident, but it is possible. And that possibility, alone, invalidates MD5 as a guarantee of integrity for forensic purposes.
What it means for your case: If the counterparty forensic expert calculated an MD5 hash, your argument is this -- "The MD5 algorithm has been proven vulnerable to collisions since 2004. This means that two different data sets can generate the same MD5 hash, making it impossible to guarantee with certainty that the analyzed data was not altered. International digital forensics standards recommend SHA-256 as a minimum. The forensic expert used an algorithm which the international scientific community has declared insufficient to guarantee the integrity of digital evidence."
You don't need to be a crypto expert to say that. You just need to understand it. And now you understand.
SHA-1: better than MD5 but also obsolete
SHA-1 generates a 160-bit hash. It's more robust than MD5 but in 2017, Google and Amsterdam's CWI have shown the first practice of SHA-1. The project was called SHAttered. They created two different PDF files with the same SHA-1 hash. Vulnerability is real, documented, and dislisted SHA-1 as an integrity algorithm for any serious application.
If forensic expert used SHA-1, the argument is the same as with MD5, updated with reference to SHAttered and to 2017.
SHA-256: The current standard
SHA-256 generates a 256-bit hash. To date, no collision has been shown. No practical vulnerability has been found. It's the algorithm recommended by the U.S. NIST (National Institute of Standards and Technology), by ISO 27037 for digital evidence management, by RFC 6234 and by practically all international agencies that issue standards of digital foreclosure.
If the forensic expert of the counterparty used SHA-256 and computed it correctly, that aspect of the expert examination is shielded. You're gonna have to get the mistakes somewhere else. But -- and that's what I most often see -- most of them aren't using SHA-256. Most use MD5 because that's what they learned, because it's faster to figure out, or because they just don't know that MD5 isn't enough anymore.
Prosecutor presenting an opinion with MD5: That's exactly what the defense's about to argue. And she's gonna be right. That's because the report's false. That's because the integrity of evidence cannot be guaranteed with an algorithm vulnerable to collisions. It's like presenting a physical test with a chain of custody where one of the guardians lacks his signature. Maybe nobody altered the evidence. But we can't prove ourselves.
Turn on the device without previous hash: chain of custody broken
This is the most serious and most common error. And it is, at the same time, the easiest to detect and the most difficult to justify.
When a forensic expert receives a device for forensic analysis -- a hard drive, a laptop, a cell phone, a USB --, the international protocol is unequivocal:
Step 1: Document the status of the device as received. Photograph. Register brand, model, serial number, physical condition.
Step 2: Connect the storage media to a write blocker. This is a device -- hardware or software -- that allows data to be read from the hard drive but prevents anything from being written to it. Not a bit. Not a byte. Not a log. Nothing. The hard drive stays exactly as it is.
Step 3: Calculate the SHA-256 hash of the entire storage medium with the write blocker attached. This hash is recorded with date, time, witnesses if possible, and is documented in the opinion.
Step 4: Create a forensic image -- a bit-by-bit copy of the entire hard drive.
Step 5: Calculate the SHA-256 hash of the forensic image. This hash must be identical to the one on the original disk. If it matches, the copy is perfect. If it does not match, the copy has an error and must be repeated.
Step 6: To work exclusively about the forensic image. Never about the original.
Now. What should happen in step 2 -- connecting a write blocker before doing anything -- is what does not happen in the majority of expert reports that reach Mexican courts.
What happens in reality is this: the forensic expert receives the device, turns it on directly, connects it to your computer without a write blocker, browses the files, opens documents, runs programs, and then -- if it calculates a hash, which many do not -- calculates the hash on a device that has already been modified by the simple act of turning it on.
Because -- and this is key to your argument -- turning on a computer modifies the hard drive. Windows, when starting, writes logs, updates temporary files, modifies system logs, changes timestamps. Each of these operations alters the data on the disk. And once the data has been altered, the hash you calculate no longer corresponds to the original state of the evidence. It corresponds to the state after the intervention of forensic expert.
That's digital chain of custody broken. It's that simple.
The question that destroys: "Forensic expert, did you calculate the hash before turning on the device? Did you use a write blocker when connecting the storage media?" If the answer to either of those is no, your next argument is: "Then you cannot guarantee that the data you analyzed is the same data that was on the device before your intervention. Your analysis was performed on data potentially altered by the power-on and plug-in operation itself. The digital chain of custody is broken."
Forensic expert newbie reading this who has been doing exactly what I just described: I'm not signalling to humiliate you. I'm signalling for you to run. Because if you continue to put forward opinions with no SHA-256 dashboard prior to analysis, no write blocker, no confirmed forensic image, you will lose your professional credibility as soon as you face an attorney who can ask the right questions. And this article will be read by lawyers.
Write Blocker: Hardware vs Software
The write blocker deserves its own explanation because it is another point where the experts fail.
Hardware write blocker
It is a physical device -- a box that connects between the hard drive and the forensic expert computer. It works on an electronic level: it allows data to flow from the disk to the computer but physically blocks any signal going in the opposite direction. It's like a one-way valve. Data goes out, but nothing comes in.
The advantage of the hardware blocker is that its operation is independent of the software. No matter what operating system you use, no matter what program you open -- the hardware blocker prevents writing at the electrical signal level. It is the most reliable option and the one that international standards recommend as the first option.
Software write blocker
It is a program that configures the operating system to mount the hard drive in read-only mode. It works, but it depends on the software. If the program has a bug, if the operating system makes an exception, if some configuration interferes, there is a chance -- remote but real -- that it will be written to disk.
For an expert report that is going to be presented in court, the recommendation is clear: hardware blocker. Software is acceptable in situations where hardware is not available, but must be documented and justified.
Your argument as a lawyer: "Forensic expert, did you use a write blocker to ensure the integrity of the original storage medium? Was it a hardware or software blocker? What make and model? What is the date of your last calibration or verification?"
If forensic expert did not use a blocker, chain of custody is compromised. If you used a software blocker, you can challenge its reliability. If you don't know what brand or model, or if you can't document its use, you have a solid procedural argument.
The 14 forensic experts and the reality of expertise in Mexico
There is one piece of information you need to know to size the problem. Throughout the Mexican Republic, the official lists of forensic experts in computer forensics -- the lists that courts consult to designate forensic experts -- contain approximately 14 names. Fourteen. In a country of 130 million people, with a justice system that depends more every day on the digital evidence, there are 14 forensic experts registered.
That does not mean that there are only 14 people capable of doing computer forensics in Mexico. It means that only 14 are on the official lists. The rest of the "forensic experts" who present opinions in court are systems engineers, computer technicians, IT consultants, academics, or professionals from other areas who offer themselves as forensic experts in computer science without necessarily having the training, tools, protocols or field experience required by digital forensics.
And most of them aren't following international protocols.
They do not calculate SHA-256 hashes before parsing. They do not use a write blocker. They do not create bit-by-bit forensic images. They do not document their methodology step by step. They do not preserve the digital chain of custody. They present opinions based on screenshots, on what they saw when opening files directly on the original device, on conclusions that have no reproducible support.
I mean, it's not that they are charlatans in all cases. Some are competent professionals in their area -- systems, networks, programming. But computer forensics is a different discipline. Just as a general practitioner is not a cardiovascular surgeon even if they are both doctors, a systems engineer is not a forensic expert computer forensics even if they both work with computers.
Sr. Lawyer who has never questioned a computer forensics: That's not your fault. It's a knowledge lagoon that shares the vast majority of lawyers in Mexico. But now that you know, you have a professional obligation to question every computer forensics that gets to your desk. Do not accept this as true because "forensic expert is the expert." The forensic expert is the expert following protocols. When she doesn't follow them, she's a professional who issued a questionable document.
The complete script: the questions that destroy a poorly done expert opinion
Here is the complete sequence of questions that, as a lawyer, you can ask the forensic expert of the counterparty at the hearing. Each question has a specific purpose. I order them from the mildest to the most lethal.
Question 1 -- General methodology: "Forensic expert, could you describe step by step the methodology you followed to carry out your analysis?"
Purpose: To require forensic expert to document your process. If you have no systematic methodology, you'll notice. If she's got her, she's giving you a map of where to get the mistakes.
Question 2 -- Hash prior to analysis: "Before starting your analysis, did you calculate a hash value of the original storage medium? What algorithm did you use? What was the value obtained?"
Purpose: to check if forensic expert guaranteed the integrity of evidence before touching. If you did not estimate hash, digital chain of custody is broken.
Question 3 -- Hash algorithm: "Has the algorithm you used been declared vulnerable to collisions by the international scientific community?"
Purpose: if you used MD5 or SHA-1, the answer is yes. And that weakens the guarantee of integrity.
Question 4 -- Write Blocker: "Did you use a write blocker when connecting the storage media to your analysis equipment? Was it hardware or software? What make and model?"
Purpose: to check if forensic expert protected the original from alterations. If you did not use a blocker, the single act of connecting the disc may have modified data.
Question 5 -- Turning on the device: "Did you turn on the original device before calculating the hash? If so, are you aware that the operating system modifies files and logs upon startup, which alters the contents of the storage medium?"
Purpose: this is the stocada. If the device was activated before the hash, the evidence was altered by the intervention of forensic expert itself. The posterior hash does not reflect the original status.
Question 6 -- Forensic image: "Did you work directly on the original device or on a forensic image? If you worked on an image, does the hash of the image match the hash of the original?"
Purpose: If you worked with the original, each analysis operation modified the evidence. If she worked about an image but the pits don't match, the image isn't true.
Question 7 -- Reproducibility: "If another forensic expert replicated your procedure with the same data, would you reach the same conclusions? Can you guarantee that your analysis is reproducible?"
Purpose: forensic science relies on reproducibility. If the forensic expert procedure isn't reproducible -- because it did not document its methodology, because it did not preserve its original data, because it worked directly about the device -- its opinion is an opinion, and not a scientific result.
Jr. Attorney, memorize these seven questions. Not all of them will apply in all cases. But when they apply -- and they apply more often than you imagine --, they're going to make your Senior Partner look at you differently. Because these questions are not taught in law school. They are learned in the trenches of trials where digital evidence is decisive.
When the expert opinion IS well done
I repeat: not every expert's bad. Not all forensic experts make these mistakes. When an expert's well-done -- Hash SHA-256 computed before analysis, documented write blocker, forensic image with verified Hash, step by step methodology, conclusions supported by reproducible data -- that expert's solid.
And if you face a solid expert, don't try to destroy him with the questions I gave you. Because forensic expert will answer them correctly and you will be as someone who asked questions without understanding the answers. Questions work when an expert's been misrepresented. When she doesn't have them, she's another strategy: to challenge conclusions, not methodology.
The difference between a lawyer who knows how to use these questions and one who doesn't is the difference between a lawyer who understands digital evidence and one who fears it. And a lawyer who is afraid of digital evidence in 2026 is at a disadvantage in most of the trials he will litigate.
What to do now according to who you are
Jr. Lawyer who wants to show off in front of his partner: That's all you have. Now you need to know when to use them. Check the forensic expert report from the counterparty. You look for three things: mention of hash (with specific algorithm), reference of write blocker, and description of step by step methodology. If any of them are missing, you have an angle of challenge. That's what you're presenting to your partner with with the substantiation you read here. Your partner isn't gonna know about this. That's you.
Sr. Lawyer who never questioned a computer forensics: Now you know what to question. No need to be a tech expert. You have to ask the right questions. And if the counterparty's expert doesn't resist these questions, you need an own forensic expert that presents a counterexpert with the right protocols.
Forensic expert novice who does not follow these protocols: fix. Not tomorrow. Today. Because the next time you come up with an opinion with no Hash SHA-256, no write blocker, no forensic image, you're meeting with a lawyer who read this article. And it's not gonna be good.
Prosecutor presenting opinion with MD5: update your protocol. MD5 was sufficient in 2003. In 2026, she's been gone. And the defense knows that.
Objecting to the evidence is the finest issue in the entire litigation with digital evidence. It's not the most attractive. It's not the one that wins headlines. But he is the one who wins trials. Because a computer forensics can say whatever they want -- they can say that the accused is guilty, that the employee stole information, that the partner defrauded, that the evidence is compelling. But if that expert report doesn't have a SHA-256 hash, if you didn't use a write blocker, if you turned on the device before preserving the evidence, everything you say is built on a questionable foundation.
And a questionable basis, in law, is an objectionable basis. And an indisputable evidence, at the hands of an attorney who knows what she's doing, is an attrition that goes down.
At Duriva, each opinion we issue has a SHA-256 hash calculated before the first contact with the data. Carry documentation of the write blocker used. It carries out the verification of the forensic image against the original. It takes the step-by-step methodology that any other forensic expert can replicate to reach the same conclusions. Because a forensic expert report is not an opinion on letterhead. It is a scientific document that must withstand the most aggressive scrutiny that a lawyer can mount on it.
And if you're looking for someone to help you destroy an ill-done expert -- or build one that nobody can destroy -- that's exactly the technical and legal advice we provide. He's trying to get that online. No. There's no reason why the intersection between those who know about digital Forensia, those who know about procedural law and those who have been at enough hearings to know what questions make the difference is extraordinarily small.
Fourteen forensic experts in the official lists of the entire Republic. And most do not follow international protocols. The devil is in the details. And the details, in a computer forensics, are the difference between evidence that supports a case and evidence that collapses at a hearing.

