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

基于多目标覆盖的灰盒模糊测试

Multi-target Coverage-based Greybox Fuzzing

Graduate School of Information Security(信息安全研究生院)

Masami Ichikawa

AI总结:

本文提出一种多目标覆盖灰盒模糊测试方法,通过统一虚拟化环境测量软件边界代码覆盖,提升系统探索深度。

摘要:

近年来,模糊测试已广泛应用于应用软件和系统软件,包括Linux内核和固件,成为漏洞发现的强大技术。其中,基于代码覆盖的灰盒模糊测试已成为主流方法。传统模糊测试主要针对单一软件组件,忽视与其他软件的协作执行。然而,现代系统软件架构通常由固件和操作系统通过定义良好的接口协作,如RISC-V架构的OpenSBI和ARM架构的OP-TEE。本文研究了操作系统与固件协作架构的模糊测试技术。特别地,我们提出了一种利用每个协作软件组件代码覆盖作为反馈的模糊方法,相较于传统单目标模糊测试,能够更深入地探索系统。为统一观察操作系统和固件的执行,我们的方法采用QEMU作为虚拟化环境,在虚拟机中启动系统进行模糊测试。这使得能够测量跨软件边界的代码覆盖。此外,我们实现了该方法作为一种名为MTCFuzz的多目标覆盖灰盒模糊器,并评估了其有效性。

英文摘要:

In recent years, fuzzing has been widely applied not only to application software but also to system software, including the Linux kernel and firmware, and has become a powerful technique for vulnerability discovery. Among these approaches, Coverage-based grey-box fuzzing, which utilizes runtime code coverage information, has become the dominant methodology. Conventional fuzzing techniques primarily target a single software component and have paid little attention to cooperative execution with other software. However, modern system software architectures commonly consist of firmware and an operating system that operate cooperatively through well-defined interfaces, such as OpenSBI in the RISC-V architecture and OP-TEE in the ARM architecture. In this study, we investigate fuzzing techniques for architectures in which an operating system and firmware operate cooperatively. In particular, we propose a fuzzing method that enables deeper exploration of the system by leveraging the code coverage of each cooperating software component as feedback, compared to conventional Single-target fuzzing. To observe the execution of the operating system and firmware in a unified manner, our method adopts QEMU as a virtualization environment and executes fuzzing by booting the system within a virtual machine. This enables the measurement of code coverage across software boundaries. Furthermore, we implemented the proposed method as a Multi-target Coverage-based Greybox Fuzzer called MTCFuzz and evaluated its effectiveness.

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

↑