MetaCAN: An Optimized Adaptive Hybrid Metaheuristic-based Intrusion Detection System for CAN Bus Security

Research output: Contribution to journalArticlepeer-review

66 Downloads (Pure)

Abstract

The Controller Area Network (CAN) bus is a message-based protocol widely used in modern vehicles to facilitate communication between various Electronic Control Units (ECUs). However, its simplistic design lacks fundamental security measures, making it highly susceptible to cyberattacks. These vulnerabilities pose significant risks to vehicle safety, highlighting the critical need for implementation of effective intrusion detection systems (IDS). Therefore, in this paper, a machine learning based IDS optimized through an adaptive hybrid metaheuristic approach, named MetaCAN, is proposed to secure the CAN bus. MetaCAN leverages the complementary strengths of particle swarm optimization (PSO) for fast convergence and cuckoo search (CS) for robust global search to ensure effective hyperparameter tuning and model optimization. MetaCAN is evaluated using three real-world datasets including Survival Analysis, Car Hacking: Attack \& Defense Challenge 2020, and OTIDS. Unlike traditional binary detection systems, MetaCAN offers multi-class attack detection by identifying five distinct attack types including Denial of Service (DoS), fuzzy, masquerade, malfunction, and replay attacks. Moreover, the detection accuracy of the system is enhanced through a feature engineering process that introduces two effective features such as Time Interval and ID Repetition Count. The experimental results show that MetaCAN consistently outperforms existing IDS solutions targetted the same datasets, making it a promising solution for securing the CAN bus in real-world vehicular environments.
Original languageEnglish
Article number100956
Number of pages26
JournalVehicular Communications
Volume55
Early online date10 Jul 2025
DOIs
Publication statusPublished - Oct 2025

Bibliographical note

This is an open access article under the CC BY license (http://creativecommons.org/licenses/by/4.0/).

Funding

This work was partially supported by the Scientific and Technological Research Council of Turkiye (TUBITAK) under the 2219 International Post-doctoral Research Fellowship Programme, grant number 1059B192301714.

FundersFunder number
The Scientific and Technological Research Council of Turkey 1059B192301714

    Keywords

    • CAN bus
    • Intrusion Detection System
    • In-vehicle Security
    • Machine Learning
    • Metaheuristic Optimization

    Fingerprint

    Dive into the research topics of 'MetaCAN: An Optimized Adaptive Hybrid Metaheuristic-based Intrusion Detection System for CAN Bus Security'. Together they form a unique fingerprint.

    Cite this