计算机科学 ›› 2013, Vol. 40 ›› Issue (3): 206-209.

• 信息安全 • 上一篇    下一篇

基于模型的Fuzzing测试脚本自动化生成

侯莹,洪征,潘增,吴礼发   

  1. (解放军理工大学指挥自动化学院 南京 210007)
  • 出版日期:2018-11-16 发布日期:2018-11-16

Model Based Automatic Fuzzing Script Generation

  • Online:2018-11-16 Published:2018-11-16

摘要: 针对基于知识的Fuzzing测试技术存在脚本编写工作量大的问题,提出一种基于模型的Fuzzing测试脚本自 动生成方法。方法首先以高阶属性文法形式化地描述数据模型,获取统一的、与测试环境无关的数据格式描述;然后 依据文法模型,将样本解析为带格式知识的文法分析树;最后建立文法分析树与测试逻辑的关联关系,实现自动化的 测试脚本生成。实验结果表明,所提出的方法能够自动生成有效的测试脚本,并发现软件中潜在的安全漏洞。

关键词: 高阶属性文法,模糊测试,文法分析树,漏洞挖掘

Abstract: Knowledge based fuzzing techniques generally have some shortcomings of heavy workload in writing scripts. A model based automatic fuzzing script generation method was proposed. Firstly data fom}at is represented by the higher order attribute grammars, and uniform data representation which is irrelevant to the test environments can be obtained. Secondly, the grammar model is used to parse the sample data and build the grammar parsing tree. Lastly, the relation- ship between the parsing tree and the test logic is built, which can be used to generate test script automatically. Experi- mental results indicate that the method can generate effective test scripts automatically to discover potential vulnerabili- tics in software.

Key words: High-order attribute grammar,Fuzzing test,Grammar parsing tree,Vulnerability mining

No related articles found!
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!