计算机工程 ›› 2010, Vol. 36 ›› Issue (1): 146-148.doi: 10.3969/j.issn.1000-3428.2010.01.051

• 安全技术 • 上一篇    下一篇

Java标识符重命名混淆算法及其实现

霍建雷,范训礼,房鼎益   

  1. (西北大学信息科学与技术学院,西安 710127)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2010-01-05 发布日期:2010-01-05

Java Identifier Renaming Obfuscation Algorithms and Their Implementation

HUO Jian-lei, FAN Xun-li, FANG Ding-yi   

  1. (School of Information Science and Technology, Northwest University, Xi’an 710127)
  • Received:1900-01-01 Revised:1900-01-01 Online:2010-01-05 Published:2010-01-05

摘要: 针对控制流混淆和数据混淆会引入额外开销的问题,提出4种标识符重命名算法,包括滥用标识符算法、重载无关联方法算法、非法标识符代替合法标识符算法以及重写静态方法算法,以这4种算法为核心技术构造Java混淆器JIRO,对JIRO的性能进行初步分析,结果表明,JIRO具有较好的混淆效果,不会引入额外的字节码执行开销。

关键词: 代码混淆, 标识符重命名, 混淆器

Abstract: Aiming at the problem that it will cause extra costs when introducing control flow obfuscation and data obfuscation, this paper presents four renaming algorithms including overusing identifiers algorithm, overloading unrelated method algorithm, introducing illegal identifiers algorithm and overriding static methods algorithm. An obfuscator named JIRO(Java Identifier Renaming Obfuscator) is constructed based on the algorithms, and its performance is analyzed. The results show that JIRO achieves good obfuscation effects without extra implementation costs of the bytecode.

Key words: code obfuscation, identifier renaming, obfuscator

中图分类号: