Intrusion Detection and Localization for Networked Embedded Control Systems

Vuk Lesi, Marcio Juliato, Shabbir Ahmed, Christopher Gutierrez, Qian Wang, Manoj R. SastryarXiv 2021 · arXiv

Modern vehicles and industrial plants are increasingly reliant on networked embedded control systems. In these setups, sensors, controllers, and actuators communicate over a shared bus, such as a Controller Area Network (CAN). While this connectivity enables advanced features like lane-keeping assistance, it also exposes critical physical processes to cyber-physical attacks.

The Security Gap in Networked Control

Traditional physics-based Intrusion Detection Systems (IDS) typically monitor the physical "plant" (e.g., the vehicle's steering or motor) to ensure its behavior aligns with known mathematical models. However, the authors of this paper identify three critical shortcomings in this conventional approach:

  1. The "Trusted Controller" Fallacy: Most systems assume the controller software is inherently secure. If an attacker compromises the controller itself, they can manipulate the system in ways that might appear "normal" to a plant-only monitor.
  2. Distinguishing Attacks from Environmental Noise: Physical systems are constantly subjected to "disturbances"—such as a car encountering a crosswind or a motor facing a sudden load change. Standard IDS often struggle to differentiate these legitimate physical events from malicious sensor spoofing, leading to high false-alarm rates.
  3. Lack of Localization: Detecting an anomaly is only the first step. To respond effectively, a system must pinpoint the source: is the sensor lying, is the actuator failing, or has the controller's logic been subverted?
Figure 1: Networked control system architecture showing potential internal (software) and external (network injection) attack vectors.

Proposed Methodology: A Context-Aware, Dual-Model IDS

To address these gaps, the researchers propose a centralized IDS that performs "analytical redundancy" by monitoring both the physical hardware and the software logic simultaneously.

Dual State Estimation

The core of the system consists of two parallel Kalman filters. One maintains a model of the Plant (the physical dynamics), while the other tracks the Controller (the software's control law). By comparing real-time network traffic against these mathematical expectations, the IDS generates "residuals"—the mathematical difference between predicted and observed behavior. If the controller's output doesn't match its logic given the inputs it received, the IDS can conclude the controller itself is compromised.

Context-Awareness and Adaptive Thresholding

To reduce false alarms caused by environmental disturbances, the system incorporates "context-awareness." By pulling data from auxiliary sensors—such as monitoring the DC current of a motor or the torque on a steering column—the IDS can distinguish between a hacker's injection and a physical load. This allows for Adaptive Thresholding, where the sensitivity of the alarm is adjusted in real-time based on the current operating environment.

Figure 2: The proposed IDS architecture featuring dual state estimators (Plant and Controller) and a detector module for context extraction and hypothesis testing.

Residual Patterning for Localization

The system localizes attacks by analyzing the specific combination of "tripped" residuals. For instance, if the Plant residual is high but the Controller residual is normal, the attack is likely a direct injection into sensor data on the network. Conversely, if both residuals are high, it may indicate a compromise of the controller's internal state or logic.

Experimental Evaluation

The approach was validated using two distinct environments: a high-fidelity Simulated Lane Keeping System in Matlab-Simulink and a Hardware Testbed consisting of a physical DC motor speed control system with ten Arduino-based ECUs communicating over a real CAN bus.

Key Results

The experimental results demonstrated that the system could successfully distinguish between attacks on sensors, controllers, and actuators. Notably, in the DC motor testbed, the IDS maintained a "no-attack" status even under heavy physical loads, proving the effectiveness of adaptive thresholding. Furthermore, the system detected "masquerading" attacks—where malicious messages are interleaved with legitimate ones—by identifying frequency anomalies and model deviations that traditional monitors would miss.

Limitations and Future Outlook

While robust, the system faces challenges from Zero-Dynamics Attacks, which are mathematically designed to stay within the "null space" of sensors, and "Boiling Frog" Attacks, which use slow, incremental changes to stay below noise thresholds. Future research aims to implement on-line system identification, allowing the IDS to automatically update its internal models as physical components wear down or change over time.

Summary updated

BibTeX
@misc{lesi2021intrusion,
  author = {Vuk Lesi and Marcio Juliato and Shabbir Ahmed and Christopher Gutierrez and Qian Wang and Manoj R. Sastry},
  title = {{Intrusion Detection and Localization for Networked Embedded Control Systems}},
  year = {2021},
  eprint = {2106.09826},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2106.09826},
}
Figure