It's certainly not bullshit - side-channels are a problem for many applications. The study mentioned in the linked article uses Google searches as an example. Google (and many other search engines) basically sends a request for each keystroke to get instant results. AIUI, by correlating the size of those requests (which grows with each additional letter you enter) with the size of the results for that search term, you can make a pretty good guess as to what the search term is.
A MitM definitely won't be able to get the plaintext for everything, but side-channels are more common than one might expect. Still, this is significantly (!) harder to do than just logging all HTTP plaintext traffic out there, especially at scale, so it's a very good thing in the context of mass surveillance.
When I check the connection info for the tab I have Google open in it's using AES128GCM. So 128bit block encoder.
As I understand it that means the tail end of the request is going to be padded to the nearest 128bit block, 16 uint8s. I don't see how that could be helpful in working out what I typed.
Am I missing something (I don't have time to read the 16 page .pdf, sorry).
Disclaimer: I haven't read the whole thing either.
AIUI, most of their findings were reproduced with stream ciphers (RC4, though I guess it's similar with newer ones like ChaCha20?):
We checked 22 important HTTPS websites in Appendix B. All of them use RC4 stream cipher, except two: VeriSign, which uses AES128 block cipher for some communications and RC4 for others, and GEICO, which uses Triple-DES block cipher (64 bits). No AES256 traffic was observed on any website.
However, they also state:
Note that we simply state the fact that most websites today have absolutely no side-channel protection at the HTTPS layer, not advocating block ciphers as a cure. We will show later that for most application features, the rounding-effects of block ciphers offer very marginal or no mitigation at all because the traffic distinctions are often too large to hide.
I guess it might be good enough to defeat the search term side-channel.
10
u/pfg1 Nov 24 '16 edited Nov 24 '16
It's certainly not bullshit - side-channels are a problem for many applications. The study mentioned in the linked article uses Google searches as an example. Google (and many other search engines) basically sends a request for each keystroke to get instant results. AIUI, by correlating the size of those requests (which grows with each additional letter you enter) with the size of the results for that search term, you can make a pretty good guess as to what the search term is.
A MitM definitely won't be able to get the plaintext for everything, but side-channels are more common than one might expect. Still, this is significantly (!) harder to do than just logging all HTTP plaintext traffic out there, especially at scale, so it's a very good thing in the context of mass surveillance.