[Paper Review] A Sink-driven Approach to Detecting Exposed Component Vulnerabilities in Android Apps
This paper proposes a sink-driven approach to detect exposed component vulnerabilities (ECVs) in Android apps by systematically identifying and classifying vulnerability-specific sinks (VSinks). Using forward reachability and category-aware backward dataflow analysis, ECVDetector identifies 49 previously undisclosed vulnerable apps among the top 1,000 Android apps, with an average analysis time of 9.257 seconds per component.
Android apps could expose their components for cooperating with other apps. This convenience, however, makes apps susceptible to the exposed component vulnerability (ECV), in which a dangerous API (commonly known as sink) inside its component can be triggered by other (malicious) apps. In the prior works, detecting these ECVs use a set of sinks pertaining to the ECVs under detection. In this paper, we argue that a more comprehensive and effective approach should start by a systematic selection and classification of vulnerability-specific sinks (VSinks). The set of VSinks is much larger than those used in the previous works. Based on these VSinks, our sink-driven approach can detect different kinds of ECVs in an app in two steps. First, VSinks and their categories are identified through a typical forward reachability analysis. Second, based on each VSink's category, a corresponding detection method is used to identify the ECV via a customized backward dataflow analysis. We also design a semi-auto guided analysis and validation capability for system-only broadcast checking to remove some false positives. We implement our sink-driven approach in a tool called ECVDetector and evaluate it with the top 1K Android apps. Using ECVDetector we successfully identify a total of 49 vulnerable apps across all four ECV categories we have defined. To our knowledge, most of them are previously undisclosed, such as the very popular Go SMS Pro and Clean Master. Moreover, the performance of ECVDetector is high, requiring only 9.257 seconds on average to process each component.
Motivation & Objective
- Address the limitations of prior ECV detection tools that rely on ad hoc sink sets and are tightly coupled to specific vulnerability types.
- Systematically identify and classify vulnerability-specific sinks (VSinks) across multiple ECV categories to improve detection coverage.
- Develop a general, extensible detection framework that decouples sink classification from analysis logic for broader applicability.
- Reduce false positives through semi-automatic guided analysis, especially for system-only broadcast checks.
- Enable practical deployment by releasing a dataset of 372 VSinks and 183 data source APIs for the Android research community.
Proposed method
- Define a rule-based system using API names, permission semantics, and other metrics to systematically select and classify VSinks into four distinct categories.
- Perform iterative, flow-sensitive, intra-procedural forward reachability analysis to locate all VSinks within an app’s components.
- Apply customized backward dataflow analysis per VSink category to trace potential attack flows from external inputs to vulnerable sinks.
- Integrate a semi-automatic guided analysis module to validate and filter false positives, particularly for system-only broadcast receivers.
- Implement the approach in ECVDetector, a tool that supports rule interpretation, sink classification, and end-to-end vulnerability detection.
- Leverage a rule interpreter to dynamically select and categorize VSinks based on predefined syntax and semantic rules.
Experimental results
Research questions
- RQ1How can a systematic and comprehensive selection of vulnerability-specific sinks (VSinks) improve ECV detection coverage compared to prior ad hoc approaches?
- RQ2Can a sink-driven framework that classifies VSinks by analysis requirements enable detection of previously undetected ECVs across diverse vulnerability categories?
- RQ3To what extent does backward dataflow analysis, guided by VSink categories, outperform forward analysis in detecting complex ECVs?
- RQ4How effective is semi-automatic guided analysis in reducing false positives, especially for system-only broadcast receivers?
- RQ5Can the proposed approach detect real-world ECVs in widely used Android applications that were previously undisclosed?
Key findings
- ECVDetector successfully identified 49 previously undisclosed vulnerable Android apps among the top 1,000 apps from Google Play.
- The tool detected vulnerabilities in high-profile apps such as Go SMS Pro and Clean Master, which were not previously reported.
- The average analysis time per component was only 9.257 seconds, demonstrating high performance and scalability.
- A total of 372 vulnerability-specific sinks (VSinks) were identified and classified into four distinct categories based on their analysis requirements.
- The tool’s semi-automatic guided analysis significantly reduced false positives, especially in the context of system-only broadcast receiver checks.
- The authors released a dataset of 372 VSinks and 183 data source APIs to support future research in Android security analysis.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.