
5.36 MB
Android 8.0+
64
Universal
Verified safeScanned with ClamAV, APKiD, and Quark-Engine. No threats detected.
Description
Spoofs a locked bootloader state for local attestation checks. Only enable it for apps that merely verify whether the bootloader is unlocked. Avoid hooking Google apps or the system framework unless you want Play Integrity checks to fail. If an app sends attestation certificates to a secure backend for verification, this module will not help and becomes ineffective.
Supports devices with broken TEE. This module is intended only for local attestation. For online attestation, use TrickyStore instead.
Modes
Selectable in the UI; persisted to mode.txt in the module's data dir.
leaf_hack (requires a working TEE)
Lets the real AndroidKeyStore generate the leaf, then in engineGetCertificateChain rewrites the leaf's RoT extension to claim verified-boot green / locked / state=0 and re-signs the leaf with the keybox intermediate's private key. The rest of the chain is replaced with the keybox CA chain.
This is the cleanest path: leaf serial number, validity period, subject, public key all come from the real cert. Only the RoT bytes change.
cert_generate (works on broken TEE)
Generates a fresh KeyPair in AndroidOpenSSL / Conscrypt (skipping AndroidKeyStore), builds the leaf cert from scratch with a full RoT extension (purpose, algorithm, keySize, digest, ecCurve, noAuthRequired, origin, verifiedBoot fields, OS version, OS patch level, applicationID, vendor patch level, boot patch level), signs with the keybox intermediate. Caches chain by KeystoreAlias so engineGetCertificateChain(alias) returns the synthesized chain on later lookup.
Does not require AndroidKeyStore to produce a real chain; works when keymaster HAL / TEE is broken or absent.
Limitations vs leaf-hack:
- The generated keypair is not actually in the AndroidKeyStore. Apps that re-fetch via KeyStore.getEntry(alias) get null.
- KeyInfo.isInsideSecureHardware() is not hooked; returns the device's real value (false on broken TEE, so app may know).
- applicationID is best-effort; built from the current process's own package signatures.
Keybox
Ships with the public Google Android Software Attestation Root test keybox (the same EC + RSA keys/certs every prior fork embeds). These are public, not TEE-backed, and will not beat any online check that validates against Google's hardware attestation root or revocation list. Local attestation only.
License
GNU General Public License v3.0
Rate this app
Ratings & reviews
No reviews yet.