RIFF: Reduced Instruction Footprint for Coverage-Guided Fuzzing

被引:0
|
作者
Wang, Mingzhe [1 ]
Liang, Jie [1 ]
Zhou, Chijin [1 ]
Jiang, Yu [1 ]
Wang, Rui [2 ]
Sun, Chengnian [3 ]
Sun, Jiaguang [1 ]
机构
[1] Tsinghua Univ, Beijing, Peoples R China
[2] Capital Normal Univ, Beijing, Peoples R China
[3] Waterloo Univ, Waterloo, ON, Canada
关键词
D O I
暂无
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Coverage-guided fuzzers use program coverage measurements to explore different program paths efficiently. The coverage pipeline consists of runtime collection and post-execution processing procedures. First, the target program executes instrumentation code to collect coverage information. Then the fuzzer performs an expensive analysis on the collected data, yet most program executions lead to no increases in coverage. Inefficient implementations of these steps significantly reduce the fuzzer's overall throughput. In this paper, we propose RIFF, a highly efficient program coverage measurement mechanism to reduce fuzzing overhead. For the target program, RIFF moves computations originally done at runtime to instrumentation-time through static program analysis, thus reducing instrumentation code to a bare minimum. For the fuzzer, RIFF processes coverage with different levels of granularity and utilizes vector instructions to improve throughput. We implement RIFF in state-of-the-art fuzzers such as AFL and MOpt and evaluate its performance on real-world programs in Google's FuzzBench and fuzzer-test-suite. The results show that RIFF improves coverage measurement efficiency of fuzzers by 23x and 6x during runtime collection and post-execution processing, respectively. As a result, the fuzzers complete 147% more executions, and use only 6.53 hours to reach the 24-hour coverage of baseline fuzzers on average.
引用
收藏
页码:147 / 159
页数:13
相关论文
共 50 条
  • [41] GUIDEDSAMPLER: Coverage-guided Sampling of SMT Solutions
    Dutra, Rafael
    Bachrach, Jonathan
    Sen, Koushik
    [J]. 2019 FORMAL METHODS IN COMPUTER AIDED DESIGN (FMCAD), 2019, : 203 - 211
  • [42] Design and Implementation of a Coverage-Guided Ruby Fuzzer
    Schwager, Matt
    Klemba, Dominik
    Dykstra, Josiah
    [J]. PROCEEDINGS OF 17TH CYBER SECURITY EXPERIMENTATION AND TEST WORKSHOP, CSET 2024, 2024, : 18 - 24
  • [43] Unified HW/SW Coverage: A Novel Metric to Boost Coverage-guided Fuzzing for Virtual Prototype based HW/SW Co-Verification
    Bruns, Niklas
    Herdt, Vladimir
    Drechsler, Rolf
    [J]. PROCEEDINGS OF THE 2022 FORUM ON SPECIFICATION & DESIGN LANGUAGES (FDL), 2022,
  • [44] Template-Based and Coverage-Guided Verification Instruction Set Automatic Generation Method for DSP Chip
    Shang, Ying
    Chang, Kun
    Zhao, Ruilian
    Yin, Zhigang
    [J]. 2023 IEEE 32ND ASIAN TEST SYMPOSIUM, ATS, 2023, : 153 - 158
  • [45] Coverage-Guided Testing for Recurrent Neural Networks
    Huang, Wei
    Sun, Youcheng
    Zhao, Xingyu
    Sharp, James
    Ruan, Wenjie
    Meng, Jie
    Huang, Xiaowei
    [J]. IEEE TRANSACTIONS ON RELIABILITY, 2022, 71 (03) : 1191 - 1206
  • [46] Toss a Fault to YourWitcher: Applying Grey-box Coverage-Guided Mutational Fuzzing to Detect SQL and Command Injection Vulnerabilities
    Trickel, Erik
    Pagani, Fabio
    Zhu, Chang
    Dresel, Lukas
    Vigna, Giovanni
    Kruegel, Christopher
    Wang, Ruoyu
    Bao, Tiffany
    Shoshitaishvili, Yan
    Doupe, Adam
    [J]. 2023 IEEE SYMPOSIUM ON SECURITY AND PRIVACY, SP, 2023, : 2658 - 2675
  • [47] JMLKelinci plus : Detecting Semantic Bugs and Covering Branches with Valid Inputs Using Coverage-guided Fuzzing and Runtime Assertion Checking
    Nilizadeh, Amirfarhad
    Leavens, Gary T.
    Pasareanu, Corina S.
    Noller, Yannic
    [J]. FORMAL ASPECTS OF COMPUTING, 2024, 36 (01)
  • [48] Bita: Coverage-Guided, Automatic Testing of Actor Programs
    Tasharofi, Samira
    Pradel, Michael
    Lin, Yu
    Johnson, Ralph
    [J]. 2013 28TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING (ASE), 2013, : 114 - 124
  • [49] Coverage-guided test generation for continuous and hybrid systems
    Dang, Thao
    Nahhal, Tarik
    [J]. FORMAL METHODS IN SYSTEM DESIGN, 2009, 34 (02) : 183 - 213
  • [50] DeepRanger: Coverage-guided Deep Forest Testing Approach
    Cui, Zhan-Qi
    Xie, Rui-Lin
    Chen, Xiang
    Liu, Xiu-Lei
    Zheng, Li-Wei
    [J]. Ruan Jian Xue Bao/Journal of Software, 2023, 34 (05): : 2251 - 2267