TY - GEN
T1 - A code protection scheme via inline hooking for android applications
AU - Jiang, Hongwei
AU - Yang, Kai
AU - Wang, Lianfang
AU - Gao, Jinbao
AU - Hu, Sikang
N1 - Publisher Copyright:
© 2019, Springer Nature Switzerland AG.
PY - 2019
Y1 - 2019
N2 - In recent years, more and more criminals tamper with APKs (Android Package) of Android phones by reverse engineering, which brings great threat to the interests of developers and users. Therefore, it is necessary to strengthen the protection of APK code. But with the continuous evolution of the Android system compilation mode, the protection of APK code has encountered more and more difficulties. Main code protection schemes are just for applications based on Interpretation or AOT (Ahead of Time) compilation mode, but the new hybrid compilation mode used in Android 8.0 makes it difficult for the code protection schemes to protect APK code. So we refer to the Android system source code to study the hybrid compilation process of Android 8.0. By analyzing the loading, compiling and executing flow of programs in Android 8.0, we find a way to control the compilation mode. Combined with inline hook technology, our code protection scheme effectively avoids the impact of the complicated hybrid compilation mode, restores the instructions successfully and achieves the purpose of protecting APK code.
AB - In recent years, more and more criminals tamper with APKs (Android Package) of Android phones by reverse engineering, which brings great threat to the interests of developers and users. Therefore, it is necessary to strengthen the protection of APK code. But with the continuous evolution of the Android system compilation mode, the protection of APK code has encountered more and more difficulties. Main code protection schemes are just for applications based on Interpretation or AOT (Ahead of Time) compilation mode, but the new hybrid compilation mode used in Android 8.0 makes it difficult for the code protection schemes to protect APK code. So we refer to the Android system source code to study the hybrid compilation process of Android 8.0. By analyzing the loading, compiling and executing flow of programs in Android 8.0, we find a way to control the compilation mode. Combined with inline hook technology, our code protection scheme effectively avoids the impact of the complicated hybrid compilation mode, restores the instructions successfully and achieves the purpose of protecting APK code.
KW - Android
KW - Code protection
KW - Hybrid compilation
KW - Inline hooking
UR - http://www.scopus.com/inward/record.url?scp=85078530677&partnerID=8YFLogxK
U2 - 10.1007/978-3-030-37337-5_9
DO - 10.1007/978-3-030-37337-5_9
M3 - Conference contribution
AN - SCOPUS:85078530677
SN - 9783030373368
T3 - Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
SP - 102
EP - 116
BT - Cyberspace Safety and Security - 11th International Symposium, CSS 2019, Proceedings
A2 - Vaidya, Jaideep
A2 - Zhang, Xiao
A2 - Li, Jin
PB - Springer
T2 - 11th International Symposium on Cyberspace Safety and Security, CSS 2019
Y2 - 1 December 2019 through 3 December 2019
ER -