RPMB Storage Access With PIU Authentication Against Replay Attacks

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing storage devices lack robust security measures to prevent unauthorized access and replay attacks on nonvolatile memory blocks, compromising data integrity and security.

Innovation Solution

Incorporation of a replay protected memory block (RPMB) with a memory controller that performs authentication using a command protocol information unit (PIU) including a basic and extra header segment, and a host device with a MAC calculator and PIU generator to ensure secure access to the RPMB.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If traditional memory blocks are used without replay protection, then device complexity is reduced and ease of operation is improved, but security against unauthorized access and replay attacks deteriorates

Engineering Contradiction:
ImprovesecurityVSAvoiddevice complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The memory device is segmented into traditional memory blocks and a specialized replay protected memory block (RPMB). The RPMB is further divided into a data area for storing protected data and a metadata area for storing authentication information. This segmentation allows security-critical operations to be isolated in the RPMB while leaving other memory blocks unchanged, thus improving security without unnecessarily complicating the entire device architecture.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

An intermediary authentication mechanism is introduced between the host and the memory controller. The memory controller acts as an intermediary that verifies authentication information (such as message authentication codes) before allowing access to the RPMB. This intermediary layer enforces security protocols without requiring the host to directly implement complex security logic, thereby improving security while managing device complexity through specialized intermediary components.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Reliability

If authentication protocols are implemented using command PIU with extra header segment, then security is improved, but communication overhead and processing time increase

Engineering Contradiction:
Improvedata integrityVSAvoidprocessing time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

Authentication information, including message authentication codes (MAC) and metadata, is pre-stored in the metadata area of the RPMB during system initialization or data writing operations. When read operations are performed, the pre-stored authentication information is quickly verified against the retrieved data, eliminating the need for complex real-time authentication calculations. This preliminary preparation significantly reduces processing time while maintaining strong data integrity verification.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The authentication protocol uses copying of authentication information between the metadata area and temporary storage during verification. Instead of performing complex cryptographic operations during each read operation, the system copies and compares pre-computed authentication tags (MACs) with the retrieved data. This copying-based verification approach is computationally efficient and minimizes processing time while ensuring data integrity.

Inventive Principle:
Principle #26Copying

Data Source

PatentUS20250244886A1Storage device including replay protected memory block (RPMB) host device accessing the RPMB, electronic device including storage device and host device, and method of operating the same
Publication Date: 2025.07.31 SK HYNIX INC
  • US20250244886A1 patent drawing
  • US20250244886A1 patent drawing
  • US20250244886A1 patent drawing

AI summary

Storage devices, host devices and electronic devices are disclosed. In an embodiment of the disclosed technology, an electronic device providing an improved security function may include a storage device including a replay protected memory block (RPMB), and a host device configured to provide a command protocol information unit (PIU) instructing the storage device to access the RPMB. The command PIU may include a basic header segment including a total extra header segment length field having a value other than 0 and an extra header segment including a host RPMB message.