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 条
  • [31] AMSFuzz: An adaptive mutation schedule for fuzzing
    Zhao, Xiaoqi
    Qu, Haipeng
    Xu, Jianliang
    Li, Shuo
    Wang, Gai-Ge
    EXPERT SYSTEMS WITH APPLICATIONS, 2022, 208
  • [32] Vulnerable Region-Aware Greybox Fuzzing
    Situ, Ling-Yun
    Zuo, Zhi-Qiang
    Guan, Le
    Wang, Lin-Zhang
    Li, Xuan-Dong
    Shi, Jin
    Liu, Peng
    JOURNAL OF COMPUTER SCIENCE AND TECHNOLOGY, 2021, 36 (05) : 1212 - 1228
  • [33] 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
  • [34] PATA: Fuzzing with Path Aware Taint Analysis
    Liang, Jie
    Wang, Mingzhe
    Zhou, Chijin
    Wu, Zhiyong
    Jiang, Yu
    Liu, Jianzhong
    Liu, Zhe
    Sun, Jiaguang
    43RD IEEE SYMPOSIUM ON SECURITY AND PRIVACY (SP 2022), 2022, : 1 - 17
  • [35] Grammar-based Fuzzing Tool Using Markov Chain Model to Generate New Fuzzing Inputs
    Al Salem, Hamad
    Song, Jia
    2021 INTERNATIONAL CONFERENCE ON COMPUTATIONAL SCIENCE AND COMPUTATIONAL INTELLIGENCE (CSCI 2021), 2021, : 1924 - 1930
  • [36] Vulnerable Region-Aware Greybox Fuzzing
    Ling-Yun Situ
    Zhi-Qiang Zuo
    Le Guan
    Lin-Zhang Wang
    Xuan-Dong Li
    Jin Shi
    Peng Liu
    Journal of Computer Science and Technology, 2021, 36 : 1212 - 1228
  • [37] MUNDOFUZZ: Hypervisor Fuzzing with Statistical Coverage Testing and Grammar Inference
    Myung, Cheolwoo
    Lee, Gwangmu
    Lee, Byoungyoung
    PROCEEDINGS OF THE 31ST USENIX SECURITY SYMPOSIUM, 2022, : 1257 - 1274
  • [38] Bottleneck Analysis via Grammar-based Performance Fuzzing
    Koroglu, Yavuz
    Wotawa, Franz
    2023 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION WORKSHOPS, ICSTW, 2023, : 180 - 185
  • [39] The Fuzzing Awakens: File Format-Aware Mutational Fuzzing on Smartphone Media Server Daemons
    Shin, MinSik
    Yu, JungBeen
    Yoon, YoungJin
    Kwon, Taekyoung
    ICT SYSTEMS SECURITY AND PRIVACY PROTECTION, SEC 2017, 2017, 502 : 219 - 232
  • [40] Mutation Optimization of Directional Fuzzing for Cumulative Defects
    Yang K.
    He Y.-P.
    Ma H.-T.
    Dong K.
    Xie Y.
    Cai C.-F.
    Ruan Jian Xue Bao/Journal of Software, 2023, 34 (05): : 2286 - 2299