Inter-message correlation for intrusion detection in controller area networks

Sang Uk Sagong, Radha Poovendran, Linda BushnellDokumentenrepositorium 2019 · DOI

Abstract

Electronic Control Units (ECUs) exchange data via in-vehicle network protocols such as the Controller Area Network (CAN) protocol. These protocols do not encrypt data or authenticate messages since they were designed for an isolated network. Many studies have developed Intrusion Detection Systems (IDSs) that fingerprint each ECU to secure the CAN protocol. These IDSs, however, cannot detect an attack in which an adversary spoofs sensor measurements or control signals in a message without changing the transmitter of that message. In order to detect such attacks, we develop a motion-based IDS (MIDS) that exploits the correlation between messages that convey the same information of a vehicle’s movement, such as vehicle speed. We also introduce a new metric to quantify the effectiveness of MIDS. We evaluate MIDS using CAN data from two real vehicles by demonstrating that MIDS can detect the attacks on the CAN bus or ECUs.

The Challenge of Data Falsification

Modern vehicles rely on the Controller Area Network (CAN) protocol, which was designed for isolated environments and lacks basic security features like encryption or authentication. While researchers have developed Intrusion Detection Systems (IDSs) that "fingerprint" Electronic Control Units (ECUs) based on physical characteristics (like clock skew or voltage levels), these systems have a major blind spot.

Comparison of masquerade and data falsification attacks

If an adversary compromises a legitimate ECU—perhaps through a telematics unit or a diagnostic port—they can send falsified sensor data (e.g., reporting a lower speed than actual) while maintaining the ECU's original physical "fingerprint." This is known as a data falsification attack. Because the transmitter hasn't changed, fingerprinting-based IDSs are bypassed. MIDS aims to close this gap by using the laws of physics as a "ground truth."

MIDS Architecture

The MIDS architecture consists of two primary components designed to monitor the physical consistency of the data stream:

MIDS architecture featuring Correlation Computer and CUSUM Detector
  1. Correlation Computer: This component extracts sensor measurements (like wheel speeds, vehicle speed, and odometer readings) from CAN messages. It uses a sliding window ($w$) to calculate the Pearson correlation coefficient ($\rho$) between pairs of signals in real-time. Under normal conditions, these signals are highly correlated ($\rho > 0.99$) because they describe the same physical movement.
  2. CUSUM Detector: To detect when the correlation breaks down, the system employs a Cumulative Sum (CUSUM) algorithm. CUSUM tracks the drift of the correlation coefficient from its normal mean. If the cumulative deviation ($L^+$ or $L^-$) exceeds a specific threshold ($\Gamma$), an alert is triggered. If no attack is detected, the system updates the reference mean ($\mu_\rho$) and standard deviation ($\sigma_\rho$) to adapt to changing driving conditions.

Experimental Evaluation

The researchers evaluated MIDS using data from two real-world sources:

  • 2016 Chevrolet Camaro: Data was collected via a Vector GL1000 logger during 68 minutes of road driving and 24 minutes on a chassis dynamometer (to simulate specific events like wheelspin).
  • 2010 Toyota Camry: The authors utilized a publicly available dataset of CAN logs containing four wheel speed sensors and vehicle speed data.

Key Insights

  • Physics as a Security Primitive: While an attacker can spoof a message ID or a clock skew, it is much harder to spoof multiple, physically-linked sensor streams in a way that remains internally consistent.
  • The $\epsilon$-Deviation Index ($\epsilon$-DI): The authors introduce this new metric to quantify the "gray area" of an IDS. It represents the range of disturbance an attacker might introduce without being detected. A smaller $\epsilon$-DI indicates a more sensitive and effective detector.
  • Window Size Trade-offs: The choice of window size ($w$) is critical. A larger window reduces noise and makes the detector more stable, but it can also change the $\epsilon$-DI depending on the specific vehicle's signal characteristics.

Results and Conclusion

In the Camaro tests, the correlation coefficient dropped from $>0.99$ to as low as $0.72$ when Gaussian noise was injected into the speed signal, leading to immediate detection. MIDS also successfully detected simulated "wheelspin" attacks. For the Camaro, increasing the window size from 750 to 1500 samples reduced the $\epsilon$-DI from 18 to 1.5, significantly narrowing the window of opportunity for an attacker.

MIDS provides a robust layer of defense against sophisticated data falsification attacks by leveraging the inherent physical correlations in vehicle motion data, complementing existing hardware-based fingerprinting techniques.

Summary updated

Abstract

Electronic Control Units (ECUs) exchange data via in-vehicle network protocols such as the Controller Area Network (CAN) protocol. These protocols do not encrypt data or authenticate messages since they were designed for an isolated network. Many studies have developed Intrusion Detection Systems (IDSs) that fingerprint each ECU to secure the CAN protocol. These IDSs, however, cannot detect an attack in which an adversary spoofs sensor measurements or control signals in a message without changing the transmitter of that message. In order to detect such attacks, we develop a motion-based IDS (MIDS) that exploits the correlation between messages that convey the same information of a vehicle’s movement, such as vehicle speed. We also introduce a new metric to quantify the effectiveness of MIDS. We evaluate MIDS using CAN data from two real vehicles by demonstrating that MIDS can detect the attacks on the CAN bus or ECUs.
BibTeX
@inproceedings{sagong2019inter,
  author = {Sang Uk Sagong and Radha Poovendran and Linda Bushnell},
  title = {{Inter-message correlation for intrusion detection in controller area networks}},
  booktitle = {Dokumentenrepositorium},
  year = {2019},
  doi = {10.13154/294-6677},
}
Figure