9 ways to strengthen your defenses against injection attacks

In identity verification (IDV), an injection attack happens when a fraudster injects content into a verification data stream instead of using a real camera. The specific techniques can vary, but they all differ from presentation attacks, in which someone takes a picture or video of a screen, a photo, a doll, or another object.
Fraudsters often use injection attacks to submit images and videos into selfie and document verification checks, including AI-generated content and stolen selfies. Injection attacks aren’t the most common attacks today. They accounted for about 14% of selfie fraud attempts, according to Persona’s 2026 selfie fraud report. But they can be one of the most difficult to detect and stop.
The nine steps below draw on Persona’s analysis of over seven million selfie verifications in the recent device-based injection attacks report, as well as guidance from the World Economic Forum (WEF), and the European Committee for Standardization’s CEN/TS 18099 framework.
1. Require live video capture instead of uploads
It’s much easier to detect signs of injection attacks when users have to actively take and submit pictures or videos. For example, if the user is injecting an image of an ID, your fraud investigator might see the static image moving oddly across the screen.

If you allow image uploads, you won’t know that the ID doesn’t actually exist. Video captures also allow you to analyze frames for inconsistencies and use random challenges during live tests, as discussed in tip three below.
2. Use an SDK integration from your verification provider
A native software development kit (SDK) widens what you can observe during verifications. Browsers are sandboxed and expose a narrow set of APIs, while an SDK can read OS-level signals from the device and app. That’s one of the reasons the WEF recommends SDK-based verification with embedded integrity checks over pure browser flows.
Attackers who want to inject content into a mobile SDK-based verification flow also have to overcome extra steps, such as jailbreaking or rooting the phone. Each of these can trigger a risk signal.
3. Add unanticipated variables to selfie captures
Random prompts and unpredictable flashes of light can help you detect injection attacks since a pre-recorded video won’t have these elements. For instance, a video recording can’t turn its head on demand, especially if you randomize the prompts so that fraudsters can’t prepare recordings to match them.
An injected real-time face swap is harder to catch since the attacker can respond to requests. However, lighting changes can help, because the face swap might overlay them, or the changes could cause the face swap to fall out of sync.
4. Flag common virtual camera labels
Renaming a device’s camera label is trivial, and some fraud toolkits offer renaming as an option. Still, it can be helpful to maintain a list of known virtual camera naming conventions and update it as new software gets released. Use this list as a first filter to catch low-sophistication attempts.
Persona found about 650 distinct camera device labels associated with failed selfie verifications, and five camera name labels accounted for about 60% of the flagged submissions. These included common virtual camera software, like OBS and ManyCam.
| Virtual camera label | Selfies submitted | Percentage of the total |
|---|---|---|
| OBS | 1,597 | 26.28% |
| Lenovo Virtual Camera | 1,324 | 21.78% |
| Elgato | 341 | 5.61% |
| ManyCam | 184 | 3.03% |
| e2eSoft VCam | 171 | 2.81% |
| Rudy’s S26 Ultra | 43 | 0.71% |
| Wesley’s Z Fold5 | 1 | 0.02% |
However, you don’t want to assume someone is a fraudster just because they’re using a virtual camera. For instance, many streamers use virtual camera software while streaming. You might want to instruct users to turn off the virtual camera before trying, and tell users who miss the message to try again without the software.
5. Check for inconsistent or missing metadata
A physical camera often reports metadata about the files it creates, such as resolution, frame rate, ISO, exposure, and white balance. Look for values that go missing, don’t match the device, or change mid-capture. An obvious tell is that an Android phone should never report an iPhone camera.
In Persona’s analysis of over seven million selfie verification results, 2.9% of the selfies didn’t have expected sensor data. These failed verification 26% of the time, which was over three times higher than the 8% failure rate for the remaining submissions.
However, similar to virtual cameras, missing data doesn’t prove fraud because some browsers and devices omit metadata. So fraud teams need to treat this as a risk signal and combine it with other signals to increase assurance and automate decisions.
6. Protect the submission path from different injection techniques
Layering your defenses can help you detect different injection attack methods (IAMs). Persona’s defense focuses on four layers:
Device: Detect whether the device is rooted, jailbroken, emulated, or simulated. There are different techniques for doing this, and we outline some examples in the device-based injection attacks report.
Application: Confirm the app is genuine and unmodified. Apple App Attestation and Google Play Integrity can verify that the app hasn’t been repackaged and is running on a non-compromised device.
Runtime: Inspect the environment while the app runs. Look for function hooking and instrumentation tools that let an attacker intercept and replace the camera’s output.
Network: Protect the data in transit. Attach a hash when the data is captured and have your server recompute it on receipt. A mismatch means someone altered the contents along the way, as in an on-path attack.
7. Monitor behavioral signals for signs of automated attacks
Software mimicking a human misses many of the characteristics of human response times and patterns. The WEF recommends timing correlation and latency analysis, which compares how long a “user” takes to respond to a request with how long a real human typically takes.
Pair that with volume and velocity checks, because fraudsters often automate repeated, high-speed attempts that a legitimate human won’t try. For example, at one organization, Persona recorded multiple attempts to create more than 150 accounts within 10-minute spans.
8. Connect suspicious activity across attempts
Fraudsters regularly rotate devices, use residential proxies, and spoof metadata in an attempt to avoid triggering fraud defenses. But strong device intelligence and graph-based link analysis can uncover fraud rings and scaled attacks.
9. Test and tune detection against new techniques
Schedule regular red team exercises, as the WEF recommends, and track how often your system blocks real users alongside how many attacks it catches. The CEN/TS 18099 standard defines how independent labs evaluate injection attack detection, and level three requires testing with at least 15 injection attack instruments (images or videos) and three injection attack methods. Persona’s guide to CEN/TS 18099 explains the evaluation framework.
Read the complete 2026 injection attack report
Persona’s new injection attack report offers a deep dive into device-based detection methods, including approaches based on camera labels and metadata. It also has a glossary of 10 injection attack methods. Read it, then share it with the fraud and product teams who decide where to prioritize your organization’s defenses.
The information provided is not intended to constitute legal advice; all information provided is for general informational purposes only and may not constitute the most up-to-date information. Any links to other third-party websites are only for the convenience of the reader.
