Can police manufacture your guilt with a cell phone? That's how we detect planted evidence

2026-05-14

Internal image: Can the police fabricate your guilt with a cell phone? This is how we detect planted evidence

The answer is yes. And I don't say that as an opinion. I say this as a demonstrable technical fact.

A person with physical access to an unlocked cell phone can, within minutes, insert files, create messages, install apps, generate a browsing history and build a guilt narrative that never existed. That's technically trivial. No need to be a hacker. No sophisticated equipment required. It takes five minutes and an unlocked cell phone.

That's manufacturing.

But detecting the fabrication -- exposing the lie, dismantling the trap, demonstrating that what the prosecution presents as a "finding" is actually an insertion -- is a job of forensic reverse engineering. It is looking below the surface, beyond what the screen shows, to the deep layers of the operating system where the data cannot be disguised. Because the operating system doesn't lie. People lie. Institutions can lie. The cell phone screen can show what someone wants it to show. But the file system, the kernel logs, the EXIF ​​metadata, the internal databases, the WAL transaction logs -- those don't lie. Those record reality, including the reality that someone tried to fabricate.

During my professional career doing computer forensics. I have trained forensic experts in Latin America. My lab, Duriva, has experience in unauthorized transfers analysis and digital banking evidence. And I am frank: I have analyzed devices where the evidence that the prosecution presented as "found" did not exist on the cell phone at the time of arrest. It came later. And the operating system registered it. Silently, automatically, without anyone asking. Because that's what an operating system does: record everything.

This article is for the family who suspects a setup. For the defense attorney who needs to understand the mechanisms of detecting fabricated evidence. For the activist who documents abuses. For the journalist who investigates a case where the official narrative does not add up. And for anyone who wants to understand why the manufacture of digital evidence -- unlike planting drugs or planting a weapon -- leaves a scientific trail that a forensic expert can read.

The Mechanics of Manufacturing: How Easy It Is to Plant Evidence

I'm gonna be straight with this because the gravity of the problem requires it.

Planting evidence on a cell phone is technically simple. There are multiple methods, each with a different level of sophistication, but they all share something: they are accessible to anyone with physical access to the device.

Direct file transfer. Connect the cell phone to a computer via USB cable and copy files to the memory: photographs, documents, videos. On Android, just drag files from your computer to your cell phone. No special software is needed. It's like copying files to a USB stick.

Sending messages from the device. Open WhatsApp, Telegram, SMS on the accused's cell phone and write incriminating messages. Send them to a controlled number. Receive them from a controlled number. Create a conversation that never existed but appears in the application as if the owner of the cell phone had had it.

Downloading compromising content. Open the cell phone browser, visit specific web pages, download files. The browsing history and downloads are recorded as if the owner of the cell phone had made them.

Installing applications. Install applications that are later presented as evidence of criminal behavior.

Capture of photographs. Using the defendant's cell phone camera to photo scenes, papers, people. The photos are at his cellphone gallery as if his defendant had taken them.

Each of these actions takes minutes. And the window of opportunity to carry them out exists in almost all detention processes: that period between the seizure of the cell phone and its formal entry into the chain of custody. That black hole that I documented in Post 37. That period where the cell phone is in the hands of the authority without a record of who has it, without a Faraday bag, without supervision, without a hash that guarantees its original state.

Family that suspects 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. And the test's in the profound layers of the device, where production always leaves track.

First phase of detection: timprints that do not match

The most important concept for detecting planted evidence is the timestamp. And to understand why timestamps give away manufacturing, you need to understand that every file on a cell phone has multiple timestamps operating simultaneously.

The file system record three time marks for each file:

  • Creation date (created): When the file first landed in that memory.
  • Modified date: When its content was last altered.
  • Accessed date: When it was last opened or read.

The internal metadata of the file -- like EXIF data for a photo -- records information about the file itself: when it was originally created, with what device, with what settings.

And here's the key: these two tipprints sets are independent. The file system records when the file reached his cell phone. Internal metadata record when the file was originally created. When a file is created directly onto his cell phone -- taking a photo, texting -- both timprints match. But when a file's copied to his cell phone from an outside source, they don't match.

I'll put a concrete example.

The arrest occurs on April 20. The prosecution presents an opinion that says it has found incriminating photographs on the accused's cell phone, dated March 5. At first glance -- looking at the cell phone gallery, looking at the "properties" of the file -- everything seems coherent. The photos say March 5.

But the forensic forensic expert does not look at the gallery. The forensic expert looks at the file system. And in Android's ext4 file system, the creation date of those files -- the actual date they landed in the device's memory -- is April 22. Two days after the arrest.

March 5 is the date that is in the EXIF metadata of 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 March 5. It arrived on April 22.

If the accused was arrested on April 20 and his cell phone was confiscated that day, how can a file have been created on his cell phone two days later?

That discrepancy is the signature of the manufacture. It's what in my lab we call "the planter's footprint." It cannot be explained with normal use of the device. It has only one logical explanation: someone copied that file to their cell phone after the arrest.

Defense lawyer: When the prosecution puts "found" files on your client's phone, the first technical question that your forensic expert should answer is: is the date of creation in your file system prior to or after the stop? If later, you have evidence of post-stop insertion. That's not a form argument. That's an argument that can bring down the whole prosecution.

Defense lawyer, in "Can the police fabricate your guilt with a cell phone?" “This is how we detect planted evidence”

Second layer of detection: EXIF metadata that give up another device

EXIF metadata is information embedded within the image file that records the conditions of its capture. Among many other pieces of information, EXIFs include the model of the device that took the photo, the camera resolution, the lens settings, and in many cases, the GPS coordinates of the capture location.

When the prosecution presents photographs supposedly taken with the defendant's cell phone, the EXIF metadata must be consistent with that device. If the accused's cell phone is a Xiaomi Redmi Note 12, the EXIF ​​metadata of the photos supposedly taken with that cell phone must say "Xiaomi Redmi Note 12." The resolution must correspond to the camera specifications of that model. Lens configuration must be compatible.

When the EXIF metadata says otherwise -- an iPhone 14 Pro, a Samsung Galaxy S23, any model different from that of the accused -- the photograph was not taken with the accused's cell phone. It was taken with another device and copied. And if it was copied to the defendant's cell phone after the arrest, we have two layers of manufacturing evidence: post-arrest file system timestamp and camera model that does not correspond to the device.

But EXIF detection goes beyond the camera model.

GPS coordinates in EXIF. If the photo allegedly taken by the accused has GPS coordinates that do not coincide with any location where the accused has been and the logs of telecommunications antennas confirm it, there's an inconsistency that the prosecution has to explain. If the EXIF metadata place the photo in a coordinate where the defendant was never there, that photo was not taken by the accused.

Resolution and image configuration. Each cell phone model has unique camera specifications: megapixels, aspect ratio, sensor size, JPEG compression type. If the image has a resolution of 48 megapixels but the defendant's cell phone has a 12 megapixel camera, that image was captured with another device. The physics of a 12 megapixel sensor cannot generate a native 48 megapixel image. It's like saying a .22 caliber gun fired a .45 caliber bullet. It's not possible.

Journalist investigating a suspicious case: When documenting a case with an allegation of evidence production, EXIF metadata are the first layer to be requested to be analysed. If the camera model in the metadata doesn't match the defendant's cell phone, you have a verifiable, quantifiable and published data. Not an opinion. A figure from his own file that the prosecution submitted.

The third phase of detection: archives that appear after detention

This is the pattern that I have documented frequently enough to make it a standard analysis protocol in my laboratory.

File system timeline analysis -- the chronological reconstruction of all device activity, file by file, second by second -- allows you to identify anomalies that normal cell phone use does not produce.

On a cell phone with normal use, activity follows an organic pattern: file creation during waking hours, inactivity during the night, usage peaks consistent with the user's habits. The owner of the cell phone takes photos when he goes out, receives messages when he is awake, downloads files when browsing. Everything has a rhythm.

When there is manufacturing, the timeline shows a pattern breakout.

A block of files created in a window of minutes -- not hours, minutes -- an hour from where the device should have been in possession of the authority. A burst of activity that doesn't suit the user's historic conduct. Files that appear at once, without the gradual sequence they would have if they had been generated by natural use.

The forensic expert identifies all files created, modified or accessed on the device after the stop time documented in the record. It crosses them with the timeline of the case. Checks whether the activity recorded after stopping is consistent with normal user behavior -- or whether it represents an injected anomaly.

And there's an additional data that's particularly revealing: USB login. Android and iOS maintain internal system event records, including USB connections with outside equipment. If the cell phone was connected to a computer after the stop to transfer files, the system log logs them. With tirestamp. with an identifier of the outside equipment. If chain of custody does not document any forensic intervention for that day, but the logs have a USB connection, there's a handling that nobody authorized and nobody reported.

Activist documenting abuse: manufacturing digital evidence isn't a myth. That's a real and undocumented risk. But what differentiates it from the production of physical evidence -- planting drugs, planting a weapon -- is that digital production leaves a scientific trail. The sown drug doesn't come with a seal of "doesn't belong to the accused." But the planted file does come with a date of creation that says "I wasn't here before authority had his cell phone." That's the difference. And that difference is what makes forensic computer science the natural counterweight against manufacturing.

Activist who documents abuses, in "Can the police fabricate your guilt with a cell phone?" “This is how we detect planted evidence”

Fourth detection layer: internal databases with broken sequences

This is the most technical layer and the most difficult to fake. It is where manufacturing crashes into the complexity of the system.

Each application on a cell phone maintains its own SQLite database. WhatsApp has msgstore.db. Telegram has its own. The photo gallery has a database that indexes all images. Browsing history has another one. Each of these databases has an internal structure with rules that normal cell phone use automatically respects.

Autoincremental IDs. Each record in an SQLite database has a unique ID that is automatically incremented. The first message is ID 1, the second is ID 2, the third is ID 3. The sequence is continuous, without jumps. When someone manually inserts a record into the database, the ID of the new record breaks the sequence. If the existing messages go from 1 to 5,247 and the inserted message has the ID 5,248 but is positioned chronologically between messages 3,100 and 3,101 -- because they put a timestamp of March 5 so that it appears among the messages of that date --, the inconsistency is detectable. The ID says it is the last record created. The date says it should be halfway through the database. That doesn't happen with normal use.

WAL (Write-Ahead Log) files. This is the most devastating element for the manufacturer. The WAL is a log that SQLite maintains to record every write operation to the database before it is consolidated. It works like an accounting book where each transaction is recorded. If someone opened the WhatsApp database, inserted a fabricated message, and saved, the WAL records the insertion operation with its actual timestamp -- that of the operating system at the time of insertion, not the timestamp that the manufacturer put in the message field.

It's as if a check forger wrote the check dated January, but the banking system recorded that the transaction was processed in April. The paper says January. The system says April. The system is right.

Timestamp server vs. local tirestamp. In the case of WhatsApp, each authentic message has a field called server_timestamp that contains the time recorded by the WhatsApp server when it processed the message. That field is independent of the phone's clock. When someone fabricates a message by editing the database, they can manipulate the date displayed in the application, but the server_timestamp field will be empty, have a value of zero, or have a value inconsistent with the actual server logs. A message without a valid server_timestamp is a message that was never processed by the WhatsApp server. And if the server never processed it, it's not a real message.

Family that suspects montage in the accused's WhatsApp: That's exactly what a forensic expert looks for. He doesn't read chats as a regular user. Open the database and check the internal fields that nobody sees on the screen. If the messages were planted, the database says so. Not with opinions. with data. ids out of sequence. Server tipprints absent. Replacement operations registered with WAL after detention. The database is the silent witness of production.

Fifth Detection Layer: system watch and NTP servers

There's one particularly clumsy manufacturing attempt that I have to mention because I've seen it more than once: changing the time on your cell phone's clock.

The manufacturer's logic is simple: if I change the cell phone time to March 5 before copying the files, the creation timestamps in the file system will say March 5. It seems logical. And it's true: if you change the phone's clock before creating the file, the creation date will reflect the fake date.

But the operating system registers the time change.

Android and iOS periodically sync with NTP (Network Time Protocol) servers -- servers that provide the exact time. The operating system maintains a synchronization log. If someone manually changed the clock time from 15:00 on April 22 to 22:00 on March 5, the system log records: "System time manually changed from 15:00 04/22 to 22:00 03/05." And when the cell phone reconnects to the network and re-synchronizes with the NTP server, the log records: "Time re-synchronized with NTP server: 15:05 04/22."

The manipulation attempt is documented by the operating system itself. The time was changed, the necessary operations were done, and the time was corrected again. The log says it all. And that log is removable with forensic tools and presentable before a judge.

Fifth layer of detection: system watch and NTP servers, in "Can police manufacture your guilt with a cell phone? That's how we detect planted evidence."

Forensic reverse engineering: reconstructing what really happened

All of the above -- tipprints, EXIF, IDS sequences, WAL, NTP logs, USB connections -- are integrated into what we call forensic reverse engineering: the process of taking all available data from the device and rebuilding, second to second, the actual story of what happened.

Not the story the prosecution wants to tell. Not the story the defense wants to tell. The story that the data tells.

Forensic reverse engineering in a suspected manufacturing case follows a protocol:

1. Complete forensic extraction of the device. Bit-by-bit image with SHA-256 hashing before and after. Not a logical extraction that only captures visible files. A physical extract that captures all memory, including unallocated space and deleted data.

2. Construction of the super-timeline. All time marks are extracted from all archives, all databases, all login of the operating system and are tipically ordered. That super-timeline shows the activity of the second to second cell phone: which files have been created, which have been modified, which have been accessed, which have been deleted, what applications have been run, what connections have been made, what changes have been made.

3. Identification of the critical window. The exact time of his detention is marked by the minutes. Any activity on the device after that moment was activity that happened when the cell phone was no longer in the possession of the accused. Each file created after the stop, every modified database, every USB login, every system clock change -- anything that happened after the stop requires an explanation that isn't "the defendant did."

4. Analysis of consistency with user behavior. The activity of the critical window is compared with the historical pattern of device use. If the accused normally generates 50 files per day distributed in 16 hours and 15 files created in 8 minutes appear in the critical window, the anomaly is statistically clear.

5. Cross with external sources. Telecommunications records -- call sheets under Section 183 -- are intersected with the device's timeline. If the sheet shows that the cell phone was inactive on the network since 10 a.m. on the day of the arrest -- because it was turned off or was out of coverage -- but the file system shows file creation at 3 p.m., there is a contradiction. The cell phone was not on the network but someone was using it. That suggests it was either inside a Faraday bag or turned off -- but not completely turned off, because someone turned it on to manipulate it.

6. Documentation of findings. Each manufacturing indicator is documented precisely: what file, what timestamp, what discrepancy, what log shows it. All with SHA-256 hash of the analyzed evidence. All referenced to article 210-A. Everything presentable before a judge as forensic expert report with scientific rigor.

Article 210-A as a shield against manufacturing

Article 210-A of the Federal Code of Civil Procedure establishes three requirements for the probative value of electronic information: reliability of the method, attributability and accessibility.

When the defense forensic expert documents manufacturing indicators, each of those requirements is questioned:

Reliability of the method. If the evidence was deliberately inserted into the device by a third party, the "method" by which that information reached his cell phone isn't the owner's regular use. Reliability is nil because information was not truly generated.

Attributability. If EXIF metadata show a different camera model from that of the accused, attributionality fails. The accused cannot be attributed to creating archives that were produced with another device. If tipprints from the file system show that the archives came to his cell phone after his arrest, his attrition doubly fails: the defendant did not have his cell phone when his files were created.

Accessibility. If the defense's forensic expert report document production, the "accessibility" of the production evidence only exists because someone planted it. Not because it existed legitimately.

The onus probandi operates in favor of the defense: if the forensic expert of the defense presents an opinion with manufacturing indicators -- inconsistent timestamps, EXIF from another device, post-arrest activity, broken sequences in databases --, it is the prosecution that has to explain those inconsistencies. He who says it, proves it. And if the prosecution says that the evidence is authentic, it must demonstrate it against the manufacturing indicators that the defense's forensic expert documented.

Accessibility, in "Can the police fabricate your guilt with a cell phone?" “This is how we detect planted evidence”

What to do if you suspect they planted evidence

Family that has that feeling that something doesn't add up:

Trust that instinct and act. Ask your lawyer to appoint an independent computer forensic expert to examine the device. The defense has the right to request access to the cell phone for an independent forensic extraction. If the prosecution refuses, it is challenged. The forensic expert will analyze the device at the level of file system, databases, and operating system logs. Not at the screen level. Not what "sees." At the level of what the operating system recorded. And if the evidence was planted, the indicators will be there.

Defense lawyer who suspects fabrication:

He's applying for access to his defence expert device. If you have already have the prosecution's extraction, ask your forensic expert to audition that extraction by looking specifically at: files with date of creation in the after-stop file system, EXIF metadata inconsistent with the defendant's device, unauthorized USB connection logs, WAL logs showing data insertion, and system clock changes. Each indicator is an argument for the judge.

Journalist investigating a case with evidence of setup:

The technical elements you should look for for your investigation are: discrepancy between file system dates and file metadata, activity on the device after the arrest time, files whose camera model in the EXIF does not match the accused's device, and chain of custody with gaps that temporally coincide with the appearance of the incriminating evidence. A forensic expert can issue a technical opinion that documents all this. It is not opinion. It is data from the operating system.

Activist documenting patterns of institutional abuse:

The manufacture of digital evidence is detectable, documentable and demonstrable. Unlike planted physical evidence, digital evidence leaves a scientific trail that persists on the device. Every documented case where fabrication was proven establishes a precedent and a pattern. If you are documenting multiple cases where the digital evidence appears to have been inserted post-arrest, a forensic expert can analyze manufacturing patterns and determine if the methodology is consistent -- which would suggest a systematic practice, not an isolated incident.

During my professional career reading what the operating system has to say. I have seen legitimate evidence and I have seen fabricated evidence. The difference between one and the other cannot be seen by looking at the cell phone screen. It is seen by looking at the file system, the databases, the logs, the metadata, the transaction logs.

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.

At Duriva, 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. I am frank with you: I can charge you for charging you, but if the evidence is authentic and was not planted, I will tell you that too. Our commitment is to technical truth, not to the result someone wants to hear.

But when the technical truth says that someone planted evidence on your family member's cell phone, that truth can open the door that the lie closed.

Computer forensics has no loyalties. It's on the data side. And the data, when read correctly, tells the truth. Even the truth that someone tried to fabricate.

Contact
Let's talk about your case
Open contact form