arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2308.09081cs.SEcs.CR
收藏

Hyperfuzzing:使用灰盒模糊器进行黑盒安全超测试

Hyperfuzzing: black-box security hypertesting with a grey-box fuzzer

Daniel Blackwell, Ingolf Becker, David Clark

AI总结:

LeakFuzzer利用非干扰安全属性和安全流策略作为预言机,扩展AFL++以检测信息泄漏,在10个基准上实现100%泄漏检测,优于现有方法。

摘要:

信息泄漏是一类可能导致严重后果的错误。然而,与其他错误不同,在软件测试过程中很少被明确考虑。LeakFuzzer通过使用非干扰安全属性以及安全流策略作为预言机,推进了现有技术水平。由于该工具扩展了最先进的模糊器AFL++,LeakFuzzer继承了AFL++的优势,如可扩展性、自动化输入生成、高覆盖率和低开发者干预。该工具可以检测普通模糊器能检测到的相同错误集,此外还能检测安全信息流策略的违反。我们在10个包含已知信息泄漏的多样化C和C++基准上评估了LeakFuzzer,这些基准的规模从仅80行到超过90万行代码不等。其中7个来自真实世界的CVE,包括Heartbleed和PostgreSQL中的近期错误。在20次24小时的运行中,LeakFuzzer能发现被测系统中100%的泄漏,而现有技术如CBMC模型检查器和增强不同消毒器的AFL++最多只能发现40%。

英文摘要:

Information leakage is a class of error that can lead to severe consequences. However unlike other errors, it is rarely explicitly considered during the software testing process. LeakFuzzer advances the state of the art by using a noninterference security property together with a security flow policy as an oracle. As the tool extends the state of the art fuzzer, AFL++, LeakFuzzer inherits the advantages of AFL++ such as scalability, automated input generation, high coverage and low developer intervention. The tool can detect the same set of errors that a normal fuzzer can detect, with the addition of being able to detect violations of secure information flow policies. We evaluated LeakFuzzer on a diverse set of 10 C and C++ benchmarks containing known information leaks, ranging in size from just 80 to over 900k lines of code. Seven of these are taken from real-world CVEs including Heartbleed and a recent error in PostgreSQL. Given 20 24-hour runs, LeakFuzzer can find 100% of the leaks in the SUTs whereas existing techniques using such as the CBMC model checker and AFL++ augmented with different sanitizers can only find 40% at best.

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

↑