Debuggers are really powerful: Pwning all of the Android things
summary
A scriptable Ruby debugger called android-debug wraps JPDA/JDWP (runs on JRuby, needs Oracle JDK) and acts as a live proxy to Android apps, letting a tester read/write variables, invoke methods, and trace Intent creation. Demonstrated tools crypto-tap/java-tap pull AES keys from cipher calls and a hit‑tracer finds dynamic broadcast receivers; a timed fake broadcast overwrites a downloaded lib to achieve code execution. Works reliably but Android’s JDWP misses ops and will hard‑crash the VM if unsupported calls are issued.
AI-written summary · about
chapters (18)
- 0:00Introduction and background
- 1:05What is JDWP and why it matters
- 3:54JDWP connection types
- 6:00Java debugger interface limitations
- 7:26Java debugger vs native debugger
- 9:11Debugger capabilities in Java
- 10:15Android JDWP implementation
- 11:39ADB server and debugging
- 14:03Reverse engineering challenges
- 18:25Problems with manual decompilation
- 19:51JavaTap and CryptoTap tools
- 20:33Broadcast receivers and race conditions
- 23:01Android Debug Ruby framework
- 24:45Debugging intents and obfuscation
- 26:10Framework usage examples
- 29:01Framework nuances and requirements
- 30:46Future development hopes
- 31:06Conclusion and summary
