TL;DR
This paper exposes a critical architectural flaw in "zero-knowledge" cloud storage providers like Wuala, SpiderOak, and Tresorit. By acting as their own Certificate Authorities (CAs) to facilitate file sharing, these providers retain the technical ability to perform Man-in-the-Middle attacks, potentially intercepting and decrypting user data despite claims of 100% client-side confidentiality.
What Problem Does This Paper Address?
The authors investigate the tension between client-side encryption and data sharing in cloud storage. Providers often market a "zero-knowledge" model where data is encrypted on the user's device before upload, theoretically ensuring that not even the provider can access the files.
However, sharing encrypted data requires a way to exchange keys securely. The authors ask: Who manages the trust in these exchanges? If the cloud provider manages the Public-Key Infrastructure (PKI) used for sharing, they effectively hold the keys to the kingdom. The paper aims to determine if these providers are operating in a way that contradicts their privacy guarantees, specifically by acting as a Certificate Authority that could facilitate unauthorized data access.
Methods
The researchers performed a deep dive into three major providers: Wuala, SpiderOak, and Tresorit. Their methodology involved three main phases:
- Network Traffic Analysis: Using tools like Wireshark and Fiddler to inspect the data flowing between the client and server during sharing transactions.
- Source Code Decompilation: Using AndroChef (for Java) and Boomerang (for C++) to reconstruct readable source code from the provider's client binaries.
- Source Code Disassembly: Using HopperApp and Synalyze to analyze low-level code that resisted decompilation, specifically looking for cryptographic primitives and certificate management functions.
Datasets
As this is a security analysis of specific software products rather than a machine learning study, there are no traditional training datasets. The "data" analyzed consists of the official client applications and network protocols of Wuala, SpiderOak, and Tresorit as they existed around 2014.
Key Insights and Ideas
- The CA Conflict of Interest: The core finding is that these CSPs act as their own Certificate Authorities. In a standard PKI, you trust a third party to verify identities. Here, the service provider issues and authorizes the certificates.
- The Man-in-the-Middle (MitM) Attack: Because the provider controls the certificate issuance, they could maliciously substitute their own public key for a recipient's key. A user would unknowingly encrypt a file for the provider, who could then decrypt it, read it, and re-encrypt it for the intended recipient.
- Programmatic Key Generation: In SpiderOak, the authors found code that generates RSA/DSA key pairs programmatically. This confirms that users are not using their own independent certificates (like PGP), but rather ones generated and managed by the provider.
- Self-Signed Roots: The discovery of self-signed root certificates (specifically in SpiderOak) highlights a risk: these certificates cannot be revoked by a third party, making them a permanent point of vulnerability if the provider's signing key is ever compromised.
Key Results
The authors categorized sharing scenarios by their "exploit difficulty," as shown in the table below:
- Wuala: Analysis revealed a
WualaCACertsfile containing certificates for administrative, client, server, and CA functions. The "Certificate Signing" extension was present, proving CA functionality. - SpiderOak: The researchers identified a self-signed root certificate. They noted that while the service is highly regarded (even by figures like Edward Snowden), the architectural reliance on a provider-controlled CA remains a "zero-knowledge" loophole.
- Tresorit: While Tresorit uses a third-party CA (StartCom) as a root, Tresorit itself acts as an Intermediate CA. This still grants them the technical ability to issue certificates that the client software would trust.
Limitations and Future Work
The authors explicitly state that while they found the capability for these providers to intercept data, they found no evidence of actual misuse or active exploitation by the companies. The study highlights a structural vulnerability, not a confirmed breach.
Future Work: * Exploring alternative sharing methods that bypass the need for a central CA, such as PGP-based sharing or "Off-the-Record" (OTR) messaging protocols. * Investigating out-of-band verification mechanisms (like scanning a QR code in person) to establish trust between users without relying on the cloud provider. * Analyzing how newer proprietary protocols (like Tresorit's ICE protocol) might mitigate these risks through multi-factor trust models.
Summary updated