My presentation about Intent-based exploits of Android apps and their mitigations as presented at Android Makers by droidcon on April 11th, 2025.
Intro
Intents are the starting points for every Android application. The platform is very much built on Activities, potentially from different apps interacting with each other to complete some tasks. This open nature can be an avenue for exploitation.
You have to consider Intents what they are: inputs. And inputs must be sanitized. With this mentality, you can protect against many attacks, but some can only be avoided with the right architecture and platform support. Google finally made strides in this area with Android 15’s safer Intents. At the same time, you need to understand the attack surface to defend your apps.
I will describe and demonstrate such issues:
- Privilege escalation via Intent redirection
- Denial-of-service via malformed Intents
- Leaking data via Intent parameter injection
- App impersonation via Task hijacking (StrandHogg)
At the end of the talk, you will have an understanding of mitigating and remediating many Intent-based Android vulnerabilities.
Links
Android Security Evolution:
https://github.com/balazsgerlei/AndroidSecurityEvolution
Safeguarding user security on Android:
https://youtu.be/RccJYep2v5I
USENIX Security '15 - Towards Discovering and Understanding Task Hijacking in Android:
https://youtu.be/IYGwXFIYdS8
HackTricks - Android Task Hijacking:
https://book.hacktricks.wiki/en/mobile-pentesting/android-app-pentesting/android-task-hijacking.html