← Lab /AI/ML

GNN framework detects CAN masquerade attacks with up to 0.999 AUC

PhantoMasq achieves mean AUC-ROC between 0.831 and 0.999 and outperforms prior graph-embedding IDS on five attack types

AI/ML arXiv 19 Nov 2026 Method Prototype evidence

Published as “Phantom of the Masquerade: Graph Neural Network-Based Detection of Masquerade Attacks in Controller Area Networks”

Why it matters

The approach shows that GNN-based IDS can detect CAN masquerade attacks with millisecond-scale latency on commodity CPUs, suggesting potential for near-real-time deployment in vehicles, pending validation on automotive-grade hardware.

Summary

PhantoMasq achieves mean AUC-ROC between 0.831 and 0.999 across five masquerade attack types on the public ROAD dataset, outperforming a prior graph-embedding baseline and showing low latency (2.33-5.94 ms per window) on CPU. The evidence comes from 468 capture-configuration experiments with multiple window sizes and random seeds, but performance drops for low-prevalence or sparsely transmitted attacks and real-time feasibility on embedded automotive hardware is not yet proven.

What they found 3

  1. Overall detection performance

    “Across five masquerade attack types, PhantoMasq achieves mean AUC-ROC between 0.831 and 0.999.”

  2. High detection for large-deviation, high-frequency attacks

    “Both attacks are detected almost perfectly, averaging 0.999 and 0.988 AUC-ROC across configurations, respectively.”

  3. Runtime latency on CPU

    “window-processing TTW ranges from 2.33 to 5.94 ms across all 468 capture-configuration experiments (mean 4.68 ms, standard deviation 0.66 ms).”

Caveats 6

  • Performance on the max engine coolant attack is lower (mean AUC-ROC 0.831) and its AUC-PR is only 0.218 despite a 0.831 AUC-ROC.
  • The baseline attains a higher maximum AUC-ROC for the max engine coolant attack (0.97 vs. 0.889).
  • real-time feasibility on embedded automotive processors remains to be confirmed.
  • Future work includes evaluating generalization across captures, attack types, and datasets
  • while performance is lower for attacks that alter a single bit or target a sparsely transmitted identifier.
  • These differences should be considered when interpreting the reported performance.

What’s new here 4

  • Represents CAN traffic as message sequence graphs that jointly capture structural and temporal information.
  • Formulates detection as a graph-level classification problem using end-to-end GCN learning rather than shallow graph embeddings.
  • Evaluates under a protocol that prevents overlapping windows between training and test data, improving reproducibility.
  • Provides open-source implementation and experimental artifacts.