A Lightweight Intrusion Detection System for Vehicular Networks Based on an Improved ViT Model
Open Access
- 19 August 2024
- journal article
- research article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Access
- Vol. 12, 118842-118856
Abstract
As the connectivity between Electronic Control Units (ECUs) and the external environment intensifies, the security and safeguarding of In-Vehicle Networks (IVNs) have become pressing issues. The Controller Area Network (CAN) bus, the most commonly employed vehicular network protocol, is particularly vulnerable due to its inherent lack of security measures, making it susceptible to various attacks. In this paper, we introduce a novel intrusion detection model for CAN networks, named IVN-ViT. The proposed IVN-ViT model utilizes an enhanced Vision Transformer architecture (Edge-ViT), incorporating self-supervised learning with Cutout data augmentation, Particle Swarm Optimization (PSO) for feature selection, and a fine-tuning strategy that merges Parameter Instance Discrimination (PID) with supervised loss. This not only enhances the model’s convergence speed and predictive accuracy but also meets the lightweight requirements of CAN networks. Experimental results on the "HCRL-car hacking" dataset and the "X-CANIDS" dataset demonstrate that our model achieves over 99% accuracy across all types of attacks. In a simulated vehicular environment, the detection latency for each message averages approximately 1.04ms, fully meeting the first-time requirements of CAN networks. The experiments validate that our proposed method significantly improves model accuracy while ensuring efficient operation within the limited computational resources available in vehicle systems.Keywords
Funding Information
- Project of Jilin Provincial Scientific and Technological Department (20240101343JC, 20220201154GX)
This publication has 29 references indexed in Scilit:
- Detecting CAN overlapped voltage attacks with an improved voltage-based in-vehicle intrusion detection systemJournal of Systems Architecture, 2023
- EdgeViTs: Competing Light-Weight CNNs on Mobile Devices with Vision Transformers2022
- Detecting in-vehicle intrusion via semi-supervised learning-based convolutional adversarial autoencodersVehicular Communications, 2022
- Network Intrusion Detection via Flow-to-Image Conversion and Vision Transformer ClassificationIEEE Access, 2022
- MGA-IDS: Optimal feature subset selection for anomaly detection framework on in-vehicle networks-CAN bus based on genetic algorithm and intrusion detection approachComputers & Security, 2022
- A Hybrid Approach Toward Efficient and Accurate Intrusion Detection for In-Vehicle NetworksIEEE Access, 2022
- A survey on security attacks and defense techniques for connected and autonomous vehiclesComputers & Security, 2021
- Adaptive event-based tracking control of unmanned marine vehicle systems with DoS attackJournal of the Franklin Institute, 2021
- LSTM-Based Intrusion Detection System for In-Vehicle Can Bus CommunicationsIEEE Access, 2020
- In-vehicle network intrusion detection using deep convolutional neural networkVehicular Communications, 2020