ECU Shared-Key Inspection for Secure In-Vehicle Message Encryption

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The onboard network in vehicles lacks effective security measures to prevent unauthorized access and control, as existing technologies do not adequately detect and manage the sharing of session keys among electronic control units (ECUs), leading to potential security breaches.

Innovation Solution

A key management method is introduced where a shared key is stored in multiple ECUs, with a master ECU generating and distributing session keys based on the shared key, and periodically inspecting the security state of the shared key, including expiration dates and serial IDs, to ensure only authorized ECUs access the network.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If session keys are encrypted using a shared key for distribution among ECUs, then key distribution security is improved, but vulnerability to brute-force attacks increases if the shared key is compromised

Engineering Contradiction:
Improvesession key distribution securityVSAvoidbrute-force attack vulnerability
Core Design Contradiction:
ReliabilityVSObject-affected harmful factors

Solution Approach 1:

The patent implements periodic generation and distribution of session keys using the shared key. By continuously rotating session keys at predetermined intervals, the system limits the window of opportunity for brute-force attacks and reduces the impact of a compromised shared key, as unauthorized nodes would only have access to a limited number of session keys rather than all future keys

Inventive Principle:
Principle #19Periodic action

Solution Approach 2:

The patent changes the session key parameter periodically by generating new session keys at predetermined intervals. This dynamic parameter change ensures that even if an attacker compromises the shared key, they can only decrypt a limited number of frames before the session key changes, thereby mitigating brute-force attack effectiveness

Inventive Principle:
Principle #35Parameter changes

2Reliability

If a message authentication code is added to frames to prevent unauthorized control, then network security is improved, but communication overhead increases

Engineering Contradiction:
Improveunauthorized frame preventionVSAvoidframe data size
Core Design Contradiction:
ReliabilityVSQuantity of substance

Solution Approach 1:

The patent extracts the authentication function into a separate component (message authentication code) that is appended to the frame data. This allows the core communication protocol to remain unchanged while adding security functionality, and the MAC can be efficiently calculated using the session key without requiring changes to the fundamental frame structure or transmission mechanism

Inventive Principle:
Principle #2Taking out (Extraction)

3Measurement precision

If shared key security state is inspected periodically, then detection of unauthorized ECUs is improved, but system complexity increases

Engineering Contradiction:
Improveshared key security state detectionVSAvoidsecurity inspection mechanism
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The patent implements a feedback mechanism where the first-type ECU periodically inspects the security state of shared keys stored in second-type ECUs and verifies authentication information. This continuous monitoring provides real-time feedback on the security status of the network, enabling detection of unauthorized ECUs or key compromises while maintaining a manageable inspection frequency to avoid excessive system complexity

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The patent performs preliminary security inspections of shared key storage in ECUs before potential security breaches can occur. By proactively verifying the security state and authentication information at predetermined intervals, the system prevents unauthorized access rather than reacting to breaches after they occur, reducing the need for complex emergency response mechanisms

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS11804953B2Key management method used in encryption processing for safely transmitting and receiving messages
Publication Date: 2023.10.31 PANASONIC INTELLECTUAL PROPERTY CORP OF AMERICA
  • US11804953B2 patent drawing
  • US11804953B2 patent drawing
  • US11804953B2 patent drawing

AI summary

A key management method serves as an electronic control unit (ECU) in an onboard network system having a plurality of ECUs that perform communication by frames via a network. The method includes storing, in a first-type ECU, a shared key to be mutually shared with second-type ECUs, and executing encryption processing regarding a framed transmitted or received via the network, based on the shared key. The method further includes executing, by the first-type ECU, inspection of a security state of the shared key stored by the second type ECUs in a case where a vehicle is in at least one of the following particular states, including immediately after the vehicle is not driving and is entering the accessory-on state, immediately after the vehicle is not driving and the vehicle is entering the accessory-off state, and immediately after the vehicle engine is started.