Ensemble-based Intrusion Detection System for Electric Vehicles Charging Stations using Machine Learning
Keywords:
Intrusion Detection System, Machine Learning, Electric vehicle Charging Stations, Canadian Institute of Cybersecurity EV charger attack dataset 2024, Ensemble modelAbstract
Traditional Vehicles have an adverse effect on the environment. Therefore, the current technological shift is constantly seeking an alternative to replace traditional vehicles fueled by fossil fuels, and Electric vehicles are, so far, the best alternative. The adoption of Electric Vehicles (EVs) is growing rapidly due to their eco-friendly benefits and technological advancements. This growth, however, brings a significantly larger attack surface due to increased interconnectivity between electric vehicles, charging stations and the smart grid system. To prevent such types of attacks, we need a robust system to detect them beforehand and prevent the system from being compromised. Although some prior work has been conducted in this area, their approaches did not incorporate deep learning algorithms, nor did they evaluate model performance under noisy data conditions. Therefore, we proposed a novel ensemble-based intrusion detection system (IDS) to detect these attacks in Electric Vehicle Charging Stations (EVCS). We implement different Machine learning algorithms such as k-nearest neighbors (KNN), Logistic Regression (LR), Support Vector Machine (SVM) and Decision Tree (DT). Moreover, as different types of malwares often exhibit distinct structural characteristics when visualized as images, we also use Convolutional Neural Networks (CNNs) to detect such attacks and malware. We are focusing on detecting attacks in Electric vehicle charging stations by analyzing the network traffic. For this, we utilize the latest labelled dataset, the Canadian Institute of Cybersecurity EV Charger Attack Dataset 2024 (CICEVSE2024), which is a multidimensional dataset containing both benign and attack data. We then evaluate & compare the performance of these algorithm in detecting the network traffic attacks in Electric Vehicle Charging Stations (EVCS). Our proposed model employs an ensemble voting strategy to combine the predictions from different classifiers, thereby improving the system's robustness and accuracy, and achieves an accuracy of 99.5% in detecting cyberattacks. With the addition of small noise to the dataset, a few individual classifiers perform poorly; however, the ensemble model still maintains an accuracy of 99.2%.
Downloads
References
M. Abboud, "U.S. Energy Information Adminstration," Wards Intelligence, 26 August 2024. [Online]. Available: https://www.eia.gov/todayinenergy/detail.php?id=62924.
"From Experimental to Massive-Scale Attacks," Upstream, 2024. [Online]. Available: https://upstream.auto/reports/global-automotive-cybersecurity-report/.
E. D. Buedi, A. A. Ghorbani and . S. Dad, "Enhancing EV Charging Station Security Using A Multi-dimensional Dataset : CICEVSE2024," in ESORICS 2024 Conference, 2024.
L. Zorko, "EV Charging Ecosystem: Explaining the big picture behind it," Tridens Technology, 3 April 2023. [Online]. Available: https://tridenstechnology.com/ev-charging-ecosystem/.
M. S. Mastoi, S. Zhuang, H. M. Munir, M. Haris, M. Hassan, M. Alqarni and B. Alamri, "A study of charging-dispatch strategies and vehicle-to-grid technologies for electric vehicles in distribution networks," Energy Reports, vol. 9, pp. 1777-1806, 2023.
S. Hamdare, O. Kaiwartya, M. Aljaidi, M. Jugran, Y. Cao, S. Kumar, M. Mahmud, D. Brown and J. Lloret, "Cybersecurity Risk Analysis of Electric Vehicles Charging Stations," Sensors, vol. 23, 2023.
G. Baran, "Researchers Uncovered 24 Zero-days in Pwn2Own Automotive : Day 1," Cyber Security News, 24 January 2024. [Online]. Available: https://cybersecuritynews.com/pwn2own-automotive-2024-day-1/.
J. Vijayan, "Tesla Model 3 Hacked in Less Than 2 Minutes at Pwn2Own Contest," Dark Reading, 15 March 2023. [Online]. Available: https://www.darkreading.com/vulnerabilities-threats/tesla-model-3-hacked-2-minutes-pwn2own-contest.
J. Wei and C. Pu, "TOCTTOU Vulnerabilities in UNIX-Style File Systems: An Anatomical Study," in 4th USENIX Conference on File and Storage Technologies (FAST 05), USENIX Association, 2005.
D. Colombo, "How I got access to 25+ Tesla’s around the world. By accident. And curiosity.," Medium, 24 January 2022. [Online]. Available: https://medium.com/@david_colombo/how-i-got-access-to-25-teslas-around-the-world-by-accident-and-curiosity-8b9ef040a028.
A. Laughlin, "Pod Point electric car chargers: security flaw may have put 140,000 app users' data at risk," Which?, 4 November 2021. [Online]. Available: https://www.which.co.uk/news/article/pod-point-electric-car-chargers-security-flaw-may-have-put-140000-app-users-data-at-risk-auIw98m8nI0u.
M. ElKashlan, H. Aslan, M. S. Elsayed, A. D. Jurcut and M. A. Azer, "Intrusion Detection for Electric Vehicle Charging Systems (EVCS)," Algorithms, vol. 16, no. 2, p. 75, 2023.
D. Kilichev, D. Turimov and W. Kim, "Next–Generation Intrusion Detection for IoT EVCS: Integrating CNN, LSTM, and GRU Models," Mathematics, vol. 12, no. 4, p. 571, 2024.
M. Basnet and M. Hasan Ali, "Deep Learning-based Intrusion Detection System for Electric Vehicle Charging Station," in 2020 2nd International Conference on Smart Power & Internet Energy Systems (SPIES), 2020.
S. Islam, S. Badsha, S. Sengupta, I. Khalil and M. Atiquzzaman, "An Intelligent Privacy Preservation Scheme for EV Charging Infrastructure," IEEE Transactions on Industrial Informatics, vol. 19, no. 2, pp. 1238-1247, 2023.
S. Vinod Miskin, P. Chandaragi and U. V Wali, "Intrusion Detection System for Electric Vehicle Charging Station," in 2023 3rd International Conference on Mobile Networks and Wireless Communications (ICMNWC), 2023, pp. 1-7.
M. Basnet and M. H. Ali, "WCGAN-Based Cyber-Attacks Detection System in the EV Charging Infrastructure," in 2022 4th International Conference on Smart Power & Internet Energy Systems (SPIES), 2022, pp. 1761-1766.
M. Al-Mehdhar, A. Albaseer, M. Abdallah and A. Al-Fuqaha, "Charging Ahead: A Hierarchical Adversarial Framework for Counteracting Advanced Cyber Threats in EV Charging Stations," in 2024 IEEE 99th Vehicular Technology Conference (VTC2024-Spring), 2024, pp. 1-6.
P. Viboonsang and S. Kosolsombat, "Network Intrusion Detection System Using Machine Learning and Deep Learning," in 2024 IEEE International Conference on Cybernetics and Innovations (ICCI), 2024, pp. 1-6.
V. Kondu and S. Chandana, "Machine Learning and Deep Learning-Based Anomaly Detection for Electric Vehicle Charging Infrastructure and Industrial Internet of Things," Iowa State University ProQuest Dissertations & Theses, 2024.
A. Hussain, A. Yadav and G. Ravikumar, "Anomaly Detection using Bi-Directional Long Short-Term Memory Networks for Cyber-Physical Electric Vehicle Charging Stations," IEEE Transactions on Industrial Cyber-Physical Systems, pp. 1-11, 2024.
"CIC EV charger attack dataset 2024 (CICEVSE2024)," Canadian Institute of Cybersecurity, 2024. [Online]. Available: https://www.unb.ca/cic/datasets/evse-dataset-2024.html. [Accessed 08 September 2024].
Published
How to Cite
Issue
Section
Copyright (c) 2025 Bishal K C, Kshitiz Aryal, Sansrit Paudel

This work is licensed under a Creative Commons Attribution 4.0 International License.
