网络与信息安全学报 ›› 2018, Vol. 4 ›› Issue (5): 47-54.doi: 10.11959/j.issn.2096-109x.2018038

• 学术论文 • 上一篇    下一篇

增强型虚拟寄存器轮转算法

潘雁,林伟   

  1. 数学工程与先进计算国家重点实验室,河南 郑州 450001
  • 修回日期:2018-04-27 出版日期:2018-05-01 发布日期:2018-08-04
  • 作者简介:潘雁(1995-),男,安徽安庆人,信息工程大学硕士生,主要研究方向为网络与信息安全、软件保护与逆向。|林伟(1986-),男,湖南常德人,博士,信息工程大学讲师,主要研究方向为软件保护与分析、网络安全。
  • 基金资助:
    国家重点研发计划基金资助项目(2016YFB0801601);国家重点研发计划基金资助项目(2016YFB0801505)

Enhanced method based on virtual registers rotation

Yan PAN,Wei LIN   

  1. State Key Laboratory of Mathematical Engineering and Advanced Computing,Zhengzhou 450001,China
  • Revised:2018-04-27 Online:2018-05-01 Published:2018-08-04
  • Supported by:
    The National Key R&D Plan Program of China(2016YFB0801601);The National Key R&D Plan Program of China(2016YFB0801505)

摘要:

为了对抗基于数据流逆向分析的语义攻击,以虚拟寄存器为切入点,提出了一种增强型虚拟寄存器轮转算法。该算法通过在解释执行中随机打乱部分虚拟寄存器与操作数的虚拟编译映射关系,有效地增加了虚拟机在解释执行过程中的数据流复杂度;同时,随机采用3种机制对轮转长度进行设定,增强了虚拟机代码保护系统的多样性。最后,设计实现了采用增强型虚拟寄存器轮转算法的虚拟机代码保护原型系统,验证了该算法的有效性。

关键词: 虚拟机代码保护, 寄存器轮转, 数据流分析, 语义攻击

Abstract:

Sematic attacks based on the data flow analysis bring big challenges to the code obfuscation.Concerning the data flow of virtual machine based (VM-based) code protection,the method transfers the mapping relation between the virtual registers and the op-code of the bytecode during executing,which means the uncertainty and complexity of the data flow during interpretive execution of the bytecode.In addition,three policies are proposed to address the problem that how to choose the length of rotation for each bytecode,which grows complexity of the protection.Finally,a prototype of VRR-VM (virtual machine protection system based on virtual registers rotation) was implemented.Experiment results show that the method is effective and applicable for anti-reversing.

Key words: VM-based code protection, virtual registers rotation, data flow analysis, sematic attacks

中图分类号: 

No Suggested Reading articles found!