工业工程 ›› 2019, Vol. 22 ›› Issue (5): 10-18.doi: 10.3969/j.issn.1007-7375.2019.05.002

• 专题论述 • 上一篇    下一篇

基于NSGA-II的多目标代码混淆模型研究

苏庆, 林昊, 谢国波, 林志毅   

  1. 广东工业大学 计算机学院, 广州 510006
  • 收稿日期:2018-11-16 出版日期:2019-10-31 发布日期:2019-10-29
  • 通讯作者: 谢国波(1979-),男,广东省人,教授,博士,主要研究方向为云计算与大数据、生物数据网络建模与算法,E-mail:guoboxie@163.com. E-mail:guoboxie@163.com
  • 作者简介:苏庆(1979-),男,广东省人,副教授,博士,主要研究方向为软件安全与保护
  • 基金资助:
    国家自然科学基金资助项目(61572142);广东省自然科学基金资助项目(2018A030313389);广州市科技计划资助项目(201604016041)

A Research on Multi-object Code Obfuscation Model Based on NSGA-II

SU Qing, LIN Hao, XIE Guobo, LIN Zhiyi   

  1. School of Computer Science and Technology, Guangdong University of Technology, Guangzhou 510006, China
  • Received:2018-11-16 Online:2019-10-31 Published:2019-10-29

摘要: 为解决工业工程中的代码混淆领域存在的多种代码评价指标冲突,以及如何相应确定最优代码混淆技术应用序列的问题,基于NSGA-II遗传优化算法,建立一种面向多目标优化的代码混淆模型。提出了基于抽象语法树(AST)的树型基因编码,设计了适用于代码混淆的交叉、变异和选择操作。优化和选取多种可能发生冲突的软件复杂度组成广覆盖面指标集合作为NSGA-II的目标函数。应用多种具有代表性的代码混淆技术,设计了多套不同目标种类和不同目标个数的实验方案对该模型进行了有效性验证。

关键词: 快速非支配排序和精英策略的多目标优化遗传算法(NSGA-II), 基因编码, 抽象语法树, 代码混淆

Abstract: With the application of the multiple inter-conflicting objects during the code evaluation, which is a key aspect of code obfuscation in industry engineering, and the optimization of the code obfuscation technology application sequence, a code obfuscation model based on NSGA-II genetic optimization algorithm for multi-objective optimization was developed. Dendritic gene coding using Abstract Syntax Tree (AST) was proposed. Several crucial operations including crossover, mutation and selection adapting to code obfuscation were designed. A set of software complexity indicators that some of them have been optimized was created as the objective functions of NSGA-II. Ample experimental schemes having different types or objective numbers was designed and implement to validate the model with a variety of representative code obfuscation technologies.

Key words: NSGA-II(fast and elitist non-dominated sorting in genetic algorithms), genetic coding, abstract syntax tree, code obfuscation

中图分类号: