Liveness Detection: How It Tells Real Faces from Deepfakes in KYC

December 1, 2026 / Published by: Admin

Liveness detection confirms that the face captured during identity verification belongs to a person who is present in front of the camera, not a photo, video, mask, or deepfake. Without this layer, fraudsters can open accounts or apply for loans using someone else’s national ID card (KTP) and face photo.

In Indonesia, about 274,000 financial fraud reports were recorded from late 2024 through 2025, with public losses above IDR 6 trillion, Katadata reports. Most of those cases reportedly used deepfakes to get past digital onboarding.

This article explains why face verification needs liveness detection, how it works, which attacks it must stop, and which standards and rules apply in Indonesia.

Why Face Verification Needs Liveness Detection

Face verification needs liveness detection because face matching only checks similarity, not presence. A matching system asks whether the face on camera matches the photo on the ID card, while liveness detection asks whether that face’s owner is there right now.

Fraudsters exploit this gap with simple tools. They take a victim’s face photo from social media, then show it on another phone screen or turn it into a deepfake video that blinks and turns.

Liveness detection is one step in identity proofing, the process of proving identity through document validation, ownership verification, and a confidence score. Without it, an impostor can still pass with a real document and a matching face.

The fallout can be a loan that is never repaid or an account used to hold scam proceeds. The financial institution absorbs the loss, while the identity theft victim may be chased for debt they never took on.

How Liveness Detection Works

How Liveness Detection Works

Liveness detection analyzes a face image or video for signs that the face is alive and present, then scores it before the face is matched against the identity document. There are two approaches, active and passive, and both read similar signals.

The result is a score with three possible decisions: pass, reject, or send to a human reviewer. Setting the score threshold always involves a trade-off between two errors, attacks accepted as genuine and genuine users who get rejected.

A threshold set too tight hurts honest users. One set too loose lets fraudsters through, so test the number against real user data before going live.

Active Liveness Detection: The User Is Asked to Move

Active liveness detection asks the user to follow random prompts, such as blinking, turning left, smiling, or moving closer to the camera. The system then checks whether each movement appears on time and looks natural.

Random prompts make life hard for attackers using recorded video. A recording cannot predict the next prompt.

The weakness lies on the user’s side, since extra prompts lengthen the process and raise the chance that genuine users fail. Older users and people with low-quality phone cameras feel this most.

Passive Liveness Detection: Analysis Without Prompts

Passive liveness detection works in the background on a single selfie or short video, without asking the user to move. For the user, it feels like taking an ordinary photo.

That speed comes with a security cost. Without a movement challenge, the result depends entirely on how well the model reads artifacts in the image.

For eKYC, the better approach is passive liveness as the default, with an active challenge added only when high-risk signals appear. Examples include a large loan request, a new device, or emulator signs on the phone.

Running active challenges on every flow adds friction for all honest users, while a real-time deepfake injected through a virtual camera can still follow movement prompts.

Signals Liveness Detection Analyzes

Liveness models read physical signals from the image and digital signals from the device at the same time. The most common signals include the following:

  • Three-dimensional facial depth, to tell a real face from a flat photo or screen.
  • Skin texture and pores, which masks and printed images struggle to copy.
  • Light reflections and shadows, including the typical glare from phone screens and photo paper.
  • Micro-movements such as blinks and small, natural changes in expression.
  • AI-generated artifacts, such as uneven face edges or details that shift between frames.
  • Device and session signals, such as signs of a virtual camera, emulator, or modified app.

The last signal is often overlooked when choosing a solution. The first five read what is in the image, while device signals check where the image came from.

Read also: Facial Recognition: The Big Opportunity and Hidden Risks Every Business Must Understand

Attacks Liveness Detection Must Stop

Attacks on liveness detection fall into two groups: those presented in front of the camera (presentation attacks) and those injected straight into the data stream (injection attacks). The difference determines which controls you need.

Presentation Attacks: Photos, Video Replays, 3D Masks, and On-Screen Deepfakes

ENISA, the European Union Agency for Cybersecurity, classifies the major attacks on remote identity proofing as photo attacks, video replay attacks, 3D mask attacks, and deepfake attacks. All four must still pass through the lens.

Because they pass through the camera, these attacks leave physical traces a liveness model can read, such as a screen reflecting light or a mask with no pore texture. Controls for this group are called presentation attack detection (PAD).

Injection Attacks: Deepfakes That Never Pass Through the Camera

Injection attacks skip the physical camera entirely. The attacker uses a virtual camera, emulator, or modified app to inject deepfake video into the data stream, so the system believes the image came from the phone’s camera.

Gartner reports that injection attacks rose 200% in 2023 and that current PAD standards and testing processes do not cover digital injection attacks. Gartner recommends combining PAD, injection attack detection (IAD), and image inspection.

In other words, a solution that passes PAD testing is not necessarily safe from deepfakes. The more decisive question is whether the system can confirm the image really came from a physical camera on the user’s device.

Attack typeHow the attacker does itControl that stops it
Printed or on-screen photoHolds the victim’s photo up to the cameraPAD, through depth, texture, and reflection analysis
Video replayPlays a recording of the victim’s face on another screenPAD and random movement prompts
3D maskWears a silicone or resin mask shaped like the victim’s facePAD, through skin texture and micro-movement analysis
On-screen deepfakeShows a deepfake video on a screen held up to the cameraPAD and AI artifact detection
Deepfake via virtual cameraInjects deepfake video into the data stream without passing through the cameraInjection detection, through camera integrity checks, emulator detection, and session binding

The first four rows can still be handled by PAD because the attacks pass through the camera. The last row needs device- and session-level controls, so ask about this capability specifically when you assess vendors or build your own system.

Injection attacks are also easier to repeat at scale. One attacker can run fake identities over and over from an emulator without ever touching a physical camera.

Read also: Impersonation in Cybersecurity and How to Mitigate the Risks

Liveness Detection Standards and Rules in Indonesia

Companies that use liveness detection need to understand three references: international testing standards, rules from Indonesia’s Financial Services Authority (OJK), and Indonesia’s Personal Data Protection Law (UU PDP). Each one answers a different question.

ISO/IEC 30107-3 and the Limits of Its Scope

ISO/IEC 30107-3:2023 sets out principles and methods for testing PAD performance and for reporting the results. Vendors often cite these results as proof of quality.

The standard’s scope is limited to attacks presented at the capture device. Injection paths fall outside it.

That is why a strong PAD test report still needs to be backed by evidence of testing against virtual cameras and emulators.

OJK Rules on Biometric Verification

OJK Regulation No. 21 of 2023 on Digital Services by Commercial Banks (POJK 21/2023) sets three mechanisms for verifying prospective customers: in-person face-to-face, electronic face-to-face, and electronic non-face-to-face. For the two electronic mechanisms, Article 5(7) requires banks to apply a “something you are” factor as one of the authentication factors.

The regulation’s official elucidation lists face recognition, fingerprints, and iris or retina scans as examples. The regulation never uses the word “liveness.”

In May 2026, OJK stressed that strong liveness verification is now an operational necessity for financial institutions, not an optional add-on. Meeting the biometric factor requirement alone may not satisfy supervisors.

Facial Data Counts as Specific Personal Data

Face images processed for verification are biometric data, which UU PDP classifies as specific personal data. They need stricter protection than general data.

In practice, companies need to set a legal basis for processing, limit storage of raw images, and encrypt face templates. Keep raw images for as short a time as possible.

If you use a third-party vendor, your company remains responsible for customers’ facial data. Set the vendor’s obligations on processing location, encryption, and data deletion in a data processing agreement.

Conclusion

Liveness detection confirms that the face in an eKYC process belongs to a person who is really there, not a photo, mask, or deepfake. Active and passive liveness read similar signals and differ in prompts and user experience.

This layer alone cannot stop injected deepfakes. When you evaluate a system, ask for both PAD test evidence and injection detection evidence, and make sure facial data handling complies with UU PDP.

Ready to Manage Digital Identities as a Business Security Strategy?

Request a demo today and discover how IAM solutions centralize user logins through Single Sign-On (SSO), automate employee onboarding, and protect company data from unauthorized access without disrupting productivity with repeated logins.

FAQ

Is Liveness Detection Only Used During Account Sign-Up?

It is also used after sign-up, such as when users change devices, reset a PIN, or make a high-value transaction. These repeat checks help stop verified accounts from being taken over.

Why Does a Liveness Check Sometimes Fail for a Genuine User?

Common causes are lighting that is too dark or strongly backlit, a face covered by a mask or dark glasses, and a blurry camera. Try again in a bright place with your face pointed straight at the camera.

Do Companies Outside Financial Services Need Liveness Detection?

Any company that verifies identity remotely may need it, for example when onboarding ride-hailing drivers, marketplace sellers, vehicle renters, or remote hires. The need depends on the risk of identity misuse, not the industry.

Can Human Agents Spot Deepfakes During a KYC Video Call?

Agents can still be fooled because real-time deepfakes can mimic movement and expressions convincingly. Video calls should be paired with automated detection that reads image artifacts and device signals.

Does Liveness Detection Also Apply to Voice and Fingerprints?

The same principle applies to other biometrics, such as checking whether a voice comes from a live speaker or from a recording or synthetic voice. Fingerprint scanners use similar techniques to detect fake fingerprint molds.

Profil Adaptist Consulting

Adaptist Consulting is a technology and compliance firm dedicated to helping organizations build secure, data-driven, and compliant business ecosystems.

Read Related Post

✕