Automated Repair of Information Flow Security in Android Implicit Inter-App Communication
Open Access
- 11 September 2024
- book chapter
- Published by Springer Nature
- p. 285-303
Abstract
Android’s intents provide a form of inter-app communication with implicit, capability-based matching of senders and receivers. Such kind of implicit addressing provides some much-needed flexibility but also increases the risk of introducing information flow security bugs and vulnerabilities—as there is no standard way to specify what permissions are required to access the data sent through intents, so that it is handled properly.To mitigate such risks of intent-based communication, this paper introduces IntentRepair, an automated technique to detect such information flow security leaks and to automatically repair them. IntentRepair first finds sender and receiver modules that may communicate via intents, and such that the sender sends sensitive information that the receiver forwards to a public channel. To prevent this flow, IntentRepair patches the sender so that it also includes information about the permissions needed to access the data; and the receiver so that it will only disclose the sensitive information if it possesses the required permissions.We evaluated a prototype implementation of IntentRepair on 869 Android open-source apps, showing that it is effective in automatically detecting and repairing information flow security bugs that originate in implicit intent-based communication, introducing only a modest overhead in terms of patch size.Keywords
This publication has 19 references indexed in Scilit:
- Assessing the security of inter-app communications in android through reinforcement learningComputers & Security, 2023
- Automated repair of resource leaks in Android applicationsJournal of Systems and Software, 2022
- HyperGI: Automated Detection and Repair of Information Flow Leakage2021
- IIFA: Modular Inter-app Intent Information Flow Analysis of Android Applications2019
- PIAnalyzer: A Precise Approach for PendingIntent Vulnerability Analysis2018
- Towards Model Checking Android ApplicationsIEEE Transactions on Software Engineering, 2017
- EnergyPatch: Repairing Resource Leaks to Improve Energy-Efficiency of Android AppsIEEE Transactions on Software Engineering, 2017
- IccTA: Detecting Inter-Component Privacy Leaks in Android Apps2015
- Android taint flow analysis for app sets2014
- FlowDroid2014