Cloud Storage Systems: From Bad Practice to Practical Attacks
dc.contributor.author
Haller, Miro
dc.contributor.supervisor
Paterson, Kenneth G.
dc.contributor.supervisor
Backendal, Matilda
dc.date.accessioned
2022-07-11T05:49:13Z
dc.date.available
2022-06-28T18:43:52Z
dc.date.available
2022-06-29T06:31:24Z
dc.date.available
2022-07-05T15:09:02Z
dc.date.available
2022-07-09T12:55:20Z
dc.date.available
2022-07-11T05:49:13Z
dc.date.issued
2022-03-06
dc.identifier.uri
http://hdl.handle.net/20.500.11850/555337
dc.identifier.doi
10.3929/ethz-b-000555337
dc.description.abstract
Cloud storage security gained significant importance in the last decades due to the vast amount of outsourced sensitive information. Increased privacy awareness has led more and more cloud operators to adopt end-to-end encryption, removing the necessity for customers to trust the providers for data confidentiality. We analyze the cryptographic design of Mega, a cloud storage provider storing over 1000 petabytes of data for more than 243 million users. This thesis contributes four severe attacks allowing a malicious service provider or man-in-the-middle adversary who compromises the TLS connection to break the confidentiality and integrity of user keys and files. We exploit the lack of ciphertext integrity of the encrypted and outsourced RSA private key and characteristics of RSA-CRT to perform a binary search for one prime factor of the RSA-2048 modulus and recover the secret key – with lattice-based optimizations – in 512 user login attempts. During a single login attempt, the second attack decrypts any key ciphertext and exploits key reuse and knowledge of the RSA key. Furthermore, the third attack allows an attacker to frame users by inserting new files indistinguishable from genuinely uploaded ones. Finally, the fourth attack contributes a new variant of Bleichenbacher’s attack on PKCS#1 v1.5 adapted for Mega’s custom padding scheme, which tolerates small unknown prefix values through a new guess-and-purge strategy. We discuss significant challenges introduced by Mega’s massive scale for a fundamental redesign of their architecture and suggest short-term and long-term countermeasures. We generalize our findings, examine the reasons for flawed cryptography in large-scale applications, and advocate for a cloud storage standard to improve the security and transparency of cloud providers in practice.
en_US
dc.format
application/pdf
en_US
dc.language.iso
en
en_US
dc.publisher
ETH Zurich
en_US
dc.rights.uri
http://rightsstatements.org/page/InC-NC/1.0/
dc.subject
Cloud Storage
en_US
dc.subject
Key Management
en_US
dc.subject
Key Recovery Attacks
en_US
dc.subject
File-injection Attacks
en_US
dc.title
Cloud Storage Systems: From Bad Practice to Practical Attacks
en_US
dc.type
Master Thesis
dc.rights.license
In Copyright - Non-Commercial Use Permitted
ethz.size
137 p.
en_US
ethz.code.ddc
DDC - DDC::0 - Computer science, information & general works::080 - General collections
en_US
ethz.publication.place
Zurich
en_US
ethz.publication.status
published
en_US
ethz.leitzahl
ETH Zürich::00002 - ETH Zürich::00012 - Lehre und Forschung::00007 - Departemente::02150 - Dep. Informatik / Dep. of Computer Science::02660 - Institut für Informationssicherheit / Institute of Information Security::09653 - Paterson, Kenneth / Paterson, Kenneth
en_US
ethz.leitzahl.certified
ETH Zürich::00002 - ETH Zürich::00012 - Lehre und Forschung::00007 - Departemente::02150 - Dep. Informatik / Dep. of Computer Science::02660 - Institut für Informationssicherheit / Institute of Information Security::09653 - Paterson, Kenneth / Paterson, Kenneth
en_US
ethz.date.deposited
2022-06-28T18:44:27Z
ethz.source
FORM
ethz.eth
yes
en_US
ethz.availability
Open access
en_US
ethz.rosetta.installDate
2022-07-11T05:49:21Z
ethz.rosetta.lastUpdated
2023-02-07T04:09:41Z
ethz.rosetta.exportRequired
true
ethz.rosetta.versionExported
true
ethz.COinS
ctx_ver=Z39.88-2004&rft_val_fmt=info:ofi/fmt:kev:mtx:journal&rft.atitle=Cloud%20Storage%20Systems:%20From%20Bad%20Practice%20to%20Practical%20Attacks&rft.date=2022-03-06&rft.au=Haller,%20Miro&rft.genre=unknown&rft.btitle=Cloud%20Storage%20Systems:%20From%20Bad%20Practice%20to%20Practical%20Attacks
Files in this item
Publication type
-
Master Thesis [2222]