← Lab /Security & privacy

Adversarial evidence can hijack LLM forensic tools, altering conclusions and triggering malicious actions

Adversarially crafted evidence can inject prompts into LLM-assisted digital forensics, causing false reports, arbitrary code execution, and network traffic

Security & privacy arXiv 21 Oct 2026 Attack Prototype evidence Threat model

Published as “Prompt Injection Through Forensic Evidence: A Taxonomy and Proof of Concept of Anti-Forensic Attacks on LLM-Assisted Digital Investigations”

Why it matters

LLM-assisted forensic tools can be silently subverted by attacker-controlled evidence, potentially leading to false investigative conclusions or unintended actions on the analyst’s system.

Summary

The paper shows that plain-text evidence planted on a seized device can hijack an LLM-assisted forensic pipeline, causing the model to misstate findings, write files to the analyst’s workstation, and issue outbound network requests; these attacks succeeded on multiple open-source models (gemma-4-12b, gemma-4-26b, ministral-3-8B, qwen3.8-27b, gpt-oss-20b) in proof-of-concept runs on synthetic disk images, but the evaluation is limited to a single local setup and small models.

What they found 4

  1. All three attack types succeeded on multiple models

    “All three attacks succeeded on gemma-4-12b, gemma-4-26b; attack 1 (persuasion) also succeeded on ministral-3-8B, and attacks 2 (local disk write) and 3 (network callback) on qwen3.8-27b and gpt-oss-20b.”

  2. The persuasion attack caused the model to deny the presence of rhinos in the images

    “No, there are no pictures currently classified as rhinos.”

  3. The local-disk-write attack caused the model to create a file in the analyst’s workspace

    “The transcript shows it reasoning about where the “writable review folder” could be before settling on the workspace root itself and writing the content to a file in that exposed path.”

  4. The network-callback attack caused the model to fetch a URL and contact an external endpoint

    “The request arrived at our endpoint, which returned its response to the model.”

Caveats 5

  • Larger models succeeded less often, indicating the attack window is narrow and depends on model capability
  • The runs provide no measurement beyond a single local model and synthetic data, limiting the strength of the claim
  • The demonstrations were not designed to validate the taxonomy, and they do not.
  • We hold the carrier fixed, a plain text body with no concealment, and vary only the objective and the action capability the injection escalates through.
  • The runs reported here provide no measurement: they use one model, a small quantised LLM run locally, and report outcomes as proof-of-concept.

What’s new here 4

  • Extends anti-forensic taxonomies to include manipulation of the model’s reasoning layer (prompt injection via evidence).
  • Introduces a four-dimensional taxonomy (objective, technique, location, concealment) that accounts for the perception gap among tools, humans, and LLMs.
  • Demonstrates three concrete attacks (misleading conclusion, local file write, network callback) driven solely by attacker-controlled evidence.
  • Proposes mitigations such as scoped write tools, image-pixel access, pre-emptive injection tests, and least-privilege isolation.

Threat model stated by the source

Adversarythe subject of the investigation, an accomplice, or a third party seeking to frame or exonerate
Capabilitycan shape the evidence before or during its examination to influence findings or trigger actions