Hybrid CNN-LSTM Model with Random Forest Classifier for Intrusion Detection in Connected Vehicles
Abstract
This paper proposes a hybrid deep learning method with a Convolutional Neural Network (CNN) and Long Short-Term Memory (LSTM) network coupled with a Random Forest classifier for intrusion detection in connected vehicles. The model was trained and evaluated on the DECIMAL dataset, a realistic in-vehicle network intrusion data set with Controller Area Network (CAN) bus traffic. The CNN-LSTM model is trained on spatial-temporal features from CAN messages, while the Random Forest classifier exploits these features for accurate cyberattack classification. Experimental results demonstrate the superior performance of the model with an average detection accuracy of 99.62% and good precision and recall of various attack types. The hybrid approach outperforms traditional standalone approaches by addressing primary challenges of automotive cybersecurity, such as identification of sophisticated temporal patterns and reduction of false alarms. This research stresses the need for state-of-the-art machine learning techniques in the security of networked vehicles, particularly the Internet of Vehicles (IoV) environment. The findings emphasize the requirement for hybridization of deep learning with ensemble methods in order to boost real-time threat detection and system robustness. Future work will focus on optimizing the model for embedded automotive hardware and exploring its generalizability across diverse datasets. This study contributes to the development of secure intelligent transportation systems through the provision of a robust framework for identification and the containment of cyber-attacks on networked vehicles.
Keywords
Supporting Institution
Department of Computer, Faculty of Engineering,Halic University,34060,Istanbul, Turkey
References
- [1] Nagarajan J, Mansourian P, Shahid MA, Jaekel A, Saini I, Zhang N, et al. Machine Learning based intrusion detection systems for connected autonomous vehicles: A survey. Peer-to-Peer Networking and Applications. 2023;16(5):2153-85. https://doi.org/10.1007/s12083-023-01508-7.
- [2] Bindu GH, Dasari DR. Federated Learning Framework for Intrusion Detection System in Internet of Vehicles with Memory-Augmented Deep Autoencoder.Research Square. 2024. https://doi.org/10.21203/rs.3.rs-5007599/v1.
- [3] Colhak F, Coskun H, Cyrille TNR, Hoxa T, Ecevit M˙I, Aydın MN. Accelerating IoV Intrusion Detection: Benchmarking GPU-Accelerated vs CPU-Based ML Libraries. arXiv preprint. 2025. https://doi.org/10.48550/arXiv.2504.01905.
- [4] Jayasri C, Balaji V, Nalayini C, Pradeep S.Detecting cyber attacks in vehicle networks using improved LSTM based optimization methodology. Scientific Reports. 2025;15(1):1-19. https://doi.org/10.1038/s41598-025-04643-8.
- [5] Kumar A, Das TK. CAVIDS: Real time intrusion detection system for connected autonomous vehicles using logical analysis of data.Vehicular Communications. 2023;43:100652. https://doi.org/10.1016/j.vehcom.2023.100652.
- [6] Aloqaily M, Otoum S, Ridhawi IA, Jararweh Y. An intrusion detection system for connected vehicles in smart cities. Ad Hoc Networks.2019;90:101842. https://doi.org/10.1016/j.adhoc.2019.02.001.
- [7] Alferaidi A, Yadav K, Alharbi Y, Razmjooy N, Viriyasitavat W, Gulati K, et al. Distributed Deep CNN-LSTM Model for Intrusion Detection Method in IoT-Based Vehicles. Mathematical Problems in Engineering. 2022;2022:3424819. https://doi.org/10.1155/2022/3424819.
- [8] Banaamah AM, Ahmad I.Intrusion detection in IoT using deep learning. Sensors. 2022;22(21):8417. https://doi.org/10.3390/s22218417.
Details
Primary Language
English
Subjects
Automotive Engineering (Other)
Journal Section
Research Article
Authors
Publication Date
December 31, 2025
Submission Date
June 13, 2025
Acceptance Date
December 12, 2025
Published in Issue
Year 2025 Volume: 9 Number: 4
APA
Al-hubaishi, M., & Abdulraqeb, M. (2025). Hybrid CNN-LSTM Model with Random Forest Classifier for Intrusion Detection in Connected Vehicles. International Journal of Automotive Science And Technology, 9(4), 675-685. https://doi.org/10.30939/ijastech..1719423
AMA
1.Al-hubaishi M, Abdulraqeb M. Hybrid CNN-LSTM Model with Random Forest Classifier for Intrusion Detection in Connected Vehicles. IJASTECH. 2025;9(4):675-685. doi:10.30939/ijastech.1719423
Chicago
Al-hubaishi, Mohammed, and Mohammed Abdulraqeb. 2025. “Hybrid CNN-LSTM Model With Random Forest Classifier for Intrusion Detection in Connected Vehicles”. International Journal of Automotive Science And Technology 9 (4): 675-85. https://doi.org/10.30939/ijastech. 1719423.
EndNote
Al-hubaishi M, Abdulraqeb M (December 1, 2025) Hybrid CNN-LSTM Model with Random Forest Classifier for Intrusion Detection in Connected Vehicles. International Journal of Automotive Science And Technology 9 4 675–685.
IEEE
[1]M. Al-hubaishi and M. Abdulraqeb, “Hybrid CNN-LSTM Model with Random Forest Classifier for Intrusion Detection in Connected Vehicles”, IJASTECH, vol. 9, no. 4, pp. 675–685, Dec. 2025, doi: 10.30939/ijastech..1719423.
ISNAD
Al-hubaishi, Mohammed - Abdulraqeb, Mohammed. “Hybrid CNN-LSTM Model With Random Forest Classifier for Intrusion Detection in Connected Vehicles”. International Journal of Automotive Science And Technology 9/4 (December 1, 2025): 675-685. https://doi.org/10.30939/ijastech. 1719423.
JAMA
1.Al-hubaishi M, Abdulraqeb M. Hybrid CNN-LSTM Model with Random Forest Classifier for Intrusion Detection in Connected Vehicles. IJASTECH. 2025;9:675–685.
MLA
Al-hubaishi, Mohammed, and Mohammed Abdulraqeb. “Hybrid CNN-LSTM Model With Random Forest Classifier for Intrusion Detection in Connected Vehicles”. International Journal of Automotive Science And Technology, vol. 9, no. 4, Dec. 2025, pp. 675-8, doi:10.30939/ijastech. 1719423.
Vancouver
1.Mohammed Al-hubaishi, Mohammed Abdulraqeb. Hybrid CNN-LSTM Model with Random Forest Classifier for Intrusion Detection in Connected Vehicles. IJASTECH. 2025 Dec. 1;9(4):675-8. doi:10.30939/ijastech. 1719423
