Alex Gonzalez (dubfr33) is a Senior Red Team Engineer at Amazon, where he performs security research and threat emulation campaigns. Prior to working at Amazon, he was a defense contractor holding various offensive security roles, hacking a variety of targets, including traditional computer networks, avionics systems, mobile devices, radios, and satellites.
Abstract
Android key attestation provides a way for a device's secure hardware to verify that cryptographic material is in secure hardware, protected against compromise of the Android OS. If you've ever encountered a password-less authentication flow (e.g., WebAuthN) in a banking app on your Android device you have most likely utilized this feature. However, the entry point for this research involved the investigation of an implementation to combat bot fraud/abuse.
This presentation will take attendees on a deep dive into the Android Keystore, Android key attestation, and a litany of PKI vulnerabilities we discovered in an Android key attestation implementation, which includes the discovery of a systemic issue in Google's open source library for parsing Android key attestation X.509 certificate chains.
As part of this talk, we will cover how we discovered/exploited these vulnerabilities to circumvent our target's bot protections and present tooling to enable researchers to test their own Android key attestation implementations. To beat the bots, you have to be the bots!
What you'll get from it
Android key attestation lets a device's secure hardware vouch that a key is protected, and it sits behind many passwordless logins in banking apps. Alex Gonzalez came to it while looking at a bot-fraud defence. He gives a deep dive into the Android Keystore and attestation, and the certificate-chain flaws his team found, including a systemic issue in Google's open-source library for parsing those chains. He shows how the flaws got them past the target's bot protection, and shares tooling so you can test your own attestation setup. It's for mobile and identity engineers.