RPMB Storage Access With PIU Authentication Against Replay Attacks
Find Innovative SolutionsGenerate 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
Engineering 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
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.
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.
2Reliability
If authentication protocols are implemented using command PIU with extra header segment, then security is improved, but communication overhead and processing time increase
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.
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.
Data Source
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.


