Abstract
Connected vehicles represent a significant shift in automotive architecture, evolving into complex mobile data centers. This increased connectivity expands the cyber-attack surface beyond the traditional Control Area Network (CAN) bus. This paper introduces a novel intrusion detection system (IDS) that monitors cross-system events from the operating system, network, and CAN interfaces. By combining Hidden Markov Models (HMM) with a regression-based adaptive thresholding technique, the proposed system achieves high detection accuracy (AUC of 0.96) while maintaining resilience to protocol updates and varying driving conditions.
Introduction
Modern vehicles incorporate over 100 million lines of code and various wireless interfaces, such as Wi-Fi, Cellular, and Bluetooth. This connectivity introduces several security challenges that current automotive Intrusion Detection Systems (IDS) struggle to address. Most existing solutions are CAN-centric, potentially missing "silent" attacks on infotainment or telematics systems. Furthermore, traditional systems often rely on brittle, static rules that fail to account for the temporal sensitivity of vehicle operations, leading to high false-positive rates.
Methodology
The proposed system utilizes a two-stage hybrid architecture designed for flexibility and accuracy.
Data Abstraction and Event Layer
To ensure protocol agnosticism, raw sensor data is processed through a rule-based engine to generate high-level "Events" (e.g., "USB Inserted" or "File Accessed"). This abstraction allows the underlying machine learning models to remain valid even if low-level communication protocols change, such as a transition from CAN to Automotive Ethernet.
HMM-Regression Hybrid Model
The core of the detection engine is a Hidden Markov Model (HMM) trained to recognize the "grammar" of normal vehicle behavior. To overcome the limitations of static log-likelihood thresholds, a regression model is employed to predict the expected HMM score based on temporal features like drive duration. An anomaly is flagged only when the actual HMM score deviates significantly from this adaptive, predicted baseline.
Experimental Evaluation
Due to the sensitivity of real-world automotive attack data, the researchers utilized a sophisticated simulation environment. Using the Simulation of Urban MObility (SUMO) tool, realistic traffic patterns were generated for a fleet of vehicles. The dataset included over 4,000 simulated drives featuring logical sequences like "Car Entry" and "Firmware Update." Realistic attack scenarios, such as out-of-order events and malicious firmware updates, were injected alongside "noise" (e.g., network fluctuations) to ensure the model's robustness.
Results and Discussion
The system was evaluated using two data transformation methods: EventID (event type only) and Discrete (event type with additional attributes).
As shown in the ROC analysis above, the regression-based adaptive threshold consistently outperforms static thresholding. The adaptive approach allows the system to "calibrate its surprise," effectively reducing false positives while maintaining high sensitivity to genuine anomalies.
The comprehensive results in the table above demonstrate that both EventID and Discrete transformations can reach an AUC of 0.96 as the number of hidden states increases. The regression-based technique proved superior in every test case, highlighting the value of temporal context in anomaly detection.
Conclusion
This research demonstrates that cross-system monitoring and adaptive thresholding are essential for securing modern connected vehicles. By moving beyond the CAN bus and utilizing HMM-Regression hybrids, the proposed system offers a robust, protocol-agnostic solution for real-time cyber-security. Future work will focus on testing the system with physical vehicle fleets and optimizing the computational overhead for on-board deployment.
Summary updated