JNI Global References Are Still Vulnerable: Attacks and Defenses
Yi He, Yuan Zhou, Yacong Gu, Purui Su, Qi Li, Yajin Zhou, Yong Jiang

TL;DR
This paper reveals that JNI global references in Android remain vulnerable to DoS attacks despite security measures, introduces a detection tool, and proposes a new defense mechanism to prevent resource exhaustion.
Contribution
It uncovers persistent JNI global reference vulnerabilities in Android, develops JGREAnalyzer for systematic detection, and proposes a resource-based mitigation strategy.
Findings
Identified 21 vulnerabilities in Android 10 system services
Discovered 9 vulnerabilities exploitable without permissions
Developed JGREAnalyzer tool for vulnerability detection
Abstract
System services and resources in Android are accessed through IPC based mechanisms. Previous research has demonstrated that they are vulnerable to the denial-of-service attack (DoS attack). For instance, the JNI global reference (JGR), which is widely used by system services, can be exhausted to cause the system reboot (hence the name JGRE attack). Even though the Android team tries to fix the problem by enforcing security checks, we find that it is still possible to construct a JGR exhaustion DoS attack in the latest Android system. In this paper, we propose a new JGR exhaustion DoS attack, which is effective in different Android versions, including the latest one (i.e., Android 10). Specifically, we developed JGREAnalyzer, a tool that can systematically detect JGR vulnerable services APIs via a call graph analysis and a forwarding reachability analysis. We applied this tool to…
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.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdvanced Malware Detection Techniques · Security and Verification in Computing · Information and Cyber Security
