JOURNAL OF SHANDONG UNIVERSITY(NATURAL SCIENCE) ›› 2017, Vol. 52 ›› Issue (3): 44-50.doi: 10.6040/j.issn.1671-9352.2.2016.120

Previous Articles     Next Articles

Android application protection based on smali code obfuscation

LIU Fang-yuan, MENG Xian-jia*, TANG Zhan-yong, FANG Ding-yi, GONG Xiao-qing   

  1. Department of Computer Science and Technology, Northwest University, Xian 710127, Shaanxi, China
  • Received:2016-08-18 Online:2017-03-20 Published:2017-03-20

Abstract: An Android application protection method that is based on code obfuscation of smali code is proposed. The basic idea is that confuses the data flow for the access procedure of register data, and combines opaque predicates technology to confuse the control flow, thus when the attacker reversely analyze the application, the decompiling results will be wrong. The obfuscation method is evaluated from strength, resilience and overhead. The experiment results show that ourcan resist the reverse analysis of current popular reverse tools, such as jeb, dex2jar, dexdump and IDA pro.

Key words: smali code obfuscation, decompiling, reverse engineering

CLC Number: 

  • TP391
[1] 飞向网. 2016年Q1中国Android市场份额[EB/OL].[2016]. http://www.ebrun.com/20160419/172891.shtml.
[2] 中国新闻网. Fake payment APP[EB/OL].[2015]. http://www.thethirdmedia.com/Article/201511/show363-034c77p1. html.
[3] JESUSFREKEJ. smali/backsmali: An assembler/ disassembler for Android's dex format[EB/OL]. [2011]. http://code.google. com /p/samli.
[4] XU J, LI S, ZHANG T. Security Analysis and Protection Based on Smali Injection for Android Applications[M] //Algorithms and Architectures for Parallel Processing. Berlin: Springer International Publishing, 2014:577-586.
[5] BARAK B, GOLDREICH O, IMOAGLIAZZO R, et al. On the(im)possibility of obfuscating programs[C] //Advances in cryptology—CRYPTO 2001. Springer Berlin Heidelberg, 2001:1-18.
[6] 郑琪,徐爱国. 面向Android移动应用的控制流混淆[EB/OL].中国科技论文在线. 2014. http://www.paper.edu.cn/releasepaper/content/201412-783. ZHENG Qi, XU Aiguo. The control flow of confusion for Android mobile application[EB/OL]. Chinas scientific and technical papers online. 2014. http://www.paper.edu.cn/releasepaper/content/201412-783.
[7] 刘金梁. Android平台软件安全防护技术的研究与实现[D]. 北京:北京邮电大学, 2015. LIU Jinliang. The research of the software security protection technology and implementation for Android platform[D]. Beijing:Beijing University of Posts and Telecommunications, 2015.
[8] 郑琪. 面向Android智能手机终端应用程序的代码混淆算法研究与实现[D]. 北京:北京邮电大学,2015. ZHENG Qi. Research and implementation of code obfuscation algorithms for applications of android smartphone terminal[D]. Beijing:Beijing University of Posts and Telecommunications, 2015.
[9] Eric P.F. ProGuard[EB/OL].[2002].http://proguard.sourceforge.net/.
[10] SHU J, LI J, ZHANG Y, et al. Android app protection via interpretation obfuscation[C] // Dependable, Autonomic and Secure Computing(DASC), 2014 IEEE 12th International Conference on. IEEE, 2014:63-68.
[11] 汪德嘉, 宋超, 刘家郡. 一种Android系统应用的深度代码混淆方法[P].中国专利:103544414.A,2014. WANG Dejia, SONG Chao, LIU Jiajun. A method of the depth of the Android application code confusion[P]. CN: 103544414.A, 2014.
[12] PREDA M D, GIACOBAZZI R. Semantic-Based Code Obfuscation by Abstract Interpretation[J]. Lecture Notes in Computer Science, 2005, 17(17):1325-1336.
[13] YANG Y, FAN W, HUANG W, et al. The research of multi-point function opaque predicates obfuscation algorithm[J]. Applied Mathematics & Information Sciences, 2014, 8(6):3063-3070.
[14] Romin Irani. Android Application Class[EB/OL].[2010]. http://www.xoriant.com/blog/mobile-application-development/ android-application-class.html
[15] WIKIPEDIA. Java Native Interface[EB/OL].[2016]. https://en.wikipedia.org/wiki/Java_Native_Interface.
[16] COLLERG C, THOMBORSON C, LOW D. A taxonomy of obfuscating transformations[D]. New Zealand, Auckland: The University of Auckland, 1997.
[1] ZHANG Xiaoyuan, TIAN Yi, REN Zihan, DUAN Tianyu, YANG Siyuan, ZHANG Yuexuan. Application of topology neighborhood bases in density clustering algorithm [J]. JOURNAL OF SHANDONG UNIVERSITY(NATURAL SCIENCE), 2026, 61(5): 55-64.
[2] . Based on multi-scale feature fusion and improved attention for rusty bolt and nut detection [J]. JOURNAL OF SHANDONG UNIVERSITY(NATURAL SCIENCE), 2026, 61(1): 1-14.
[3] ZHONG Shang, MA Li, LIU Wenzhe, LI Yuhao. Lightweight water surface small object detection model with multi-scale attention mechanism and improved feature fusion [J]. JOURNAL OF SHANDONG UNIVERSITY(NATURAL SCIENCE), 2026, 61(1): 15-25.
[4] YU Lei, SUN Yi, HUA Jinming, LI Laquan. Analysis of the prediction model based on deep neural networks for mortality risk prediction for sepsis patients in intensive care units [J]. JOURNAL OF SHANDONG UNIVERSITY(NATURAL SCIENCE), 2026, 61(1): 26-35.
[5] . Fuzzy mathematical morphology edge detection method derived from general overlap functions [J]. JOURNAL OF SHANDONG UNIVERSITY(NATURAL SCIENCE), 2026, 61(1): 36-48.
[6] . Fuzzy rough c-means based on the knowledge measure [J]. JOURNAL OF SHANDONG UNIVERSITY(NATURAL SCIENCE), 2026, 61(1): 49-64.
[7] SUN Qing, YE Jun, ZENG Guangcai, SONG Suyang, WANG Yixin. Three-way K-means algorithm combining the bat algorithm and the improved compactness [J]. JOURNAL OF SHANDONG UNIVERSITY(NATURAL SCIENCE), 2026, 61(1): 65-75.
[8] ZOU Zheng, LEI Yusheng, LIU Shijian, WANG Dingyi, QIU Xuewei, SHI Wenwen, ZHOU Xiaotong. Precise morphological recognition with zonal micro-direction for termites [J]. JOURNAL OF SHANDONG UNIVERSITY(NATURAL SCIENCE), 2026, 61(1): 76-84.
[9] Xia LIANG,Jie GUO. A method of online teaching platform selection based on online reviews [J]. JOURNAL OF SHANDONG UNIVERSITY(NATURAL SCIENCE), 2024, 59(9): 108-118.
[10] Chao LI,Wei LIAO. Chinese disease text classification model driven by medical knowledge [J]. JOURNAL OF SHANDONG UNIVERSITY(NATURAL SCIENCE), 2024, 59(7): 122-130.
[11] Jie JI,Chengjie SUN,Lili SHAN,Boyue SHANG,Lei LIN. A prompt learning approach for telecom network fraud case classification [J]. JOURNAL OF SHANDONG UNIVERSITY(NATURAL SCIENCE), 2024, 59(7): 113-121.
[12] Qi LUO,Gang GOU. Multimodal conversation emotion recognition based on clustering and group normalization [J]. JOURNAL OF SHANDONG UNIVERSITY(NATURAL SCIENCE), 2024, 59(7): 105-112.
[13] Fengxu ZHAO,Jian WANG,Yuan LIN,Hongfei LIN. Probability distribution optimization model for learning to rank [J]. JOURNAL OF SHANDONG UNIVERSITY(NATURAL SCIENCE), 2024, 59(7): 95-104.
[14] Xingyu HUANG,Mingyu ZHAO,Ziyu LYU. Category-wise knowledge probers for representation learning of graph neural networks [J]. JOURNAL OF SHANDONG UNIVERSITY(NATURAL SCIENCE), 2024, 59(7): 85-94.
[15] Liang GUI,Yao XU,Shizhu HE,Yuanzhe ZHANG,Kang LIU,Jun ZHAO. Factual error detection in knowledge graphs based on dynamic neighbor selection [J]. JOURNAL OF SHANDONG UNIVERSITY(NATURAL SCIENCE), 2024, 59(7): 76-84.
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!