Lune

NDSS2021Top-tier venue

Bringing Balance to the Force: Dynamic Analysis of the Android Application Framework

Abdallah Dawoud, Sven Bugiel

Abstract

Android's application framework plays a crucial part in protecting users' private data and the system integrity. Consequently, it has been the target of various prior works that analyzed its security policy and enforcement. Those works uncovered different security problems, including incomplete documentation, permission re-delegation within the framework, and inconsistencies in access control. However, all but one of those prior works were based on static code analysis. Thus, their results provide a one-sided view that inherits the limitations and drawbacks of applying static analysis to the vast, complex code base of the application framework. Even more, the performances of different security applications---including malware classification and least-privileged apps---depend on those analysis results, but those applications are currently tarnished by imprecise and incomplete results as a consequence of this imbalanced analysis methodology. To complement and refine this methodology and consequently improve the applications that are dependent on it, we add dynamic analysis of the application framework to the current research landscape and demonstrate the necessity of this move for improving the quality of prior results and advancing the field. Applying our solution, called Dynamo, to four prominent use-cases from the literature and taking a synoptical view on the results, we verify but also refute and extend the existing results of prior static analysis solutions. From the manual investigation of the root causes of discrepancies between results, we draw new insights and expert knowledge that can be valuable in improving both static and dynamic testing of the application framework.

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.

9 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 Precise Android API Protection Mapping Derivation and Reasoning
  • 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
  • Precise Android API Protection Mapping Derivation and Reasoning cites On Demystifying the Android Application Framework: Re-Visiting Android Permission Specification Analysis
  • Precise Android API Protection Mapping Derivation and Reasoning cites Kratos: Discovering Inconsistent Security Policy Enforcement in the Android Framework
  • Precise Android API Protection Mapping Derivation and Reasoning cites AceDroid: Normalizing Diverse Android Access Control Checks for Inconsistency Detection
  • Uncovering Intent based Leak of Sensitive Data in Android Framework cites Precise Android API Protection Mapping Derivation and Reasoning
  • 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 Dissecting Residual APIs in Custom Android ROMs
  • Uncovering Intent based Leak of Sensitive Data in Android Framework cites AceDroid: Normalizing Diverse Android Access Control Checks for Inconsistency Detection
  • Poirot: Probabilistically Recommending Protections for the Android Framework cites Precise Android API Protection Mapping Derivation and Reasoning
  • 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
  • APER: Evolution-Aware Runtime Permission Misuse Detection for Android Apps cites Precise Android API Protection Mapping Derivation and Reasoning
  • APER: Evolution-Aware Runtime Permission Misuse Detection for Android Apps cites On Demystifying the Android Application Framework: Re-Visiting Android Permission Specification Analysis
  • Dissecting Residual APIs in Custom Android ROMs cites Precise Android API Protection Mapping Derivation and Reasoning
  • Dissecting Residual APIs in Custom Android ROMs cites On Demystifying the Android Application Framework: Re-Visiting Android Permission Specification Analysis
  • Dissecting Residual APIs in Custom Android ROMs cites Kratos: Discovering Inconsistent Security Policy Enforcement in the Android Framework
  • Dissecting Residual APIs in Custom Android ROMs 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
  • AceDroid: Normalizing Diverse Android Access Control Checks for Inconsistency Detection cites Harvesting Inconsistent Security Configurations in Custom Android ROMs via Differential Analysis
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers9

  1. APER: Evolution-Aware Runtime Permission Misuse Detection for Android AppsSinan Wang, Yibo Wang, Xian Zhan, Ying Wang et al.ICSE 2022 · 19 citations
  2. 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
  3. Uncovering Intent based Leak of Sensitive Data in Android FrameworkHao Zhou, Xiapu Luo, Haoyu Wang, Haipeng CaiCCS 2022 · 9 citations
  4. Dissecting Residual APIs in Custom Android ROMsZeinab El-Rewini, Yousra AaferCCS 2021 · 8 citations
  5. Poirot: Probabilistically Recommending Protections for the Android FrameworkZeinab El-Rewini, Zhuo Zhang, Yousra AaferCCS 2022 · 6 citations

Builds on9

  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. Precise Android API Protection Mapping Derivation and ReasoningYousra Aafer, Guanhong Tao, Jianjun Huang, Xiangyu Zhang et al.CCS 2018 · 51 citations
  5. Harvesting Inconsistent Security Configurations in Custom Android ROMs via Differential AnalysisYousra Aafer, Xiao Zhang, Wenliang DuUSENIX Security 2016 · 43 citations

Related papers

  1. Discovering Flaws in Security-Focused Static Analysis Tools for Android using Systematic MutationRichard Bonett, Kaushal Kafle, Kevin Moran, Adwait Nadkarni et al.USENIX Security 2018 · 35 citations
  2. PacDroid: A Pointer-Analysis-Centric Framework for Security Vulnerabilities in Android AppsMenglong Chen, Tian Tan, Minxue Pan, Yue LiICSE 2025 · 1 citation
  3. DocFlow: Extracting Taint Specifications from Software DocumentationMarcos Tileria, Jorge Blasco, Santanu Kumar DashICSE 2024 · 5 citations
  4. JN-SAF: Precise and Efficient NDK/JNI-aware Inter-language Static Analysis Framework for Security Vetting of Android Applications with Native CodeFengguo Wei, Xingwei Lin, Xinming Ou, Ting Chen et al.CCS 2018 · 93 citations
  5. Ariadne: Navigating through the Labyrinth of Data-Driven Customization Inconsistencies in AndroidParjanya Vyas, Haseeb Ur Rehman Faheem, Yousra Aafer, N. AsokanUSENIX Security 2025
Dusk over the sea between two cliffs drawn in fine vertical lines