Back to Search Start Over

Adaptive scheduling-based fine-grained greybox fuzzing for cloud-native applications.

Authors :
Yang, Jiageng
Liu, Chuanyi
Fang, Binxing
Source :
Journal of Cloud Computing (2192-113X); 6/26/2024, Vol. 13 Issue 1, p1-22, 22p
Publication Year :
2024

Abstract

Coverage-guided fuzzing is one of the most popular approaches to detect bugs in programs. Existing work has shown that coverage metrics are a crucial factor in guiding fuzzing exploration of targets. A fine-grained coverage metric can help fuzzing to detect more bugs and trigger more execution states. Cloud-native applications that written by Golang play an important role in the modern computing paradigm. However, existing fuzzers for Golang still employ coarse-grained block coverage metrics, and there is no fuzzer specifically for cloud-native applications, which hinders the bug detection in cloud-native applications. Using fine-grained coverage metrics introduces more seeds and even leads to seed explosion, especially in large targets such as cloud-native applications. Therefore, we employ an accurate edge coverage metric in fuzzer for Golang, which achieves finer test granularity and more accurate coverage information than block coverage metrics. To mitigate the seed explosion problem caused by fine-grained coverage metrics and large target sizes, we propose smart seed selection and adaptive task scheduling algorithms based on a variant of the classical adversarial multi-armed bandit (AMAB) algorithm. Extensive evaluation of our prototype on 16 targets in real-world cloud-native infrastructures shows that our approach detects 233% more bugs than go-fuzz, achieving an average coverage improvement of 100.7%. Our approach effectively mitigates seed explosion by reducing the number of seeds generated by 41% and introduces only 14% performance overhead. [ABSTRACT FROM AUTHOR]

Details

Language :
English
ISSN :
2192113X
Volume :
13
Issue :
1
Database :
Complementary Index
Journal :
Journal of Cloud Computing (2192-113X)
Publication Type :
Academic Journal
Accession number :
178130961
Full Text :
https://doi.org/10.1186/s13677-024-00681-1