TL;DR
Researchers at Aarhus University conducted an independent security audit of SpiderOakONE, a cloud service famous for its "Zero-Knowledge" privacy claims. They formalized the first minimal security definition for password-encrypted storage and discovered four critical vulnerabilities that allowed a malicious server to weaken or completely recover user passwords and files.
What Problem Does This Paper Address?
Most cloud storage providers (like Google Drive or Dropbox) can technically access your data because they manage the encryption keys. Encrypted Cloud Storage (ECS) services like SpiderOakONE market themselves as "Zero-Knowledge," promising that even the service provider cannot access user data.
However, these claims are often intuitive and marketing-driven rather than formally defined. The authors address two major gaps:
- The lack of a formal security model: There was no rigorous benchmark to measure what "confidentiality" actually means when the service provider itself might be malicious.
- The "black box" nature of proprietary software: Without an open-source client, users must blindly trust the implementation of the "Zero-Knowledge" protocol.
Methods
The researchers took a two-pronged approach:
- Formal Modeling: They defined a "Password-Encrypted Cloud Storage" (PECS) security game. This model accounts for an active adversary (the server) attempting to break confidentiality through protocol manipulation.
- Reverse Engineering: Since SpiderOakONE is proprietary, the authors decompiled the Python 2.7 bytecode of the Windows and Linux clients. They patched the client to output TLS master secrets and encryption keys, allowing them to intercept and analyze the "under-the-hood" RPC (Remote Procedure Call) communication between the client and server.
Datasets
As this is a security analysis of a software system rather than an AI/ML paper, traditional training datasets were not used. The "subject" of the study was the SpiderOakONE client (version 6.1.5) and its associated server protocols.
Key Insights and Ideas
- The "Root of All Evil": The authors argue that SpiderOak’s biggest design flaw was using the same password for both authentication (proving who you are to the server) and confidentiality (encrypting the data). This creates a massive surface area for the server to trick the client into revealing the password.
- Static Key Hierarchy: The system uses a "Key Tree" where the password protects long-term secrets, which protect directory keys, which protect file keys. The insight here is that these keys are never rotated. If a directory key is ever exposed (e.g., via a temporary share), it remains valid forever, even for new files added later.
- TOFU (Trust on First Use) is Dangerous: One attack exploited a "non-default" login protocol where the server sends its own public keys to the client. The client then encrypts the user's password using these keys. While the client shows a "fingerprint" to the user, the UI message was so ambiguous that most users would likely click "Yes" and inadvertently hand their plaintext password to a rogue server.
Key Results
The authors uncovered four major attacks:
- Password Weakening (bcrypt): A malicious server could force the client to use a much lower "cost factor" for password hashing (downgrading from $2^{12}$ to $2^4$ iterations), making brute-force attacks 256 times faster.
- Plaintext Password Recovery (RPC): The client stored the user's plaintext password in a local database for auto-login. Due to a flawed regular expression check in the client's RPC interface, a malicious server could simply ask the client to upload its own password database file.
- Password Recovery (Escrow Login): By forcing the client into an "escrow" login mode, the server could provide its own RSA keys and receive the user's password encrypted under those keys.
- File Recovery in Sharing: Because keys aren't rotated, the researchers proved that if Alice shares a folder with Bob and then "un-shares" it, Bob (or a rogue server) can still decrypt any new files Alice adds to that folder in the future.
Limitations and Future Work
- Future Secrecy: The authors note that even after SpiderOak patched the specific bugs, the system still lacks "future secrecy." If an attacker steals your long-term keys today, changing your password won't protect your old data or even necessarily your future data, because the underlying master keys are re-encrypted rather than replaced.
- Scope: The analysis focused on the desktop clients. Mobile clients (Android/iOS) were noted to have even more limited functionality (viewing only) and were not the primary focus of the cryptographic audit.
- Mitigation: Following responsible disclosure, SpiderOak fixed the most egregious bugs (like the RPC file retrieval and bcrypt downgrade), but the fundamental architectural choice of using a single password for auth and encryption remains a point of concern.
Summary updated