Presentation Attacks vs. Injection Attacks in Liveness Detection

Compare camera-facing presentation attacks with injected capture data and learn what evidence to ask for when evaluating both.

Table of contents

Film a video playing on a screen with the intended camera and you have a presentation scenario. Supply an altered stream to the application in place of the intended camera input and you have an injection scenario. The two can look similar at the verifier. They enter the system at different points.

Ask the vendor to mark both points on the capture flow and produce evidence for the client you will ship. A report scoped to a physical sensor cannot establish how a browser or SDK handles substituted input. This distinction matters when a brochure uses the same “liveness” label for several products.

1. Locate the point where the bad input enters

Question Presentation attack Injection attack
Where does it enter? At the physical sensor At a digital point in the capture or input path
What is the system evaluating? A sample the camera actually observed Input that may not have come from the intended capture
What examples explain the distinction? A printed image, a replay on a display or a mask presented to the camera A prerecorded or altered stream supplied to the application instead of a camera sample
What evidence should a buyer ask for? Results by attack type and capture setup Results for the supported client, trust boundary and input protections

The medium alone does not classify the attack. A replay shown on a screen and filmed by the camera is a presentation. An altered stream inserted into the app’s capture path is an injection. Both might use visually similar content, but the controls and evaluation boundaries are different. Document how a sample reached the verifier before deciding what kind of evidence a report provides.

ENISA’s remote identity proofing good practices discuss digital injection and defenses around the capture path. The NIST FATE PAD evaluation explicitly excludes digital injection from its scope. Read that scope beside the result when evaluating a report. It tells you which question the test answered and which question the supplier still needs to address.

2. Read the scope of the presentation attack test

A presentation attack detection evaluation can tell you how an assessed configuration handled the specimens and conditions it was tested against. Ask for the full product and version, capture setup, attack categories and the results for genuine users. Read the test method and scope together. A headline or certification mark may summarize a limited set of devices, attack instruments and conditions.

Ask whether a result applies to your deployment. A mobile SDK may have a different camera path than a browser implementation. An active challenge may depend on user movements or display behavior. Passive methods might analyze images under different conditions. Check which one was assessed and what changes would invalidate the comparison. Ask whether the provider can point to a report for the exact configuration or explain the relationship between versions.

Pay attention to the effect on legitimate users. A control can reject certain attacks while causing more inconclusive or unsuccessful captures in a real environment. Ask for separate treatment of attack outcomes, genuine user outcomes and failures to acquire a usable sample. The tests used to measure each should describe the population, conditions and decision settings. See the guide to reading liveness test evidence for questions about how to interpret reports.

3. Ask what protects the digital capture path

Draw how input travels from the client to the service. Check where the capture session is created, which application or SDK receives the camera stream, how uploads are associated with a session, and how the verifier knows the result belongs to the expected applicant. Evaluate each supported route. Accepting a file through an API may have a different trust model from a protected live capture component.

Ask about defenses for the intended threat model. Relevant questions can include how the product binds input to a current session, detects a substituted or altered stream, identifies supported client environments, and handles a result that is old or belongs to another attempt. Document whether each measure prevents the input, marks it for review or generates a separate signal. A defensible answer should describe the role of each protection and its limits.

Request test evidence that reflects how the product actually runs. Ask which platform and software versions were assessed, what classes of input substitution were tested, whether the final decision service was involved, and what outcome counted as successful defense. Assess web, iOS and Android separately where their capture paths differ. If a supplier cannot share full details, ask for a scope summary or a restricted review that your security team can evaluate. Avoid requesting exploit instructions for a production system.

Ask for an answer you can put in a security ticket

One row might read: “Embedded web, version specified in the report, evaluated against the stated presentation scenarios; injection scope still open.” Another might describe the separate evidence for native capture and the provider’s documented exclusions. Use a description your team can verify in the report. A single yes in the “anti-spoofing” column does not tell an engineer what is protected.

When the sales engineer names a new platform or mode, ask whether it uses the same capture component and whether the report lists it. If not, give the gap an owner before the pilot. Record any narrower configuration you are willing to test while the broader evidence is still being reviewed.

4. Keep the liveness result separate from face match

Liveness asks a question about the presented or captured sample. Face comparison asks whether that sample matches a reference under the product’s method. Your application decides what to do with the results. Keep the signals separate in the design and the audit record. A good match on a compromised sample is not evidence that the capture was trustworthy, and a live sample does not establish the person’s identity by itself.

The NIST guidelines for identity proofing are a way to discuss evidence, verification and remote proofing within that framework. A reference to the guidelines is not a test result for a product. Ask for the relevant report and identify the capture path, client version and policy settings it actually covers.

Determine how the application handles ambiguous outcomes. A problem with capture quality may allow another attempt. A suspicious signal may call for a different control or review. A failed liveness check and an unavailable network should not produce the same message or operational action. Ask whether the system returns sufficient information to make that distinction without exposing sensitive detection details to an attacker.

5. Require evidence for the exact version you will deploy

Begin with your own deployment diagram and have each supplier mark what it protects. Ask which components it owns, which are configured by your team and where a third-party library or service is involved. Identify supported channels and versions. Discuss whether the evidence covers a single environment, the default decision settings, or additional modes you intend to enable.

Request an evidence packet containing the scope, test date, product version, method, device and environment, types of attacks assessed, outcome criteria and known exclusions. For any claim tied to a lab or external evaluation, confirm the named scope independently. For vendor testing, ask how the results were obtained and what restrictions apply. Capture unanswered questions instead of assigning the same confidence to every source.

Test your own integration using authorized scenarios. Check that the server rejects a result for the wrong session, that a legitimate user can recover after an interruption, and that suspicious outcomes go to the intended review path. Ask your security team to define any controlled attack simulation and conduct it in an approved environment. A demonstration of normal capture is useful for usability, while assurance evidence needs a separate scope.

Translate a test report into a procurement acceptance record

Start with a concrete channel, such as an embedded web flow. Ask the supplier to identify the client build, capture method, liveness component and any settings it expects you to use. In the first row of your record, list the physical presentation scenarios the evidence covers.

Include the devices and environmental assumptions. In a separate row, record whether the evidence addresses digital input substitution and which software boundaries it assessed. It is possible to have useful evidence for one row and a gap in the other.

Then ask for a version change scenario. Suppose the team launches a native mobile app or introduces an API route for uploads. Ask which previous evidence remains relevant and what would need a new evaluation. If the answer is that a report applies to a different capture component, write that condition down before accepting the new route. Record whether the provider will supply updated material and whether your team needs to perform additional testing.

Document who owns the gap. A vendor may be responsible for its capture component while your application is responsible for associating the result with an account and enforcing policy. Security and product teams should agree what can go live under the available evidence and what needs a controlled fallback. Keep a dated decision with the scope you accepted. If the supplier later changes its SDK, the team can see which assumptions to revisit.

Record residual risk and revisit it after changes

Keep a short record that identifies the capture paths, the evidence you accepted for each class of attack and the protections your own team must implement. Note what has not been assessed for your deployment. Set an owner and a date to review unresolved items. When you change the client, enable a new capture mode or update the supplier SDK, reassess whether the original evidence still applies.

The same exercise can inform a decision about architecture. See the on-device versus server-side liveness guide to map where capture, scoring and final decision happen. Use the liveness provider directory to build a shortlist, then ask each supplier to connect its claims to that map. A defensible buying decision should say which test covered which part of the system and what you do when evidence is incomplete.