The ART of App Compartmentalization: Compiler-based Library Privilege Separation on Stock Android
摘要
Third-party libraries are commonly used by app developers for alleviating the development efforts and for monetizing their apps. On Android, the host app and its third-party libraries reside in the same sandbox and share all privileges awarded to the host app by the user, putting the users' privacy at risk of intrusions by third-party libraries. In this paper, we introduce a new privilege separation approach for third-party libraries on stock Android. Our solution partitions Android applications at compile-time into isolated, privilege-separated compartments for the host app and the included third-party libraries. A particular benefit of our approach is that it leverages compiler-based instrumentation available on stock Android versions and thus abstains from modification of the SDK, the app bytecode, or the device firmware. A particular challenge for separating libraries from their host apps is the reconstruction of the communication channels and the preservation of visual fidelity between the now separated app and its libraries. We solve this challenge through new IPC-based protocols to synchronize layout and lifecycle management between different sandboxes. Finally, we demonstrate the efficiency and effectiveness of our solution by applying it to real world apps from the Google Play Store that contain advertisements.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 15 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Understanding Malicious Cross-library Data Harvesting on Android 引用了 What Mobile Ads Know About Mobile Users
- Understanding Malicious Cross-library Data Harvesting on Android 引用了 Free for All! Assessing User Data Exposure to Advertising Libraries on Android
- Understanding Malicious Cross-library Data Harvesting on Android 引用了 FLEXDROID: Enforcing In-App Privilege Separation in Android
- How does misconfiguration of analytic services compromise mobile privacy? 引用了 FLEXDROID: Enforcing In-App Privilege Separation in Android
- DynPTA: Combining Static and Dynamic Analysis for Practical Selective Data Protection 引用了 FLEXDROID: Enforcing In-App Privilege Separation in Android
- Reliable Third-Party Library Detection in Android and its Security Applications 引用了 What Mobile Ads Know About Mobile Users
- Reliable Third-Party Library Detection in Android and its Security Applications 引用了 FLEXDROID: Enforcing In-App Privilege Separation in Android
- DroidCap: OS Support for Capability-based Permissions in Android 引用了 What Mobile Ads Know About Mobile Users
- DroidCap: OS Support for Capability-based Permissions in Android 引用了 FLEXDROID: Enforcing In-App Privilege Separation in Android
引用它的顶会 Paper15
- DynPTA: Combining Static and Dynamic Analysis for Practical Selective Data ProtectionTapti Palit, Jarin Firose Moon, Fabian Monrose, Michalis PolychronakisS&P 2021 · 48 次引用
- Understanding Malicious Cross-library Data Harvesting on AndroidJice Wang, Yue Xiao, Xueqiang Wang, Yuhong Nan 等USENIX Security 2021 · 41 次引用
- PKRU-safe: automatically locking down the heap between safe and unsafe languagesPaul Kirth, Mitchel Dickerson, Stephen Crane, Per Larsen 等EuroSys 2022 · 41 次引用
- How does misconfiguration of analytic services compromise mobile privacy?Xueling Zhang, Xiaoyin Wang, Rocky Slavin, Travis D. Breaux 等ICSE 2020 · 21 次引用
- DroidCap: OS Support for Capability-based Permissions in AndroidAbdallah Dawoud, Sven BugielNDSS 2019 · 17 次引用
它引用的 Paper4
- Reliable Third-Party Library Detection in Android and its Security ApplicationsMichael Backes, Sven Bugiel, Erik DerrCCS 2016 · 345 次引用
- FLEXDROID: Enforcing In-App Privilege Separation in AndroidJaebaek Seo, Daehyeok Kim, Donghyun Cho, Insik Shin 等NDSS 2016 · 114 次引用
- What Mobile Ads Know About Mobile UsersSooel Son, Daehyeok Kim, Vitaly ShmatikovNDSS 2016 · 101 次引用
- Free for All! Assessing User Data Exposure to Advertising Libraries on AndroidSoteris Demetriou, Whitney Merrill, Wei Yang, Aston Zhang 等NDSS 2016 · 95 次引用
相关 Paper
- On Demystifying the Android Application Framework: Re-Visiting Android Permission Specification AnalysisMichael Backes, Sven Bugiel, Erik Derr, Patrick D. McDaniel 等USENIX Security 2016 · 161 次引用
- Union under Duress: Understanding Hazards of Duplicate Resource Mismediation in Android Software Supply ChainXueqiang Wang, Yifan Zhang, XiaoFeng Wang, Yan Jia 等USENIX Security 2023
- Keep me Updated: An Empirical Study of Third-Party Library Updatability on AndroidErik Derr, Sven Bugiel, Sascha Fahl, Yasemin Acar 等CCS 2017 · 196 次引用
- LibScan: Towards More Precise Third-Party Library Identification for Android ApplicationsYafei Wu, Cong Sun, Dongrui Zeng, Gang Tan 等USENIX Security 2023
- DocFlow: Extracting Taint Specifications from Software DocumentationMarcos Tileria, Jorge Blasco, Santanu Kumar DashICSE 2024 · 5 次引用
