arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2411.00261cs.CR
收藏

Pipe-Cleaner: 基于安全策略的灵活模糊测试

Pipe-Cleaner: Flexible Fuzzing Using Security Policies

Allison Naaktgeboren, Sean Noble Anderson, Andrew Tolmach, Greg Sullivan

AI总结:

针对传统模糊测试器难以分析崩溃原因、无法检测非崩溃类漏洞的问题,提出基于灵活安全策略与标签运行时监控的Pipe-Cleaner系统,可自定义检测规则与报告粒度,能发现传统方法无法覆盖的残留秘密泄露等新型堆相关漏洞。

摘要:

模糊测试已被证实在发现特定类别软件缺陷方面非常有效,但在帮助开发者处理这些发现方面效果较差。传统的基于崩溃的模糊测试器缺乏足够的故障信息,无法确定根本原因,也无法区分新崩溃与已知崩溃,迫使开发者手动处理冗长且重复的崩溃报告列表。此外,传统模糊测试器通常无法配置为检测开发者关心的各类漏洞,其中许多漏洞难以转化为崩溃现象。\n 为解决这些局限,我们提出Pipe-Cleaner,一种采用改进型模糊测试方法检测和分析C代码漏洞的系统。Pipe-Cleaner基于由基于标签的运行时引用监控器强制执行的、由开发者设计的灵活安全策略,该监控器与感知策略的模糊测试器通信。开发者可以自定义模糊测试器检测的故障类型以及故障报告的详细程度。增加更多细节有助于模糊测试器区分新漏洞、丢弃重复漏洞,并提升漏洞分诊结果的清晰度。我们在若干堆相关安全漏洞上验证了该方法的潜力,包括经典内存安全违规,以及两类传统模糊测试器无法检测的新型非崩溃漏洞:残留秘密泄露和堆地址泄露。

英文摘要:

Fuzzing has proven to be very effective for discovering certain classes of software flaws, but less effective in helping developers process these discoveries. Conventional crash-based fuzzers lack enough information about failures to determine their root causes, or to differentiate between new or known crashes, forcing developers to manually process long, repetitious lists of crash reports. Also, conventional fuzzers typically cannot be configured to detect the variety of bugs developers care about, many of which are not easily converted into crashes. To address these limitations, we propose Pipe-Cleaner, a system for detecting and analyzing C code vulnerabilities using a refined fuzzing approach. Pipe-Cleaner is based on flexible developer-designed security policies enforced by a tag-based runtime reference monitor, which communicates with a policy-aware fuzzer. Developers are able to customize the types of faults the fuzzer detects and the level of detail in fault reports. Adding more detail helps the fuzzer to differentiate new bugs, discard duplicate bugs, and improve the clarity of results for bug triage. We demonstrate the potential of this approach on several heap-related security vulnerabilities, including classic memory safety violations and two novel non-crashing classes outside the reach of conventional fuzzers: leftover secret disclosure, and heap address leaks.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑