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) | |
|---|---|---|
| Standard | ISO/IEC 30107-1 / -3 | CEN/TS 18099 |
| Attack instrument | An artefact shown to the sensor: photo, screen, mask, recording | Software or hardware that bypasses or subverts the capture path |
| Question answered | Does the sample come from a live person? | Does the sample really come from a genuine sensor, device, app and session? |
| Biometric methods | Face and voice | Face 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:
Printed photo
A photo of the user printed on paper, flat or curved, sometimes with the eyes or mouth cut out.
- 1Paper edges and white border
- 2Fingers holding the print
- 3Flat surface: no depth, no blinking
- 4Print texture and colour shift
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:
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
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
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
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:
Genuine capture
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.
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.
Coverage by channel
| Channel | Injection controls |
|---|---|
| Android and iOS SDKs, Capacitor | Camera source verification, device and environment integrity, app and SDK integrity, and binding of each capture to its operation. |
| Web Gateway | Detection of virtual cameras and non-genuine capture devices in the browser, within a process created by your backend. |
| Server API | Your 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.
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.