AdCapsule: Practical Confinement of Advertisements in Android Applications

Xiaonan Zhu,Jinku Li,Yajin Zhou,Jianfeng Ma
DOI: https://doi.org/10.1109/TDSC.2018.2814999
2020-01-01
IEEE Transactions on Dependable and Secure Computing
Abstract:Nowadays, app developers tend to integrate advertisement libraries (or ad libraries) into their apps to get revenue from ad networks. However, researches have shown that both ad libraries and ad contents could raise serious security and privacy concerns. In this paper, we propose AdCapsule, a user-level solution to practically confine advertisements, including ad libraries and ad contents. Our solution does not need to change the Android framework, nor requires the root privilege, thus can be readily deployed. Specifically, we propose the permission sandbox, which isolates the permissions used by ad libraries from the host app, and the file sandbox, which separates the file operations of advertisements. The ad library and ad content cannot read or write any file outside this sandbox. We have implemented a prototype of AdCapsule. Our evaluation results indicate that AdCapsule can successfully enforce security policies to block attempts of accessing private information or manipulating files of the host app, and the performance overhead introduced by AdCapsule is low.
What problem does this paper attempt to address?