A Fuzz Testing Method Based on DDPM for Intelligent Connected Vehicles CAN Communication

<div class="section abstract"><div class="htmlview paragraph">Modern vehicles are increasingly integrating electronic control units (ECUs), enhancing their intelligence but also amplifying potential security threats. Vehicle network security testing is crucial for ensuring the safety of passengers and vehicles. ECUs communicate via the in-vehicle network, adhering to the Controller Area Network (CAN) bus protocol. Due to its exposed interfaces, lack of data encryption, and absence of identity authentication, the CAN network is susceptible to exploitation by attackers. Fuzz testing is a critical technique for uncovering vulnerabilities in CAN network. However, existing fuzz testing methods primarily generate message randomly, lacking learning from the data, which results in numerous ineffective test cases, affecting the efficiency of fuzz testing. To improve the effectiveness and specificity of testing, understanding of the CAN message format is essential. However, the communication matrix of CAN messages is proprietary to the Original Equipment Manufacturer (OEM) and varie s among different models of the same vehicle brand, requiring manual reverse analysis of the CAN protocol, which significantly increases the cost and complexity of an attack. To enhance the efficiency of fuzz testing data generation, a fuzz testing data generation algorithm based on Denoising Diffusion Probabilistic Models (DDPMs) is proposed. This method learns the distribution of existing CAN bus message data, enabling the generation of data messages similar to the original data distribution for testing purposes. Furthermore, the LoRA fine-tuning method is introduced to accommodate the differences between communication matrices of various vehicles. Comparative analysis indicates that this method can generate fuzz test messages that more closely resemble real message data than existing methods.</div></div>

Authors

Institutions

Publication Details

Journal
SAE technical papers on CD-ROM/SAE technical paper series
Published
2024-12-12
DOI
https://doi.org/10.4271/2024-01-7044
Primary Topic
Software Testing and Debugging Techniques
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A Fuzz Testing Method Based on DDPM for Intelligent Connected Vehicles CAN Communication

Zhengqiu Yang, Jiapeng Xiu, Zhenyu Zhang, Lin Shen
SAE technical papers on CD-ROM/SAE technical paper series
Software Testing and Debugging Techniques
article

A Fuzz Testing Method Based on DDPM for Intelligent Connected Vehicles CAN Communication

Zhengqiu Yang, Jiapeng Xiu, Zhenyu Zhang, Lin Shen
article en

Abstract

<div class="section abstract"><div class="htmlview paragraph">Modern vehicles are increasingly integrating electronic control units (ECUs), enhancing their intelligence but also amplifying potential security threats. Vehicle network security testing is crucial for ensuring the safety of passengers and vehicles. ECUs communicate via the in-vehicle network, adhering to the Controller Area Network (CAN) bus protocol. Due to its exposed interfaces, lack of data encryption, and absence of identity authentication, the CAN network is susceptible to exploitation by attackers. Fuzz testing is a critical technique for uncovering vulnerabilities in CAN network. However, existing fuzz testing methods primarily generate message randomly, lacking learning from the data, which results in numerous ineffective test cases, affecting the efficiency of fuzz testing. To improve the effectiveness and specificity of testing, understanding of the CAN message format is essential. However, the communication matrix of CAN messages is proprietary to the Original Equipment Manufacturer (OEM) and varie s among different models of the same vehicle brand, requiring manual reverse analysis of the CAN protocol, which significantly increases the cost and complexity of an attack. To enhance the efficiency of fuzz testing data generation, a fuzz testing data generation algorithm based on Denoising Diffusion Probabilistic Models (DDPMs) is proposed. This method learns the distribution of existing CAN bus message data, enabling the generation of data messages similar to the original data distribution for testing purposes. Furthermore, the LoRA fine-tuning method is introduced to accommodate the differences between communication matrices of various vehicles. Comparative analysis indicates that this method can generate fuzz test messages that more closely resemble real message data than existing methods.</div></div>

SAE technical papers on CD-ROM/SAE technical paper seriesVol. 1
Beijing University of Posts and Telecommunications (CN)
Openalex Percentile: Top 76%
Software Testing and Debugging Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.