MicroFuzz: An Efficient Fuzzing Framework for Microservices
Open Access
- 14 April 2024
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 216-227
Abstract
Fuzzing is a widely adopted technique in the software industry to enhance security and software quality. However, most existing fuzzers are specifically designed for monolithic software architectures and face significant limitations when it comes to serving distributed Microservices applications (Apps). These limitations primarily revolve around issues of inconsistency, communication, and applicability which arise due to the differences in monolithic and distributed software architecture. This paper presents a novel fuzzing framework, called Micro-Fuzz, 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 AntGroup 1, 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 line coverage by 12.24% and detected new paths by 38.42% in the iteration testing.Keywords
All Related Versions
This publication has 32 references indexed in Scilit:
- Zero-Config Fuzzing for Microservices2023
- Scalable Compositional Static Taint Analysis for Sensitive Data Tracing on Industrial Micro-Services2023
- Towards Systematic and Dynamic Task Allocation for Collaborative Parallel Fuzzing2021
- WebRTS: A Dynamic Regression Test Selection Tool for Java Web Applications2020
- NEUZZ: Efficient Fuzzing with Neural Program Smoothing2019
- TestSage: Regression Test Selection for Large-Scale Web Service Testing2019
- CollAFL: Path Sensitive Fuzzing2018
- GeaBase: A High-Performance Distributed Graph Database for Industry-Scale Applications2017
- NEZHA: Efficient Domain-Independent Differential Testing2017
- Regression testing minimization, selection and prioritization: a surveySoftware Testing, Verification and Reliability, 2012