EUVIMEDEUVIMED entdecken
Open Access · CC BY 4.0

A Two-Stage Hybrid Intrusion Detection System for CAN Bus Based on Statistical Thresholds and Random Forest Classifiers

Luis Ferreira, Rafael Abreu, Frederico Branco, Manuel J. C. S. Reis, Carlos Serôdio, António Valente

Electronics · 22.05.2026 · 15 (11) · 2239

DOI: 10.3390/electronics15112239 ↗

Kurz gefasst

Fachartikel in der Zeitschrift Electronics, online erschienen am 22.05.2026. Verfasst von Luis Ferreira und 5 weiteren Autor:innen. Die Arbeit nennt 24 Literaturangaben. Der Volltext ist frei zugänglich (Open Access, CC BY 4.0). Gefördert von: A-MoVeR.

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

This study proposes a two-stage Intrusion Detection System (IDS) for Controller Area Networks (CAN) that leverages protocol-specific timing characteristics. Modern vehicular networks are vulnerable to injection attacks due to the CAN protocol’s lack of built-in authentication. Our methodology transforms raw CAN traffic into a structured feature space consisting of CAN IDs, message offsets, and inter-message intervals derived from the CAN Remote Frame request–response mechanism. The first stage applies unsupervised z-score statistical thresholding, requiring no labeled attack data. The second stage employs three independent binary Random Forest (RF) classifiers for precise characterization. Individual classifiers achieve F1-scores of 0.96 (Fuzzy), 0.77 (DoS), and 0.79 (Impersonation). In the integrated end-to-end pipeline, while the system effectively filters 97% of legitimate traffic, a performance stratification is observed: high detection is maintained for timing-disruptive attacks (Fuzzy), whereas timing-preserving attacks (DoS, Impersonation) exhibit lower recall due to the restrictive nature of the timing-only first-stage gating mechanism. Hardware profiling confirmed an inference latency of ∼0.018 ms and footprint of 8.8–19.2 MB, offering a deployable, computationally efficient defense for legacy automotive environments.

Förderung

  • A-MoVeR

Zitieren

APA

Ferreira, L., Abreu, R., Branco, F., Reis, M. J. C. S., Serôdio, C., & Valente, A. (2026). A Two-Stage Hybrid Intrusion Detection System for CAN Bus Based on Statistical Thresholds and Random Forest Classifiers. Electronics, 15(11), 2239. https://doi.org/10.3390/electronics15112239

Vancouver

Ferreira L, Abreu R, Branco F, Reis MJCS, Serôdio C, Valente A. A Two-Stage Hybrid Intrusion Detection System for CAN Bus Based on Statistical Thresholds and Random Forest Classifiers. Electronics. 2026;15(11):2239. doi:10.3390/electronics15112239

BibTeX
@article{Ferreira2026,
  author = {Ferreira, Luis and Abreu, Rafael and Branco, Frederico and Reis, Manuel J. C. S. and Serôdio, Carlos and Valente, António},
  title = {A Two-Stage Hybrid Intrusion Detection System for CAN Bus Based on Statistical Thresholds and Random Forest Classifiers},
  journal = {Electronics},
  year = {2026},
  volume = {15},
  number = {11},
  pages = {2239},
  doi = {10.3390/electronics15112239}
}
Kostenlos starten →