EN
Performance comparison of machine learning models on a novel in-vehicle controller area network dataset
Abstract
The advancement of technology has significantly enhanced comfort and welfare across all aspects of life, particularly in the field of transportation. One notable development is the growing adoption of autonomous vehicles, driven by the integration of smart systems into automobiles. However, the sophisticated systems and networks within autonomous vehicles have also opened new avenues for cyberattacks. These attacks typically aim to achieve one of three objectives: gaining unauthorized control of system components, overloading the system network to slow its operation, or causing a system crash. The potentially severe consequences of such cyberattacks have underscored the urgent need for robust security measures to protect autonomous vehicles. This study focuses on detecting cyberattacks targeting in-vehicle networks of smart vehicles using machine learning models. A simulation environment was developed to generate cyberattack scenarios, resulting in the creation of a dataset. This dataset was then analyzed using classification algorithms, including XGBoost, LightGBM, Random Forest, and Decision Trees. Performance comparisons revealed that XGBoost achieved the highest accuracy at 86.22% and F1 Score at 79.7%, while the Decision Tree algorithm had the lowest accuracy at 80.7% and F1 Score at 72.5%. In addition, the LightGBM algorithm had an accuracy rate of 85.83% and the Random Forest algorithm had an accuracy rate of 85.84%. The findings of this study are expected to contribute to the efforts of smart vehicle security experts in mitigating cyber threats and raising awareness about the importance of cybersecurity in autonomous vehicles.
Keywords
References
- 1. Huang, T., J. Zhou, Y. Wang, and A. Cheng, On the security of in-vehicle hybrid network: Status and challenges, in Lecture Notes in Computer Science, 2017. Melbourne: p.621-637.
- 2. Chakraborty, S., M. Lukasiewycz, C. Buckl, S. Fahmy, N.Chang and S. Park, Embedded systems and software challenges in electric vehicles, in 2012 Design, Automation & Test in Europe Conference & Exhibition (DATE), 2012. Dresden: p. 424–429.
- 3. Du, X., S. Jiang, D. Zhou, A. B. Milhim, and H. Sadjadi, Ground Fault Diagnostics for Automotive Electronic Control Units, Int. J. Progn. Heal. Manag., 2023. 14(3): p. 1-13.
- 4. Buttigieg, R., M. Farrugia, and C. Meli, Security issues in controller area networks in automobiles, in 2017 18th International Conference on Sciences and Techniques of Automatic Control and Computer Engineering (STA), IEEE, Dec. 2017. Monastir: p. 93–98.
- 5. Shaw, R. and B. Jackman, An introduction to FlexRay as an industrial network, in IEEE International Symposium on Industrial Electronics, IEEE, Jun. 2008. Cambridge: p. 1849–1854.
- 6. Wolf, M., A. Weimerskirch, and C. Paar, Security in Automotive Bus Systems, Proc. Work. Embed. Secur. Cars, 2004. 2004: p. 1–13.
- 7. Hossain, M. D., H. Inoue, H. Ochiai, D. Fall, and Y. Kadobayashi, LSTM-Based Intrusion Detection System for In-Vehicle Can Bus Communications, IEEE Access, 2020. 8: p. 185489–185502.
- 8. Hanselmann, M., T. Strauss, K. Dormann, and H. Ulmer, CANet: An Unsupervised Intrusion Detection System for High Dimensional CAN Bus Data, IEEE Access, 2020. 8: p. 58194–58205.
Details
Primary Language
English
Subjects
Software Engineering (Other)
Journal Section
Research Article
Publication Date
August 20, 2025
Submission Date
December 27, 2024
Acceptance Date
July 22, 2025
Published in Issue
Year 2025 Volume: 9 Number: 2
APA
Gül, B., & Ertam, F. (2025). Performance comparison of machine learning models on a novel in-vehicle controller area network dataset. International Advanced Researches and Engineering Journal, 9(2), 78-88. https://doi.org/10.35860/iarej.1607108
AMA
1.Gül B, Ertam F. Performance comparison of machine learning models on a novel in-vehicle controller area network dataset. Int. Adv. Res. Eng. J. 2025;9(2):78-88. doi:10.35860/iarej.1607108
Chicago
Gül, Batuhan, and Fatih Ertam. 2025. “Performance Comparison of Machine Learning Models on a Novel In-Vehicle Controller Area Network Dataset”. International Advanced Researches and Engineering Journal 9 (2): 78-88. https://doi.org/10.35860/iarej.1607108.
EndNote
Gül B, Ertam F (August 1, 2025) Performance comparison of machine learning models on a novel in-vehicle controller area network dataset. International Advanced Researches and Engineering Journal 9 2 78–88.
IEEE
[1]B. Gül and F. Ertam, “Performance comparison of machine learning models on a novel in-vehicle controller area network dataset”, Int. Adv. Res. Eng. J., vol. 9, no. 2, pp. 78–88, Aug. 2025, doi: 10.35860/iarej.1607108.
ISNAD
Gül, Batuhan - Ertam, Fatih. “Performance Comparison of Machine Learning Models on a Novel In-Vehicle Controller Area Network Dataset”. International Advanced Researches and Engineering Journal 9/2 (August 1, 2025): 78-88. https://doi.org/10.35860/iarej.1607108.
JAMA
1.Gül B, Ertam F. Performance comparison of machine learning models on a novel in-vehicle controller area network dataset. Int. Adv. Res. Eng. J. 2025;9:78–88.
MLA
Gül, Batuhan, and Fatih Ertam. “Performance Comparison of Machine Learning Models on a Novel In-Vehicle Controller Area Network Dataset”. International Advanced Researches and Engineering Journal, vol. 9, no. 2, Aug. 2025, pp. 78-88, doi:10.35860/iarej.1607108.
Vancouver
1.Batuhan Gül, Fatih Ertam. Performance comparison of machine learning models on a novel in-vehicle controller area network dataset. Int. Adv. Res. Eng. J. 2025 Aug. 1;9(2):78-8. doi:10.35860/iarej.1607108
