Mules and Permission Laundering in Android: Dissecting Custom Permissions in the Wild
Open Access
- 30 June 2023
- journal article
- research article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Dependable and Secure Computing
- Vol. 21 (4) , 1801-1816
Abstract
Android implements a permission system to regulate apps' access to system resources and sensitive user data. One salient feature of this system is its extensibility: apps can define their own custom permissions to expose features and data to other apps. However, little is known about how widespread the usage of custom permissions is, and what is the impact that these permissions can have on users' privacy and security. In this paper, we empirically study the usage of custom permissions at large scale, using a dataset of 2.2M pre-installed and app-store-downloaded apps. We find the usage of custom permissions to be widespread, and seemingly growing over time. Despite this prevalence, we find that custom permissions are virtually invisible to end users, and their purpose mostly undocumented. This lack of transparency can lead to serious security and privacy problems: we show that custom permissions can facilitate access to permission-protected system resources to apps that lack those permissions without user awareness. To detect this practice, we design and implement two static analysis tools, and highlight multiple concerning cases spotted in the wild. We conclude this study with a discussion of potential solutions to mitigate the privacy and security risks of custom permissions.Keywords
This publication has 13 references indexed in Scilit:
- Mixed Signals: Analyzing Software Attribution Challenges in the Android EcosystemIEEE Transactions on Software Engineering, 2023
- An Analysis of Pre-installed Android Software2020
- Beyond Google Play2018
- AmandroidACM Transactions on Privacy and Security, 2018
- A formal approach for detection of security flaws in the android permission systemFormal Aspects of Computing, 2017
- An autonomic and permissionless Android covert channel2017
- LibRadar2016
- Analysis of Android Inter-App Security Vulnerabilities Using COVERT2015
- Detection of Design Flaws in the Android Permission Protocol Through Bounded Verification2015
- FlowDroidACM SIGPLAN Notices, 2014