Lune

CCS2018Top-tier venue

Precise Android API Protection Mapping Derivation and Reasoning

Yousra Aafer, Guanhong Tao, Jianjun Huang, Xiangyu Zhang, Ninghui Li

Abstract

The Android research community has long focused on building an Android API permission specification, which can be leveraged by app developers to determine the optimum set of permissions necessary for a correct and safe execution of their app. However, while prominent existing efforts provide a good approximation of the permission specification, they suffer from a few shortcomings. Dynamic approaches cannot generate complete results, although accurate for the particular execution. In contrast, static approaches provide better coverage, but produce imprecise mappings due to their lack of path-sensitivity. In fact, in light of Android's access control complexity, the approximations hardly abstract the actual co-relations between enforced protections. To address this, we propose to precisely derive Android protection specification in a pathsensitive fashion, using a novel graph abstraction technique. We further showcase how we can apply the generated maps to tackle security issues through logical satisfiability reasoning. Our constructed maps for 4 Android Open Source Project (AOSP) images highlight the significance of our approach, as ∼41% of APIs' protections cannot be correctly modeled without our technique.

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.

14 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Abandon All Hope Ye Who Enter Here: A Dynamic, Longitudinal Investigation of Android's Data Safety Section cites On Demystifying the Android Application Framework: Re-Visiting Android Permission Specification Analysis
  • Abandon All Hope Ye Who Enter Here: A Dynamic, Longitudinal Investigation of Android's Data Safety Section cites APER: Evolution-Aware Runtime Permission Misuse Detection for Android Apps
  • Demystifying Resource Management Risks in Emerging Mobile App-in-App Ecosystems cites On Demystifying the Android Application Framework: Re-Visiting Android Permission Specification Analysis
  • Uncovering Intent based Leak of Sensitive Data in Android Framework cites On Demystifying the Android Application Framework: Re-Visiting Android Permission Specification Analysis
  • Uncovering Intent based Leak of Sensitive Data in Android Framework cites Kratos: Discovering Inconsistent Security Policy Enforcement in the Android Framework
  • Uncovering Intent based Leak of Sensitive Data in Android Framework cites AceDroid: Normalizing Diverse Android Access Control Checks for Inconsistency Detection
  • APER: Evolution-Aware Runtime Permission Misuse Detection for Android Apps cites On Demystifying the Android Application Framework: Re-Visiting Android Permission Specification Analysis
  • 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
  • AceDroid: Normalizing Diverse Android Access Control Checks for Inconsistency Detection cites Life after App Uninstallation: Are the Data Still Alive? Data Residue Attacks on Android
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers14

  1. Demystifying Resource Management Risks in Emerging Mobile App-in-App EcosystemsHaoran Lu, Luyi Xing, Yue Xiao, Yifan Zhang et al.CCS 2020 · 48 citations
  2. APER: Evolution-Aware Runtime Permission Misuse Detection for Android AppsSinan Wang, Yibo Wang, Xian Zhan, Ying Wang et al.ICSE 2022 · 19 citations
  3. Abandon All Hope Ye Who Enter Here: A Dynamic, Longitudinal Investigation of Android's Data Safety SectionIoannis Arkalakis, Michalis Diamantaris, Serafeim Moustakas, Sotiris Ioannidis et al.USENIX Security 2024 · 13 citations
  4. Cerberus: Query-driven Scalable Vulnerability Detection in OAuth Service Provider ImplementationsTamjid Al Rahat, Yu Feng, Yuan TianCCS 2022 · 12 citations
  5. Uncovering Intent based Leak of Sensitive Data in Android FrameworkHao Zhou, Xiapu Luo, Haoyu Wang, Haipeng CaiCCS 2022 · 9 citations

Builds on4

  1. 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
  2. AceDroid: Normalizing Diverse Android Access Control Checks for Inconsistency DetectionYousra Aafer, Jianjun Huang, Yi Sun, Xiangyu Zhang et al.NDSS 2018 · 95 citations
  3. 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
  4. Life after App Uninstallation: Are the Data Still Alive? Data Residue Attacks on AndroidXiao Zhang, Kailiang Ying, Yousra Aafer, Zhenshen Qiu et al.NDSS 2016 · 34 citations

Related papers

  1. Cross-language Android permission specificationChaoran Li, Xiao Chen, Ruoxi Sun, Minhui Xue et al.FSE 2022 · 13 citations
  2. Finding the Missing Piece: Permission Specification Analysis for Android NDKHao Zhou, Haoyu Wang, Shuohan Wu, Xiapu Luo et al.ASE 2021 · 14 citations
  3. DocFlow: Extracting Taint Specifications from Software DocumentationMarcos Tileria, Jorge Blasco, Santanu Kumar DashICSE 2024 · 5 citations
  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. Auditing Framework APIs via Inferred App-side Security SpecificationsParjanya Vyas, Asim Waheed, Yousra Aafer, N. AsokanUSENIX Security 2023
Dusk over the sea between two cliffs drawn in fine vertical lines