
There is a moment in adversarial criminal litigation that defines the case. It is not the opening statement. It is not the interrogation of the star witness. It is not the theory of the case, although litigation books devote entire chapters to it.
The moment that defines the case is when the digital evidence -- a cell phone, an email, a sheet of calls, a CCTV video, a WhatsApp conversation, a geolocation record -- is offered as expert evidence. Because if that offer is made poorly, the test does not enter. If the evidence does not come in, the case is lost. And if the case is lost, everything that comes after -- the brilliant argument, the impeccable interrogation, the perfectly constructed theory of the case -- doesn't matter. Because the evidence that supported everything never reached the judge.
Duriva has issued forensic expert reports that have been presented in oral trials throughout Mexico. In many years of operation, with forensic experts trained in Latin America in different Latin American countries and experience in unauthorized transfers analysis and digital banking evidence, the accumulated experience allows us to affirm something with the precision of laboratory data: the majority of litigants do not know how to handle computerized expert evidence in the adversarial system. Not because they are bad lawyers. Because no one taught them.
Law school teaches criminal procedural law. Teaches the structure of the oral trial. Teaches chain of custody as a concept. But it does not teach how to offer a forensic computer forensics with the correct legal foundations. It does not show which articles of the National Code of Criminal Procedures specifically apply to digital evidence. It does not teach the difference between offering an opinion as documentary evidence and offering it as expert evidence -- and that difference can cost the litigant the case.
Modern litigator who already knows that digital evidence is the battlefield: That article was the guide that had to have been put into effect by the prosecution system. No general theory. Specific procedure. Legal basis article by article. The mistakes that Duriva has seen have been made and helped to correct have been again and again.
Old school lawyer who trained in the inquisitorial system: The system's changed. The rules have changed. What worked in the traditional system -- submitting a written decision and expecting the judge to read them at his office -- no longer exists. In the accusatory system, expert evidence was put out at an hearing. The forensic expert goes up to the stand. He's been questioned. He's been counterinterviewing. And if the litigant that offered it doesn't understand the mechanics of that eschewing, his expert's face crumbles at a public hearing.
Law student seeing this for the first time: What you'll read here isn't in your textbook. He's in practice. At the hearing. What happens when the judge says "has the word to offer his proof" and the litigant doesn't know exactly what to say or with what ground.
Forensic expert in training who wants to understand procedural mechanics: an expert's examination does not end at the time of his or her signature. He ends up after his hearing. And to get rid of it correctly, forensic expert needs to understand the process as well as the lawyer. Because on the stand, forensic expert isn't an explain technician. That's a test body that the system's evaluating.
This is long. It is long because the process has phases and each phase has rules. Read it completely.
The computer forensics as evidence in the CNPP: direct legal basis
The National Code of Criminal Procedures does not have an exclusive chapter for digital evidence. There is no "Computer Test Title" nor a section dedicated to "Technological Evidence." What exists is a general framework of expert evidence that applies to every discipline -- including computer forensics -- and a set of dispersed articles that, read together, configure the complete legal basis to offer, admit and discharge a computer forensics.
Duriva has identified, throughout hundreds of opinions and hearings, the key articles that every litigant should know. Not as an academic reference. As operational tools.
Article 272. Forensic experts. This article establishes that if the parties consider it necessary, they may designate forensic experts to rule on issues that require specialized knowledge. Computer forensics is, by definition, specialized knowledge. It is not something that the judge masters nor that the public ministry can evaluate with its legal training. Extracting data from a cell phone, analyzing metadata from an email, authenticating a WhatsApp conversation, reconstructing a call sheet -- all of this requires knowledge that only a computer forensic expert forensic expert possesses.
The key point of 272 that many litigants overlook: the designation of the forensic expert is not automatic. The party that wants to offer expert evidence must request it at the correct procedural stage. If you request it out of time, it will be rejected. If you request it without identifying the forensic expert with name, professional license and specialty, it will be rejected. If it does not include the resume of the forensic expert and the justification of why their knowledge is relevant to the case, it is rejected.
The devil is in the details. And in matters of computer expert evidence, the details are the difference between admitted evidence and rejected evidence.
Article 274. Title and experience of the forensic expert. The CNPP requires that forensic experts accredit their specialty. Here comes something that Duriva has consistently pointed out: in Mexico, there are only 14 computer forensic experts on the official lists of the entire Republic. Fourteen. For a country of 130 million inhabitants, with a justice system that processes thousands of cases with a digital component every year.
This means that the vast majority of computer forensics in the adversarial criminal system are carried out by private forensic experts. forensic experts who are not on the official lists but who accredit their specialty with a professional license, certifications, publications, demonstrable experience and documented resume. The CNPP allows this. The system does not limit the expert evidence to forensic experts on the official lists. But the litigant must know how to substantiate the suitability of his private forensic expert so that the judge will admit it.
The rationale is not: "My forensic expert is good." The rationale is: accredited academic training, demonstrable experience in the specific subject of the case, publications or recognitions in the field, and a clear explanation of why your specialized knowledge is necessary to resolve the technical issue that the judge cannot resolve by himself.
Article 259. Generalities of the test. Any fact may be proven by any means of proof produced and incorporated in accordance with the Code. This is fundamental: digital evidence is not excluded. A computer file, a cell phone record, a server log, a cryptographic hash -- everything is admissible as long as it is produced and incorporated in accordance with CNPP rules. The problem is never that digital evidence "is not accepted." The problem is that it is offered poorly, it is poorly founded or it is poorly expressed.
Article 263. Legality of the evidence. The proof must be obtained legally. A computer forensics based on evidence obtained without judicial authorization -- a cell phone seized without warrant, an email intercepted without legal basis, data extracted from a cloud without consent or a court order -- is not proof. It's contaminated evidence. And tainted evidence, no matter how revealing, is excluded.
Duriva has seen cases where the most compelling evidence in the case -- that which unequivocally proved guilt or innocence -- was excluded because the authority obtained it without respecting legal procedure. The expertise was impeccable. The chain of custody was perfect. The technical analysis was verifiable. But the way the original evidence was obtained was flawed. And in the adversarial system, the form matters as much as the substance.
Offer the computer expert test: the stage that defines everything
The intermediate stage is where the test is offered. Not before. Not after. In the intermediate stage. At the oral trial preparation hearing. If the litigant does not offer his computer expert evidence at this procedural moment, he loses the opportunity. There is no second round. There is no "I'll offer it later." The accusatory system is preclusive: each stage has its moment, and if the moment passes, the opportunity is extinguished.
Article 334. Offering means of evidence for the trial hearing. This article establishes that the parties must offer their means of proof in the intermediate stage. For the computer expert test, the offer must include:
- Identification of forensic expert. Full name, professional ID, specialty, resume. It is not negotiable. An offer that says "my computer forensic expert" without precise identification is rejected.
- Object of the expert opinion. What was analysed and for what. "The accused's cell phone was tested to determine the existence of relevant communications from 1 to 15 March" is concrete. "A computer forensics" was made as vague. The bum's rejected.
- The forensic expert report. The physical or digital document that contains the findings, methodology, conclusions and supporting elements. The opinion is the heart of the expert evidence. If the opinion does not exist at the time it is offered, there is no evidence to offer.
- The relevance. The litigant must explain to the judge why this evidence is relevant to the case. It's not enough to say "it's important." You have to connect the expert opinion with the theory of the case. "This expert report demonstrates that the accused was not in the location indicated by the public ministry at the time of the events, based on the geolocation records of his mobile device" is a well-argued relevance. Connect the evidence with the theory of the case. It tells the judge exactly what you contribute.
Listen carefully to this: the majority of rejections of computer expert evidence that Duriva has witnessed do not occur because the expert opinion is bad. They occur because the offer is poor. The litigant has an impeccable ruling in his hands but does not know how to offer it to the judge with the correct foundations, with well-articulated relevance, with complete identification of the forensic expert.
It's like having the best gun in the world and not knowing how to load it. The weapon does not fail. The operator fails.
Admission: what the judge evaluates and what the counterparty challenges
Once we have been offered proof, we have an admission. The judge assesses whether and how the evidence complies with the legal requirements. The counterparty has a right to opposition.
Article 346. Exclusion of evidence for the debate hearing. The judge may exclude evidence that was obtained in violation of fundamental rights, that is impertinent, that is excessive or that is dilatory.
The intelligent counterparty is going to attack the computer expert evidence on one of these fronts:
Attack on chain of custody. "The cell phone does not have chain of custody documented since its seizure. There is no certainty that the data was not altered." This attack is lethal when it is justified. If the chain of custody has gaps -- if there was a period where the device was not under documented custody -- the opposing party may argue that the integrity of the evidence is compromised.
Duriva has said it in all possible forums: the chain of custody does not begin when the cell phone arrives at the forensic expert laboratory. It begins when the authority secures the device. If the police confiscated the cell phone and kept it in a plastic bag without a record, without documentation, without a seal, without restriction of signals -- the chain of custody is already broken before the forensic expert touches it. And the best expertise in the world cannot repair a broken chain of custody.
Attack on the suitability of forensic expert. "The forensic expert does not have the necessary expertise to issue this opinion." If the forensic expert is a systems engineer but the expert opinion requires knowledge of telecommunications, the counterparty may question whether the forensic expert has specific training for the subject matter of the opinion. The answer to this attack is a robust resume, relevant certifications, publications in the field, and demonstrable experience.
Attack on relevance. "The expert opinion does not provide anything that cannot be resolved with the other means of proof already offered." If the litigant did not articulate the relevance well at the time of the offer, this attack can succeed. The answer is to anticipate the attack and explain precisely what the expert report provides that no other means of proof can provide.
Attack on methodology. "The forensic expert used a methodology that is not standard in the scientific community." In computer forensics, methodology is everything. If the forensic expert did not document what tools it used, what procedures it followed, what hashing algorithms it applied to verify integrity, what industry standards it followed -- the counterparty may question the scientific validity of the ruling.
The standard is clear: bit-by-bit forensic image of the device, integrity verification with SHA-256 hash, step-by-step documentation of the extraction procedure, use of forensic tools validated by the scientific community, and conclusions that logically follow from the data analyzed -- not from assumptions, not from subjective interpretations, not from unsupported inferences.
Venting the computer expert evidence: the forensic expert on the stand
This is where the adversarial system radically separates itself from the inquisitorial system. In the inquisitorial system, the forensic expert report was given to the judge and the judge read it. In the adversarial system, the forensic expert takes the stand. And what happens on the stand can make or break a ruling.
Article 376. Expert reports. The presentation of the expert evidence is carried out at the oral trial hearing. The forensic expert declares orally about the content of its opinion. He does not read the opinion. Declare. Explain. Reply. The difference is fundamental. Reading a document aloud is not expressing expert evidence. Explaining the findings, methodology and conclusions in language that the judge can evaluate is the release of expert evidence.
The procedural flow is as follows:
First: direct questioning by the party that offered to forensic expert. The litigant who offered the expert evidence questions his own forensic expert. The objective is not for the forensic expert to repeat what the opinion says. The objective is for the forensic expert to explain, in accessible language, what it did, how it did it, what it found and what what it found means.
This interrogation requires joint preparation between the litigant and the forensic expert. The litigant must understand enough of the expertise to ask the right questions. The forensic expert must understand enough of the legal process to provide answers in the format the court needs.
The litigant dumbbell-forensic expert is critical. If the litigant does not understand what he is asking, the questions are superficial and the expert opinion is not developed before the judge. If the forensic expert does not understand what is expected from his answers, he rambles on technicalities that the judge does not understand and that do not contribute to the case.
Duriva has identified a repeating pattern: the litigant arrives at the hearing without having rehearsed the interrogation with the forensic expert. He thinks it's enough to ask "forensic expert, what did you find on the cell phone?" and that the forensic expert will do the rest. I reiterate: in the adversarial system, the forensic expert does not control the narrative. The litigant controls it through his questions. If the questions are bad, the narrative is bad. If the questions are good -- sequenced, building from the simple to the complex, anticipating objections --, the expertise is presented with the force it deserves.
Two: cross-examination by the counterparty. This is where cases are won or lost. The counterpart is going to question the forensic expert. You are going to look for inconsistencies. He is going to ask about what he did not analyze. You are going to question the methodology. He is going to try to get the forensic expert to admit limitations that are not in the opinion. He is going to seek to get the forensic expert to step outside his area of expertise and give his opinion on something that does not correspond to him.
A forensic expert prepared resists cross-examination because his responses are based on data, not opinions. He knows how far his report goes and doesn't go. Because she can explain her methodology with the clarity of who has applied her hundreds of times. Because you can say "that's out of the reach of my report" without its sound of evasion.
A forensic expert unprepared will collapse. Because she's improvising. Because she's contradicting herself. Because she thinks where she should be limited to data. Because she gets nervous and stops being precise. And a forensic expert that loses precision on the stand loses credibility. And a forensic expert that lose credibility loses the case.
3. The possibility of clear questions from the judge. The judge can ask questions to forensic expert to clarify aspects of his ruling. These questions are often the most revealing because the judge is asking what he or she genuinely did not understand. And the ability of the forensic expert to respond in clear language, without technicalities, with analogies that the judge can process -- that ability is the difference between a ruling that the judge values and a ruling that the judge ignores because he did not understand it.
Let's see, let's see, let's see. This is fundamental: the judge is not a computer scientist. He is not an engineer. He is not a technologist. It is a legal professional who needs to evaluate whether or not the technical evidence supports the theory of the case. If the forensic expert speaks to you in your language, the judge evaluates correctly. If forensic expert speaks to you in code, the judge cannot evaluate. And what the judge cannot evaluate, he does not consider.
What they don't teach at school: the CNPP and technology
The National Code of Criminal Procedures was drafted by jurists. Not by technologists. That's not a criticism -- it's a description of reality. And that reality has practical consequences that the modern litigator needs to know.
The CNPP does not define "digital evidence." There is no legal definition of what constitutes digital evidence in the Code. There is no article that says: "For the purposes of this Code, digital evidence is understood as information stored or transmitted in electronic format that can be used as evidence in a criminal proceeding." That definition does not exist. What exists is a general testing framework that applies to digital evidence by extension, not by specific provision.
For the litigant, this means that every time he offers digital evidence, he must build the foundation from the general articles of the CNPP, not from a specific article of digital evidence. It's additional work. It is work that the law should have done and did not do. But it is the work that the litigant has to do if he wants his evidence to enter.
The CNPP does not establish digital chain of custody technical standards. Article 227 speaks of chain of custody in general terms: every material element of evidence must be protected in conditions that guarantee its integrity. But it does not say how the integrity of a digital file is guaranteed. It doesn't talk about hash. It does not talk about forensic imaging. It doesn't talk about validated extraction tools. It doesn't talk about the difference between a logical copy and a physical copy of a device.
That doesn't mean that hashing and image forensics aren't necessary. It means exactly the opposite: they are so necessary that if the litigant does not demand them and does not document them, the counterparty will use them as an argument to exclude the evidence. The legal vacuum does not protect the litigant. He exposes it.
The CNPP does not regulate instant messaging authentication. There is no article that says how a WhatsApp conversation is authenticated to present it as evidence in an oral trial. There is no protocol that says: "For a WhatsApp conversation to have evidentiary value, it must be forensically extracted from the device database, hashed for verification, with chain of custody documented, and presented using forensic expert report."
That protocol is not in the law. But it's exactly what needs to be done. Because the alternative -- presenting a screenshot as "proof" of a conversation -- is not proof. It's an image. And an image of a screen can be manufactured in 30 seconds with any editor. If the counterparty challenges that "evidence" with an expert opinion showing that screenshots are not a reliable means of instant messaging authentication, the evidence falls flat.
Technical-legal advice on this intersection between computer forensics and criminal procedural law: look for it on the internet. There isn't, there isn't. What there is are academic articles that speak in the abstract, litigation manuals that do not contemplate digital evidence, and expert opinion guides that do not contemplate the adversarial process. The intersection between both worlds -- the laboratory and the courtroom -- is exactly where Duriva operates.
Frequent errors that Duriva has identified in hearings
In more than a decade of issuing opinions that are resolved in oral proceedings, Duriva has documented patterns of error that are repeated with alarming frequency.
Mistake one: offering the opinion as documentary evidence instead of expert evidence. The forensic expert report is a document, yes. But procedurally it is not documentary evidence. It is expert evidence. If it is offered as a documentary, it is not relieved by interrogating the forensic expert. It is read. And expert evidence that is read loses all its force because the judge cannot evaluate the credibility of the forensic expert, cannot clarify doubts, and the counterpart cannot cross-examine. That misclassification costs the entire case the evidentiary impact.
Error two: not preserving the digital evidence before requesting the expert opinion. The litigant requests an expert opinion on a cell phone that has been without chain of custody for six months. The cell phone was on, it received messages, it was updated, the battery was discharged and recharged. The evidence was contaminated. The forensic expert can work with what is there, but the counterpart is going to exploit every gap in the chain of custody. Preservation must be immediate. It is not something that is done "when there is time." It is done first.
Error three: the litigant does not rehearse the interrogation with forensic expert. They arrive at the hearing without having asked a single question. The litigant improvises. The questions do not follow a logical sequence. The forensic expert gives complete answers to incomplete questions, which generates objections from the counterpart for suggestive questions. The relief becomes chaotic.
Error four: the forensic expert is not prepared for cross-examination. The forensic expert that has not litigated before underestimates what can happen on the bench. He arrives confident because his opinion is solid. But the cross-examination does not attack the ruling -- it attacks the forensic expert. Your experience, your methodology, your tools, your limitations. If the forensic expert has not rehearsed responses to foreseeable attacks, it may give responses that weaken its own opinion without realizing it.
Error five: not requesting expert evidence on time. The litigant discovers at the trial stage that he needs an expert opinion. It's too late. The stage to offer evidence has already passed. The only option is supervenient evidence -- article 390 of the CNPP --, which requires demonstrating that the evidence was not known at the time of the intermediate stage. It is an exception, not the rule. And judges apply it in a restrictive manner.
What the litigant must do: operational protocol
Duriva has developed, based on the accumulated experience of hundreds of cases, an operational protocol that maximizes the probability that the computerized expert evidence will be admitted, presented correctly and evaluated by the judge.
From the moment digital evidence is identified in the case:
- Preserve at once. To request that the public prosecutor or judge be ordered to preserve the device or information. If the evidence is held by the counterparty or a third party, request precautionary measures of preservation. Each hour passing without preservation is potential evidence to be lost.
- Identify forensic expert. Not at the end of the process. At first. The forensic expert must participate from the planning of the strategy, not from the execution of the opinion. Because the forensic expert can identify what evidence is technically viable, what can be found and what cannot, what analysis contributes to the case and what analysis would be a waste of resources.
- Requesting an expert with sufficient time. A computer forensics strict forensic isn't made in 3 days. The extraction, analysis, documentation and drafting of an opinion - all takes time. A hasty report is a vulnerable report.
- To prepare an offer with a clear legal basis. Article by article. Performance connected with case theory. Complete identification of forensic expert. Object of clearly defined expert.
- Rehearse the relief. The litigant prepares the questions for direct examination. The forensic expert prepares the responses. Both anticipate possible cross-examination attacks and prepare solid responses.
- Document everything with forensic standard. SHA-256 hash of each piece of evidence. Chain of custody without gaps. Documented step-by-step methodology. Identified tools. Conclusions derived from data, not assumptions.
For every profile that reads this
To the modern litigator That you already know that digital evidence is crucial: stop treating computer expert testing as a complement to the case. That's his spine. If the column breaks into an offer or an awesomeness, the body of the case crumbles. He spends the same time preparing his expert test as his interested in preparing his case theory. Because one without the other doesn't work.
To the old school lawyer That will continue to fight with reflections of the inquisitive system: the written report will no longer speak for itself. He needs a forensic expert that stands up for him and a litigant that knows how to put him before an oral judge. To adapt isn't an option. That's a need for professional survival.
To the law student That's training: what she's just read isn't on her college program. He should be, but he isn't. If you wish to be a competitive litigant in the 21st century, you need to understand computer expert testing with the same depth with which you understand testimony or documentary evidence. Because the cases of today and all the cases of the future have a digital component.
To forensic expert in training that wants to do things right: his report isn't worth anything if he doesn't survive cross-examination. Learn how to testify at an audience. Learn how to explain in simple language. Learn how to resist the pressure of the opposite litigant. Learn how to say "that's beyond the reach of my report" without hesitation. The technical skills are insufficient. Procedural competition was required.
Computer expert evidence in the adversarial criminal system is a process with precise rules, defined times and irreversible consequences if it is executed poorly. The CNPP provides the framework. Computer forensics delivers the science. But the bridge between the two -- between the court and the laboratory -- is not built by the law alone or by technology alone. It is built by the litigant who understands both worlds.
Duriva has built that bridge in hundreds of cases. He has trained forensic experts who understand both chain of custody and cross-examination. It has issued opinions that have withstood the most aggressive attacks at the hearing because the methodology is impeccable and the presentation is precise.
What does not exist in law school, exists in practice. What the CNPP does not expressly say about digital evidence is constructed with each audience where a computer forensics is offered, admitted and properly vented.
The digital evidence is the battlefield of modern litigation. And in that field, the difference between winning and losing is not in the quality of the evidence. It is in the procedural capacity of the person who presents it.
That capacity is built. It is studied. It is practiced. It is polished.
And when it's run right, the results speak for themselves.

