FReD: Identifying File Re-Delegation in Android System Services
Sigmund Albert Gorski III, Seaver Thorn, William Enck, Haining Chen
摘要
The security of the Android platform benefits greatly from a privileged middleware that provides indirect access to protected resources. This architecture is further enhanced by privilege separating functionality into many different services and carefully tuning file access control policy to mitigate the impact of software vulnerabilities. However, these services can become confused deputies if they improperly re-delegate file access to third-party applications through remote procedure call (RPC) interfaces. In this paper, we propose a static program analysis tool called FRED, which identifies a mapping between Java-based system service RPC interfaces and the file paths opened within the Java and C/C++ portions of the service. It then combines the Linux-layer file access control policy with the Android-layer permission policy to identify potential file re-delegation. We use FRED to analyze three devices running Android 10 and identify 12 confused deputies that are accessible from third-party applications. These vulnerabilities include five CVEs with moderate severity, demonstrating the utility of semi-automated approaches to discover subtle flaws in access control enforcement.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 6 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- NASS: Fuzzing All Native Android System Services with Interface Awareness and Coverage 引用了 Kratos: Discovering Inconsistent Security Policy Enforcement in the Android Framework
- A Longitudinal Analysis Of Replicas in the Wild Wild Android 引用了 On Demystifying the Android Application Framework: Re-Visiting Android Permission Specification Analysis
- A Longitudinal Analysis Of Replicas in the Wild Wild Android 引用了 Poirot: Probabilistically Recommending Protections for the Android Framework
- A Longitudinal Analysis Of Replicas in the Wild Wild Android 引用了 Kratos: Discovering Inconsistent Security Policy Enforcement in the Android Framework
- A Longitudinal Analysis Of Replicas in the Wild Wild Android 引用了 AceDroid: Normalizing Diverse Android Access Control Checks for Inconsistency Detection
- Poirot: Probabilistically Recommending Protections for the Android Framework 引用了 On Demystifying the Android Application Framework: Re-Visiting Android Permission Specification Analysis
- Poirot: Probabilistically Recommending Protections for the Android Framework 引用了 Kratos: Discovering Inconsistent Security Policy Enforcement in the Android Framework
- Poirot: Probabilistically Recommending Protections for the Android Framework 引用了 AceDroid: Normalizing Diverse Android Access Control Checks for Inconsistency Detection
- AceDroid: Normalizing Diverse Android Access Control Checks for Inconsistency Detection 引用了 On Demystifying the Android Application Framework: Re-Visiting Android Permission Specification Analysis
- AceDroid: Normalizing Diverse Android Access Control Checks for Inconsistency Detection 引用了 Kratos: Discovering Inconsistent Security Policy Enforcement in the Android Framework
引用它的顶会 Paper6
- Poirot: Probabilistically Recommending Protections for the Android FrameworkZeinab El-Rewini, Zhuo Zhang, Yousra AaferCCS 2022 · 6 次引用
- BreakFAST: Confused Deputy Attack on Infinity Fabric to Break AMD SEV-SNPPhilipp Giersfeld, Benedict Schlüter, Shweta ShindeS&P 2026 · 1 次引用
- NASS: Fuzzing All Native Android System Services with Interface Awareness and CoveragePhilipp Mao, Marcel Busch, Mathias PayerUSENIX Security 2025
- A Longitudinal Analysis Of Replicas in the Wild Wild AndroidSyeda Mashal Abbas Zaidi, Shahpar Khan, Parjanya Vyas, Yousra AaferASE 2024
- Lost in Migration: Exposing Android Framework Vulnerabilities in Parallel Java-Kotlin ImplementationsRui Li, Wenrui Diao, Debin GaoCCS 2026
它引用的 Paper8
- SOK: (State of) The Art of War: Offensive Techniques in Binary AnalysisYan Shoshitaishvili, Ruoyu Wang, Christopher Salls, Nick Stephens 等S&P 2016 · 1,085 次引用
- On Demystifying the Android Application Framework: Re-Visiting Android Permission Specification AnalysisMichael Backes, Sven Bugiel, Erik Derr, Patrick D. McDaniel 等USENIX Security 2016 · 161 次引用
- SoK: Lessons Learned from Android Security Research for Appified Software PlatformsYasemin Acar, Michael Backes, Sven Bugiel, Sascha Fahl 等S&P 2016 · 101 次引用
- AceDroid: Normalizing Diverse Android Access Control Checks for Inconsistency DetectionYousra Aafer, Jianjun Huang, Yi Sun, Xiangyu Zhang 等NDSS 2018 · 95 次引用
- Kratos: Discovering Inconsistent Security Policy Enforcement in the Android FrameworkYuru Shao, Qi Alfred Chen, Zhuoqing Morley Mao, Jason Ott 等NDSS 2016 · 85 次引用
相关 Paper
- Kobold: Evaluating Decentralized Access Control for Remote NSXPC Methods on iOSLuke Deshotels, Costin Carabas, Jordan Beichler, Razvan Deaconescu 等S&P 2020 · 10 次引用
- Uncovering Cross-Context Inconsistent Access Control Enforcement in AndroidHao Zhou, Haoyu Wang, Xiapu Luo, Ting Chen 等NDSS 2022
- Cross-language Android permission specificationChaoran Li, Xiao Chen, Ruoxi Sun, Minhui Xue 等FSE 2022 · 13 次引用
- PolyScope: Multi-Policy Access Control Analysis to Compute Authorized Attack Operations in Android SystemsYu Tsung Lee, William Enck, Haining Chen, Hayawardh Vijayakumar 等USENIX Security 2021 · 17 次引用
- Lost in Conversion: Exploit Data Structure Conversion with Attribute Loss to Break Android SystemsRui Li, Wenrui Diao, Shishuai Yang, Xiangyu Liu 等USENIX Security 2023
