Aper: Evolution-Aware Runtime Permission Misuse Detection for Android Apps
Sinan Wang, Yibo Wang, Xian Zhan, Ying Wang, Yepang Liu, Xiapu Luo,, Shing-Chi Cheung

TL;DR
This paper introduces Aper, a static analysis tool designed to detect runtime permission misuse bugs in Android apps caused by asynchronous permission handling and evolving APIs, significantly improving bug detection accuracy.
Contribution
Aper is a novel static analyzer that effectively detects Android runtime permission bugs related to permission revocations and API evolution, outperforming existing tools.
Findings
Aper achieves 46.3% higher F1-score than existing tools.
Detected 34 permission bugs in open-source apps, many causing crashes.
86% of apps use dangerous APIs asynchronously after permission changes.
Abstract
The Android platform introduces the runtime permission model in version 6.0. The new model greatly improves data privacy and user experience, but brings new challenges for app developers. First, it allows users to freely revoke granted permissions. Hence, developers cannot assume that the permissions granted to an app would keep being granted. Instead, they should make their apps carefully check the permission status before invoking dangerous APIs. Second, the permission specification keeps evolving, bringing new types of compatibility issues into the ecosystem. To understand the impact of the challenges, we conducted an empirical study on 13,352 popular Google Play apps. We found that 86.0% apps used dangerous APIs asynchronously after permission management and 61.2% apps used evolving dangerous APIs. If an app does not properly handle permission revocations or platform differences,…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdvanced Malware Detection Techniques · Software System Performance and Reliability · Advanced Data Storage Technologies
