[论文解读] On the Challenges of Fuzzing Techniques via Large Language Models
对大型语言模型如何与模糊测试结合以在 AI 和非 AI 软件中提升自动化、覆盖率和漏洞发现的系统性综述,持续至 2024 年。
In the modern era where software plays a pivotal role, software security and vulnerability analysis are essential for secure software development. Fuzzing test, as an efficient and traditional software testing method, has been widely adopted across various domains. Meanwhile, the rapid development in Large Language Models (LLMs) has facilitated their application in the field of software testing, demonstrating remarkable performance. As existing fuzzing test techniques are not fully automated and software vulnerabilities continue to evolve, there is a growing interest in leveraging large language models to generate fuzzing test. In this paper, we present a systematic overview of the developments that utilize large language models for the fuzzing test. To our best knowledge, this is the first work that covers the intersection of three areas, including LLMs, fuzzing test, and fuzzing test generated based on LLMs. A statistical analysis and discussion of the literature are conducted by summarizing the state-of-the-art methods up to date of the submission. Our work also investigates the potential for widespread deployment and application of fuzzing test techniques generated by LLMs in the future, highlighting their promise for advancing automated software testing practices.
研究动机与目标
- 评估 LLMs 如何用于提升 AI 与非 AI 软件系统的模糊测试。
- 识别基于 LLM 的模糊测试器相对于传统模糊测试器的优势。
- 总结用于基于 LLM 的模糊测试的方法、基准和评估指标。
- 讨论未来的研究方向、数据需求和自动化挑战。
提出的方法
- 对 AI 与非 AI 软件领域的基于 LLM 的模糊测试方法进行审查与分类。
- 分析提示工程和种子变异作为核心技术。
- 使用代码覆盖率、漏洞数量等指标,将其性能与传统模糊测试器进行比较。
- 提供模型、基准和评估实践的综合分类法。
- 提出标准化评估框架与自动化的议程。
实验结果
研究问题
- RQ1LLMs 如何用于 AI 与非 AI 软件系统的模糊测试?
- RQ2基于 LLM 的模糊测试器相比传统模糊测试器有哪些优势?
- RQ3基于 LLM 的模糊测试研究的未来潜力与挑战是什么?
主要发现
- LLMs 被用于提升提示工程与种子变异以提高模糊测试的有效性。
- 在 TitanFuzz 和 CHATAFL 等示例中,基于 LLM 的模糊测试器相较于某些传统或非 LLM 的模糊测试器显示出更高的 API 覆盖率和代码覆盖率。
- 基于 LLM 的模糊测试器能够发现更复杂的错误并实现更高程度的自动化,尽管需要更高的时间成本。
- 用于评估基于 LLM 的模糊测试器的度量标准有多类(代码、性能、时间),尚无统一框架。
- 呈现两种模糊测试器类型的趋势:基于历史数据学习以训练专门化的模糊测试器,以及将 LLMs 集成到模糊测试的特定步骤中。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。