Deep Defence on Wheels: A Dual Intrusion Detection System Architecture for Comprehensive In-Vehicle Network Security
Abstract
Increasing connectivity to the outside world and the lack of inbuilt security mechanisms have made legacy intra-vehicular networks vulnerable to cyberattacks. Initial research focused on maximising detection accuracy for known and unknown attacks, often using large, full-precision machine learning models. However, embedding IDSs into vehicular electronic systems also requires low detection latency, energy efficiency and minimal electronic control unit (ECU) resource overhead to process about 2,000 CAN frames/s. Lightweight models must balance accuracy with these deployment constraints. We propose a dual IDS framework comprising supervised and unsupervised learning-based solutions, each optimised for real-time, resource-constrained automotive platforms. A quantised LSTM-based IDS (QLSTM-IDS) achieves over 99.9% detection accuracy for DoS/Flooding, Fuzzing and Spoofing/Malfunction attacks using a single model architecture evaluated on two widely used datasets. The model is trained using the Brevitas quantisation-aware training library, transformed into a dataflow accelerator with custom blocks compatible with AMD's FINN toolchain, and synthesised using Vitis HLS. Complementing this, an 8-bit quantised convolutional autoencoder-based IDS (QCAE-IDS), quantised using AMD's Vitis-AI toolchain, detects previously unseen anomalies that alter CAN-ID sequence patterns with over 99% accuracy. An integration architecture enables both models to operate on a single FPGA, bridging the network interface IP and processing system to minimise software overhead. QLSTM-IDS achieves 0.25 ms inference latency and 0.8 mJ energy consumption per message, while QCAE-IDS achieves 0.42 ms and 1.1 mJ per block. Both solutions are deployed and evaluated on the ZCU104 SoC (XCZU7EV FPGA), demonstrating a flexible hardware/software co-design for real-time detection of known and unknown attacks on high-speed CAN buses.
Create a lesson
Metadata
- Categories
- cs.CR, cs.AR, cs.LG
- Comments
- 30 pages, 9 figures, 11 tables, ACM Transactions on Embedded Computing Systems
Related papers
A Deployment-Aware Feasibility Framework for Machine Learning-Based IoT Intrusion Detection Across Edge, Fog, and Cloud Architectures
Shared title terminologycs.CRShaker Nawasra, Munther Abualkibash
AutoDP-LLM: Automating Data Pre-processing for Intrusion Detection Systems using Large Language Models
Shared title terminologycs.CRBao-Phong Nguyen, Gia-Khanh Pham, Thai-Duong Do et al.
From Network Intrusion Detection to Blockchain-Backed Endpoint Detection and Response: Mapping the Landscape of Decentralized Detection-and-Response Architectures
Shared title terminologycs.CRYahya Shahsavari, Sara Rouhani, Kaiwen Zhang
QuickSign: Translating Network Intrusion Detection Models into Signature Rules
Shared title terminologycs.CRXin Fan Guo, Giovanni Apruzzese, Lorenzo Cavallaro et al.
Energy-Aware Intrusion Detection Granularity for IoT Gateways
Shared title terminologycs.CRHuixue Han, Shangzhi Xu, Tao Liu et al.
Prior Shift in Disguise: Rethinking the Evaluation of Data Augmentation for Rare-Attack Network Intrusion Detection
Shared title terminologycs.CRHuiheng Li, Zikang Liu