AMSFuzz: An adaptive mutation schedule for fuzzing

被引:3
|
作者
Zhao, Xiaoqi [1 ]
Qu, Haipeng [1 ]
Xu, Jianliang [1 ]
Li, Shuo [1 ]
Wang, Gai-Ge [1 ]
机构
[1] Ocean Univ China, Coll Comp Sci & Technol, Qingdao 266100, Peoples R China
基金
中国国家自然科学基金;
关键词
Fuzzing; Schedule; Multi-armed bandit problem; Path discovery; Bug detection; Vulnerability; BANDIT; NETWORKS; DESIGN;
D O I
10.1016/j.eswa.2022.118162
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Mutation-based fuzzing is one of the most popular software testing techniques. After allocating a specific amount of energy (i.e., the number of testcases generated by the seed) for the seed, it uses existing mutation operators to continuously mutate the seed to generate new testcases and feed them into the target program to discover unexpected behaviors, such as bugs, crashes, and vulnerabilities. However, the random selection of mutation operators and sequential selection of mutation positions in existing fuzzers affect path discovery and bug detection. In this paper, a novel adaptive mutation schedule framework, AMSFuzz is proposed. For the random selection of mutation operators, AMSFuzz has the ability to adaptively adjust the probability distribution of mutation operators to select mutation operators. Aiming at the sequential selection of mutation positions, seeds are dynamically sliced with different sizes during the fuzzing process and giving more seeds the opportunity to preferentially mutate, improving the efficiency of fuzzing. AMSFuzz is implemented and evaluated in 12 real-world programs and LAVA-M dataset. The results show that AMSFuzz substantially outperforms state-of-the-art fuzzers in terms of path discovery and bug detection. Additionally, AMSFuzz has detected 17 previously unknown bugs in several projects, 15 of which were assigned CVE IDs.
引用
收藏
页数:11
相关论文
共 50 条
  • [1] RDFuzz: Accelerating Directed Fuzzing with Intertwined Schedule and Optimized Mutation
    Ye, Jiaxi
    Li, Ruilin
    Zhang, Bin
    MATHEMATICAL PROBLEMS IN ENGINEERING, 2020, 2020 (2020)
  • [2] Position-Adaptive Mutation Scheduling Strategy in Fuzzing
    Yang, Zhi
    Xu, Hang
    Sang, Weiquan
    Sun, Haodong
    Jin, Shuyuan
    Dianzi Yu Xinxi Xuebao/Journal of Electronics and Information Technology, 2024, 46 (09): : 3797 - 3806
  • [3] An adaptive fuzzing method based on transformer and protocol similarity mutation
    Wang, Wenpeng
    Chen, Zhixiang
    Zheng, Ziyang
    Wang, Hui
    COMPUTERS & SECURITY, 2023, 129
  • [4] Learning Seed-Adaptive Mutation Strategies for Greybox Fuzzing
    Lee, Myungho
    Cha, Sooyoung
    Oh, Hakjoo
    2023 IEEE/ACM 45TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, ICSE, 2023, : 384 - 396
  • [5] Adaptive mutation based on multi-population evolution strategy for greybox fuzzing
    Jiao, Weihua
    Li, Xilong
    Li, Qingbao
    Cao, Fei
    Li, Xiaonan
    Yue, Shudan
    INFORMATION SCIENCES, 2025, 705
  • [6] Fuzzing for CPS Mutation Testing
    Lee, Jaekwon
    Vigano, Enrico
    Cornejo, Oscar
    Pastore, Fabrizio
    Briand, Lionel
    2023 38TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING, ASE, 2023, : 1377 - 1389
  • [7] EcoDialTest: Adaptive Mutation Schedule for Automated Dialogue Systems Testing
    Shen, Xiangchen
    Chen, Haibo
    Chen, Jinfu
    Zhang, Jiawei
    Wang, Shuhui
    2023 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE ANALYSIS, EVOLUTION AND REENGINEERING, SANER, 2023, : 933 - 939
  • [8] Guiding Greybox Fuzzing with Mutation Testing
    Carnegie Mellon University, Pittsburgh
    PA, United States
    不详
    PA, United States
    不详
    MN, United States
    不详
    NY, United States
    ISSTA - Proc. ACM SIGSOFT Int. Symp. Softw. Test. Anal., 1600, (929-941):
  • [9] Guiding Greybox Fuzzing with Mutation Testing
    Vikram, Vasudev
    Laybourn, Isabella
    Li, Ao
    Nair, Nicole
    OBrien, Kelton
    Sanna, Rafaello
    Padhye, Rohan
    PROCEEDINGS OF THE 32ND ACM SIGSOFT INTERNATIONAL SYMPOSIUM ON SOFTWARE TESTING AND ANALYSIS, ISSTA 2023, 2023, : 929 - 941
  • [10] MOTIF: A tool for Mutation Testing with Fuzzing
    Lee, Jaekwon
    Vigano, Enrico
    Pastore, Fabrizio
    Briand, Lionel
    2024 IEEE CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION, ICST 2024, 2024, : 451 - 453