Shelving it rather than Ditching it: Dynamically Debloating DEX and Native Methods of Android Applications without APK Modification
Zicheng Zhang, Jiakun Liu, Ferdian Thung, Haoyu Ma, Rui Li, Yan Naing, Tun, Wei Minn, Lwin Khin Shar, Shahar Maoz, Eran Toch, David Lo, Joshua Wong,, Debin Gao

TL;DR
This paper presents 3DNDroid, a dynamic debloating system for Android that removes unnecessary code at runtime without modifying APKs, enhancing security and resource efficiency.
Contribution
It introduces a novel runtime debloating approach for both DEX and native methods using an unprivileged app and customized OS, avoiding APK modification.
Findings
Successfully debloated 187 DEX methods and 30 native methods in 55 apps.
Removed over 10,000 ROP gadgets, reducing attack surface.
Achieved resource savings and mitigated vulnerabilities.
Abstract
Today's Android developers tend to include numerous features to accommodate diverse user requirements, which inevitably leads to bloated apps. Yet more often than not, only a fraction of these features are frequently utilized by users, thus a bloated app costs dearly in potential vulnerabilities, expanded attack surfaces, and additional resource consumption. Especially in the event of severe security incidents, users have the need to block vulnerable functionalities immediately. Existing works have proposed various code debloating approaches for identifying and removing features of executable components. However, they typically involve static modification of files (and, for Android apps, repackaging of APKs, too), which lacks user convenience let alone undermining the security model of Android due to the compromising of public key verification and code integrity checks. This paper…
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 · Parallel Computing and Optimization Techniques · Advanced Data Storage Technologies
