A Systematic Study of Android Non-SDK (Hidden) Service API Security
Yi He, Yacong Gu, Purui Su, Kun Sun, Yajin Zhou, Zhi Wang, Qi Li

TL;DR
This paper systematically investigates the security vulnerabilities of Android's non-SDK hidden APIs, analyzing Google's countermeasures and developing a static analysis tool to identify inconsistencies and potential exploits across Android versions 6 to 12.
Contribution
It introduces ServiceAudit, a static analysis tool that detects security enforcement inconsistencies in Android's hidden APIs, providing a comprehensive vulnerability analysis across multiple Android versions.
Findings
112 vulnerabilities found in Android 6 with high precision
Over 25 hidden APIs with inconsistent protections in Android 11 and 12
Only one API in Android 11 poses severe security risk, none in Android 12
Abstract
Android allows apps to communicate with its system services via system service helpers so that these apps can use various functions provided by the system services. Meanwhile, the system services rely on their service helpers to enforce security checks for protection. Unfortunately, the security checks in the service helpers may be bypassed via directly exploiting the non-SDK (hidden) APIs, degrading the stability and posing severe security threats such as privilege escalation, automatic function execution without users' interactions, crashes, and DoS attacks. Google has proposed various approaches to address this problem, e.g., case-by-case fixing the bugs or even proposing a blacklist to block all the non-SDK APIs. However, the developers can still figure out new ways of exploiting these hidden APIs to evade the non-SDKs restrictions. In this paper, we systematically study the…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdvanced Malware Detection Techniques · Web Application Security Vulnerabilities · Software Testing and Debugging Techniques
