Skip to main content

Attack detection

A biometric system is only as strong as its ability to reject forged samples. Attackers try to defeat it in two ways: by presenting an artefact to the sensor, such as a photo, a mask or a recording, or by injecting forged data into the capture path, bypassing the sensor altogether. Each threat calls for its own controls, and both are covered by specific standards:

Presentation attack detection (PAD)Injection attack detection (IAD)
StandardISO/IEC 30107-1 / -3CEN/TS 18099
Attack instrumentAn artefact shown to the sensor: photo, screen, mask, recordingSoftware or hardware that bypasses or subverts the capture path
Question answeredDoes the sample come from a live person?Does the sample really come from a genuine sensor, device, app and session?
Biometric methodsFace and voiceFace and voice

Presentation attacks​

Face​

Passive face PAD analyses the capture itself and needs no gestures from the user. It detects attacks of increasing sophistication, from printed photos to realistic masks:

LIVE1234
Attack

Printed photo

A photo of the user printed on paper, flat or curved, sometimes with the eyes or mouth cut out.

SophisticationLow
What MobbID looks for
  1. 1Paper edges and white border
  2. 2Fingers holding the print
  3. 3Flat surface: no depth, no blinking
  4. 4Print texture and colour shift
FigurePresentation attacks in increasing order of sophistication, compared with a live capture. Numbered pins mark the cues passive PAD analyses in the selfie.

Choose the method with livenessMethod: FACE_PASSIVE_IMAGE analyses a single image and FACE_PASSIVE_VIDEO a short video. The SDKs and the Gateway apply it automatically. Results on the CelebA-Spoof benchmark are published in MobbScan's biometric performance, which shares the same face engine.

Voice​

A voice can be recorded without the speaker noticing, and generated with AI from a few samples. Voice PAD (VOICE_PLA) analyses the recording to detect replayed and synthetic speech:

Bona fide

Live speaker

The user speaks directly to the microphone of the device.

  • Natural variation of pitch, rhythm and energy
  • Acoustics consistent with a person close to the microphone
AttackPhysical access

Replay

A recording of the user, obtained without their knowledge, is played back to the microphone through a loudspeaker.

  • Loudspeaker response and room reverberation
  • Band limitation and compression of the original recording
AttackLogical access

Synthetic voice

A voice generated with AI, by text-to-speech or voice conversion, imitates the user. It can be played back or injected directly into the audio sent to the server.

  • Spectral and temporal artefacts of the generation model
  • Prosody that is too regular
FigurePresentation attacks against voice biometrics, next to a live speaker. Voice liveness analyses the recording itself to detect replayed and synthetic speech.

Injection attacks​

The most sophisticated attacks do not use the sensor at all. In an injection attack, forged images, video or audio are fed into the capture path, so the application receives a flawless deepfake or a stolen recording as if it came from the camera or the microphone. PAD alone cannot stop these attacks: the injected sample may look perfectly live.

MobbID protects every link of the capture chain. Explore the chain below to see each attack point and the control that stops it:

UserFaceCamera sensorPhysical captureVideo pipelineCamera driversOperating systemDevice runtimeCapture appMobbID SDKMobbID serverAnalysis · decision12345Pick an attack point 1–5 to see where an attacker gets in✓ AcceptedPAD · ISO/IEC 30107Is the sample a live, genuine subject?IAD · CEN/TS 18099Did it really come through this capture path?
Reference

Genuine capture

What happens

The real face is filmed by the device camera, travels through the camera drivers and the operating system to the MobbID SDK, and is sent to the server inside a protected session.

How MobbID stops it
Every link is verified

The sample is live (PAD), the camera is real, the device and the app are intact and the payload belongs to this session. Only when every check agrees is the capture accepted.

PAD · ISO/IEC 30107IAD · CEN/TS 18099
FigureThe capture chain, from the user to the MobbID server. Choose a scenario, or click a numbered attack point, to see where the attacker gets in, how far the forged sample travels and which control stops it.

Coverage by channel​

ChannelInjection controls
Android and iOS SDKs, CapacitorCamera source verification, device and environment integrity, app and SDK integrity, and binding of each capture to its operation.
Web GatewayDetection of virtual cameras and non-genuine capture devices in the browser, within a process created by your backend.
Server APIYour backend sends the samples, so it is responsible for the integrity of its own capture. MobbID applies PAD and synthetic media analysis to the samples it receives. For remote authentication, capture with the SDKs or the Gateway.

For voice, which reaches MobbID through the Server API, the injection of synthetic speech is a logical access attack: voice PAD analyses every recording for traces of synthesis or conversion, whatever the channel.

Deepfakes​

A deepfake is not an attack route but a payload: an AI-generated face, a face swap or a cloned voice can be presented to the sensor or injected. Whatever route it takes, it meets the control of that route. As a final line of defence, MobbID analyses the samples themselves for traces of synthetic generation and manipulation.

Defence in depth

No single control is infallible. MobbID combines quality controls, PAD, injection controls and the biometric comparison: a perfect deepfake that passes PAD must still come from a genuine camera, in a genuine app, within a valid operation, and match the user's enrolment.

Recommendations​

  • Enable liveness in every operation, including enrolment, so that no artefact can become the reference of a user.
  • Capture with the SDKs or the Gateway in remote authentication: they control the capture path and allow injection attacks to be detected.
  • Take the decision in your backend, reading the operation with an API role token. See Operation result.