The Design and Implementation of a Rekeying-Aware Encrypted Deduplication Storage System

Chuan Qin, Jingwei Li, Patrick P. C. Lee

TL;DR

REED is a novel storage system that solves the long-standing conflict between data deduplication and encryption rekeying. By utilizing a deterministic "All-Or-Nothing Transform" (AONT), REED allows administrators to rotate encryption keys and manage dynamic access control almost instantly, without losing the massive storage savings provided by deduplication.

What Problem Does This Paper Address?

In the world of big data, deduplication is a hero; it saves massive amounts of space by storing only one copy of redundant data. However, when you add encryption to the mix, things get messy. Traditional encryption makes identical files look completely different if they use different keys, which kills deduplication.

Researchers previously solved this using Message-Locked Encryption (MLE), where the key is derived from the data itself. But MLE has a major "Achilles' heel": rekeying. If a security key is compromised or a user’s access needs to be revoked, you typically have to re-encrypt the entire dataset with a new key. In a deduplicated system, this is a nightmare—it either requires a massive computational overhaul or breaks the deduplication links entirely. REED (Rekeying-aware Encrypted Deduplication) was designed to make this process lightweight and secure.

Methods

The core innovation of REED is its use of a Convergent All-Or-Nothing Transform (CAONT). Here is the breakdown of the architecture:

  1. The Split: Instead of encrypting a whole chunk of data with one key, REED transforms the data into a "package." It then splits this package into two parts: a large trimmed package and a tiny stub (only 64 bytes).
  2. Two-Layer Security: The large trimmed package is deduplicated across the server. The tiny stub, however, is encrypted with a file-level secret key.
  3. Lightweight Rekeying: Because the "secret" of the package is locked in the stub, rekeying the entire file only requires re-encrypting the tiny stubs. Since the stubs represent less than 1% of the total data, this happens in seconds rather than hours.
  4. Enhanced Encryption: The authors propose an "Enhanced" scheme that adds a layer of MLE encryption before the AONT transform. This ensures that even if an MLE key is leaked, the underlying data remains secure as long as the file-level key is safe.
  5. Similarity-Based Key Generation: To solve the bottleneck of generating cryptographic keys for millions of small chunks, REED groups chunks into "segments" and uses a representative chunk (the one with the minimum hash) to generate a single key for the whole segment.

Datasets

The authors evaluated REED using three distinct types of data:

  • Synthetic Data: A 2GB file of unique chunks used to measure baseline performance without the "noise" of duplicates.
  • FSL Dataset: 56.20TB of daily backup traces from the File systems and Storage Lab at Stony Brook University.
  • VM Dataset: 18.24TB of virtual machine image snapshots collected from a university programming course.

Key Insights and Ideas

  • The "Stub" Strategy: The "aha moment" here is realizing that you don't need to re-encrypt everything to change a key. By isolating a tiny portion of the data (the stub) that is required to reconstruct the whole, you can achieve "active revocation" (immediate security updates) with negligible overhead.
  • Decoupling Chunk and File Keys: REED separates the concerns of storage efficiency (handled at the chunk level via MLE) and access control (handled at the file level via stubs and Attribute-Based Encryption).
  • Similarity as an Accelerator: By using "Extreme Binning" logic—picking a representative chunk to define a segment's key—the system avoids the massive CPU overhead of performing RSA operations for every 8KB chunk of data.

Key Results

  • Blazing Fast Rekeying: REED can re-encrypt an 8GB file in just 3.4 seconds during an active revocation event.
  • High Efficiency: Despite the added metadata and stubs, REED maintained a storage saving of over 97% on real-world backup datasets.
  • Network-Speed Performance: Upload and download speeds reached approximately 105–108 MB/s, effectively saturating a 1Gbps LAN connection.
  • Scalability: The similarity-based key generation was shown to be significantly faster than traditional per-chunk methods, removing a major bottleneck for large-scale deployments.

Limitations and Future Work

  • Stub Growth: While stubs are tiny, they are not deduplicated. The authors noted that as the number of backups grows over years, the cumulative size of these stubs could eventually become a significant portion of the physical storage.
  • Fault Tolerance: The current prototype focuses on a single server/key manager setup. The authors suggest that future iterations could incorporate "deduplication-aware secret sharing" to distribute data across multiple cloud providers for better reliability.
  • Metadata Privacy: While the data chunks are secure, the paper notes that more work could be done to obfuscate file metadata (like pathnames) to prevent side-channel information leaks.

Summary updated

BibTeX
@article{qin2017design,
  author = {Chuan Qin and Jingwei Li and Patrick P. C. Lee},
  title = {{The Design and Implementation of a Rekeying-Aware Encrypted Deduplication Storage System}},
  journal = {ACM Trans. Storage},
  year = {2017},
  doi = {10.1145/3032966},
}
Figure