Introduction
Android applications are built from modular components—Activities, Services, and Broadcast Receivers—that communicate through Inter-Component Communication (ICC) using messaging objects called Intents. While this architecture promotes flexibility, it creates significant hurdles for security analysis. Traditional static taint analysis, which tracks sensitive data from a "source" (e.g., GPS) to a "sink" (e.g., a network upload), often fails at component boundaries. Because the Android OS mediates Intent delivery, the code's control-flow graph appears disconnected, leading to missed leaks or excessive false positives.
The IccTA Framework
To address this, the authors developed IccTA (Inter-component communication Taint Analysis). IccTA bridges the gaps between components by "stitching" disconnected code paths together at the intermediate representation level.
The IccTA workflow consists of three primary phases:
- Link Discovery: Using the Epicc tool, IccTA identifies potential ICC links by determining which components send Intents and which are likely to receive them.
- Code Instrumentation: This is the core innovation. IccTA modifies the application's Jimple (intermediate code) to replace OS-level Intent calls with direct method calls.
- Taint Analysis: Once the components are "hard-wired" together, the tool employs FlowDroid to perform context-aware taint analysis across the now-continuous control-flow graph.
For Inter-App Communication (IAC), the ApkCombiner tool merges multiple APKs into a single dummy application, allowing IccTA to treat cross-app leaks as standard inter-component leaks.
Technical Deep Dive: Code Instrumentation
The "secret sauce" of IccTA is its ability to transform an inter-component problem into an intra-component one. By generating helper classes and "dummy main" methods, IccTA simulates the Android lifecycle and ensures that data context is preserved as it moves between components.
As shown in the instrumentation example, a call to startActivity in one component is redirected to a helper class (IpcSC), which directly instantiates the target component. This explicit connection allows the underlying analyzer to track specific data values across the boundary, significantly reducing false positives.
Evaluation and Results
The researchers evaluated IccTA using an augmented version of DroidBench, adding 26 new apps specifically designed to test complex ICC and IAC scenarios. IccTA achieved a remarkable 95.0% precision and 82.6% recall, vastly outperforming baseline tools like FlowDroid, which managed only 23.9% precision due to its inability to resolve ICC links accurately.
In a large-scale study of 3,000 real-world apps from Google Play and third-party markets, IccTA identified 147 inter-component privacy leaks across 14 apps with 88.4% precision. The study also noted that while inter-app leaks are detectable, they are significantly less common in the wild than intra-app leaks.
Conclusion and Limitations
IccTA demonstrates that transforming inter-component analysis into a unified intra-component problem is a highly effective strategy for Android security auditing. However, limitations remain: the tool does not currently support Content Providers, cannot track data through native C/C++ code (JNI), and may over-approximate targets for implicit Intents using complex URIs. Future work aims to improve scalability for massive multi-app analysis and expand component support.
Summary updated