CLIFuzzer: Mining Grammars for Command-Line Invocations

被引:1
|
作者
Gupta, Abhilash [1 ]
Gopinath, Rahul [1 ]
Zeller, Andreas [1 ]
机构
[1] CISPA Helmholtz Ctr Informat Secur, Saarbrucken, Saarland, Germany
关键词
fuzzing; CLI Options; command-line; utilities;
D O I
10.1145/3540250.3558918
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
The behavior of command-line utilities can be very much influenced by passing command-line options and arguments-configuration settings that enable, disable, or otherwise influence parts of the code to be executed. Hence, systematic testing of command-line utilities requires testing them with diverse configurations of supported command-line options. We introduce CLIFuzzer, a tool that takes an executable program and, using dynamic analysis to track input processing, automatically extract a full set of its options, arguments, and argument types. This set forms a grammar that represents the valid sequences of valid options and arguments. Producing invocations from this grammar, we can fuzz the program with an endless list of random configurations, covering the related code. This leads to increased coverage and new bugs over purely mutation based fuzzers.
引用
收藏
页码:1667 / 1671
页数:5
相关论文
共 50 条
  • [1] Command-line arguments
    Reedy, TJ
    DR DOBBS JOURNAL, 1999, 24 (08): : 14 - 14
  • [2] Command-line prediction using generalized command lines
    Ueda, Y
    Nishimura, T
    Minoh, M
    Ikeda, K
    ELECTRONICS AND COMMUNICATIONS IN JAPAN PART III-FUNDAMENTAL ELECTRONIC SCIENCE, 1997, 80 (12): : 56 - 64
  • [3] Command-line prediction using generalized command lines
    Ueda, Yasuhiro
    Nishimura, Toshikazu
    Minoh, Michihiko
    Ikeda, Katsuo
    Electronics and Communications in Japan, Part III: Fundamental Electronic Science (English translation of Denshi Tsushin Gakkai Ronbunshi), 1997, 80 (12): : 56 - 63
  • [4] An empirical investigation of command-line customization
    Michael Schröder
    Jürgen Cito
    Empirical Software Engineering, 2022, 27
  • [5] Java']Java command-line arguments
    White, G
    DR DOBBS JOURNAL, 1996, 21 (02): : 58 - &
  • [6] An empirical investigation of command-line customization
    Schroeder, Michael
    Cito, Juergen
    EMPIRICAL SOFTWARE ENGINEERING, 2022, 27 (02)
  • [7] Dirac: A command-line γ-matrix calculator
    Kutnii, Sergii
    COMPUTER PHYSICS COMMUNICATIONS, 2024, 294
  • [8] From command-line bioinformatics to bioGUI
    Joppich, Markus
    Zimmer, Ralf
    PEERJ, 2019, 7
  • [9] COMMAND-LINE COLLECTOR METICULOUSLY CLASSIFIES FLAGS
    BOCHEV, V
    EDN, 1994, 39 (15) : 76 - 76
  • [10] Command-line argument processing and the Argv library
    Goldman, O
    DR DOBBS JOURNAL, 2003, 28 (11): : 47 - +