西安电子科技大学学报 ›› 2021, Vol. 48 ›› Issue (1): 117-123.doi: 10.19665/j.issn1001-2400.2021.01.013

• • 上一篇    下一篇

结构状态覆盖导向的灰盒模糊测试技术

刘华渊(),苏云飞(),李瑞林(),唐朝京()   

  1. 国防科技大学 电子科学学院,湖南 长沙 410073
  • 收稿日期:2020-07-30 出版日期:2021-02-20 发布日期:2021-02-03
  • 作者简介:刘华渊(1996—),男,国防科技大学硕士研究生,E-mail: liuhuayuan@nudt.edu.cn|苏云飞(1982—),男,讲师,博士,E-mail: suyunfei@nudt.edu.cn|李瑞林(1982—),男,副教授,博士,E-mail: liruilin@nudt.edu.cn|唐朝京(1962—),男,教授,博士,E-mail: tangchaojing@nudt.edu.cn
  • 基金资助:
    国家自然科学基金(61702540);湖南省自然科学基金(2018JJ3615)

Structure-statebased graybox Fuzzing technique

LIU Huayuan(),SU Yunfei(),LI Ruilin(),TANG Chaojing()   

  1. College of Electronic Science and Technology,National University of Defense Technology,Changsha 410073,China
  • Received:2020-07-30 Online:2021-02-20 Published:2021-02-03

摘要:

为了解决代码覆盖反馈指标无法有效解决程序状态覆盖的问题,提出一种以源码中特定代码结构的状态覆盖率作为反馈指标的模糊测试方法,引入了目标结构状态覆盖分布的概念。通过对特定结构进行插桩,统计目标结构状态分布,依据结构状态分布筛选种子并进行能量调度,以实现程序状态覆盖均匀化。该方法实现了原型系统SFL,并与现存的代码覆盖导向的模糊测试方法AFL进行了对比试验。实验结果表明,文中的方法对程序状态覆盖更充分,能够加速特定类型漏洞的发现速度。

关键词: 漏洞挖掘, 模糊测试, 网络安全

Abstract:

In order to solve the problem of program state coverage that cannot be effectively solved by code coverage feedback indicators,we propose a fuzzing method that uses the state coverage of a specific code structure in the source code as the feedback indicator,and introduce the concept of target structure state coverage distribution.By inserting piles for a specific structure,statistics of the target structure state distribution,seed selection and energy scheduling according to the structure state distribution,in order to achieve uniform program state coverage.This method implements the prototype system SFL,and compares it with the existing code coverage fuzzing method AFL.Experimental results show that the method proposed in this paper can more fully cover the program state and can accelerate the discovery speed of specific types of vulnerabilities.

Key words: vulnerability discovery, Fuzzing, network security

中图分类号: 

  • TP393.08
Baidu
map