CAN Clock Gating Logic Against Message Injection Attacks

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Modern vehicle networks, particularly those using the Controller Area Network (CAN) protocol, are vulnerable to attacks where adversaries can inject arbitrary or non-compliant messages, exploiting software interfaces to disrupt communication, which existing defense mechanisms are ineffective against.

Innovation Solution

The implementation of enhanced clock gating and security logic within electronic control units (ECUs) to prevent clock signal manipulation, combined with reset mechanisms and secure state management, ensures that the CAN controller operates within secure parameters, inhibiting malicious message injection and maintaining protocol compliance.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Use of energy by moving object

If clock gating is implemented to reduce power consumption, then energy efficiency is improved, but security vulnerability increases due to potential clock signal manipulation

Engineering Contradiction:
Improvepower consumptionVSAvoidsecurity robustness
Core Design Contradiction:
Use of energy by moving objectVSReliability

Solution Approach 1:

An intermediary security gating logic is introduced between the processor and clock gating logic. This intermediary monitors the CAN controller status and only permits clock disabling when the controller is in an inactive state, thereby mediating between power management requirements and security concerns.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The security gating logic performs preliminary validation by checking the CAN controller status before allowing clock gating to take effect. This preliminary action prevents malicious manipulation by ensuring the controller is in a safe state before disabling the clock signal.

Inventive Principle:
Principle #10Preliminary action

2Adaptability or versatility

If software interfaces are exposed for clock control, then operational flexibility is improved, but attack surface increases allowing arbitrary message injection

Engineering Contradiction:
Improveoperational flexibilityVSAvoidattack surface
Core Design Contradiction:
Adaptability or versatilityVSObject-affected harmful factors

Solution Approach 1:

The security gating logic acts as an intermediary layer between software interfaces and hardware clock control. It maintains operational flexibility by allowing clock control through software while simultaneously reducing attack surface by validating all clock control requests against CAN controller status.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The security gating logic applies preliminary anti-action by blocking potentially harmful clock control operations before they can affect the CAN controller. It proactively prevents attacks by checking status and inhibiting clock disabling during active transmission states.

Inventive Principle:
Principle #9Preliminary anti-action

3Use of energy by moving object

If clock signal is disabled during transmission, then power consumption is reduced, but communication reliability deteriorates due to potential attacks

Engineering Contradiction:
Improvepower consumptionVSAvoidcommunication reliability
Core Design Contradiction:
Use of energy by moving objectVSReliability

Solution Approach 1:

The security gating logic implements feedback by continuously monitoring CAN controller status and using this information to control clock gating behavior. This feedback mechanism ensures clock is only disabled when safe, maintaining communication reliability while enabling power savings during inactive states.

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The system dynamically adjusts clock gating behavior based on real-time CAN controller status. The clock signal is conditionally enabled or disabled according to whether the controller is actively transmitting, optimizing power consumption without compromising communication reliability.

Inventive Principle:
Principle #15Dynamics

4Reliability

If existing defense mechanisms are used, then basic security is maintained, but new classes of adversaries can still inject non-compliant messages

Engineering Contradiction:
Improvebasic securityVSAvoidprotection against new threats
Core Design Contradiction:
ReliabilityVSAdaptability or versatility

Solution Approach 1:

The security gating logic performs preliminary validation by checking CAN controller status before allowing clock control operations. This preliminary action establishes a new defense layer that prevents non-compliant message injection by ensuring clock control only occurs during safe states, protecting against new threat classes.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS11209891B2Clock control to increase robustness of a serial bus interface
Publication Date: 2021.12.28 ROBERT BOSCH GMBH
  • US11209891B2 patent drawing
  • US11209891B2 patent drawing
  • US11209891B2 patent drawing

AI summary

An electronic control unit (ECU) includes a processor, a Controller Area Network (CAN) controller, clock gating logic, and security gating logic. The CAN controller having a status and configured to receive data and control signals from the processor, and a clock signal, package the data to create a CAN protocol frame held in at least one transmit buffer, and shift the CAN protocol frame to a CAN transceiver that is configured to transmit the CAN protocol frame to a CAN bus. The clock gating logic may be configured to selectively disable a clock signal to the CAN controller based on a control signal from the processor. The security gating logic configured to, in response to the status of the CAN controller being active, inhibit disabling the clock signal.