首页> 外文期刊>Journal of systems architecture >Efficient file fuzz testing using automated analysis of binary file format
【24h】

Efficient file fuzz testing using automated analysis of binary file format

机译:使用二进制文件格式的自动分析进行有效的文件模糊测试

获取原文
获取原文并翻译 | 示例
           

摘要

Fuzz testing is regarded as the most useful technique in finding serious security holes in a software system. It inserts unexpected data into the input of the software system and finds the system's bugs or errors. However, one of the disadvantages that fuzz testing executed using binary files has is that it requires a large number of fault-inserted files to cover every test case, which could be up to 2~(8×FILESIZE) files. In order to overcome this drawback, we propose a novel algorithm that efficiently reduces the number of fault-inserted files, yet still maintain the maximum test case coverage. The proposed approach enables the automatic analysis of fields of binary files by tracking and analyzing stack frames, assembly codes, and registers as the software system parses the files. We evaluate the efficacy of the new method by implementing a practical tool, the Binary File Analyzer and Fault Injector (BFAFI), which traces the program execution and analyzes the fields in binary file format. Our experiments demonstrate that the BFAFI reduced the total number of fault-inserted files with maximum test case coverage as well as detected approximately 14 times more exceptions than did the general fuzzer. Also, the BFAFI found 11 causes of exceptions; five of them were found only by BFAFI. Ten of the 11 causes of exceptions that we found were generated by a graphic rendering engine (GDI32.dll); the other was generated by the system library (kernel32.dll) in Windows XP SP2.
机译:模糊测试被认为是在软件系统中发现严重安全漏洞的最有用的技术。它将意外的数据插入软件系统的输入中,并查找系统的错误或错误。但是,使用二进制文件执行的模糊测试的缺点之一是,它需要大量插入错误的文件才能覆盖每个测试用例,最多可能需要2〜(8×FILESIZE)个文件。为了克服此缺点,我们提出了一种新颖的算法,该算法可以有效地减少插入错误的文件的数量,同时仍保持最大的测试用例覆盖率。所提出的方法通过跟踪和分析堆栈框架,汇编代码以及在软件系统解析文件时进行注册来实现对二进制文件字段的自动分析。我们通过实施实用工具二进制文件分析器和故障注入器(BFAFI)评估新方法的有效性,该工具跟踪程序执行并分析二进制文件格式的字段。我们的实验表明,BFAFI可以最大程度地减少测试案例的覆盖范围,减少了插入错误的文件的总数,并且检测到的异常数量比普通的测试仪大约多14倍。此外,BFAFI还发现了11个异常原因。其中只有五个由BFAFI发现。我们发现的11种异常原因中的10种是由图形渲染引擎(GDI32.dll)生成的;另一个是由Windows XP SP2中的系统库(kernel32.dll)生成的。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号