[Paper Review] Advanced Analytics for Connected Cars Cyber Security
This paper proposes a hybrid machine learning system that detects cyberattacks in connected cars by monitoring cross-interface events (CAN, OS, network) and applying Hidden Markov Models (HMMs) with adaptive temporal thresholds. By abstracting raw data into events and using regression-based dynamic thresholding, the method outperforms static thresholds and detects complex, multi-vector attacks missed by CAN-only approaches, demonstrating strong scalability for fleet-wide monitoring.
The vehicular connectivity revolution is fueling the automotive industry's most significant transformation seen in decades. However, as modern vehicles become more connected, they also become much more vulnerable to cyber-attacks. In this paper, a fully working machine learning approach is proposed to protect connected vehicles (fleets and individuals) against such attacks. We present a system that monitors different vehicle's interfaces (Network, CAN and OS), extracts relevant information based on configurable rules and sends it to a trained generative model to detect deviations from normal behavior. Using configurable data collector, we provide a higher level of data abstraction as the model is trained based on events instead of raw data, which has a noise-filtering effect and eliminates the need to retrain the model whenever a protocol changes. We present a new approach for detecting anomalies, tailored to the temporal nature of our domain. Adapting the hybrid approach of Gutflaish et al. (2017) to the fully temporal setting, we first train a Hidden Markov Model to learn normal vehicle behavior, and then a regression model to calibrate the likelihood threshold for anomaly. Using this architecture, our method detects sophisticated and realistic anomalies, which are missed by other existing methods monitoring the CAN bus only. We also demonstrate the superiority of adaptive thresholds over static ones. Furthermore, our approach scales efficiently from monitoring individual cars to serving large fleets. We demonstrate the competitive advantage of our model via encouraging empirical results.
Motivation & Objective
- To address the growing vulnerability of connected vehicles to sophisticated, multi-vector cyberattacks due to increased connectivity and legacy systems.
- To overcome the limitations of CAN-bus-only monitoring by incorporating cross-system data from OS, network, and CAN interfaces.
- To develop a scalable, real-time anomaly detection system that adapts to evolving vehicle protocols without retraining.
- To improve detection accuracy by using event-based data abstraction and temporal modeling of normal behavior.
- To enable fleet-wide monitoring and cross-vehicle anomaly correlation through a cloud-based hybrid architecture.
Proposed method
- A rule-based data collector extracts high-level events from raw vehicle data across CAN, OS, and network interfaces, enabling protocol-agnostic abstraction.
- Hidden Markov Models (HMMs) are trained on event sequences to learn normal vehicle behavior patterns.
- A temporal regression model predicts expected log-likelihood values at each time step based on features like time since drive start and consecutive event intervals.
- Anomalies are detected by comparing actual log-likelihoods to predicted values from the regression model, enabling adaptive thresholding.
- The system uses a hybrid deployment: lightweight on-board collectors send processed events to a cloud backend for centralized HMM inference and fleet analytics.
- HMMs are trained per vehicle or grouped via clustering for scalable, large-scale fleet monitoring.
Experimental results
Research questions
- RQ1Can cross-interface monitoring (CAN, OS, network) detect sophisticated attacks that bypass traditional CAN-bus-only anomaly detection?
- RQ2Does event-based data abstraction improve model robustness and reduce the need for retraining after protocol changes?
- RQ3Can temporal modeling of log-likelihoods via regression improve anomaly detection over static thresholds?
- RQ4How does the system scale for real-time monitoring of individual vehicles and large fleets?
- RQ5Can cloud-based HMMs detect in-progress attacks by correlating anomalies across multiple vehicles?
Key findings
- The regression-based temporal thresholding approach significantly outperformed all static threshold methods across all detection modes and evaluation metrics.
- The system successfully detected complex, realistic anomalies involving multiple interfaces and attack vectors that were missed by CAN-bus-only monitoring.
- Event abstraction reduced noise and eliminated the need to retrain the model when underlying protocols changed.
- The hybrid on-board/backend architecture enabled real-time detection with scalable fleet monitoring and cross-vehicle anomaly correlation.
- HMMs trained per vehicle or in clusters using clustering techniques achieved high detection accuracy while maintaining computational feasibility.
- Empirical results demonstrated the system’s competitive advantage in detecting subtle, evolving attacks in real-world scenarios.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.