作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2006, Vol. 32 ›› Issue (20): 135-137. doi: 10.3969/j.issn.1000-3428.2006.20.049

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

花指令模糊变换逻辑一致性研究

曹 林,孙国梓,王海平,王绍棣   

  1. (南京邮电大学计算机科学与技术系,南京 210003)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2006-10-20 发布日期:2006-10-20

Logic Invariability Study of Junk Code Transformation

CAO Lin, SUN Guozi, WANG Haiping, WANG Shaodi   

  1. (Dept. of Computer Science & Technology, Nanjing University of Posts & Telecommunications, Nanjing 210003)
  • Received:1900-01-01 Revised:1900-01-01 Online:2006-10-20 Published:2006-10-20

摘要: 花指令模糊变换是代码模糊变换策略中的一种有效方法。在分析现有花指令加密方法的基础上,给出一种随机花指令模糊变换加密方案,并利用形式化方法对其进行了描述。通过研究花指令模糊变换各种形式化的定义,推导出若干引理,从“JMP扩展”、“JMC变换”、“JMP后添加花指令”等3个方面形式化地证明了经上述随机花指令加密算法变换的程序具有与原始程序相同的逻辑性。

关键词: 代码模糊变换, 逻辑一致性, 花指令, 反汇编

Abstract: Junk code transformation is one of effective approach of the code obfuscation technology. Based on the analysis of current junk code strategies, this paper presents a new method named stochastic junk code encryption algorithm, and depicts the algorithm with formal language. The paper studies how to prove the logic invariability of junk code transformation with formalization method. After studying the formal definition of junk code transformation, some lemmas are educed. With these lemmas, and from three aspects such as “JMP Expand”, “JMC Switch” and “Junk Code”, the paper proves that the program which transforms with stochastic junk code algorithm has the same logicality with the original program.

Key words: Code obfuscating transformation, Logic invariability, Junk code, Disassemble