Abusing Android In-app Billing feature
summary
Demonstrates that many apps perform purchase validation on the device and not the server, reverse engineers a real-world Android game to show client-side checks, and gets free in-game credits from a real-world game. Uses static analysis and the Xposed framework to add an Xposed one-line hook that bypasses payment flows, then modifies APK bytecode to inject the hook for redistribution with a bytecode patch to inject hook. Exploit works reliably and concludes with concrete server-side fixes and Angry Birds as a secure example.
AI-written summary · about
chapters (11)
- 0:00Introduction and speakers
- 2:04Why in-app billing is flawed
- 7:05Demo of exploitation risks
- 13:20How attackers bypass security
- 20:17Java bytecode manipulation
- 25:36Legacy signature vulnerabilities
- 31:35Production bugs and workarounds
- 37:04Developer responses and fixes
- 41:11Secure alternatives and future
- 45:12Responsible disclosure and lessons
- 50:06Q&A and closing remarks
