Detecting Masquerade Attacks in Controller Area Networks Using Graph Machine Learning
Open Access
- 21 November 2025
- journal article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Information Forensics and Security
- Vol. 20 (15566013) , 13127-13142
Abstract
Modern vehicles rely on a myriad of electronic control units (ECUs) interconnected via controller area networks (CANs) for critical operations. Despite their ubiquitous use and reliability, CANs are susceptible to sophisticated cyberattacks, particularly masquerade attacks, which inject false data that mimic legitimate messages at the expected frequency. These attacks pose severe risks such as unintended acceleration, brake deactivation, and rogue steering. Traditional intrusion detection systems (IDS) often struggle to detect these subtle intrusions due to their seamless integration into normal traffic. This paper introduces a novel framework for detecting masquerade attacks in the CAN bus using graph machine learning (ML). We hypothesize that the integration of shallow graph embeddings with time series features derived from CAN frames enhances the detection of masquerade attacks. We show that by representing CAN bus frames as message sequence graphs (MSGs) and enriching each node with contextual statistical attributes from time series, we can enhance detection capabilities across various attack patterns compared to using graph-based features only. Our method ensures a comprehensive and dynamic analysis of CAN frame interactions, improving robustness and efficiency. Extensive experiments on the ROAD dataset validate the effectiveness of our approach, demonstrating statistically significant improvements in the detection rates of masquerade attacks compared to a baseline that uses graph-based features only as confirmed by Mann-Whitney U and Kolmogorov-Smirnov tests (p < 0.05).Keywords
All Related Versions
Funding Information
- U.S. Department of Energy (DE-AC05-00OR22725)
- U.S. Department of Energy (DE-FE0032089)
- Oak Ridge National Laboratory
This publication has 44 references indexed in Scilit:
- A Graph-Based Strategy for Intrusion Detection in Connected Vehicles2024
- A survey on graph neural networks for intrusion detection systems: Methods, trends and challengesComputers & Security, 2024
- CANova: A hybrid intrusion detection framework based on automatic signal classification for CANComputers & Security, 2023
- Robust anomaly-based intrusion detection system for in-vehicle network by graph neural network frameworkApplied Intelligence, 2022
- GGNB: Graph-based Gaussian naive Bayes intrusion detection system for CAN busVehicular Communications, 2022
- Principled approach to the selection of the embedding dimension of networksNature Communications, 2021
- In-vehicle network intrusion detection using deep convolutional neural networkVehicular Communications, 2020
- Kolmogorov–Smirnov Test: Overview2014
- Understanding and Using the Controller Area Network Communication Protocol2012
- An introduction to ROC analysisPattern Recognition Letters, 2006