Breaking Textbook RSA Used to Protect the Privacy of Millions of Users
1–10 of 31 posts
Re: Breaking Textbook RSA Used to Protect the Privacy of Millions of Users
#2The setting, simplified: you send RSA(aes-key), AES(key, message). The server replies if the AES key it recovers from the RSA message successfully decrypts the AES ciphertext; the server is an oracle for whether the message is valid.
The attack is stupid simple: the attacker shifts 127 of the AES key bits off of the RSA message --- the attacker can do this, because RSA is homomorphic with respect to multiplication and thus malleable --- and then sends the bit-shifted RSA message along with an AES ciphertext encrypted with the 0b1000...0 AES key. If that elicits a server response, the attacker knows the bottom bit of the real AES key is 1. The attacker repeats with a 126 bit shift, then the math teachers and so on until everyone is eaten.
Re: Breaking Textbook RSA Used to Protect the Privacy of Millions of Users
#3Re: Breaking Textbook RSA Used to Protect the Privacy of Millions of Users
#4>Through reverse engineering, we have documented the encryption protocols used by QQ Browser to protect the trove of sensitive information each client uploads to QQ Browser’s servers (this is summarized in Section 2). This sensitive information includes International Mobile Equipment Identifier (IMEI) numbers, web pages vis- ited, locational data, and many other kinds of private data about a QQ Browser user. The possibility that Tencent shares this information with state actors is explored in existing reports [15], and QQ Browser’s data collection mirrors competing browsers such as UC Browser [12] and Baidu Browser [14].
Re: Breaking Textbook RSA Used to Protect the Privacy of Millions of Users
#5Why not just pretend you do TLS and simply don't show MITM attacks to your users like the (also somehow Chinese) CM Browser does? https://medium.com/@dEad0r/cm-browser-insecurity-can-chinese...
In fact I believe sslstrip can do all this for you. Including giving it a CA to generate certificates out of.
Re: Breaking Textbook RSA Used to Protect the Privacy of Millions of Users
#6Why not just pretend you do TLS and simply don't show MITM attacks to your users like the (also somehow Chinese) CM Browser does? https://medium.com/@dEad0r/cm-browser-insecurity-can-chinese...
If you own the machine simply install a CA. Instant trusted everything. Be sure to drop those pesky certificate pinning headers in http though. In fact I believe sslstrip can do all this for you. Including giving it a CA to generate certificates out of.
I assume Tencent's QQ Browser validates certificates properly, but combined with a horrible RSA implementation that's not worth anything. It's actually a more clever (less visible) way of pretending to establish secure/authenticated connections.
Re: Breaking Textbook RSA Used to Protect the Privacy of Millions of Users
#7sidenote - user data collection by the browsers : >Through reverse engineering, we have documented the encryption protocols used by QQ Browser to protect the trove of sensitive information each client uploads to QQ Browser’s servers (this is summarized in Section 2). This sensitive information includes International Mobile Equipment Identifier (IMEI) numbers, web pages vis- ited, locational data, and many other kinds…
Re: Breaking Textbook RSA Used to Protect the Privacy of Millions of Users
#8What's cool about this paper is the CCA2 attack on unpadded RSA in the middle of it. What's cool about that attack is how simple it is. The setting, simplified: you send RSA(aes-key), AES(key, message). The server replies if the AES key it recovers from the RSA message successfully decrypts the AES ciphertext; the server is an oracle for whether the message is valid. The attack is stupid simple: the attacker shifts 1…
Re: Breaking Textbook RSA Used to Protect the Privacy of Millions of Users
#9Re: Breaking Textbook RSA Used to Protect the Privacy of Millions of Users
#10haha i read this headline and thought to myself "breaking textbook RSA is EXACTLY what I was just learning about in class today" and then I noticed one of the authors is my professor