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).
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Ios Biometric Localauth Bypass?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/anandjogawade-ios-biometric-localauth-bypass)
---
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.