TPM (Trusted Platform Module) 2.0 provides the concept of multiple hierarchies to enhance the flexibility and control over different categories of keys and TPM resources. This allows for the separation of concerns within the TPM environment, enabling different entities to manage and utilize TPM without interfering with each other. The hierarchies typically include the Platform Hierarchy, the Storage Hierarchy, the Endorsement Hierarchy, and the optional Null Hierarchy.
Here is a summary of the hierarchies and their intended use cases:
-
Platform Hierarchy (PH): Managed by the platform vendor or system administrator, this hierarchy is intended for keys and operations that are related to the platform's integrity and management. It deals with system-level functions and can be used to reset the TPM and to control the TPM's non-volatile storage.
-
Storage Hierarchy (SH): Designed for general-purpose use, this hierarchy is often controlled by the device owner or user. Keys created under this hierarchy are typically used for data encryption and protection.
-
Endorsement Hierarchy (EH): This hierarchy is primarily used for keys that are involved in device identity and attestation. TPM Endorsement Keys (EKs), which are unique per device and embedded during manufacturing, fall under this hierarchy.
-
Null Hierarchy: This is an optional hierarchy that allows for the creation of objects without a specific authorization hierarchy, useful for certain applications or for objects with a constrained lifetime that do not need hierarchical authorization.
Use Case Example
Let's consider an enterprise scenario where a company uses TPM-equipped devices for their employees:
-
Platform Hierarchy: The IT department uses the Platform Hierarchy to ensure the integrity of the boot process. They manage platform configuration registers (PCRs) to verify that the boot loader and operating system have not been tampered with. They can also reset the TPM to a default state if they need to repurpose the device for a different employee or role.
-
Storage Hierarchy: An employee uses the Storage Hierarchy to encrypt sensitive documents and data using TPM-protected keys. Since this hierarchy is managed by the device's user, the IT department's use of the Platform Hierarchy does not interfere with the user's encrypted data or keys.
-
Endorsement Hierarchy: The IT department or remote services can use the Endorsement Hierarchy to authenticate the device when establishing a secure connection or performing remote attestation. This ensures that the device is known and has not been replaced with a rogue device.
Each hierarchy is managed using separate authorization values (passwords or policies), which enable specific entities to control different aspects of the TPM without having blanket access to all TPM functions. Multiple hierarchies thus provide a secure and flexible way to manage trust, integrity, and privacy on a computing platform.