FuzzCoder: Code Large Language Model-Based Fuzz Testing for Industrial IoT Programs
IEEE Internet of Things Journal · 2025-09 · 12 (18) · 36842-36851
DOI: 10.1109/jiot.2025.3577602 ↗Kurz gefasst
Fachartikel in der Zeitschrift IEEE Internet of Things Journal, 2025-09. Verfasst von Liqun Yang und 8 weiteren Autor:innen. Die Arbeit wurde bisher 13-mal zitiert (Crossref) und nennt 41 Literaturangaben. Gefördert von: National Natural Science Foundation of China, State Key Laboratory of Complex & Critical Software Environment, State Grid Company, Ltd. Technology R&D Project.
Abstract (Originalsprache)
Fuzz testing is an dynamic program analysis technique designed for discovering vulnerabilities in IoT systems. The core goal is to deliberately feed maliciously crafted inputs into an IoT device or service, triggering vulnerabilities such as system crashes, buffer overflow exploits, and memory corruption, etc. Efficiently generating malicious inputs remains challenging, with leading methods often relying on randomly mutating existing valid inputs. In this work, we propose to adopt fine-tuned large language models (FuzzCoder) to learn patterns in the input files from successful attacks to guide future fuzzing explorations. Specifically, we develop a framework that leverages code large language models (LLMs) to guide the mutation process to perform meaningful input mutations. We formulate the mutation process as the sequence-to-sequence modeling, where LLM receives a sequence of bytes and outputs the mutated byte sequence. FuzzCoder is fine-tuned on our created instruction dataset (FuzzInstruct), where the successful fuzzing history is collected from the heuristic fuzzing tool. FuzzCoder can predict mutation positions and strategies for input files to trigger abnormal behaviors of the program. Most importantly, the experiment reveals results that FuzzCoder achieves better fuzzing performance compared to traditional and other American fuzzy lop (AFL)-based fuzzers, such as AFL, AFL++, AFLSmart, etc. On average, FuzzCoder achieves an improvement in code coverage of more than 20%, along with a significant increase in the number of crashes.
Förderung
- National Natural Science Foundation of China
- State Key Laboratory of Complex & Critical Software Environment
- State Grid Company, Ltd. Technology R&D Project
Zitieren
APA
Yang, L., Wei, C., Yang, J., Xia, W., Yang, Y., Luo, Y., Niyato, D., Sun, L., & Liu, Z. (2025). FuzzCoder: Code Large Language Model-Based Fuzz Testing for Industrial IoT Programs. IEEE Internet of Things Journal, 12(18), 36842-36851. https://doi.org/10.1109/jiot.2025.3577602
Vancouver
Yang L, Wei C, Yang J, Xia W, Yang Y, Luo Y, et al. FuzzCoder: Code Large Language Model-Based Fuzz Testing for Industrial IoT Programs. IEEE Internet of Things Journal. 2025;12(18):36842-36851. doi:10.1109/jiot.2025.3577602
BibTeX
@article{Yang2025,
author = {Yang, Liqun and Wei, Chaoren and Yang, Jian and Xia, Wanxu and Yang, Yuze and Luo, Yang and Niyato, Dusit and Sun, Liang and Liu, Zhiquan},
title = {FuzzCoder: Code Large Language Model-Based Fuzz Testing for Industrial IoT Programs},
journal = {IEEE Internet of Things Journal},
year = {2025},
volume = {12},
number = {18},
pages = {36842--36851},
doi = {10.1109/jiot.2025.3577602}
}
EUVIMED