Fuzzing With Optimized Grammar-Aware Mutation Strategies

被引:4
|
作者
Deng, Jiale [1 ,2 ]
Zhu, Xiaogang [3 ]
Xiao, Xi [2 ,4 ]
Wen, Sheng [4 ]
Li, Qing [4 ,5 ]
Xia, Shutao [2 ,4 ]
机构
[1] Sichuan Univ, Coll Comp Sci, Chengdu 610017, Peoples R China
[2] Tsinghua Univ, Tsinghua Shenzhen Int Grad Sch, Shenzhen 518055, Peoples R China
[3] Swinburne Univ Technol, Dept Comp Sci & Software Engn, Melbourne, Vic 3000, Australia
[4] Peng Cheng Lab, Shenzhen 518066, Peoples R China
[5] Southern Univ Sci & Technol, Inst Future Networks, Shenzhen 518055, Peoples R China
基金
中国国家自然科学基金;
关键词
Fuzzing; Grammar; Schedules; Production; XML; Testing; Syntactics; Computer security; software testing; grammar-based fuzzing;
D O I
10.1109/ACCESS.2021.3093904
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Fuzzing is a widely used technique to discover vulnerabilities in software. However, for programs requiring highly structured inputs, the byte-based mutation strategies in existing fuzzers have difficulties in generating valid inputs. To resolve this challenge, Grammar-Based Fuzzing (GBF) utilizes existing grammar specifications to generate new inputs. Some GBFs perform mutation based on Abstract Syntax Trees (ASTs), which can generate inputs conforming to grammars. However, the existing GBFs neglect using feedback to optimize mutation strategies, and blindly generate inputs without considering the effectiveness of those inputs. In this paper, we use the power schedule and the subtree pool to optimize mutation strategies. Specifically, we first translate input files into ASTs, and extract subtrees from ASTs into a subtree pool. Then, we optimize the power schedule on AST nodes based on a probabilistic model. That is, we adaptively determine the time budget for mutating an AST node. Finally, we replace AST nodes along with their subtrees using the ones we select from the subtree pool. We implement a fuzzing tool to demonstrate our strategies. The experiment results show that our method outperforms the state-of-the-art methods in fuzzing efficiency.
引用
收藏
页码:95061 / 95071
页数:11
相关论文
共 50 条
  • [21] 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
  • [22] Griffin: Grammar-Free DBMS Fuzzing
    Fu, Jingzhou
    Liang, Jie
    Wu, Zhiyong
    Wang, Mingzhe
    Jiang, Yu
    PROCEEDINGS OF THE 37TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING, ASE 2022, 2022,
  • [23] Side-Channel Aware Fuzzing
    Sperl, Philip
    Boettinger, Konstantin
    COMPUTER SECURITY - ESORICS 2019, PT I, 2019, 11735 : 259 - 278
  • [24] Shaping Test Inputs in Grammar-Based Fuzzing
    Amaya, Jose Antonio Zamudio
    PROCEEDINGS OF THE 33RD ACM SIGSOFT INTERNATIONAL SYMPOSIUM ON SOFTWARE TESTING AND ANALYSIS, ISSTA 2024, 2024, : 1901 - 1905
  • [25] 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):
  • [26] VUzzer: Application-aware Evolutionary Fuzzing
    Rawat, Sanjay
    Jain, Vivek
    Kumar, Ashish
    Cojocar, Lucian
    Giuffrida, Cristiano
    Bos, Herbert
    24TH ANNUAL NETWORK AND DISTRIBUTED SYSTEM SECURITY SYMPOSIUM (NDSS 2017), 2017,
  • [27] DIFUZE: Interface Aware Fuzzing for Kernel Drivers
    Corina, Jake
    Machiry, Aravind
    Salls, Christopher
    Shoshitaishvili, Yan
    Hao, Shuang
    Kruegel, Christopher
    Vigna, Giovanni
    CCS'17: PROCEEDINGS OF THE 2017 ACM SIGSAC CONFERENCE ON COMPUTER AND COMMUNICATIONS SECURITY, 2017, : 2123 - 2138
  • [28] VeriFuzz: Program Aware Fuzzing (Competition Contribution)
    Chowdhury, Animesh Basak
    Medicherla, Raveendra Kumar
    Venkatesh, R.
    TOOLS AND ALGORITHMS FOR THE CONSTRUCTION AND ANALYSIS OF SYSTEMS, PT III, 2019, 11429 : 244 - 249
  • [29] 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
  • [30] Predecessor-aware Directed Greybox Fuzzing
    Zhang, Yujian
    Liu, Yaokun
    Xu, Jinyu
    Wang, Yanhao
    45TH IEEE SYMPOSIUM ON SECURITY AND PRIVACY, SP 2024, 2024, : 1884 - 1900