Going Beyond Obfuscation: Advanced Techniques for Protecting Android...
summary
Explains moving from R8/ProGuard obfuscation to concrete RASP steps: use Play Integrity API or Firebase App Check for device attestation, verify APK signature via Gradle signing report, compute and validate CRC checks of classes.dex at runtime, detect repackaging with APKTool/Smali fingerprints, and identify Frida-style hooking and debuggers by scanning ports/processes and timing anomalies. Gives real-world repackaging examples (Fortnite, Pokémon Go), contrasts DexGuard/GuardSquare options, and recommends layered “Swiss cheese” defenses with reporting and degrade-or-block responses.
AI-written summary · about
chapters (23)
- 0:00Introduction and speaker background
- 1:45What is obfuscation in Android
- 3:50History of ProGuard and R8
- 7:17Enabling R8 and ProGuard in build.gradle
- 10:05Pros and cons of obfuscation
- 12:29Why go beyond obfuscation
- 13:31Risks of not protecting apps
- 14:33What is RASP and dynamic attacks
- 16:58Examples of dynamic attacks
- 18:44Binary tampering with APKTool
- 23:02Integrity checks and CRC
- 24:48Detecting app signing key changes
- 26:37Embedded DEX and JIT compilation
- 27:41Detecting untrusted environments
- 28:23Device attestation with Play Integrity API
- 29:05Root detection techniques
- 31:08Handling detected untrusted environments
- 32:33Anti-debugging and Frida hooking
- 35:23Responding to detected hooks
- 35:44Detecting debuggable apps
- 37:28Other RASP techniques overview
- 38:29Swiss cheese model for app security
- 39:10Summary and resources
