Firmware Security via Device-Specific Key Encryption

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing firmware update mechanisms for devices lack effective security measures to prevent unauthorized firmware installations, which can lead to potential malfunctions and feature limitations, while existing security solutions like Trusted Platform Modules are costly and not suitable for all products.

Innovation Solution

A system that uses a device-specific key and unique identifier to encrypt and decrypt firmware packages, ensuring only authorized firmware is installed by embedding the key in protected memory and verifying it with a bootloader, preventing unauthorized installations.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If firmware is stored in Read-Only Memory (ROM) to prevent third-party firmware installation, then firmware security is improved, but firmware updates from developers are prevented

Engineering Contradiction:
Improvefirmware securityVSAvoidfirmware update capability
Core Design Contradiction:
ReliabilityVSAdaptability or versatility

Solution Approach 1:

The firmware storage is segmented into two distinct memory regions: a read-only storage area for secure, immutable firmware storage, and a separate writeable storage area for authorized updates. This segmentation allows the system to maintain security while enabling updates, as the writeable area can be modified by authorized firmware packages without compromising the read-only security mechanism.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The system performs preliminary verification of firmware packages against stored keys before allowing installation. The verification process checks cryptographic signatures and compares device identifiers beforehand to ensure only authorized firmware is installed. This preliminary action prevents unauthorized firmware from reaching the storage area, maintaining security while enabling legitimate updates.

Inventive Principle:
Principle #10Preliminary action

2Reliability

If Trusted Platform Module (TPM) is used to ensure only authorized firmware runs, then firmware security is improved, but device cost increases substantially

Engineering Contradiction:
Improvefirmware securityVSAvoiddevice cost
Core Design Contradiction:
ReliabilityVSEase of manufacture

Solution Approach 1:

Instead of using expensive TPM hardware, the patent creates a software-based security system that replicates the essential security function. A key generation system creates device-specific keys that are stored in the firmware, and these keys are used to verify authorized firmware packages. This software-based approach copies the security verification function without requiring costly hardware modules.

Inventive Principle:
Principle #26Copying

Solution Approach 2:

The patent replaces expensive, permanent hardware security modules with inexpensive, software-based key verification mechanisms. The security keys are stored as data within the firmware itself rather than in dedicated hardware, dramatically reducing component costs while maintaining the essential security function of verifying firmware authenticity.

Inventive Principle:
Principle #27Cheap short-living objects (Disposable)

3Reliability

If device-specific keys are stored in protected memory to enable secure firmware updates, then firmware security is improved, but device complexity increases

Engineering Contradiction:
Improvefirmware securityVSAvoidmemory protection mechanism
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent merges the security key storage function with the existing firmware storage structure. Rather than adding separate protected memory hardware, the system stores device-specific keys as part of the firmware image itself, in a designated area that is protected by the bootloader. This merging approach consolidates multiple functions into a single storage structure, reducing overall device complexity.

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The bootloader performs self-service security verification using keys stored within the firmware itself. The verification process is embedded in the bootloader's own execution logic, eliminating the need for external security hardware. The system uses its own resources (firmware storage and bootloader execution) to provide security verification, reducing dependency on additional complex components.

Inventive Principle:
Principle #25Self-service

Data Source

PatentUS9418229B2Firmware security
Publication Date: 2016.08.16 DISNEY ENTERPRISES INC
  • US9418229B2 patent drawing
  • US9418229B2 patent drawing
  • US9418229B2 patent drawing

AI summary

One embodiment provides an apparatus adapted to perform a secure firmware upgrade. The apparatus includes a first memory and a second memory. The first memory stores a private key for use in decrypting content and a unique identifier corresponding to the apparatus. The second memory includes a first version of firmware for the apparatus. The apparatus further includes a controller configured to perform an operation that includes receiving a first request to perform a firmware update operation for the apparatus. The operation also includes transmitting a second request for a second version of firmware to a remote server, the second request specifying the unique identifier corresponding to the apparatus. Additionally, in response to transmitting the second request, an encrypted firmware package is received from the remote server. The operation further includes decrypting the encrypted firmware package using the private key and installing the decrypted firmware package on the apparatus.