A Way of Key Management in Cloud Storage Based on Trusted Computing

Xin Yang, Qingni Shen, Yahui Yang, Sihan Qing

Introduction

As organizations increasingly migrate sensitive data to public cloud infrastructures such as Amazon S3 or Microsoft Azure, they encounter a significant "trust gap." While cloud providers offer robust scalability and reliability, they cannot inherently guarantee that data remains inaccessible to rogue operators or external attackers. To ensure data confidentiality, users must encrypt data before it leaves the local environment. However, this introduces complex key management challenges regarding secure storage, reliability (key recovery), and secure sharing without exposing keys to the untrusted provider.

This paper proposes the Private Data Protecting Service (PDPS), a client-side architecture that leverages hardware-based Trusted Platform Modules (TPM) to manage encryption keys. By anchoring the "Root of Trust" in the client's local TPM hardware, the system ensures that the cloud provider remains a "black box" for storage only, with no access to cryptographic keys.

The PDPS Key Hierarchy

A central component of the PDPS is its hierarchical key tree structure. Rather than employing a flat storage model, PDPS organizes keys in a tree rooted in the TPM's hardware. This structure allows for a clear separation of concerns between hardware-locked root keys and migratable user keys.

The hierarchical key tree structure used in PDPS, rooted in the TPM's Storage Root Key (SRK).

The hierarchy consists of several layers:

  • Storage Root Key (SRK): A non-migratable key embedded within the TPM hardware.
  • Migratable Keys: User-specific storage keys wrapped by the SRK, allowing for secure backup.
  • Binding Keys: Intermediate keys used to encrypt the final symmetric keys.
  • AES Keys: 256-bit symmetric keys used for the actual encryption of data files.

Secure Key Migration and Sharing

To address the need for key backup and multi-user sharing without compromising security, the authors developed a Migration Authentication Structure. This multi-layered approach ensures that the private components of a key are never exposed in plaintext outside the TPM's secure enclave during transfer.

The Migration Authentication Structure for secure key backup and sharing.

The migration process involves three primary cryptographic steps:

  1. Inner Layer Protection: The key object is protected using Optimal Asymmetric Encryption Padding (OAEP).
  2. Randomization: The OAEP-protected object is XORed with a random number generated by the TPM's internal Random Number Generator (RNG).
  3. Outer Layer Encryption: The resulting package is encrypted with the target user's public key.

Performance Evaluation

The PDPS was evaluated using a custom 4-node Hadoop Distributed File System (HDFS) cluster. The researchers measured the latency overhead of encryption and key management across various file sizes to determine the system's viability for big data applications.

The results indicate that while the overhead is noticeable for small files (e.g., a 21.4% increase in upload time for 1KB files), it becomes negligible as file sizes increase. For 1GB files, the upload overhead dropped to just 1.21%, and download overhead was 3.7%. This demonstrates that the system is highly scalable and well-suited for modern cloud workloads where large datasets are common.

Conclusion

The PDPS provides a robust framework for maintaining data privacy in untrusted cloud environments. By moving key management to the client-side TPM hardware and utilizing a secure hierarchical structure, the system offers high security with minimal performance impact on large-scale data operations. Future work will focus on adapting the system to TPM 2.0 standards and improving granularity for distributed block-level storage.

Summary updated

BibTeX
@inproceedings{yang2011way,
  author = {Xin Yang and Qingni Shen and Yahui Yang and Sihan Qing},
  title = {{A Way of Key Management in Cloud Storage Based on Trusted Computing}},
  booktitle = {NPC},
  year = {2011},
  doi = {10.1007/978-3-642-24403-2\_11},
}
Figure