"To Share or not to Share" in Client-Side Encrypted Clouds

Duane C. Wilson, Giuseppe Ateniese

Abstract

Cloud Storage Providers (CSPs) such as Wuala, SpiderOak, and Tresorit market "zero-knowledge" storage solutions, promising that data is encrypted client-side and remains inaccessible even to the provider. However, this research exposes a fundamental architectural flaw in these systems: the reliance on the CSP to act as its own Certificate Authority (CA) during data sharing. By controlling the Public Key Infrastructure (PKI) and identity verification processes, these providers retain the technical capability to perform man-in-the-middle (MITM) attacks. This paper audits three major CSPs through network analysis and reverse engineering, demonstrating that while data at rest may be secure, the sharing mechanisms introduce vulnerabilities that undermine the core promise of total confidentiality.

Introduction

The rapid adoption of Storage-as-a-Service (SaaS) has led to increased demand for privacy-centric cloud solutions. Many providers claim to offer "zero-knowledge" encryption, where the service provider has no access to the user's decryption keys. While this model is robust for individual storage, it faces a significant challenge during collaborative sharing. For User A to share an encrypted file with User B, they must exchange public keys. If the CSP facilitates this exchange and certifies the identities of the users, the CSP effectively becomes a trusted intermediary. This study investigates whether this centralized trust allows providers to bypass their own encryption promises.

Methodology

The researchers conducted a comprehensive security audit of Wuala, SpiderOak, and Tresorit using a three-phase technical approach:

  1. Network Traffic Analysis: Using Wireshark and Fiddler Web Proxy Debugger, the team intercepted and examined data packets exchanged between client applications and servers during sharing operations.
  2. Source Code Decompilation: Client binaries were reconstructed into readable source code using AndroChef (for Java-based clients) and Boomerang (for C++).
  3. Source Code Disassembly: For obfuscated code, the researchers utilized HopperApp and Synalyze to inspect low-level binary instructions.

The primary objective was to identify "Certificate Authority" functionality within the CSP infrastructure—specifically, how digital certificates are issued and validated to facilitate key exchange.

Analysis of Secure Cloud Providers

The audit revealed that all three providers implement sharing through various mechanisms, ranging from simple web links to complex cryptographic protocols for private groups.

Comparison of sharing mechanisms and implementation difficulty across evaluated CSPs.

As shown in the table above, sharing scenarios are categorized by their implementation difficulty. While "Trivial" methods like public web links are inherently less secure, "Non-Trivial" methods involving private folders and groups rely on sophisticated encryption (e.g., RSA, TGDH, or ICE Protocol). However, the security of these non-trivial methods is entirely dependent on the integrity of the key exchange facilitated by the CSP.

Findings by Provider

  • Wuala: The researchers discovered a WualaCACerts file containing four specific certificates (admin, server, CA, and client). The presence of a "Wuala CA" certificate allows the provider to sign other certificates, granting them the power to spoof user identities during sharing.
  • SpiderOak: Analysis of the certs.pyc file revealed a self-signed "SpiderOak Root CA." Because this root is managed internally by the provider and cannot be revoked by an external authority, SpiderOak can technically issue counterfeit certificates to intercept user data.
  • Tresorit: Although Tresorit utilizes a third-party CA (StartCom) for its User CA, it still functions as an intermediate CA. This hierarchy ensures that Tresorit maintains control over the issuance of user-level certificates used for encryption and decryption.

The Role of the CSP as a Certificate Authority

The core insight of this research is the inherent conflict of interest when a CSP acts as its own CA. For client-side encryption to be truly zero-knowledge, identity verification must be independent of the storage provider. If a user must trust the CSP to provide User B's authentic public key, the zero-knowledge model is compromised. The discovery that providers like SpiderOak generate RSA/DSA keys programmatically within the client further centralizes this trust, preventing users from employing independent, user-generated keys.

Conclusion

While there is no evidence that Wuala, SpiderOak, or Tresorit have actively abused their positions, this study proves they possess the technical capability to do so. The "sharing window" represents the weakest link in the security chain of encrypted clouds. To achieve true confidentiality, the industry must move toward independent Public Key Infrastructures. Recommendations include the use of standard certificates issued by independent Trusted Third Parties (TTPs), PGP-based encryption, or out-of-band verification protocols like Off-the-Record (OTR) messaging to verify user identities without relying on the provider's assertions.

Summary updated

BibTeX
@inproceedings{wilson2014share,
  author = {Duane C. Wilson and Giuseppe Ateniese},
  title = {{"To Share or not to Share" in Client-Side Encrypted Clouds}},
  booktitle = {ISC},
  year = {2014},
  doi = {10.1007/978-3-319-13257-0\_24},
}
Figure