Modern vehicles are becoming increasingly connected, sharing data with other cars and infrastructure to improve safety and efficiency. This connectivity, known as the Internet of Vehicles, creates a new vulnerability: hackers can potentially take control of critical systems through cyberattacks. Researchers have developed an artificial intelligence system called CANGuard that can detect these attacks with remarkable accuracy, addressing a growing security concern as cars become more like computers on wheels.
The researchers found that CANGuard achieves 99.89% accuracy in identifying two main types of cyberattacks on vehicle networks. The system correctly distinguishes between normal traffic and malicious attacks 99.89% of the time, with equal performance in precision and recall. This represents a significant improvement over previous s, including deep neural networks that achieved 96% accuracy and traditional machine learning approaches that scored as low as 49% on some metrics. The system was specifically designed to detect Denial-of-Service attacks, which flood vehicle networks with excessive messages, and spoofing attacks, where hackers impersonate legitimate vehicle components to send malicious commands.
The team built CANGuard using a hybrid architecture that combines three different artificial intelligence components. First, convolutional neural networks analyze the spatial patterns in vehicle network data, looking for unusual arrangements of information. Second, gated recurrent units examine how data changes over time, recognizing suspicious sequences that might indicate an attack. Finally, an attention mechanism helps the system focus on the most important features within the data stream, similar to how a security expert might concentrate on the most suspicious aspects of a situation. The researchers trained their system on the CICIoV2024 dataset, which contains over 1.4 million samples of real vehicle network traffic, including both normal operations and various attack scenarios.
Detailed testing revealed that each component of the system contributes significantly to its overall performance. When tested separately, the convolutional neural network component achieved 99.33% accuracy, while the temporal analysis component reached 99.04% accuracy. Combining these two elements boosted performance to 99.86% accuracy, and adding the attention mechanism brought the final system to 99.89% accuracy across all evaluation metrics. The researchers conducted a feature importance analysis using SHAP values, which showed that specific data bytes within vehicle communications—particularly DATA 4 and DATA 5—carry the most information for distinguishing attacks from normal traffic. This finding aligns with how spoofing attacks work, where hackers manipulate specific bytes to alter vehicle signals like speed, RPM, or steering commands.
The practical of this research are substantial for vehicle safety and security. As cars become more connected, the risk of cyberattacks that could disable brakes, interfere with steering, or cause other dangerous malfunctions increases. CANGuard provides a to detect such attacks before they can cause harm, potentially preventing accidents and protecting passengers. The system's high accuracy and balanced performance across different types of attacks make it suitable for real-world deployment in modern vehicles. The researchers' use of explainable AI techniques also helps build trust in the system by showing exactly which features it considers most important when making decisions.
Despite these promising , the study has several limitations that the researchers acknowledge. The evaluation was conducted offline using a single benchmark dataset, meaning the system hasn't been tested in real-time vehicle deployments. The research also doesn't address how the system would perform against sophisticated adversarial attacks specifically designed to evade detection. Future work will need to test CANGuard in actual vehicle networks, evaluate its performance across different datasets, and assess its robustness against more advanced attack strategies. The researchers plan to extend their work to online monitoring of vehicle networks and more comprehensive security testing scenarios.
Original Source
Read the complete research paper
About the Author
Guilherme A.
Former dentist (MD) from Brazil, 41 years old, husband, and AI enthusiast. In 2020, he transitioned from a decade-long career in dentistry to pursue his passion for technology, entrepreneurship, and helping others grow.
Connect on LinkedIn