DMA Remap Unit Memory Isolation for Secure Firmware Updates

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Modern firmware update processes are vulnerable to DMA attacks, where malicious data can be written into the firmware update payload in main memory, corrupting the intended update for other DMA-capable devices.

Innovation Solution

The implementation of DMA remap units that create isolation domains in main memory, translating memory access requests and enforcing permissions to prevent unauthorized access, ensuring that only intended DMA-capable devices can write or read firmware update payloads.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Speed

If DMA-capable devices are allowed to access main memory for firmware updates, then update speed is improved, but security against malicious data injection deteriorates

Engineering Contradiction:
Improvefirmware update speedVSAvoidvulnerability to DMA attacks
Core Design Contradiction:
SpeedVSObject-affected harmful factors

Solution Approach 1:

The patent segments the main memory into isolated domains, where each DMA-capable device is assigned a specific memory region it can access. This segmentation prevents one device from accessing another device's firmware update payload, thereby maintaining high-speed DMA access while preventing malicious data injection attacks.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces a DMA remap unit as an intermediary between DMA-capable devices and main memory. This intermediary translates device memory addresses to physical memory addresses and enforces access permissions, allowing fast DMA transfers while blocking unauthorized writes to firmware update payloads through intelligent address translation and permission checking.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Reliability

If memory access isolation is implemented to prevent DMA attacks, then security is improved, but device complexity increases

Engineering Contradiction:
Improvesecurity against DMA attacksVSAvoidmemory management complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The DMA remap unit serves as a specialized intermediary that handles address translation and permission enforcement in hardware. By implementing isolation logic in this dedicated component rather than through complex software management, the system achieves strong memory isolation and security without excessive overall device complexity.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The DMA remap unit performs multiple functions: address translation from device to physical memory addresses, permission checking to prevent unauthorized access, and isolation domain management. By consolidating these functions into a single multi-functional unit, the patent achieves comprehensive security without proportionally increasing device complexity.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Data Source

PatentUS10496388B2Technologies for securing a firmware update
Publication Date: 2019.12.03 SK HYNIX NAND PRODUCT SOLUTIONS CORP
  • US10496388B2 patent drawing
  • US10496388B2 patent drawing
  • US10496388B2 patent drawing

AI summary

Technologies for performing a secure firmware update include a compute device that includes a memory device to store firmware update payload, one or more devices that have direct memory access (DMA) to the memory, a DMA remap module, and a firmware update module. The DMA remap module is to create a memory isolation domain for each of the one or more devices. Each memory isolation domain comprises a physical address space in the memory that is mutually exclusive to the physical address spaces of the other memory isolation domains. The firmware update module is to (i) analyze the firmware update payload to identify one or more of the devices associated with the firmware update payload and (ii) move the firmware update payload to the memory isolation domains of each associated device to enable secure transmission of the firmware update payload to the associated devices.