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

MicroFuzz:一种面向微服务的高效模糊测试框架

MicroFuzz: An Efficient Fuzzing Framework for Microservices

Peng Di, Bingchang Liu, Yiyi Gao

AI总结:

本文提出MicroFuzz,一个面向微服务的高效模糊测试框架,通过模拟辅助种子执行、分布式追踪等方法应对环境复杂性,在蚂蚁集团部署后检测出5718个风险,并提升覆盖率12.24%。

摘要:

本文提出了一种新颖的模糊测试框架,名为MicroFuzz,专门为微服务设计。采用模拟辅助种子执行、分布式追踪、种子刷新和流水线并行等方法,以应对微服务的环境复杂性和动态性,并提高模糊测试的效率。MicroFuzz已在蚂蚁集团(一家著名的金融科技公司)成功实施并部署。其性能已在三个不同的工业场景中进行了评估:标准化模糊测试、迭代测试和污点验证。在五个月的运行期间,MicroFuzz勤勉地分析了大量代码库,包括261个应用,超过7460万行代码(LOC)。该框架的有效性体现在检测到5,718个潜在的质量或安全风险,其中1,764个被软件专家确认为实际安全威胁并修复。此外,在迭代测试中,MicroFuzz显著提高了程序覆盖率12.24%,并检测到程序行为增加了38.42%。

英文摘要:

This paper presents a novel fuzzing framework, called MicroFuzz, specifically designed for Microservices. Mocking-Assisted Seed Execution, Distributed Tracing, Seed Refresh and Pipeline Parallelism approaches are adopted to address the environmental complexities and dynamics of Microservices and improve the efficiency of fuzzing. MicroFuzz has been successfully implemented and deployed in Ant Group, a prominent FinTech company. Its performance has been evaluated in three distinct industrial scenarios: normalized fuzzing, iteration testing, and taint verification.Throughout five months of operation, MicroFuzz has diligently analyzed a substantial codebase, consisting of 261 Apps with over 74.6 million lines of code (LOC). The framework's effectiveness is evident in its detection of 5,718 potential quality or security risks, with 1,764 of them confirmed and fixed as actual security threats by software specialists. Moreover, MicroFuzz significantly increased program coverage by 12.24% and detected program behavior by 38.42% in the iteration testing.

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

↑