[Paper Review] AdSplit: Separating smartphone advertising from applications
AdSplit is a system that separates smartphone advertising from host applications by running ads in isolated processes under distinct user IDs, eliminating permission bloat and enabling remote validation of ad interactions. It achieves minimal runtime overhead and supports HTML-based ads, reducing trust and privacy risks while improving security and user experience.
A wide variety of smartphone applications today rely on third-party advertising services, which provide libraries that are linked into the hosting application. This situation is undesirable for both the application author and the advertiser. Advertising libraries require additional permissions, resulting in additional permission requests to users. Likewise, a malicious application could simulate the behavior of the advertising library, forging the user's interaction and effectively stealing money from the advertiser. This paper describes AdSplit, where we extended Android to allow an application and its advertising to run as separate processes, under separate user-ids, eliminating the need for applications to request permissions on behalf of their advertising libraries. We also leverage mechanisms from Quire to allow the remote server to validate the authenticity of client-side behavior. In this paper, we quantify the degree of permission bloat caused by advertising, with a study of thousands of downloaded apps. AdSplit automatically recompiles apps to extract their ad services, and we measure minimal runtime overhead. We also observe that most ad libraries just embed an HTML widget within and describe how AdSplit can be designed with this in mind to avoid any need for ads to have native code.
Motivation & Objective
- To address permission bloat in Android apps caused by third-party advertising libraries that require excessive user permissions.
- To enable remote validation of ad interactions to prevent click fraud and ensure advertisers receive accurate performance data.
- To improve fault isolation and user privacy by decoupling ad logic from the main application.
- To reduce the incentive for apps to collect sensitive user data by enabling secure, isolated ad execution.
Proposed method
- Extends Android to run applications and their advertising components as separate processes under distinct user IDs.
- Uses Quire's mechanisms to validate client-side ad interactions and prevent forging by malicious apps.
- Employs a binary rewriter to automatically recompile legacy apps to extract and isolate ad libraries.
- Designs for HTML-based ads to avoid native code, enabling web-like execution with minimal system integration.
- Leverages Android's IPC and process isolation to enforce security boundaries between apps and ads.
- Integrates with dynamic taint analysis systems like TaintDroid to detect and prevent sensitive data leakage to ad components.
Experimental results
Research questions
- RQ1To what extent do advertising libraries contribute to permission bloat in Android applications?
- RQ2Can ad interactions be securely validated by remote servers without trusting the host application?
- RQ3What is the performance overhead of isolating ads in separate processes on Android?
- RQ4How can legacy Android apps be automatically adapted to use an isolated ad architecture?
- RQ5Can ad functionality be fully implemented using web technologies (HTML/JS) instead of native code?
Key findings
- Of 10,000 analyzed Android apps, 35% used two or more advertising libraries, significantly increasing permission requests.
- Many ad libraries request more permissions than documented, and permission sets vary across versions, exacerbating permission bloat.
- AdSplit reduces permission bloat by allowing ad libraries to request their own permissions independently, without burdening the main app.
- The system achieves minimal runtime overhead, with performance impact measured as negligible in benchmarking.
- Most ad libraries embed HTML widgets, making them well-suited for a web-based, non-native execution model in AdSplit.
- AdSplit enables remote validation of UI events via Quire, preventing malicious apps from forging ad clicks or impressions.
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.