Secure Batch Deduplication without Dual Servers in Backup System

Haoyu Zheng, Shengke Zeng, Hongwei Li, Zhijun Li

In the world of cloud backups, storage is money. To save on costs, cloud providers use deduplication—a technique that ensures only one copy of a redundant file is actually stored. However, when data is encrypted for privacy, deduplication becomes a nightmare: if two users encrypt the same file with different keys, the resulting ciphertexts look completely different to the server, making it impossible to spot the duplicate.

A new paper titled "Secure Batch Deduplication Without Dual Servers in Backup System" by Zheng et al. proposes a way to solve this conflict without the need for expensive, risky "helper" servers.

TL;DR

The authors introduce a secure deduplication scheme that resists brute-force attacks using a single-server architecture. By grouping users via "short hashes" and employing a group key agreement protocol, the system enables efficient batch checking of massive datasets, achieving storage savings of up to 89.84%.

What Problem Does This Paper Address?

Traditional encrypted deduplication usually falls into two camps, both with significant flaws:

  1. Convergent Encryption (CE): The encryption key is derived from the file's hash. This allows deduplication but is wide open to offline brute-force attacks. If an attacker guesses the file content, they can generate the hash, encrypt it, and check if it matches the stored data.
  2. Server-Aided Schemes: These use a second, independent "key server" to add entropy and stop brute-force attacks. However, this introduces a single point of failure and requires users to trust multiple entities. If either server is compromised, security collapses.

Furthermore, most existing secure methods only allow the server to check for duplicates one-by-one. In a massive backup system with millions of files, this "one-by-one" approach is a massive performance bottleneck.

Methods

The researchers propose a three-phase system (Uploading, Batch Duplication Check, and Retrieval) that relies on three core pillars:

  • Short Hashes for Privacy: Instead of sending a full, unique file hash to the server, clients send a "short hash" (e.g., 16 bits). Because many different files will naturally result in the same 16-bit hash (a high collision rate), the server cannot immediately identify the file, protecting it from easy brute-force guessing.
  • The BD Protocol (Group Key Agreement): The server groups all clients who submitted the same short hash. These clients then run the Burmester and Desmedt (BD) protocol—a way for a group to agree on a shared secret key over a public channel. This allows them to prove they have the same file to each other without the server ever seeing the raw data.
  • Batch Processing: Instead of comparing pairs of files, the server manages these "logic groups." If the group successfully negotiates a group tag, the server knows they all have the same file and can delete the redundant copies in one go.
  • Threshold Selection: To prevent wasting network bandwidth on groups with very few members, the authors implemented a threshold. The deduplication check only triggers when a certain number of users share the same short hash.

Datasets

Because real-world, large-scale backup datasets are difficult to obtain for privacy reasons, the authors synthesized three 600MB datasets with varying redundancy levels:

  • 70%, 80%, and 90% duplicate ratios. These were used to measure how the system handles different levels of data "chunkiness" and to test the efficiency of the batch-checking logic.

Key Insights and Ideas

  • Hiding in the Crowd: The use of short hashes is counter-intuitive. Usually, engineers want to avoid hash collisions. Here, collisions are a feature: they provide "k-anonymity" for the files, making it impossible for a curious server to perform an offline brute-force attack on a specific file.
  • Constant Execution Complexity: By using group key agreement, the server can identify a whole group of identical files in a "constant" number of executions relative to the group size, rather than comparing every file against every other file ($O(n^2)$ or $O(n \log n)$).
  • The Efficiency Trade-off: The authors found that deduplication efficiency is highly sensitive to the "threshold." If you set the threshold too high, you miss out on saving space; too low, and you spend too much time on network communication for small gains.

Key Results

  • Storage Efficiency: The scheme successfully reduced storage needs by up to 89.84% on the 90% redundancy dataset.
  • Scalability: As the number of files in storage increases, the "growth rate" of the processing time for this scheme is significantly lower than previous state-of-the-art methods (like Liu et al.’s single-server scheme).
  • Performance: Even with 256-bit AES encryption, a 600MB file could be processed (encrypted/decrypted) in under 9 seconds, making it practical for real-world backup software.
  • Security: The scheme was mathematically proven to be "computationally indistinguishable" from an ideal, perfectly secure model, meaning the server learns nothing about the files it stores.

Limitations and Future Work

  • Client Availability: The group key agreement (BD protocol) requires clients to be interactive. In a real-world backup scenario, if a user goes offline during the "batch check" phase, it could potentially delay the deduplication of that group.
  • Communication Overhead: While it saves disk space, the protocol requires more "rounds" of communication between the client and server than simple, insecure deduplication.
  • Dataset Scale: While the results are promising, the 600MB test datasets are small compared to petabyte-scale cloud environments. Future work could explore how the "short hash" strategy holds up when the number of collisions becomes astronomically high.

Summary updated

BibTeX
@article{zheng2024secure,
  author = {Haoyu Zheng and Shengke Zeng and Hongwei Li and Zhijun Li},
  title = {{Secure Batch Deduplication without Dual Servers in Backup System}},
  journal = {IEEE Transactions on Dependable and Secure Computing},
  year = {2024},
  doi = {10.1109/tdsc.2024.3362796},
}
Figure