Skip to content
Back to skills

Ios Biometric Localauth Bypass

ASecurity

Test LocalAuthentication (Face/Touch ID) for event-bound bypass — flip the evaluatePolicy reply — and distinguish it from secure keychain-bound biometric gating. Tier 1. Use when biometrics gate access. Needs a device + instrumentation (jailbroken or resigned-gadget).

  • 16 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added November 17, 2026
securityrustswifttestingbackend

Works with

  • cli

Security analysis

A100/100

Scanned November 17, 2026

npx -y skills add AnandJogawade/Zazy-Pentest-Plugin-for-Claude --skill ios-biometric-localauth-bypass --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ios Biometric Localauth Bypass?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Ios Biometric Localauth Bypass
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/anandjogawade-ios-biometric-localauth-bypass/badge)](https://www.skillsdirectory.com/skills/anandjogawade-ios-biometric-localauth-bypass)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: ios-biometric-localauth-bypass
description: Test LocalAuthentication (Face/Touch ID) for event-bound bypass — flip the evaluatePolicy reply — and distinguish it from secure keychain-bound biometric gating. Tier 1. Use when biometrics gate access. Needs a device + instrumentation (jailbroken or resigned-gadget).
---

# iOS Biometric / LocalAuthentication Bypass [RARE]

Determine whether biometric protection is real (Keychain-bound) or decorative (event-bound). Event-bound checks trust a boolean the client computes — flip it and the gate opens; Keychain-bound secrets are released by the Secure Enclave only on valid biometric, so flipping gets nothing (MASVS-AUTH).

## Trigger phrases
`ios biometric bypass, localauthentication, lacontext, evaluatepolicy, touch id bypass, face id bypass, keychain bound biometric`

## Method
1. **Identify the gate:** does Face/Touch ID guard a screen/action, and is the protected secret in the Keychain with `SecAccessControl` (biometric) or just UI state? Check `ios-keychain-analysis` for `kSecAccessControlBiometryCurrentSet`/`...UserPresence`.
2. **objection (quick test):** `ios ui biometrics_bypass` (handles Swift + Obj-C LAContext).
3. **Frida hook (event-bound):** hook `LAContext "-evaluatePolicy:localizedReason:reply:"` and invoke the stored reply block with `success=1`, `error=nil`:
   `Interceptor.attach(... reply block ...)` → call `reply(true, NULL)`. If the protected screen/action now loads, the control is **event-bound = bypassable**.
4. **Distinguish Keychain-bound:** if flipping the boolean yields no data (the app then tries to read a `SecAccessControl`-gated Keychain item and fails), the protection is **secure** — report it as correctly implemented.
5. **Negative test:** present a wrong/no biometric and see whether the protected content still loads (reveals a pure-UI gate).

## Modern / rare techniques
- **`evaluateAccessControl:` vs `evaluatePolicy:`** — the former ties to a Keychain ACL (secure); hooking only helps where the app trusts the returned boolean rather than consuming a Keychain-released secret.
- **App-logic trust after auth** — some apps set an in-memory `isAuthenticated` flag post-biometric; hook/`ObjC.choose` and flip that flag directly.
- **Reused LAContext** without `kSecAccessControlBiometryCurrentSet` → enrolling a new fingerprint/face doesn't invalidate — note as a weakness.

## Bypass / evasion
Behind pinning/anti-debug/jailbreak checks, chain `ios-anti-debug-bypass`, `ios-jailbreak-detection-bypass`, `ios-ssl-pinning-bypass` so the hooks are stable.

## Escalation / chaining
A bypassed gate → access protected data/actions → `ios-insecure-storage`, `ios-network-backend-testing`; confirm whether server re-verifies via `ios-frida-objection-instrumentation`.

## Backend & tooling
objection/frida from Kali (WSL+Kali / Kali-SSH / HexStrike), `frida-server`/gadget on device. **Requires a device + instrumentation** (jailbroken or resigned+FridaGadget).

## Verification (background, before reporting)
Reproduce the bypass independently (objection and a manual Frida hook) and confirm it actually exposes a protected secret/action, not just a UI transition, before marking CONFIRMED.

## Evidence
Capture the hook/command, before/after behavior, and whether the protected data was reachable. Remediation: bind biometrics to a Keychain item via `SecAccessControl` (biometryCurrentSet) so the secret is Enclave-released — never gate on the `evaluatePolicy` boolean or an in-memory flag. MASVS: MASVS-AUTH-2.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in security →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.