arrow
Return

BPFDex: Enabling Robust Android Apps Unpacking via Android Kernel

delete2025-01-01
delete0
PRE
AI
M
Mingyang Li
W
Weina Niu
J
Jiacheng Gong
S
Song Li
M
Mingxue Zhang
X
Xiaosong Zhang
DOI:10.1109/TIFS.2025.3594559delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
Malware developers exploit packing techniques to protect malicious apps from analysis. These evolving techniques, coupled with diverse anti-unpacker strategies, often render current studies ineffective in unpacking Android apps. In this study, we introduce BPFDex, a novel Android unpacking framework that leverages eBPF, a kernel component of the Android system. We successfully apply eBPF’s excellent kernel observability and tracing capability to Android unpacking, both on real devices and emulators. Operating within the kernel space, BPFDex avoids drawbacks of common unpacking techniques. BPFDex monitors apps across both native and kernel layers, restores Dex data from memory, and adapts to different packing strategies according to observed packing behaviors. Furthermore, we summarize patterns in anti-unpacker behaviors among Android packers, establishing criteria to improve existing unpacking strategies. We conduct extensive experiments on BPFDex by leveraging more than 3k apps packed by over eight different packers. The results demonstrate that BPFDex successfully bypasses anti-unpacker strategies and unpacks apps packed by various packers, in contrast to other unpackers that can handle at most two packers.
Keywords:
Android packer
android unpacking
dynamic analysis
android kernel

Journal

IEEE Transactions on Information Forensics and Security cover
IEEE Transactions on Information Forensics and Security
IF:
8
Papers:
5.2K
Citations:
2.3W

Organization

U
university of electronic science and technology of china
Scholars:
1.2W
Papers: 4.6K
Citations: 4
Z
zhejiang university
Scholars:
17.5W
Papers: 12.0W
Citations: 152