Can police plant evidence on your phone? That's how we detect production

2026-05-14

Internal image: Can the police plant evidence on your cell phone? This is how we detect the manufacturing

Yeah. The answer's yes.

I'm not going to beat around the bush because the question deserves it: yes, evidence can be planted on a cell phone. Yes, digital guilt can be manufactured. Yes, files, messages, photographs and records can be inserted into a device to incriminate a person who did not commit a crime.

I can say that because it's a technical fact, not a political opinion. Any person with physical access to an unlocked cell phone can copy files into his memory, install applications, send messages from that device, create records that are later submitted as a crime activity "test." That's technically trivial. No need to be a hacker, no need for military software, no specialist training. It takes five minutes alone with an unlocked cell phone.

Now, just because it can be done doesn't mean it doesn't leave a trace. And that's where computer forensics comes in. Because planting evidence is easy. Getting it right -- in a way that will withstand serious forensic analysis -- is extraordinarily difficult. Almost impossible.

During my professional career doing this. I have trained forensic experts in Latin America. And I'll be honest with you: every file that is created, every message that is sent, every image that is copied to a cell phone leaves a trace in the file system that is practically indelible. A trace that cannot be seen with the naked eye, that does not appear on the phone screen, that cannot be erased by changing the date or deleting the file. A trace that lives in the bowels of the operating system, in the internal databases, in the kernel logs, in the EXIF ​​metadata, in the file system timestamps.

This article is directed to the family who suspects that the evidence against their loved one was fabricated. To the defense lawyer who needs to understand how the manufacture of digital evidence works in order to question it at a hearing. To the activist and the journalist who investigate cases where the authority may have crossed the line. And to anyone who wants to understand why the fabrication of digital evidence -- unlike the fabrication of physical evidence -- leaves traces that science can read.

The mechanics of manufacturing: how evidence is planted in a cell phone

I'll explain this with technical precision because understanding how it's necessary to understand how it's detected.

A cell phone's basically a computer. It has an operating system -- Android or iOS --, a file system that organizes information -- out4 at most Android, APFS on iPhone --, internal databases that record the activity of each application, and a system clock synchronized with external servers that sets the exact time of each operation.

When someone -- an agent, a technician, anyone with access to the device -- decides to plant evidence, they have several options:

Copy files directly. Connect your cell phone to a computer via USB and transfer files: photographs, documents, videos. It is the crudest and the easiest to detect, but also the most common.

Send messages from the device. Open WhatsApp, Telegram, SMS, and write incriminating messages as if they had been written by the owner of the cell phone. Send them to another number or receive them from another controlled number.

Install applications. Install apps that can later be used to justify criminal behavior. For example, installing an encrypted messaging application and then claiming that the defendant "used encrypted communications for illicit activities."

Create navigation logs. Open the cell phone browser and visit web pages that later appear in the history as if the owner had visited them.

Each of these actions is technically simple. And each one leaves a detectable trace.

Timprints that do not match: first production sign

The most important concept for detecting planted evidence is the timestamp.

Each file on a cell phone has at least three timestamps recorded by the operating system:

Creation date (created). The time when the file was first created on that file system.

Modification date (modified). The last time the content of the file was altered.

Access date (accessed). The last time the file was opened or read.

These three dates are recorded automatically. They are not set by the user. They are set by the operating system. And here's the critical thing: when someone copies a file to a cell phone, the creation date recorded by the file system is not the date the file was originally created. It is the date the file was copied to that device. It is the date of arrival, not the date of birth.

I will put an example to make it absolutely clear.

Let's say that his detention happened on March 15th. The prosecution's report indicates that an "compromising" photo was found on his cell phone with a date of 10 January. The photo appears at the gallery with that date. To his clear eye, it looks as if the defendant took or received that photo on January 10. Case closed, says the prosecution.

But the forensic forensic expert does not look at the gallery. The forensic expert looks at the file system. And in the file system, the creation date of that file -- not the date displayed by the gallery app, but the date recorded by the operating system when the file landed in the device's memory -- is March 17. Two days after the arrest.

January 10 is the date that is in the photo's EXIF metadata -- the information embedded in the image file. That date tells when the photo was originally taken. But the file system says otherwise: that file did not exist on this device on January 10. It arrived on March 17.

The question that follows is obvious: if the accused was arrested on March 15 and his cell phone was seized that day, how is it possible that a file was created on his cell phone two days later?

That discrepancy between the metadata date and the file system date is the signature of fabrication. It's the forensic equivalent of finding the thief's fingerprint on the window. It cannot be explained any other way.

Family that suspects setup: That's exactly what a forensic expert forensic looks for. We don't look at what's on his cell phone screen. Let's look at what's under. The actual dates, those that put the operating system, those that cannot be changed by opening the phone's watch settings.

Family that suspects setup, in "Can the police plant evidence on your cell phone?" This is how we detect the manufacturing

Metadata that lies: the second layer of detection

Metadata is information about information. And in the case of the manufactured digital evidence, the metadata tells a different story than what the prosecution intends.

Each photograph taken with a cell phone contains EXIF metadata: model of the cell phone with which it was taken, resolution, camera settings, and in many cases, GPS coordinates of the place where the image was captured. Each WhatsApp file has its own database with records that include the server that processed the message, server timestamp, delivery and reading status.

When a photograph is planted on a cell phone, the EXIF metadata of that photograph often reveals the fabrication:

The camera model does not match the device. If the defendant's cell phone is an Samsung Galaxy A52 but his photo's EXIF metadata say it was taken with an iPhone 13 Pro, that photo was not taken with his cell phone. It was taken with another device and copied.

The GPS coordinates do not match the location of the accused. If the EXIF metadata place the photo at a co-ordination where the accused was never -- and the logs of telecommunications antennas confirm it -- there's an inconsistency that the prosecution has to explain.

The image resolution or settings do not correspond to the device's camera. Each cell phone model has specific camera specifications. If the image has a resolution that the defendant's cell phone cannot generate, it was produced by another device.

In the case of WhatsApp messages, the detection is even more precise. The WhatsApp database -- msgstore.db on Android -- records each message with a timestamp that comes from the WhatsApp server, not the phone's clock. If someone plants a fabricated message, they can manipulate what is seen on the screen, but the record in the database has inconsistencies: the server_timestamp field may not exist, or may have a value that does not match the records of WhatsApp servers, or the sequence of message IDs may be broken.

A forensic expert forensic doesn't read the chats as a user reads them. A forensic expert forensic opens the database and reads the internal fields that the user never sees. And those fields tell the truth that the screen can hide.

Defense attorney taking a case where the evidence feels too convenient: Requests an expert to analyse the metadata of every file that the prosecution has submitted as evidence. Not the metadata you see. The metadata that are in the file system and internal databases. If the files were planted, the metadata will say so.

Planted files have detectable traces: the window between arrest and seizure

This is the pattern I have seen often enough to make it an analysis protocol.

When the prosecutor's office detains a person and seizes their cell phone, there is a time window between the arrest and the formal delivery of the device to chain of custody. That window can be minutes, hours, sometimes days. And it's in that window where manufacturing happens, when it happens.

Forensic analysis focuses on that window with relentless precision.

All files created, modified or accessed to the device after documented time of detention are identified. Those files are crossed with the timeline of the case. It checks whether the activity registered with the device after detention is consistent with the user's normal conduct or whether it represents an anomaly.

And here's something that many don't know about: even if someone removes the file they planted, the file system keeps a record. At ext4 -- Android's standard file system -- the deleted inodes retain time brands. At SQLite databases -- that's what they use WhatsApp, Telegram, Chrome, Facebook and practically all applications -- deleted logs leave prints on the unassigned database space and WAL (Write- Ahead Log) files that work as a transaction log.

The WAL is particularly revealing. It is a file that records every write operation to the database before it is consolidated. If someone inserted a message into the WhatsApp database and then deleted it, the WAL can preserve the insert operation. It is like an accounting book where the erasure is visible.

Journalist investigating a suspicious case: When documenting a case where evidence production is alleged, the technical elements you have to seek are these: discrepancy between file system dates and file metadata, device activity after stop time, archives whose camera model in EXIF metadata doesn't match the device, WAL database records that reveal insertion and data disposal. A forensic expert can give you a technical opinion that document all this with scientific rigour. That's not an opinion. That's data from the operating system.

Journalist investigating a suspicious case, in "Can the police plant evidence on your cell phone?" This is how we detect the manufacturing

Forensic reverse engineering: reconstructing what really happened

Forensic reverse engineering is the process of taking the data that is on the device and reconstructing, second by second, the true story of what happened. Not the story the prosecution wants to tell. Not the story the defendant wants to tell. The story that the data tells.

In a case of suspected manufacturing, reverse engineering works like this:

File system timeline. All time marks are extracted from all device files and ordered chronologically. That timeline shows the activity of the second to second cell phone: which files were created, which were modified, which were accessed, which were deleted. On a regular use cell phone, this timeline shows an organic pattern -- activity during monitoring hours, inactivity at night, usage peaks consistent with user habits.

When there is manufacturing, the timeline shows an anomaly. A block of activity that does not fit the user's pattern. Files created in a burst of minutes to an hour where the device should have been in the authority's possession. Records that appear in the database without the logical sequence that they would have if they had been generated by normal use.

Analysis of operating system logs. Android and iOS maintain internal logs that record system events: USB connections, configuration changes, application installation and uninstallation, system date and time changes. If someone connected the cell phone to a computer after the arrest to transfer files, the system log records it. If someone changed the date on the phone's clock to try to make the planted files look older, the log records the time change.

Changing the date on the phone's clock is, by the way, a particularly clumsy manufacturing attempt. Because the operating system registers the time change with the real time of the NTP server to which it automatically synchronizes. That is to say: the system says "the clock was manually changed from 15:00 on March 17 to 22:00 on January 10." And then it says: "the clock was re-synchronized with the NTP server at 15:05 on March 17." The manipulation attempt is documented by the operating system itself.

Cross analysis with external sources. The timeline of the device is crossed with the telecommunications records -- the call sheets under article 183. If the sheet shows that the cell phone was inactive since 10 in the morning on the day of the arrest -- because it was turned off or was out of coverage --, but the file system shows creation of files at 3 in the afternoon of that same day, there is a contradiction that only has two explanations: either the cell phone was connected to an antenna that did not register the connection, or someone manipulated the device off the grid.

And the second explanation is, in most cases, the right one.

The typical case: files that appear after arrest

No names, no identifiable information, because what matters is mechanics, and not identity.

Person arrested on a Friday at 8 in the morning. Cell phone seized at the time of arrest. The following Monday, the prosecutor's office presented a report in which they said they had found photographs related to criminal activity on the cell phone. The photographs appear in the cell phone gallery with dates from weeks prior to the arrest.

The family is suspicious. Hire an independent forensic expert forensic examiner.

The forensic expert extracts the forensic image of the device and begins file system timeline analysis. What you find is the following:

The photographs that the prosecution presents as "found" have, in their EXIF metadata, dates from previous weeks. But the creation date on the ext4 file system -- the date the operating system recorded when those files landed in the cell phone's memory -- is Saturday. One day after the arrest.

The IMEI recorded in the system logs shows a USB connection with an external device on Saturday at 2:22 p.m. The cell phone was in the prosecutor's evidence warehouse. The chain of custody log does not document any authorized extraction for that day.

The EXIF metadata of the photographs show that they were taken with a different cell phone model than the defendant.

The cell phone gallery database -- which is an SQLite database independent of the photos themselves -- shows that the entries for those photos were inserted with a timestamp pattern inconsistent with the existing database pattern. The autoincremental IDs of new entries break the sequence of previous records.

With these four elements -- date of creation after the arrest, unauthorized USB connection, different camera model, inconsistency in the gallery database -- the forensic expert issues an opinion documenting that the evidence presented by the prosecution is not consistent with genuine user activity and that it presents technical indicators of post-seizure insertion.

That's forensic reverse engineering. That's what data says when someone knows how to read it.

The typical case: files that appear after the arrest, in "Can the police plant evidence on your cell phone?" This is how we detect the manufacturing

Article 210-A as a shield against manufacturing

Article 210-A of the Federal Code of Civil Procedure establishes three requirements for electronic information to have evidentiary value:

Reliability of the method. The method used to generate, communicate, receive or archive the information must be reliable. If the evidence was planted -- that is, if the method by which that information reached the device was not normal use by the owner but rather deliberate insertion by a third party -- the reliability of the method is null.

Attributability. The information must be attributable to a specific person. If the planted photographs were taken with a different device than the defendant's, attributability fails. The defendant cannot be attributed with creating files that were created with another device.

Accessibility. The information must be available for further consultation. If the file system logs show that the information was inserted after the stop, the "availability" of that information is a result of tampering, not fair use.

Each of these three requirements can be questioned with technical evidence when there are manufacturing indicators. And the onus probandi operates in favor of the defense: if the defense presents a forensic expert report that documents manufacturing indicators -- inconsistent dates, metadata from another device, post-arrest activity --, it is the prosecution that has to explain those inconsistencies. Not the other way around. He who says it, proves it. And if the prosecution says that the evidence is authentic, it has to prove it against the manufacturing indicators that the defense's forensic expert documented.

What to do if you suspect they planted evidence

Family that reads me and has that feeling that something doesn't add up, that the evidence appeared too convenient, too perfect, too fashionable: Trust that instinct. Not because instinct is proof but because that instinct justifies searching for proof.

What they need is a forensic expert report that analyzes the device at the file system level -- not at the screen level, not at the screenshot level, not at what is "seen" on the cell phone. At the level of the file system, databases, and operating system logs. That level of analysis is what reveals the real story.

If his cell phone is held by his public prosecutor's office, his defence counsel has the right to request an independent forensic expert examination. If the prosecution refuses, that refusal challenges itself. If the judge authorized the examination and forensic expert found manufacturing indicators, his or her hands had proof that could change the whole case.

If the cell phone isn't available anymore -- because it's been "lost" at his place of detention, because it's been returned without preservation, because the prosecution says it doesn't have it -- the forensic expert works with what's there: with the prosecution's extraction, if anything. Because even with the prosecution's extraction, if it was made with forensic tools that capture the complete file system, production indicators are there. At the time marks. At the logs. The metadata. The data isn't missing for ignoring them.

Activist, journalist documenting abuses: manufacturing digital evidence isn't a myth. That's a real and undocumented risk. What differentiates them from the production of physical evidence -- to plant drugs and to plant weapons -- is that digital production leaves a scientific trail that a forensic expert can read. The sown drug doesn't come with a seal of "doesn't belong to the accused." That's the difference. And that difference's what a forensic expert can document.

During my professional career analyzing cell phones. I have seen legitimate evidence that incriminates the guilty and I have seen fabricated evidence that incriminates the innocent. The difference between one and the other cannot be seen by looking at the phone screen. It is seen by looking at the file system, databases, operating system logs and the metadata of each file.

The manufacture of digital evidence is an act that is committed in minutes. Detecting it is a process that requires knowledge, validated forensic tools and a forensic expert that knows exactly where to look. But when it is detected -- when the forensic expert report documents with mathematical precision that the evidence is not consistent with genuine use of the device -- the accusation built on that evidence collapses.

Computer forensics has no loyalties. He is neither on the side of the accused nor on the side of the prosecution. It's on the data side. And the data, when read correctly, tells the truth. Even the truth that someone tried to hide.

At Duriva, that's what we do. We read the data. All. Those that suit and those that don't. And when the data says that the evidence was fabricated, we document it with the scientific rigor that the justice system demands. Because a person's freedom should not depend on whether or not someone had access to their cell phone for 48 hours without supervision.

It should depend on the truth. And the truth is in the data.

Contact
Let's talk about your case
Open contact form