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

被引:0
|
作者
Yang, Jiageng [1 ]
Liu, Chuanyi [1 ]
Fang, Binxing [1 ]
机构
[1] Harbin Inst Technol, Sch Comp Sci & Technol, Shenzhen 518055, Guangdong, Peoples R China
关键词
Coverage-guided fuzzing; Cloud-native application; Fine-grained coverage metric; Scheduling algorithm; Exploration-exploitation problem;
D O I
10.1186/s13677-024-00681-1
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
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.
引用
收藏
页数:22
相关论文
共 50 条
  • [1] Fine-grained management of cloud-native applications, based on TOSCA
    Bogo, Matteo
    Soldani, Jacopo
    Neri, Davide
    Brogi, Antonio
    INTERNET TECHNOLOGY LETTERS, 2020, 3 (05)
  • [2] Dynamically Fine-grained Scheduling Method in Cloud Environment
    Zhou M.-S.
    Dong X.-S.
    Chen H.
    Zhang X.-J.
    Ruan Jian Xue Bao/Journal of Software, 2020, 31 (12): : 3981 - 3999
  • [3] Fine-grained Coverage-based Fuzzing: RCR Report
    Wu, Wei-Cheng
    Nongpoh, Bernard
    Nour, Marwan
    Marcozzi, Michael
    Bardin, Sebastien
    Hauser, Christophe
    ACM TRANSACTIONS ON SOFTWARE ENGINEERING AND METHODOLOGY, 2024, 33 (05) : 1Dumm
  • [4] Fine-Grained Multi-Resource Scheduling in Cloud Datacenters
    Zhang, Yuan
    Fu, Xiaoming
    Ramakrishnan, K. K.
    2014 IEEE 20TH INTERNATIONAL WORKSHOP ON LOCAL & METROPOLITAN AREA NETWORKS (LANMAN), 2014,
  • [5] Fine-grained task scheduling using adaptive data structures
    Hoffmann, Ralf
    Rauber, Thomas
    EURO-PAR 2008 PARALLEL PROCESSING, PROCEEDINGS, 2008, 5168 : 253 - 262
  • [6] Adaptive Task Scheduling in Digital Twin Empowered Cloud-Native Vehicular Networks
    Tan, Xiaobin
    Wang, Mingyang
    Wang, Tao
    Zheng, Quan
    Wu, Jun
    Yang, Jian
    IEEE TRANSACTIONS ON VEHICULAR TECHNOLOGY, 2024, 73 (06) : 8973 - 8987
  • [7] Cooperative scheduling of multi-core and cloud resources: fine-grained offloading strategy for multithreaded applications
    Wang, Zhaoyang
    Hao, Wanming
    Yan, Lei
    Han, Zhuo
    Yang, Shouyi
    IET COMMUNICATIONS, 2020, 14 (10) : 1632 - 1641
  • [8] Fine-Grained Scheduling in Cloud Gaming on Heterogeneous CPU-GPU Clusters
    Zhang, Wei
    Liao, Xiaofei
    Li, Peng
    Jin, Hai
    Lin, Li
    Zhou, Bing Bing
    IEEE NETWORK, 2018, 32 (01): : 172 - 178
  • [9] A Fine-Grained and Dynamic MapReduce Task Scheduling Scheme for the Heterogeneous Cloud Environment
    Mao, Yingchi
    Zhong, Haishi
    Wang, Longbao
    14TH INTERNATIONAL SYMPOSIUM ON DISTRIBUTED COMPUTING AND APPLICATIONS FOR BUSINESS, ENGINEERING AND SCIENCE (DCABES 2015), 2015, : 155 - 158
  • [10] A fine-grained GPU sharing and job scheduling for deep learning jobs on the cloud
    Chung, Wu-Chun
    Tong, Jyun-Sen
    Chen, Zhi-Hao
    JOURNAL OF SUPERCOMPUTING, 2025, 81 (02):