An adaptive fuzzing method based on transformer and protocol similarity mutation

被引:5
|
作者
Wang, Wenpeng [1 ]
Chen, Zhixiang [1 ]
Zheng, Ziyang [1 ]
Wang, Hui [1 ]
机构
[1] Minnan Normal Univ, Coll Phys & Informat Engn, Zhangzhou 363000, Fujian, Peoples R China
基金
中国国家自然科学基金;
关键词
Industrial control protocols; Fuzzing; Modbus TCP; Vulnerability mining; Transformer;
D O I
10.1016/j.cose.2023.103197
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Industrial control protocols have a large number of vulnerabilities due to lacking authentication and mis-use of function codes, which seriously threaten the production safety. Fuzzing, as a common method for vulnerability mining, has the disadvantages of low reception rate of generated test cases and blind mutation, which leads to poor vulnerability mining. To address these issues, we propose an adaptive fuzzing method based on Transformer and protocol similarity mutation. Firstly, the Transformer network is trained to learn the semantics information of the commonly used industrial control protocol Modbus TCP, which can generate test cases with a high reception rate in a short time. Secondly, during the test case generation stage, compare the semantic similarity and the size of random values between the newly generated bytes and the model input fields to determine whether to perform bit-flip mutation for the newly generated bytes, so as to reduce the overall similarity of the test cases and improve the test sys-tem abnormal rate. Finally, the byte importance self-adaptive algorithm is used to improve the mutation probability of bytes that are prone to trigger vulnerabilities. Experimental results indicate that compared with the traditional method, our method not only effectively improves the testing efficiency, but also increases the test system's abnormal rate. In addition, the ability of vulnerability mining capability has been effectively improved. (c) 2023 Elsevier Ltd. All rights reserved.
引用
收藏
页数:10
相关论文
共 50 条
  • [1] AMSFuzz: An adaptive mutation schedule for fuzzing
    Zhao, Xiaoqi
    Qu, Haipeng
    Xu, Jianliang
    Li, Shuo
    Wang, Gai-Ge
    EXPERT SYSTEMS WITH APPLICATIONS, 2022, 208
  • [2] Grammar-based Adaptive Fuzzing: Evaluation on SCADA Modbus Protocol
    Yoo, Hyunguk
    Shon, Taeshik
    2016 IEEE INTERNATIONAL CONFERENCE ON SMART GRID COMMUNICATIONS (SMARTGRIDCOMM), 2016,
  • [3] MTA Fuzzer: A low-repetition rate Modbus TCP fuzzing method based on Transformer and Mutation Target Adaptation
    Wang, Wenpeng
    Chen, Zhixiang
    Zheng, Ziyang
    Wang, Hui
    Luo, Junxing
    COMPUTERS & SECURITY, 2024, 144
  • [4] 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
  • [5] Fuzzing Method Based on Selection Mutation of Partition Weight Table for 5G Core Network NGAP Protocol
    Hu, Yang
    Yang, Wenchuan
    Cui, Baojiang
    Zhou, Xiaohui
    Mao, Zhijie
    Wang, Ying
    INNOVATIVE MOBILE AND INTERNET SERVICES IN UBIQUITOUS COMPUTING, IMIS 2021, 2022, 279 : 144 - 155
  • [6] 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
  • [7] An Automated Method of Unknown Protocol Fuzzing Test
    Zhang W.-Y.
    Zhang L.
    Mao J.-L.
    Xu Z.-J.
    Zhang Y.-J.
    Jisuanji Xuebao/Chinese Journal of Computers, 2020, 43 (04): : 653 - 667
  • [8] Fuzzing Test Data Generation Method Based on Dynamic Construction of Mutation Strategy
    Jiao L.-L.
    Luo S.-L.
    Cao W.
    Pan L.-M.
    Zhang J.
    Beijing Ligong Daxue Xuebao/Transaction of Beijing Institute of Technology, 2019, 39 (05): : 539 - 544
  • [9] 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
  • [10] A Novel Network Protocol Syntax Extracting Method for Grammar-Based Fuzzing
    Li, Huashan
    Zhang, Lei
    Zhao, Dawei
    Xu, Lijuan
    Li, Xin
    Yang, Shumian
    Han, Xiaohui
    APPLIED SCIENCES-BASEL, 2024, 14 (06):