They accuse me with fake WhatsApp chats: How to prove manipulation in court

2026-05-14

Internal image: They accuse me with fake WhatsApp chats: How to prove manipulation in court

I didn't write that.

Those three words are the most distressing that someone can say in front of a judge. I didn't write that. I didn't have that conversation. That message is not mine. That capture is fabricated.

And nobody believes you.

Because the capture "looks real." Because it has your name. Because it has your profile photo. Because it has blue popcorn. Because it has the time. Because it has the exact format of WhatsApp. And because the judge, the public prosecutor, the opposing lawyer and even your own lawyer look at that image and think: "there it is, in their own words."

But they are not your words. They never were.

During my professional career in computer forensics. I have trained forensic experts in Latin America. I have participated in trials where the "queen evidence" was a WhatsApp conversation that never existed. I have analyzed fabricated, manipulated, edited, cropped, taken out of context, and created out of thin air chats. And I can tell you with the authority that those many years and those hundreds of cases give: the manipulation of WhatsApp is detectable. It's not always obvious. It's not always fast. But it is detectable.

And this article's your map to figure out how.

It is not for the prosecuting attorney. It is not for the judge who has already decided. It's for you, who are sitting on the other side, with a screenshot in front of you showing words you never typed, and who need to understand exactly what has to happen for the truth to be proven.

Why creating a WhatsApp chat is so easy

Before explaining how manipulation is detected, you need to understand why it is so easy to fabricate a chat. Because that understanding is your first argument: if anyone can fabricate this, no one should accept it without verification.

Making a visually perfect WhatsApp conversation is done in three ways:

Inspect Element. In any browser, in WhatsApp Web, pressing F12 opens the developer tools. These tools allow you to edit the HTML of the page in real time. Change the text of any message. Change the contact name. Change the time. Add messages. Delete messages. Everything on the screen, live, without touching any server or database. And if someone takes a screenshot at that moment, the screenshot shows the edited conversation as if it were the original.

Ten seconds. That's what it takes. Ten seconds and a right click.

Mockup applications. There are applications designed specifically to generate images that replicate the WhatsApp interface pixel by pixel. Contact name, profile photo, message content, reading popcorn, time, battery status, network operator. Everything configurable. The result is an image indistinguishable from a real capture.

Editing the SQLite database. On Android, the msgstore.db database can be opened with database editing tools. You can insert new records, modify existing records, delete records. The result: WhatsApp displays messages on the screen that were not sent through the WhatsApp system. Messages that exist in the local database but never passed through the Meta servers.

Three methods. Three levels of sophistication. A common result: a "conversation" that looks real but that's a lie.

Defense lawyer who reads to me: That's the first thing your judge needs to know. That production's trivial. That doesn't require advanced knowledge. That a high school student can do that. That production ease destroys any presumption of authenticity that a screen capture may have. and that article 210A of the Federal Civil Procedure Code requires reliability of the method, and that we have no presumption of good faith.

The anatomy of a manufactured chat: what a forensic expert is looking for

When a case comes to my laboratory where someone says "that chat is fake," the verification process does not consist of looking at the capture and giving an opinion. The opinion is of no use in a court. What is useful is the technical analysis of the database of the device from which the conversation supposedly comes.

And that's where the manufacturer falls. Because manufacturing what's shown on the screen's easy. To manufacture what's under the screen is another completely different thing.

A forensic expert looks for the following inconsistencies:

Server tipprints vs. local tipprints

Every genuine WhatsApp message has two timestamps. The one you see on the screen, which comes from the phone's clock. And the one that is in the database, in a field that the user never sees, which comes from the WhatsApp server. That second timestamp -- the server_timestamp -- is controlled by the Meta infrastructure, not the user.

When someone composes a message by editing the database, they can put any time in the visible field. But the server_timestamp has problems. If the message did not pass through WhatsApp servers, that field is empty, has a value of zero, or has a value that does not match the time window in which the message was supposedly sent.

A forensic expert crosses the server tipprints of the surrounding messages -- the actual -- with the tipstamp of the supposedly false message. If there's a break in the server's time sequence, there's a manufacturing indicator.

Sequence of IDs

Each message in the WhatsApp database has an auto-incrementing identifier. The actual messages follow a sequence: 1001, 1002, 1003, 1004. If someone inserted a message between 1002 and 1003, you have a problem: you can't assign it the ID 1002.5 because the IDs are integers. You have to assign it an ID after the last one in the database, say 5847, but chronologically position that message between IDs 1002 and 1003.

The result: a message with ID 5847 that has a timestamp that places it between messages with IDs 1002 and 1003. This inconsistency between the sequence of IDs and the chronological sequence is a signature of manipulation. Real messages have IDs and timestamps that move in the same direction. Embedded messages break that correlation.

WAL (Write-Ahead Log) Files

SQLite -- the database engine using WhatsApp -- keeps an operations record called Write-Ahead Log. Each time something's written in the database, the WAL logs it. That's an automatic log.

When a forensic expert scans the WAL, you can view the history of write operations to the database. If someone opened the msgstore.db file with an external editor, inserted a record, and saved, the WAL records that insert operation with the actual operating system timestamp at the time it was performed. Not the timestamp that the manufacturer put in the message field. The actual timestamp.

If WAL shows that a message allegedly sent on January 15 was inserted into the database on March 3, production is documented. Not as an opinion. A fact.

Media and file consistency records

WhatsApp messages that include photos, audio, videos or documents generate media files in the device's memory. Those files have their own metadata: creation date, modification date, size, format, location in the file system.

If a message allegedly sent on February 10 includes an image whose mean file was created on the device on March 20, there's an irreconcilable inconsistency. The mean file should exist from the same date as the message. Otherwise, the message was later inserted with a retrospective added file.

The other phone's database

This is the definitive verification. WhatsApp operates on two sides: what is sent from one device is received on another. If a message supposedly sent from my phone to the other party's phone is real, it should exist in both databases. With the same content. With consistent server timestamps. With consistent JIDs.

If the message exists in the counterparty database but does not exist in mine, there are two possibilities: either I deleted it (and then there will be traces of disposal in my database and my WAL files), or I never sent it (and then there will be no trace on my device -- neither active nor eliminated).

A forensic expert can be requested to conduct a forensic extraction of both devices. Cross-comparison is the most solid evidence that exists to determine authenticity or manufacture.

The database of the other phone, in "They accuse me with fake WhatsApp chats: How to prove manipulation in court"

Real case: the pattern that reveals the manufacturing

I will describe a pattern that I have seen in many cases and that perfectly illustrates how forensic science removes a production.

A defendant arrives at the lab. He says that the counterparty submitted to the judge a conversation where he allegedly admits a debt. The messages say things as "yes, I admit I owe you 500,000 pesos" and "give me time to pay you." The defendant swears that he never wrote that. Your lawyer's applying for an expert.

We extract the database from the counterparty's device -- obtained through judicial discovery. We open the msgstore.db. And we find the following:

The messages that the counterparty presented as captures do exist in the database. They are there. With text, with time, with everything. At first glance, they appear genuine.

But when forensic expert analyzes the internal structure, inconsistencies emerge like fractures in a bone under X-rays:

Incriminating messages have IDs out of sequence. The conversation has messages with IDs 4521, 4522, 4523 (real, everyday messages) and suddenly the incriminating messages with IDs 8934 and 8935 appear -- thousands of positions later in the auto-incrementing sequence. But chronologically, according to their visible timestamp, they are located between IDs 4522 and 4523. That is impossible in a genuine conversation. IDs advance with each new message. A message with ID 8934 was created thousands of messages after a message with ID 4523. It cannot have an earlier timestamp.

The server_timestamps of the incriminating messages are empty. The surrounding actual messages have consistent server_timestamps, assigned by WhatsApp servers. The fabricated messages do not have server_timestamp because they never passed through WhatsApp servers. They were inserted directly into the local database.

The WAL file records the insertion of those logs with an operating system timestamp that corresponds to two weeks after the date displayed in the messages. That is to say: the system log says that these records were created on March 3, but the messages say that they were "sent" on February 15. Fifteen days of lag. Documented. Irrefutable.

There is no correspondence on the defendant's device. When the database is extracted from the defendant's phone, those messages do not exist. Neither as active records, nor as deleted records, nor as fragments in unallocated space, nor as traces in WAL files. There is no trace that these messages have been sent from that device. Because they were not sent. They were manufactured on the other device.

The forensic expert opinion documents each of these inconsistencies with specific data, with screenshots of the database (not of the WhatsApp screen -- of the database), with comparative tables, with the reproducible methodology. And concludes: the messages presented by the counterparty present manufacturing indicators consistent with the manual insertion of records into the SQLite database.

That's what forensic science does. He doesn't look at the screen. Look below the screen. And under the screen, the lie does not survive.

210-A as a defense weapon for the accused

I need to elaborate on something that many defense attorneys underestimate: Article 210-A is not only a standard for presenting evidence. It is a weapon to challenge them.

210-A establishes three evaluation criteria. When the counterparty presents WhatsApp screenshots as evidence against you, each criterion becomes an argument for challenge:

Reliability of the method. Your lawyer argues: "The evidence submitted is a screen capture, an image file generated by the screen feature of the operating system. That method does not verify the authenticity of the captured content. There are documented methods -- To inspect Element in browser, mochup applications, SQLite database editing -- that allow to generate visually identical catches to actual conversations. The method cannot be reliable as per 210-A."

Attributability. Your lawyer argues: "The capture shows a contact name that the device's holder assigns at will. No JID (Jabber ID) analysis has been submitted from the WhatsApp database that technically links messages to my represented. Without JID monitoring, attribution is an assertion, but not a technical demonstration."

Accessibility for later consultation. Your lawyer argues: "Capture is a static file that does not allow independent verification. The database of origin with integrity hash has not been preserved. The original source cannot be accessed for later consultation. The accessibility criterion remains unchanged."

Three arguments. Three statutory requirements have been met. Three reasons for the judge to discard his evidence.

And if the judge doesn't give up his evidence with these arguments, your lawyer's applying for an expert. That the device of origin be exhibited. That a forensic expert removes the database. To check if messages are true or made. If the counterparty refuses to display the device, that refusal speaks. If the counterparty exhibits the device and the expert confirms the production, the case goes back: the accuser becomes accused.

The onus probandi operates with crystal clarity in this scenario: whoever claims that the chat is real must prove it with the 210-A standard. One catch doesn't meet that standard. A forensic expert report yes. If the counterparty does not want to subject its "evidence" to forensic verification, the procedural conclusion is inevitable.

The procedural challenge: what your lawyer should do

If you're being charged with a fake WhatsApp chat, your lawyer has a procedure to follow. That's not complicated. But it requires an appropriate and proper procedure.

Step one: challenge the evidence by invoking article 210-A. Your lawyer should argue that screen capture does not meet the reliability requirements of the method, attributable and accessibility for later consultation. It should be noted that the capture may have been made by any of the methods I have described. It should demand that the test be rejected as insufficient.

Step two: request display of the original device. If the counterparty claims that the conversation is real, that it displays the device from where it was extracted. He doesn't get her. The device. For a forensic expert to conduct a forensic extraction of the database and to check the authenticity of messages.

Step three: request computer forensics forensic. Your lawyer should request a computer forensic expert to conduct database analysis. The forensic expert will remove the msclore.db, compute the integrity hash, analyse server tipprints, check the sequence of IDs, review WAL files, cross the mean logs and issue an opinion that will determine whether messages are true or have handling indicators.

Step Four: Offer to remove your own device. If you're the supposed sender of those messages and you say you never wrote them, offer your phone for an expert. If the messages do not exist in your database -- as active and as deleted and as traces in WAL archives -- that's evidence. That's evidence that those messages were never sent from your device. And if they were never sent from your device, someone did them on the counterparty device.

Accused who reads to me: To offer your device voluntarily is one of the most powerful signs that you can give to the judge. He says, "I have nothing to hide. Here's my phone. That forensic expert verifies." That's the antithesis of what makes someone guilty. And as a matter of fact, it puts the burden to the counterparty: if you have offered checks and the counterparty refuses to display his device, the judge draws conclusions.

Accused who reads me, in "They accuse me with fake WhatsApp chats: How to prove manipulation in court"

The cost of not acting: what happens when the accused does not contest

I'm going to be straight with something that hurts but needs to be said: I have seen people convicted -- or with bad civil and family sentences -- with WhatsApp chats with clear manufacturing indicators. Indicators that an expert would have revealed. Indicators that nobody's been after because nobody's been applying for an expert.

Not because the technology didn't exist. Because the lawyer didn't know her. Or because the accused did not know that he had the right to request it. Or because the judge did not require verification. Or because the system assumed that if it "looks like WhatsApp," it is WhatsApp.

The cost of not contesting is real. It's concrete. It is measurable in years, in money, in child custody, in lost assets, in freedom.

If you get charged with a fake chat and you don't challenge it, the judge appreciates the evidence with what he's got. And what she's got is an image that looks real. And about that image builds his resolution.

If you challenge and demand expert information, one of two things happens: either the messages are true and the expert confirms them (and at least you know the truth), or the messages are made and the expert shows them (and your defence is built about verifiable science).

In both scenarios, contesting is the correct decision. Not contesting is accepting that an image determines your destiny without verification. And that, in the 21st century, with the tools that exist, with the forensic science available, has no justification.

What the judge and the public prosecutor need to understand

I need to speak now directly to the judge and the public prosecutor who receive WhatsApp screenshots as evidence. Because the problem is not just that the captures occur. The problem is that they are accepted without question.

Mr. Judge: A WhatsApp screen capture isn't more reliable than a photocopy of a document. Just as you would not accept a photocopy as proof of a contract without viewing the original and with no expert that verifies its authenticity, you should not accept a screen capture as proof of a conversation without a forensic extraction that verifies that the conversation actually existed in the database of the original device.

I'm not asking you to become an engineer. I'm asking you to apply the same criteria you apply with any other test: verification of authenticity. The capture is not verified by looking. The capture is verified by extracting the database and analyzing its internal structure.

Article 210-A exists precisely for this. So that the information generated by electronic means is valued according to the reliability of the method. A screenshot is not a reliable method. A forensic extraction is.

Public Ministry: When you get a report supported by WhatsApp's capture, your obligation is to check the authenticity of these catches before integrating them into the research folder as evidence. If you integrate them without verification and defence challenges them with an expert that proves manufacturing, you don't just lose proof -- you lose credibility. And the innocent person that was charged with fabricated evidence paid a cost that nobody will give back.

The counterparty who made the chat: what awaits you

I also need to talk to the other party. To the person who presented a fabricated chat as evidence. Because you need to know something that maybe you didn't consider when you created that conversation in two minutes.

Fabricating evidence is a crime. In Mexico, presenting false documents before a judicial authority constitutes the crime of procedural fraud. And if the fabrication is detected through expert testimony -- and it is, it is a matter of when, not if --, the consequences go beyond losing the argument.

The counterpart that presents a fabricated chat is playing with two simultaneous fires. First: the risk that the expert report will demonstrate fabrication and your evidence will be discarded, thereby losing the argument you intended to win. Second: the risk that the manufacturing documented in a forensic expert report will be used as the basis for a criminal complaint against you.

I have seen both scenarios. I have issued opinions that demonstrate manipulation and that end up not only discarding the accuser's evidence, but turning him into the accused. The irony is perfect: the person who created a chat to destroy another ends up destroying himself. Because the expert report does not say "it was probably fabricated." It says: "the database structure presents the following inconsistencies that are incompatible with a genuine conversation generated by the WhatsApp application." And that opinion, with its hash, with its methodology, with its reproducibility, is a procedural bomb that cannot be defused.

Counterpart who reads me knowing that the chat he presented is not genuine: You're still on time. Withdraw the test before an examination is requested. Because once the forensic expert opens your device's database, production will be documented with forensic accuracy. And "I didn't know that we could have been" isn't a defense that works when the opinion shows that you have published the SQLite database with a third party tool two weeks before presenting the "proof."

Counterpart who reads me knowing that the chat he presented is not genuine, in "They accuse me with fake WhatsApp chats: How to prove manipulation in court"

Expertise: the only defense and the only attack

I will close with what I consider to be the central lesson of this article, because it applies both to those who defend themselves from a fake chat and to those who need to prove that a chat is true.

computer forensics WhatsApp database forensics is the only way to determine with technical certainty whether a conversation is authentic or fabricated. There is no other. The lawyer does not have it. The judge does not have it. The notary does not have it. It is not the opinion of an expert who "looked at the capture and thought it was real."

The scientific analysis of the database has it. The server timestamps. The sequence of IDs. WAL files. The file system metadata. The average records. The cross comparison between devices.

If you're the defendant with a fake chat against you: request an expert. That's your law of procedure. That's your defense. That's the only way to prove that these words aren't yours.

If you are the defendant's lawyer: do not agree with argue that "it can be false." Prove that's fake. He's applying for forensic extraction. Requests an display of the source device. It offers your client's device for cross-check. Build your defense about science, not about arguments.

If you're the judge that has to decide, demand verification. Don't accept catches as final evidence. Apply 210-A. Because if you accept a capture made as evidence and conviction of an innocent person based on it, injustice did not only cause them to manufacture the chat. It was also caused by those who accepted it without checking.

I have analyzed hundreds of WhatsApp databases. I have found fabrications that ranged from the crude -- messages inserted with absurd timestamps -- to the sophisticated -- database edits with some technical care. But all, absolutely all, left a trace. Because making what you see on the screen takes two minutes. Fabricating the internal consistency of an SQLite database with server timestamps, ID sequences, WAL files, media logs, and file system metadata in a way that withstands serious forensic analysis... I haven't seen that. In many years, I haven't seen him.

The screen lies. The database does not.

At Duriva we do exactly this: we analyze the WhatsApp database to determine if a conversation is authentic or fabricated. We don't look at catches. We do not comment on images. We extract the database from the device, apply the integrity hash, analyze the internal structure and issue an opinion that tells the technical truth. Because in a trial, the technical truth is the only one that cannot be challenged with arguments.

If you get charged with a chat you didn't write, don't fight with words. Fight with science.

Contact
Let's talk about your case
Open contact form