Hardware-Attested Device Registration

Interactive walkthrough of the POC. Every step links to the code that implements it, and the two builds it compares are downloadable below.

Get the two builds

Both APKs contain the same application code, built from the same commit against the same server URL and the same certificate pins. The only difference is which key signed them. That single difference is what the server detects — and it is the whole claim this POC exists to demonstrate.

Installing them

Download both from the release, then on a phone with USB debugging on:

adb install -r app-release.apk
# run the three steps — they should all succeed
adb uninstall com.example.attestpoc
adb install attacker.apk
# step 2 now fails with APP_SIGNATURE_MISMATCH

What to expect

Open Attest POC on the phone and tap the steps in order. With the genuine build you get a credential and an accepted transaction. With the repackaged build, step 2 fails with APP_SIGNATURE_MISMATCH — even though the phone produced a perfectly valid StrongBox attestation chain. Watch it land under Live data.