USENIX Security2022Top-tier venue
FReD: Identifying File Re-Delegation in Android System Services
Sigmund Albert Gorski III, Seaver Thorn, William Enck, Haining Chen
Abstract
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.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
6 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- NASS: Fuzzing All Native Android System Services with Interface Awareness and Coverage cites Kratos: Discovering Inconsistent Security Policy Enforcement in the Android Framework
- A Longitudinal Analysis Of Replicas in the Wild Wild Android cites On Demystifying the Android Application Framework: Re-Visiting Android Permission Specification Analysis
- A Longitudinal Analysis Of Replicas in the Wild Wild Android cites Poirot: Probabilistically Recommending Protections for the Android Framework
- A Longitudinal Analysis Of Replicas in the Wild Wild Android cites Kratos: Discovering Inconsistent Security Policy Enforcement in the Android Framework
- A Longitudinal Analysis Of Replicas in the Wild Wild Android cites AceDroid: Normalizing Diverse Android Access Control Checks for Inconsistency Detection
- Poirot: Probabilistically Recommending Protections for the Android Framework cites On Demystifying the Android Application Framework: Re-Visiting Android Permission Specification Analysis
- Poirot: Probabilistically Recommending Protections for the Android Framework cites Kratos: Discovering Inconsistent Security Policy Enforcement in the Android Framework
- Poirot: Probabilistically Recommending Protections for the Android Framework cites AceDroid: Normalizing Diverse Android Access Control Checks for Inconsistency Detection
- AceDroid: Normalizing Diverse Android Access Control Checks for Inconsistency Detection cites On Demystifying the Android Application Framework: Re-Visiting Android Permission Specification Analysis
- AceDroid: Normalizing Diverse Android Access Control Checks for Inconsistency Detection cites Kratos: Discovering Inconsistent Security Policy Enforcement in the Android Framework
Cited by top-tier papers6
- Poirot: Probabilistically Recommending Protections for the Android FrameworkZeinab El-Rewini, Zhuo Zhang, Yousra AaferCCS 2022 · 6 citations
- BreakFAST: Confused Deputy Attack on Infinity Fabric to Break AMD SEV-SNPPhilipp Giersfeld, Benedict Schlüter, Shweta ShindeS&P 2026 · 1 citation
- 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
Builds on8
- SOK: (State of) The Art of War: Offensive Techniques in Binary AnalysisYan Shoshitaishvili, Ruoyu Wang, Christopher Salls, Nick Stephens et al.S&P 2016 · 1,085 citations
- On Demystifying the Android Application Framework: Re-Visiting Android Permission Specification AnalysisMichael Backes, Sven Bugiel, Erik Derr, Patrick D. McDaniel et al.USENIX Security 2016 · 161 citations
- SoK: Lessons Learned from Android Security Research for Appified Software PlatformsYasemin Acar, Michael Backes, Sven Bugiel, Sascha Fahl et al.S&P 2016 · 101 citations
- AceDroid: Normalizing Diverse Android Access Control Checks for Inconsistency DetectionYousra Aafer, Jianjun Huang, Yi Sun, Xiangyu Zhang et al.NDSS 2018 · 95 citations
- Kratos: Discovering Inconsistent Security Policy Enforcement in the Android FrameworkYuru Shao, Qi Alfred Chen, Zhuoqing Morley Mao, Jason Ott et al.NDSS 2016 · 85 citations
Related papers
- Kobold: Evaluating Decentralized Access Control for Remote NSXPC Methods on iOSLuke Deshotels, Costin Carabas, Jordan Beichler, Razvan Deaconescu et al.S&P 2020 · 10 citations
- Uncovering Cross-Context Inconsistent Access Control Enforcement in AndroidHao Zhou, Haoyu Wang, Xiapu Luo, Ting Chen et al.NDSS 2022
- Cross-language Android permission specificationChaoran Li, Xiao Chen, Ruoxi Sun, Minhui Xue et al.FSE 2022 · 13 citations
- PolyScope: Multi-Policy Access Control Analysis to Compute Authorized Attack Operations in Android SystemsYu Tsung Lee, William Enck, Haining Chen, Hayawardh Vijayakumar et al.USENIX Security 2021 · 17 citations
- Lost in Conversion: Exploit Data Structure Conversion with Attribute Loss to Break Android SystemsRui Li, Wenrui Diao, Shishuai Yang, Xiangyu Liu et al.USENIX Security 2023
