【24h】

Static Program Analysis as a Fuzzing Aid

机译:静态程序分析作为模糊辅助装置

获取原文

摘要

Fuzz testing is an effective and scalable technique to perform software security assessments. Yet, contemporary fuzzers fall short of thoroughly testing applications with a high degree of control-flow diversity, such as firewalls and network packet analyzers. In this paper, we demonstrate how static program analysis can guide fuzzing by augmenting existing program models maintained by the fuzzer. Based on the insight that code patterns reflect the data format of inputs processed by a program, we automatically construct an input dictionary by statically analyzing program control and data flow. Our analysis is performed before fuzzing commences, and the input dictionary is supplied to an off-the-shelf fuzzer to influence input generation. Evaluations show that our technique not only increases test coverage by 10-15% over baseline fuzzers such as afl but also reduces the time required to expose vulnerabilities by up to an order of magnitude. As a case study, we have evaluated our approach on two classes of network applications: nDPI, a deep packet inspection library, and tcpdump, a network packet analyzer. Using our approach, we have uncovered 15 zero-day vulnerabilities in the evaluated software that were not found by stand-alone fuzzers. Our work not only provides a practical method to conduct security evaluations more effectively but also demonstrates that the synergy between program analysis and testing can be exploited for a better outcome.
机译:Fuzz测试是一种有效且可扩展的技术,可执行软件安全评估。然而,当代模糊物缺乏彻底测试具有高度控制流动分集的应用,例如防火墙和网络分组分析仪。在本文中,我们展示了静态程序分析如何通过增强由模糊机维护的现有程序模型来引导模糊。基于代码模式反映了由程序处理的输入的数据格式的洞察力,我们通过静态分析程序控制和数据流自动构建输入词典。我们的分析在模糊开始之前进行,并且输入字典提供给一个搁置的模糊器以影响输入生成。评估表明,我们的技术不仅10-15%,比基线模糊器如AFL提高测试覆盖率也减少了暴露最多的漏洞数量级所需要的时间。作为一个案例研究,我们已经在两类网络应用中评估了我们的方法:NDPI,深度数据包检查库和TCPDump,网络包分析器。使用我们的方法,我们在独立模糊中未发现的评估软件中发现了15个零日漏洞。我们的工作不仅提供了更有效地进行安全评估的实用方法,而且还表明,可以利用程序分析和测试之间的协同作用以获得更好的结果。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号