Defense Against Adversarial Samples for Replay Attacks in Automotive AVTP Streams via a Novel Bidirectional Mamba-Based Intrusion Detection System
- 13 October 2025
- journal article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Internet of Things Journal
- Vol. 13 (1) , 487-499
Abstract
As the core protocol for transmitting advanced driver assistance systems (ADAS) perception video streams over automotive Ethernet, audio–video transport protocol (AVTP) is vulnerable to replay attacks due to its lack of authentication and integrity protection mechanisms. The existing supervised deep learning methods primarily target conventional replay attack detection, but their large model sizes make them unsuitable for resource-constrained and real-time deployment in embedded automotive systems. To address these issues, we propose a novel intrusion detection system (IDS) against adversarial samples for replay attacks (AdvRA) in automotive AVTP streams, which is based on frame-difference, time-shared convolution, and bidirectional Mamba (FD-TSConv-BiMamba). Specifically, we first construct an efficient feature engineering pipeline that reduces the number of dimensional features from 438 to 40. Second, we propose a lightweight detection algorithm based on an improved Mamba structure. The parameter complexity of the proposed algorithm is $\mathcal {O}(d \cdot m + n \cdot d)$ , which is significantly lower than the parameter complexity of GRU ( $\mathcal {O}(3({nd} + n^{2}))$ ), long short-term memory (LSTM) ( $\mathcal {O}(4({nd} + n^{2}))$ ), and convolutional neural network (CNN) ( $\mathcal {O}(f^{2} \cdot c_{\text {in}} \cdot c_{\text {out}})$ ). Finally, to validate the effectiveness of our model in detecting AdvRA, we construct a conditional generative adversarial network (cGAN) to generate the AdvRA dataset. Experimental results show that the proposed model achieves the parameters of the accuracy and ${F}1$ -score with 0.9974 and 0.9970 under the indoor scenario using the window size of 114, and with 1.0000 and 0.9999 under the driving scenario using the window size of 108, respectively. In addition, the model size is only 1.17 MB. Compared to advanced methods such as TOW-IDS at 11.30 MB and CNN-IDS at 3.58 MB, the model size is reduced by approximately 89.6% and 67.3%, respectively. Furthermore, for the AdvRA detection task, our model achieves an ${F}1$ -score of 0.9917, outperforming GRU and LSTM by 7.15% and 6.27%, respectively, with a detection speed of 3155 samples/s. Our code is available at: https://github.com/Haihang-Zhao/FD_TSConv_Mamba
Keywords
This publication has 31 references indexed in Scilit:
- JamMa: Ultra-lightweight Local Feature Matching with Joint Mamba2025
- CAN Intrusion Detection System Based on Data Augmentation and Improved Bi-LSTM2024
- Analysis of the Influence of Mode Conversion Characteristics of Twisted Pair on Automotive Ethernet EMI2022
- Time-Sensitive Networking in automotive embedded systems: State of the art and research opportunitiesJournal of Systems Architecture, 2021
- Convolutional neural network-based intrusion detection system for AVTP streams in automotive Ethernet-based networksVehicular Communications, 2021
- Cyber-attacks in the next-generation cars, mitigation techniques, anticipated readiness and future directionsAccident Analysis & Prevention, 2020
- Adversarial examples for replay attacks against CNN-based face recognition with anti-spoofing capabilityComputer Vision and Image Understanding, 2020
- Robust Physical-World Attacks on Deep Learning Visual Classification2018
- A review of feature selection methods based on mutual informationNeural Computing and Applications, 2013
- Elements of Information Theory2001