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

G-Fuzz:面向 gVisor 的定向模糊测试框架

G-Fuzz: A Directed Fuzzing Framework for gVisor

Yuwei Li, Yuan Chen, Shouling Ji, Xuhong Zhang, Guanglu Yan, Alex X. Liu, Chunming Wu, Zulie Pan, Peng Lin

AI总结:

针对 gVisor 内核提出定向模糊测试框架 G-Fuzz,通过轻量距离计算、目标相关系统调用推断和探索利用动态切换,显著优于 Syzkaller,并已在工业界检测多个严重漏洞。

摘要:

gVisor 是谷歌发布的一款面向容器的应用级内核。由于 gVisor 轻量且具有可靠的隔离性,它已被广泛应用于许多 IT 企业(如 Stripe、DigitalOcean、Cloudflare)。当上游 gVisor 发现新漏洞时,下游开发者测试相应代码以维护安全性至关重要。为实现此目标,定向模糊测试是一种有前景的方法。然而,将现有定向模糊测试方法应用于 gVisor 面临诸多挑战。核心原因在于现有定向模糊测试工具主要面向通用 C/C++ 应用程序,而 gVisor 是一款用 Go 语言编写的操作系统内核。为应对上述挑战,我们提出了 G-Fuzz,一个面向 gVisor 的定向模糊测试框架。G-Fuzz 包含三种核心方法:轻量且细粒度的距离计算、目标相关系统调用的推断与利用,以及探索与利用的动态切换。值得注意的是,G-Fuzz 的方法具有通用性,可迁移至其他操作系统内核。我们进行了大量实验以评估 G-Fuzz 的性能。与当前最先进的内核模糊测试工具 Syzkaller 相比,G-Fuzz 显著优于后者。此外,我们严格评估了 G-Fuzz 每种核心方法的重要性。G-Fuzz 已在工业界部署,并检测到了多个严重漏洞。

英文摘要:

gVisor is a Google-published application-level kernel for containers. As gVisor is lightweight and has sound isolation, it has been widely used in many IT enterprises \cite{Stripe, DigitalOcean, Cloundflare}. When a new vulnerability of the upstream gVisor is found, it is important for the downstream developers to test the corresponding code to maintain the security. To achieve this aim, directed fuzzing is promising. Nevertheless, there are many challenges in applying existing directed fuzzing methods for gVisor. The core reason is that existing directed fuzzers are mainly for general C/C++ applications, while gVisor is an OS kernel written in the Go language. To address the above challenges, we propose G-Fuzz, a directed fuzzing framework for gVisor. There are three core methods in G-Fuzz, including lightweight and fine-grained distance calculation, target related syscall inference and utilization, and exploration and exploitation dynamic switch. Note that the methods of G-Fuzz are general and can be transferred to other OS kernels. We conduct extensive experiments to evaluate the performance of G-Fuzz. Compared to Syzkaller, the state-of-the-art kernel fuzzer, G-Fuzz outperforms it significantly. Furthermore, we have rigorously evaluated the importance for each core method of G-Fuzz. G-Fuzz has been deployed in industry and has detected multiple serious vulnerabilities.

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

↑