Secure OTA Firmware Updates Using Dual Encryption

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The security of over-the-air (OTA) firmware updates for vehicles is compromised due to hacking and unauthorized updates, which can compromise the integrity and safety of the vehicle's operation.

Innovation Solution

Implementing a secure OTA update system that uses unique encryption keys for each update version and vehicle, ensuring only authorized updates can be installed by decrypting the firmware packages with vehicle-specific keys, and authenticating the integrity of the updates through certificates.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If traditional OTA update methods are used, then firmware updates can be delivered to vehicles, but the security of the vehicle is compromised to hacking and unauthorized updates

Engineering Contradiction:
Improvesecurity of OTA updatesVSAvoidhacking and unauthorized access
Core Design Contradiction:
ReliabilityVSObject-affected harmful factors

Solution Approach 1:

The patent segments the encryption approach by implementing both version-specific encryption (encrypting the entire firmware package with a version key) and vehicle-specific encryption (encrypting individual files with vehicle-specific keys). This segmentation allows different security layers to address different threats: version encryption protects against unauthorized distribution while vehicle-specific encryption protects against unauthorized installation on incompatible vehicles.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent applies preliminary action by pre-encrypting the firmware package with version-specific keys before distribution, and pre-encrypting individual files with vehicle-specific keys during the update process. This preliminary encryption ensures that even if the update package is intercepted, it cannot be decrypted or executed without the proper keys, preventing hacking and unauthorized updates before they can occur.

Inventive Principle:
Principle #10Preliminary action

2Reliability

If encryption is applied to firmware updates, then security is improved, but the complexity of the update system increases

Engineering Contradiction:
Improvesecurity of OTA updatesVSAvoidencryption system complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent divides the encryption system into two distinct segments: version-specific encryption that handles the overall firmware package, and vehicle-specific encryption that handles individual files. This segmentation allows each encryption layer to be managed independently, with version encryption providing broad protection and vehicle-specific encryption providing targeted protection, thereby managing complexity through functional separation.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces an intermediary encryption key mechanism where version-specific keys and vehicle-specific keys act as intermediaries between the firmware update system and the vehicle's secure storage. These intermediary keys facilitate secure communication and authentication without requiring direct access to sensitive cryptographic materials, thereby managing system complexity while maintaining security.

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS10871952B2Method and system for providing secure over-the-air vehicle updates
Publication Date: 2020.12.22 NIO TECH ANHUI CO LTD
  • US10871952B2 patent drawing
  • US10871952B2 patent drawing
  • US10871952B2 patent drawing

AI summary

Embodiments of the present disclosure are directed to methods and systems for providing secure over-the-air firmware updates to one or more vehicles. More specifically, the present disclosure describes applying to firmware images distributed to one or more vehicles encryption that is unique to each update version. The encryption is also unique to each vehicle receiving the update. Embodiments of the present disclosure can also include determining and verifying the integrity of an available OTA firmware update prior to authorizing installation of the firmware update in a vehicle.