SoK:模糊测试的审慎评估实践
SoK: Prudent Evaluation Practices for Fuzzing
AI总结:
该研究针对模糊测试评估受随机性、环境等因素影响导致可复现性不足的问题,系统分析了2018-2023年150篇顶会模糊测试论文的评估,发现现有统计检验等指南被严重忽视,揭示了评估中的不足与陷阱。
摘要:
在过去十年间,模糊测试(Fuzzing)已被证实是发现软件漏洞的一种高效方法。自AFL推广了轻量级覆盖反馈这一开创性概念后,模糊测试领域涌现了大量科研成果,这些成果要么提出新技术,要么改进现有策略的方法学层面,要么将现有方法移植到新领域。所有这类研究都必须通过证明其对某一问题的适用性、衡量其性能,且通常要通过全面的实证评估展现其相较于现有研究的优越性,来证明自身价值。然而,模糊测试对其测试目标、环境和相关条件(例如测试过程中的随机性)高度敏感。归根结底,依赖随机性是模糊测试的核心原则之一,支配着模糊测试工具行为的诸多方面。再加上环境往往极难控制,实验的可复现性就成了一个关键问题,需要审慎的评估设置。为了解决这些对有效性的威胁,已有多项研究(最著名的是Klees等人的《Evaluating Fuzz Testing》)概述了应当如何实现精心设计的评估设置,但这些建议在实践中被采纳的程度仍不明确。在本研究中,我们系统分析了2018年至2023年间发表于顶级会议的150篇模糊测试论文的评估部分。我们研究了现有指南的落实情况,并发现了潜在的不足与陷阱。我们发现,在模糊测试评估中,现有关于统计检验和系统误差的指南被惊人地忽视。例如,在调查报告的漏洞时……
英文摘要:
Fuzzing has proven to be a highly effective approach to uncover software bugs over the past decade. After AFL popularized the groundbreaking concept of lightweight coverage feedback, the field of fuzzing has seen a vast amount of scientific work proposing new techniques, improving methodological aspects of existing strategies, or porting existing methods to new domains. All such work must demonstrate its merit by showing its applicability to a problem, measuring its performance, and often showing its superiority over existing works in a thorough, empirical evaluation. Yet, fuzzing is highly sensitive to its target, environment, and circumstances, e.g., randomness in the testing process. After all, relying on randomness is one of the core principles of fuzzing, governing many aspects of a fuzzer's behavior. Combined with the often highly difficult to control environment, the reproducibility of experiments is a crucial concern and requires a prudent evaluation setup. To address these threats to validity, several works, most notably Evaluating Fuzz Testing by Klees et al., have outlined how a carefully designed evaluation setup should be implemented, but it remains unknown to what extent their recommendations have been adopted in practice. In this work, we systematically analyze the evaluation of 150 fuzzing papers published at the top venues between 2018 and 2023. We study how existing guidelines are implemented and observe potential shortcomings and pitfalls. We find a surprising disregard of the existing guidelines regarding statistical tests and systematic errors in fuzzing evaluations. For example, when investigating reported bugs, ...
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。