WANG Xiaoyu,CAI Jingzhe*.Design and implementation of code obfuscator for cocos2dx[J].Journal of Yanbian University,2015,41(01):64-67.
面向cocos2dx的代码混淆器的设计与实现
- Title:
- Design and implementation of code obfuscator for cocos2dx
- Keywords:
- obfuscated code; mobile phone software; code matching
- 分类号:
- TP399
- 文献标志码:
- A
- 摘要:
- 针对目前使用的代码混淆技术不能完全适用于手机的问题,在分析常用的代码混淆技术的基础上,提出用于手机引擎cocos2dx的基于代码匹配的混淆方法,即在外形(layout)混淆的基础上利用代码匹配技术搜索相同功能的代码并替换成更难让人读懂的形态.试验分析表明,该方法的混淆效果好于传统外形混淆效果,执行程序过程中不仅没有降低运行效率,在某些情况下运行效率还有所提升.
- Abstract:
- Aiming at the problem that currently used obfuscated code techniques are inapplicable to mobile phones, we propose a code matching based obfuscation method used for mobile phone engine cocos2dx, by analyzing commonly used obfuscated code techniques. That is based on the layout obfuscation, using the code matching technique to search code with the same function and replace it into a more unreadable form. Test analysis shows that the proposed method achieves better effect of obfuscation than traditional layout obfuscation. In the process of execution program, the operation efficiency is not only not reduced, but also slightly increased in some cases.
参考文献/References:
[1] 霍建雷,范训礼,房鼎益.Java标识符重命名混淆算法及其实现[J].计算机工程,2010(1):146-147.
[2] Lan Xiao, Zhang Yichun, Xu Pin. An overview on game cheeting and its counter-measures[C]// International Symposium on Computer Science and Computational Technology. Hefei: IEEE, 2009:195-200.
[3] 兰晓.中国网络游戏外挂问题现状分析[D].中国传媒大学信息工程学院,2010:71-77.
[4] Greg Hogland, Gary McGraw. Exploiting Online Games[M]. Cheating Massively Distributed Systems. Addison-Wesley Professional, 2007:14-25; 30-40.
[5] Barak B, Goldreich O, Impagliazzo R, et al. On the(im)possibility of obfuscating programs[C]// Lecture Notes in Computer Science. Proceedings of the 21st Annual International Cryptology Conference on Advances in Cryptology. London: Springer-Verlag, 2001:1-18.
[6] 刁俊峰.软件安全中的若干关键技术研究[D].北京:北京邮电大学,2007.
[7] 史扬,曹立明,王小平.混淆算法研究综述[J].同济大学学报:自然科学版,2005,33(6):80-81.
[8] 霍建雷.用于Java软件保护的代码混淆技术研究与实现[D].陕西:西北大学,2009.
[9] Cimato S, Santis A D, Petrillo U F. Overcoming the obfuscation of Java programs by identifier renaming[J]. Journal of Systems and Software, 2005,78(1):60-72.
[10] 胡正军.程序代码相似度检测方法研究及应用[D].湖南:中南大学,2012.
[11] 王冬.一种基于图灵机的代码混淆评价方法[D].天津:南开大学,2012.
备注/Memo
收稿日期: 2014-12-03*通信作者: 蔡京哲(1969—),男,副教授,研究方向为自然语言处理.