Supervised Machine Learning for Real-Time Intrusion Attack Detection in Connected and Autonomous Vehicles: A Security Paradigm Shift

Recent improvements in self-driving and connected cars promise to enhance traffic safety by reducing risks and accidents. However, security concerns limit their acceptance. These vehicles, interconnected with infrastructure and other cars, are vulnerable to cyberattacks, which could lead to severe c...

Full description

Saved in:
Bibliographic Details
Main Authors: Ahmad Aloqaily, Emad E. Abdallah, Hiba AbuZaid, Alaa E. Abdallah, Malak Al-hassan
Format: Article
Language:English
Published: MDPI AG 2025-01-01
Series:Informatics
Subjects:
Online Access:https://www.mdpi.com/2227-9709/12/1/4
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1850090698145005568
author Ahmad Aloqaily
Emad E. Abdallah
Hiba AbuZaid
Alaa E. Abdallah
Malak Al-hassan
author_facet Ahmad Aloqaily
Emad E. Abdallah
Hiba AbuZaid
Alaa E. Abdallah
Malak Al-hassan
author_sort Ahmad Aloqaily
collection DOAJ
description Recent improvements in self-driving and connected cars promise to enhance traffic safety by reducing risks and accidents. However, security concerns limit their acceptance. These vehicles, interconnected with infrastructure and other cars, are vulnerable to cyberattacks, which could lead to severe costs, including physical injury or death. In this article, we propose a framework for an intrusion detection system to protect internal vehicle communications from potential attacks and ensure secure sent/transferred data. In the proposed system, real auto-network datasets with Spoofing, DoS, and Fuzzy attacks are used. To accurately distinguish between benign and malicious messages, this study employed seven distinct supervised machine-learning algorithms for data classification. The selected algorithms encompassed Decision Trees, Random Forests, Naive Bayes, Logistic Regression, XG Boost, LightGBM, and Multi-layer Perceptrons. The proposed detection system performed well on large real-car hacking datasets. We achieved high accuracy in identifying diverse electronic intrusions across the complex internal networks of connected and autonomous vehicles. Random Forest and LightGBM outperformed the other algorithms examined. Random Forest outperformed the other algorithms in the merged dataset trial, with 99.9% accuracy and the lowest computing cost. The LightGBM algorithm, on the other hand, performed admirably in the domain of binary classification, obtaining the same remarkable 99.9% accuracy with no computing overhead.
format Article
id doaj-art-e2a7bbe8c31e41c5985879dd093de8e4
institution DOAJ
issn 2227-9709
language English
publishDate 2025-01-01
publisher MDPI AG
record_format Article
series Informatics
spelling doaj-art-e2a7bbe8c31e41c5985879dd093de8e42025-08-20T02:42:31ZengMDPI AGInformatics2227-97092025-01-01121410.3390/informatics12010004Supervised Machine Learning for Real-Time Intrusion Attack Detection in Connected and Autonomous Vehicles: A Security Paradigm ShiftAhmad Aloqaily0Emad E. Abdallah1Hiba AbuZaid2Alaa E. Abdallah3Malak Al-hassan4Department of Information Technology, Faculty of Prince Al-Hussein Bin Abdullah II for Information Technology, The Hashemite University, P.O. Box 330127, Zarqa 13133, JordanDepartment of Information Technology, Faculty of Prince Al-Hussein Bin Abdullah II for Information Technology, The Hashemite University, P.O. Box 330127, Zarqa 13133, JordanDepartment of Information Technology, Faculty of Prince Al-Hussein Bin Abdullah II for Information Technology, The Hashemite University, P.O. Box 330127, Zarqa 13133, JordanDepartment of Computer Science, Faculty of Prince Al-Hussein Bin Abdullah II for Information Technology, The Hashemite University, P.O. Box 330127, Zarqa 13133, JordanDepartment of Information Technology, King Abdullah II School of Information Technology, The University of Jordan, Amman 11942, JordanRecent improvements in self-driving and connected cars promise to enhance traffic safety by reducing risks and accidents. However, security concerns limit their acceptance. These vehicles, interconnected with infrastructure and other cars, are vulnerable to cyberattacks, which could lead to severe costs, including physical injury or death. In this article, we propose a framework for an intrusion detection system to protect internal vehicle communications from potential attacks and ensure secure sent/transferred data. In the proposed system, real auto-network datasets with Spoofing, DoS, and Fuzzy attacks are used. To accurately distinguish between benign and malicious messages, this study employed seven distinct supervised machine-learning algorithms for data classification. The selected algorithms encompassed Decision Trees, Random Forests, Naive Bayes, Logistic Regression, XG Boost, LightGBM, and Multi-layer Perceptrons. The proposed detection system performed well on large real-car hacking datasets. We achieved high accuracy in identifying diverse electronic intrusions across the complex internal networks of connected and autonomous vehicles. Random Forest and LightGBM outperformed the other algorithms examined. Random Forest outperformed the other algorithms in the merged dataset trial, with 99.9% accuracy and the lowest computing cost. The LightGBM algorithm, on the other hand, performed admirably in the domain of binary classification, obtaining the same remarkable 99.9% accuracy with no computing overhead.https://www.mdpi.com/2227-9709/12/1/4autonomous vehiclesvehicle securityintrusion detectionconnected vehiclescyber securitymachine-learning
spellingShingle Ahmad Aloqaily
Emad E. Abdallah
Hiba AbuZaid
Alaa E. Abdallah
Malak Al-hassan
Supervised Machine Learning for Real-Time Intrusion Attack Detection in Connected and Autonomous Vehicles: A Security Paradigm Shift
Informatics
autonomous vehicles
vehicle security
intrusion detection
connected vehicles
cyber security
machine-learning
title Supervised Machine Learning for Real-Time Intrusion Attack Detection in Connected and Autonomous Vehicles: A Security Paradigm Shift
title_full Supervised Machine Learning for Real-Time Intrusion Attack Detection in Connected and Autonomous Vehicles: A Security Paradigm Shift
title_fullStr Supervised Machine Learning for Real-Time Intrusion Attack Detection in Connected and Autonomous Vehicles: A Security Paradigm Shift
title_full_unstemmed Supervised Machine Learning for Real-Time Intrusion Attack Detection in Connected and Autonomous Vehicles: A Security Paradigm Shift
title_short Supervised Machine Learning for Real-Time Intrusion Attack Detection in Connected and Autonomous Vehicles: A Security Paradigm Shift
title_sort supervised machine learning for real time intrusion attack detection in connected and autonomous vehicles a security paradigm shift
topic autonomous vehicles
vehicle security
intrusion detection
connected vehicles
cyber security
machine-learning
url https://www.mdpi.com/2227-9709/12/1/4
work_keys_str_mv AT ahmadaloqaily supervisedmachinelearningforrealtimeintrusionattackdetectioninconnectedandautonomousvehiclesasecurityparadigmshift
AT emadeabdallah supervisedmachinelearningforrealtimeintrusionattackdetectioninconnectedandautonomousvehiclesasecurityparadigmshift
AT hibaabuzaid supervisedmachinelearningforrealtimeintrusionattackdetectioninconnectedandautonomousvehiclesasecurityparadigmshift
AT alaaeabdallah supervisedmachinelearningforrealtimeintrusionattackdetectioninconnectedandautonomousvehiclesasecurityparadigmshift
AT malakalhassan supervisedmachinelearningforrealtimeintrusionattackdetectioninconnectedandautonomousvehiclesasecurityparadigmshift