Lune

S&P2021顶会

Android Custom Permissions Demystified: From Privilege Escalation to Design Shortcomings

Rui Li, Wenrui Diao, Zhou Li, Jianqi Du, Shanqing Guo

摘要

Permission is the fundamental security mechanism for protecting user data and privacy on Android. Given its importance, security researchers have studied the design and usage of permissions from various aspects. However, most of the previous research focused on the security issues of system permissions. Overlooked by many researchers, an app can use custom permissions to share its resources and capabilities with other apps. However, the security implications of using custom permissions have not been fully understood. In this paper, we systematically evaluate the design and implementation of Android custom permissions. Notably, we built an automatic fuzzing tool, called CUPERFUZZER, to detect custom permissions related vulnerabilities existing in the Android OS. CUPERFUZZER treats the operations of the permission mechanism as a black-box and executes massive targeted test cases to trigger privilege escalation. In the experiments, CUPERFUZZER discovered 2,384 effective cases with 30 critical paths successfully. Through investigating these vulnerable cases and analyzing the source code of Android OS, we further identified a series of severe design shortcomings lying in the Android permission framework, including dangling custom permission, inconsistent permissiongroup mapping, custom permission elevating, and inconsistent permission definition. Exploiting any of these shortcomings, a malicious app can obtain dangerous system permissions without user consent and further access unauthorized platform resources. On top of these observations, we propose some general design guidelines to secure custom permissions. Our findings have been acknowledged by the Android security team and rated as High severity.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 10 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Ariadne: Navigating through the Labyrinth of Data-Driven Customization Inconsistencies in Android 引用了 On Demystifying the Android Application Framework: Re-Visiting Android Permission Specification Analysis
  • Ariadne: Navigating through the Labyrinth of Data-Driven Customization Inconsistencies in Android 引用了 Resolving the Predicament of Android Custom Permissions
  • Lost in Conversion: Exploit Data Structure Conversion with Attribute Loss to Break Android Systems 引用了 Resolving the Predicament of Android Custom Permissions
  • See No Evil: Phishing for Permissions with False Transparency 引用了 Resolving the Predicament of Android Custom Permissions
  • DroidCap: OS Support for Capability-based Permissions in Android 引用了 On Demystifying the Android Application Framework: Re-Visiting Android Permission Specification Analysis
  • Take Over the Whole Cluster: Attacking Kubernetes via Excessive Permissions of Third-party Applications 引用了 See No Evil: Phishing for Permissions with False Transparency
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper10

  1. Take Over the Whole Cluster: Attacking Kubernetes via Excessive Permissions of Third-party ApplicationsNanzi Yang, Wenbo Shen, Jinku Li, Xunqi Liu 等CCS 2023 · 15 次引用
  2. AmpereBleed: Exploiting On-chip Current Sensors for Circuit-Free Attacks on ARM-FPGA SoCsXin Zhang, Yi Yang, Jiajun Zou, Qingni Shen 等DAC 2025 · 2 次引用
  3. On the (In)Security of Non-resettable Device Identifiers in Custom Android SystemsZikan Dong, Liu Wang, Guoai Xu, Haoyu WangASE 2025 · 1 次引用
  4. Ariadne: Navigating through the Labyrinth of Data-Driven Customization Inconsistencies in AndroidParjanya Vyas, Haseeb Ur Rehman Faheem, Yousra Aafer, N. AsokanUSENIX Security 2025
  5. Lost in Conversion: Exploit Data Structure Conversion with Attribute Loss to Break Android SystemsRui Li, Wenrui Diao, Shishuai Yang, Xiangyu Liu 等USENIX Security 2023

它引用的 Paper4

  1. On Demystifying the Android Application Framework: Re-Visiting Android Permission Specification AnalysisMichael Backes, Sven Bugiel, Erik Derr, Patrick D. McDaniel 等USENIX Security 2016 · 161 次引用
  2. Resolving the Predicament of Android Custom PermissionsGüliz Seray Tuncay, Soteris Demetriou, Karan Ganju, Carl A. GunterNDSS 2018 · 51 次引用
  3. DroidCap: OS Support for Capability-based Permissions in AndroidAbdallah Dawoud, Sven BugielNDSS 2019 · 17 次引用
  4. See No Evil: Phishing for Permissions with False TransparencyGüliz Seray Tuncay, Jingyu Qian, Carl A. GunterUSENIX Security 2020

相关 Paper

  1. Exploit the Last Straw That Breaks Android SystemsLei Zhang, Keke Lian, Haoyu Xiao, Zhibo Zhang 等S&P 2022 · 10 次引用
  2. MALintent: Coverage Guided Intent Fuzzing Framework for AndroidAmmar Askar, Fabian Fleischer, Christopher Kruegel, Giovanni Vigna 等NDSS 2025
  3. Born with a Silver Spoon: On the (In)Security of Native Granted App Privileges in Custom Android ROMsChao Wang, Yanjie Zhao, Jiapeng Deng, Haoyu WangS&P 2025
  4. Uncovering Intent based Leak of Sensitive Data in Android FrameworkHao Zhou, Xiapu Luo, Haoyu Wang, Haipeng CaiCCS 2022 · 9 次引用
  5. APER: Evolution-Aware Runtime Permission Misuse Detection for Android AppsSinan Wang, Yibo Wang, Xian Zhan, Ying Wang 等ICSE 2022 · 19 次引用
黄昏的海面,两侧是细线勾勒的悬崖