Intelligent Cyber-Attack Detection for Autonomous Vehicles Using Advanced Deep Learning Models
Article Information
Abstract
The Internet of Vehicles (IoV) has greatly influenced transportation by allowing autonomous vehicles to interact and communicate with other cars as well as with the surrounding traffic system. Even so, being interconnected comes with risks in terms of cyber attacks, for example, by injecting messages or fooling sensors through CAN systems. The study, consequently, suggests an Intrusion Detection System (IDS) that uses Convolutional Neural Networks (CNN), Recurrent Neural Networks (RNN), Long Short-Term Memory (LSTM), Bidirectional Encoder Representations from Transformers (BERT), and RoBERTa, to properly detect and handle these cyber threats. To solve the problem of unbalanced data, we use Random Over-Sampling (ROS), NearMiss, and Tomek Links, which makes the model work more effectively. Results from experiments show that the IDS suggested here is better than traditional machine learning models. Adopting cloud computing helps make the system more flexible and lets it be watched continually to keep AVs well protected. Experimental results show that RoBERTa achieves the highest performance with 99% accuracy and 97% F1-score across all resampling conditions, outperforming conventional machine learning baselines. An IDS in smart cities greatly benefits vehicle networks, as it hinders and stops possible cyberattacks. Future work will aim to improve IDS performance at scale and address emerging attack types.
Graphical Abstract
Keywords
Data Availability Statement
Funding
Conflicts of Interest
Ethical Approval and Consent to Participate
References
- AlEisa, H. N., Alrowais, F., Allafi, R., Almalki, N. S., Faqih, R., Marzouk, R., ... & Ibrahim, S. S. (2023). Transforming transportation: Safe and secure vehicular communication and anomaly detection with intelligent cyber–physical system and deep learning. IEEE Transactions on Consumer Electronics, 70(1), 1736-1746.
[CrossRef] [Google Scholar] - Raimundo, R. J., & Rosário, A. T. (2022). Cybersecurity in the internet of things in industrial management. Applied Sciences, 12(3), 1598.
[CrossRef] [Google Scholar] - Setitra, M. A., & Fan, M. (2024). Detection of DDoS attacks in SDN-based VANET using optimized TabNet. Computer Standards & Interfaces, 90, 103845.
[CrossRef] [Google Scholar] - Sun, X., Yu, F. R., & Zhang, P. (2021). A survey on cyber-security of connected and autonomous vehicles (CAVs). IEEE Transactions on Intelligent Transportation Systems, 23(7), 6240-6259.
[CrossRef] [Google Scholar] - Korium, M. S., Saber, M., Beattie, A., Narayanan, A., Sahoo, S., & Nardelli, P. H. (2024). Intrusion detection system for cyberattacks in the Internet of Vehicles environment. Ad hoc networks, 153, 103330.
[CrossRef] [Google Scholar] - Almehdhar, M., Albaseer, A., Khan, M. A., Abdallah, M., Menouar, H., Al-Kuwari, S., & Al-Fuqaha, A. (2024). Deep learning in the fast lane: A survey on advanced intrusion detection systems for intelligent vehicle networks. IEEE Open Journal of Vehicular Technology, 5, 869-906.
[CrossRef] [Google Scholar] - Bergies, S., Aljohani, T. M., Su, S. F., & Elsisi, M. (2024). An IoT-based deep-learning architecture to secure automated electric vehicles against cyberattacks and data loss. IEEE Transactions on Systems, Man, and Cybernetics: Systems, 54(9), 5717-5732.
[CrossRef] [Google Scholar] - Anand, M., Kumar, S. P., Selvi, M., SVN, S. K., Ram, G. D., & Kannan, A. (2023, March). Deep learning model based IDS for detecting cyber attacks in IoT based smart vehicle network. In 2023 International Conference on Sustainable Computing and Data Communication Systems (ICSCDS) (pp. 281-286). IEEE.
[CrossRef] [Google Scholar] - Wazid, M., Singh, J., Pandey, C., Sherratt, R. S., Das, A. K., Giri, D., & Park, Y. (2025). Explainable deep Learning-Enabled malware attack detection for IoT-Enabled intelligent transportation systems. IEEE Transactions on Intelligent Transportation Systems, 26(5), 7231-7244.
[CrossRef] [Google Scholar] - Sadaf, M., Iqbal, Z., Javed, A. R., Saba, I., Krichen, M., Majeed, S., & Raza, A. (2023). Connected and automated vehicles: Infrastructure, applications, security, critical challenges, and future aspects. Technologies, 11(5), 117.
[CrossRef] [Google Scholar] - Hossain, M. D., Inoue, H., Ochiai, H., Fall, D., & Kadobayashi, Y. (2020). LSTM-based intrusion detection system for in-vehicle can bus communications. IEEE Access, 8, 185489-185502.
[CrossRef] [Google Scholar] - Anbalagan, S., Raja, G., Gurumoorthy, S., Suresh, R. D., & Dev, K. (2023). IIDS: Intelligent intrusion detection system for sustainable development in autonomous vehicles. IEEE Transactions on Intelligent Transportation Systems, 24(12), 15866-15875.
[CrossRef] [Google Scholar] - Giannaros, A., Karras, A., Theodorakopoulos, L., Karras, C., Kranias, P., Schizas, N., ... & Tsolis, D. (2023). Autonomous vehicles: Sophisticated attacks, safety issues, challenges, open topics, blockchain, and future directions. Journal of Cybersecurity and Privacy, 3(3), 493-543.
[CrossRef] [Google Scholar] - Moustafa, N., Koroniotis, N., Keshk, M., Zomaya, A. Y., & Tari, Z. (2023). Explainable intrusion detection for cyber defences in the internet of things: Opportunities and solutions. IEEE Communications Surveys & Tutorials, 25(3), 1775-1807.
[CrossRef] [Google Scholar] - Nguyen, T. P., Nam, H., & Kim, D. (2023). Transformer-based attention network for in-vehicle intrusion detection. IEEE Access, 11, 55389-55403.
[CrossRef] [Google Scholar] - Al Isawi, O. A., Al Jaafari, K. A., & Al Sumaiti, A. S. (2025). Electric Vehicles CAN Bus Cyber Attacks Detection Using Adaptive Neuro Fuzzy Inference System. IEEE Access, 13, 90862-90874.
[CrossRef] [Google Scholar] - Aloraini, F., Javed, A., & Rana, O. (2024). Adversarial attacks on intrusion detection systems in in-vehicle networks of connected and autonomous vehicles. Sensors, 24(12), 3848.
[CrossRef] [Google Scholar] - Iqubal, A., & Tiwari, S. K. (2024, November). Internet of Vehicle (IoV) Cyber Attack Detection using Machine Learning Techniques. In 2024 4th International Conference on Advancement in Electronics & Communication Engineering (AECE) (pp. 1053-1057). IEEE.
[CrossRef] [Google Scholar] - Aurangzeb, S., Aleem, M., Khan, M. T., Anwar, H., & Siddique, M. S. (2024). Cybersecurity for autonomous vehicles against malware attacks in smart-cities. Cluster Computing, 27(3), 3363-3378.
[CrossRef] [Google Scholar] - Arshad, I., Alsamhi, S. H., Qiao, Y., Lee, B., & Ye, Y. (2023). A novel framework for smart cyber defence: a deep-dive into deep learning attacks and defences. IEEE Access, 11, 88527-88548.
[CrossRef] [Google Scholar] - Oseni, A., Moustafa, N., Creech, G., Sohrabi, N., Strelzoff, A., Tari, Z., & Linkov, I. (2022). An explainable deep learning framework for resilient intrusion detection in IoT-enabled transportation networks. IEEE Transactions on Intelligent Transportation Systems, 24(1), 1000-1014.
[CrossRef] [Google Scholar] - Gupta, S., Maple, C., & Passerone, R. (2023). An investigation of cyber-attacks and security mechanisms for connected and autonomous vehicles. IEEE Access, 11, 90641-90669.
[CrossRef] [Google Scholar] - Dasari, D. R., & Bindu, G. H. (2025). An Intelligent Intrusion Detection System in IoV Using Machine Learning and Deep Learning Models. International Journal of Communication Systems, 38(10), e70131.
[CrossRef] [Google Scholar] - Bendiab, G., Hameurlaine, A., Germanos, G., Kolokotronis, N., & Shiaeles, S. (2023). Autonomous vehicles security: Challenges and solutions using blockchain and artificial intelligence. IEEE Transactions on Intelligent Transportation Systems, 24(4), 3614-3637.
[CrossRef] [Google Scholar] - Ghrib, T., Benmohammed, M., & Pandey, P. S. (2021). Automated diagnosis of attacks in internet of things using machine learning and frequency distribution techniques. Bulletin of Electrical Engineering and Informatics, 10(2), 950-961.
[CrossRef] [Google Scholar] - Song, H. M., Woo, J., & Kim, H. K. (2020). In-vehicle network intrusion detection using deep convolutional neural network. Vehicular Communications, 21, 100198.
[CrossRef] [Google Scholar]
Cited By (15)
-
Abdullah Alwabli. Optimized multi-tier task offloading strategy for sustainable IoV systems in 6G networks.
Scientific Reports, 2026 , 16 (1).
[CrossRef] -
Syed Zain Ul Abideen, Inam Ullah, Xiaoshan Bai, Weidong Zhang, Jianqiang Li, Shuzhi Sam Ge. Multi-robot task assignment: A survey of algorithmic approaches, challenges, and future directions.
Computer Science Review, 2026 , 61 .
[CrossRef] -
Inam Ullah, Xin Su, Zeeshan Ali Haider, Ali Arishi, Witold Pedrycz. GAIA-chain: generative-AI and blockchain for autonomous task execution and resource allocation in UAV-assisted IoV.
Digital Communications and Networks, 2026 .
[CrossRef] -
Alaa M. Momani, Deema Mohammed Alsekait, Mahmoud Ahmad Al-Khasawneh, Siti Hajar Othman, Kholoud Alkayid, Samia Kouki, K. M. Baalamurugan. Federated deep reinforcement learning for privacy-preserving offloading in vehicular edge computing.
Scientific Reports, 2026 , 16 (1).
[CrossRef] -
Inam Ullah, Zeeshan Ali Haider, Xin Su, Chang Choi, Ali Arishi, Hazrat Bilal. Vehicular communications for autonomous and intelligent transportation systems: a comprehensive survey.
Digital Communications and Networks, 2026 , 12 (8).
[CrossRef] -
Abdullah Alwabli. AI-driven Intelligent Transportation Systems with UAV-assisted communication and IoV integration.
Journal of Engineering Research, 2026 .
[CrossRef] -
Fida Muhammad Khan, Asim Zeb, Taj Rahman, Mahmoud Ahmad Al-Khasawneh, Yousef Ibrahim Daradkeh, Isma Farah Siddiqui, Ali Kashif Bashir, Inam Ullah. XAI-driven Data Mining for Self-defending IoT Systems: Enhancing Cybersecurity Transparency in the Age of Smart Cities.
Cognitive Computation, 2026 , 18 (1).
[CrossRef] -
Jing Zhang, Chaonan Wu, Qing Zhao, Hongxia Liu. Real Time Detection and Defense System for AI Attacks on Consumer Electronic Devices Based on Multimodal Data Fusion.
IEEE Transactions on Consumer Electronics, 2026 , 72 (4).
[CrossRef] -
Kuldashbay Avazov, Kudratjon Zohirov, Umidjon Ruziev, Nabijon Abduazizov, Akmalbek Abdusalomov, Abror Buriboev, Heung Seok Jeon. Cooperative UAV swarms for zero knowledge verification of edge generative AI using trust-aware multiagent learning.
Scientific Reports, 2026 , 16 (1).
[CrossRef] -
Junaid, Fahad Algarni, Muhammad Ijaz Khan, Syed Tariq Shah, Ala Saleh Alluhaidan, Insaf Ullah. An AI-driven framework for intrusion detection and predictive threat modeling in UAV ecosystem.
Internet of Things, 2026 , 40 .
[CrossRef] -
Kuldoshbay Avazov, Zhuldyz Kalpeyeva, Raissa Uskenbayeva, Aizhan Kassymova, Sadoqat Tursunova, Dilshoda Kurbonalieva, Akmalbek Abdusalomov, Young Im Cho. Securing real-time traffic analytics with a privacy-preserving edge and cloud computing framework.
Scientific Reports, 2026 , 16 (1).
[CrossRef] -
R Bharathi, Anesh Ram S T, Dinesh I, Gokul K, Jagan R. .
2026 International Conference on Connected Intelligence for Industrial Applications (CI2A), 2026 .
[CrossRef] -
Junaid, Md Rezanur Islam, Mohammad Shabaz, Fahad Algarni, Kangbin Yim, Aishah Alsehaim, Insaf Ullah. Multi-Vehicle Behavioral Framework for Proactive Threat Hunting in Heterogeneous In-Vehicle CAN Networks for Consumer Electronics.
IEEE Transactions on Consumer Electronics, 2026 , 72 (4).
[CrossRef] -
SiQi Zhan, ZhiZhan Xu, TaoTao Wang, FangLi Li. iEnhancer-XLNet3D: an enhancer identification method based on 3-mer tokenization optimization and encoder deep perception.
Journal of King Saud University Computer and Information Sciences, 2026 , 38 (4).
[CrossRef] -
Saddam I. D. Bakhat, Inam Ullah, Xiaoshan Bai, Weidong Zhang, Jianqiang Li, Shuzhi Sam Ge. Advancing Multirobot Task Allocation: A Comprehensive Review of Emerging Trends and Challenges.
IEEE Internet of Things Journal, 2026 , 13 (19).
[CrossRef]
Cite This Article
TY - JOUR AU - Khan, Fida Muhammad AU - Haider, Zeeshan Ali AU - Khan, Muhammad Owais AU - Ullah, Ashraf AU - Khan, Muhammad Shoaib AU - Fayaz, Muhammad AU - Ahmad, Mushtaq AU - Nabila PY - 2025 DA - 2025/08/29 TI - Intelligent Cyber-Attack Detection for Autonomous Vehicles Using Advanced Deep Learning Models JO - ICCK Transactions on Advanced Computing and Systems T2 - ICCK Transactions on Advanced Computing and Systems JF - ICCK Transactions on Advanced Computing and Systems VL - 1 IS - 3 SP - 180 EP - 192 DO - 10.62762/TACS.2025.952297 UR - https://www.icck.org/article/abs/tacs.2025.952297 KW - autonomous vehicles (AVs) KW - cyber-attack detection KW - internet of vehicles (IoV) KW - bidirectional encoder representations from transformers (BERT) KW - cybersecurity KW - smart cities AB - The Internet of Vehicles (IoV) has greatly influenced transportation by allowing autonomous vehicles to interact and communicate with other cars as well as with the surrounding traffic system. Even so, being interconnected comes with risks in terms of cyber attacks, for example, by injecting messages or fooling sensors through CAN systems. The study, consequently, suggests an Intrusion Detection System (IDS) that uses Convolutional Neural Networks (CNN), Recurrent Neural Networks (RNN), Long Short-Term Memory (LSTM), Bidirectional Encoder Representations from Transformers (BERT), and RoBERTa, to properly detect and handle these cyber threats. To solve the problem of unbalanced data, we use Random Over-Sampling (ROS), NearMiss, and Tomek Links, which makes the model work more effectively. Results from experiments show that the IDS suggested here is better than traditional machine learning models. Adopting cloud computing helps make the system more flexible and lets it be watched continually to keep AVs well protected. Experimental results show that RoBERTa achieves the highest performance with 99% accuracy and 97% F1-score across all resampling conditions, outperforming conventional machine learning baselines. An IDS in smart cities greatly benefits vehicle networks, as it hinders and stops possible cyberattacks. Future work will aim to improve IDS performance at scale and address emerging attack types. SN - 3068-7969 PB - Institute of Central Computation and Knowledge LA - English ER -
@article{Khan2025Intelligen,
author = {Fida Muhammad Khan and Zeeshan Ali Haider and Muhammad Owais Khan and Ashraf Ullah and Muhammad Shoaib Khan and Muhammad Fayaz and Mushtaq Ahmad and Nabila},
title = {Intelligent Cyber-Attack Detection for Autonomous Vehicles Using Advanced Deep Learning Models},
journal = {ICCK Transactions on Advanced Computing and Systems},
year = {2025},
volume = {1},
number = {3},
pages = {180-192},
doi = {10.62762/TACS.2025.952297},
url = {https://www.icck.org/article/abs/tacs.2025.952297},
abstract = {The Internet of Vehicles (IoV) has greatly influenced transportation by allowing autonomous vehicles to interact and communicate with other cars as well as with the surrounding traffic system. Even so, being interconnected comes with risks in terms of cyber attacks, for example, by injecting messages or fooling sensors through CAN systems. The study, consequently, suggests an Intrusion Detection System (IDS) that uses Convolutional Neural Networks (CNN), Recurrent Neural Networks (RNN), Long Short-Term Memory (LSTM), Bidirectional Encoder Representations from Transformers (BERT), and RoBERTa, to properly detect and handle these cyber threats. To solve the problem of unbalanced data, we use Random Over-Sampling (ROS), NearMiss, and Tomek Links, which makes the model work more effectively. Results from experiments show that the IDS suggested here is better than traditional machine learning models. Adopting cloud computing helps make the system more flexible and lets it be watched continually to keep AVs well protected. Experimental results show that RoBERTa achieves the highest performance with 99\% accuracy and 97\% F1-score across all resampling conditions, outperforming conventional machine learning baselines. An IDS in smart cities greatly benefits vehicle networks, as it hinders and stops possible cyberattacks. Future work will aim to improve IDS performance at scale and address emerging attack types.},
keywords = {autonomous vehicles (AVs), cyber-attack detection, internet of vehicles (IoV), bidirectional encoder representations from transformers (BERT), cybersecurity, smart cities},
issn = {3068-7969},
publisher = {Institute of Central Computation and Knowledge}
}
Publisher's Note
ICCK stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and Permissions
Copyright © 2025 by the Author(s). Published by Institute of Central Computation and Knowledge. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/), which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made.
Portico