Introduction
Cloud storage services like Google Drive and Dropbox typically manage encryption keys on behalf of the user, granting the provider technical access to user data. In response, a category of "Zero-Knowledge" or Encrypted Cloud Storage (ECS) services has emerged. SpiderOak ONE is a prominent example, marketing itself on the premise that the service provider cannot access user files. However, these privacy claims are often marketing-driven and lack formal verification.
Researchers at Aarhus University conducted an independent security audit of SpiderOak ONE to bridge this gap. Their work introduces the first formal security definition for password-encrypted storage and identifies four critical vulnerabilities that allowed a malicious server to compromise user passwords and data.
Methodology
Because SpiderOak ONE is proprietary software, the researchers faced a "black box" challenge. Their methodology combined formal cryptographic modeling with practical reverse engineering:
- Formal Modeling: The authors defined a "Password-Encrypted Cloud Storage" (PECS) security game. This model simulates an active adversary (the server) attempting to break confidentiality by manipulating the protocol during client-server interactions.
- Reverse Engineering: The team decompiled the Python 2.7 bytecode of the SpiderOak ONE Windows and Linux clients (version 6.1.5). By patching the client to output TLS master secrets and encryption keys, they were able to intercept and analyze the Remote Procedure Call (RPC) communication between the client and the server.
Architectural Analysis
The audit revealed two fundamental design choices that undermined the system's security:
The Dual-Use Password
The researchers identified the "root of all evil" in the system's design: using the same user password for both authentication (proving identity to the server) and confidentiality (deriving encryption keys). This overlap creates a significant attack surface, as any server-side influence over the authentication process can be leveraged to target the keys used for data protection.
Static Key Hierarchy
SpiderOak ONE utilizes a "Key Tree" structure where the user password protects long-term secrets, which in turn protect directory keys and individual file keys. A critical insight from the study was that these keys are never rotated. If a directory key is exposed—for instance, through a temporary folder share—it remains valid indefinitely. Even if a user stops sharing the folder or adds new files later, the original key remains the root of trust.
Identified Vulnerabilities
The researchers uncovered four major attacks that could be executed by a malicious or compromised SpiderOak server:
- Bcrypt Downgrade (Password Weakening): The server dictates the "cost factor" for the bcrypt password hashing algorithm. The researchers found that a malicious server could force the client to downgrade from the standard $2^{12}$ iterations to just $2^4$. This reduction makes brute-force attacks 256 times faster, significantly weakening the password's resistance to offline cracking.
- RPC-Based Password Recovery: The client stores the user's plaintext password in a local database to facilitate auto-login. Due to a flawed regular expression check in the client's RPC interface, a malicious server could trick the client into uploading its own local password database file, granting the server the plaintext password.
- Escrow Login Exploitation: The system includes a "non-default" login protocol where the server provides its own RSA public keys to the client. The client then encrypts the user's password using these keys. While the UI displays a fingerprint for verification, the researchers noted the messaging was sufficiently ambiguous that most users would likely accept the connection, inadvertently handing their password to the server.
- Persistent Access in Sharing: Because keys are not rotated upon the revocation of access, the researchers proved that if a user shares a folder and later "un-shares" it, the recipient (or a rogue server) can still decrypt any new files added to that folder in the future.
Conclusion and Limitations
Following the researchers' responsible disclosure, SpiderOak patched the most immediate bugs, including the RPC file retrieval and the bcrypt downgrade vulnerability. However, the study highlights a persistent lack of "future secrecy." Because master keys are re-encrypted rather than replaced when a password is changed, compromised long-term keys can continue to haunt users.
This research demonstrates that "Zero-Knowledge" marketing is not a substitute for formal security proofs. The architectural choice to link authentication and encryption to a single password remains a fundamental concern for the long-term security of the platform.
Summary updated