Re:Public key pinning coming in Chrome 13
by JoachimSchipper on Wednesday May 04, 2011 @03:10PM
(#2514914)
Summary: the CA system is so broken that Google decided to hardcode a small list of CAs for google.com etc. "High value sites" can request the same treatment.
Re:Public key pinning coming in Chrome 13
by count on Wednesday May 04, 2011 @05:24PM
(#2515360)
I was thinking the exact opposite. Many organizations (especially the govt) rely on SSL proxies like BlueCoat that effectively hijack SSL traffic with on the fly generated SSL certs from a trusted organizational CA, in order to inspect/filter outbound data. 'Pinning' would totally destroy this capability if organizational CA's couldn't override it.
Re:Public key pinning coming in Chrome 13
by wladimir on Thursday May 05, 2011 @02:23AM
(#2516390)
He has the thread model backwards. If your advisary already can modify files on your computer, you have other things to worry about than SSL being compromised through the network.
The malware could just as well intercept your data before it is encrypted, for example, by installing a rogue SSL library. No need for sniffing and fake certs.
Re:Public key pinning coming in Chrome 13
by drivebyacct2 on Wednesday May 04, 2011 @04:19PM
(#2515142)
Securing the data in transit and securing it on a device are two different concerns and it seems silly to expect a network protocol to be able to secure against scenarios where malware is at play.
If you're infected with malware, just patch Chrome in memory to report everything as SSL connected, etc. If you're already compromised, nothing Google can do can help you.
Re:Public key pinning coming in Chrome 13
by y0ghur7_xxx on Wednesday May 04, 2011 @04:25PM
(#2515156)
I don't understand. I am sure I am missing something obvious but maybe you can help me understand.
The purpose of STS is to avoid the user accidentally going to the http address of a page instead of the https page. This is achieved by a special HTTP header that is sent from the server to the browser. The browser remembers that the server wishes to be contacted only over https, and from that moment on all network traffic from the browser to that domain will only be possible over https. No way for the user to accidentally type http://gmail.com/.
How is this different from a 302 location redirect header from the http:// url to the https:// url?
Re:Public key pinning coming in Chrome 13
by y0ghur7_xxx on Wednesday May 04, 2011 @04:34PM
(#2515202)
But that is a problem with STS too. That is why google is HSTS preloading a lot of google domains in their browser (they hardcode the domains). Couldn't they just hardcode the redirect so that if the user types http://gmail.com/ chrome replaces it with https://gmail.com?
Re:Public key pinning coming in Chrome 13
by trotsky on Wednesday May 04, 2011 @04:42PM
(#2515218)
STS solves the problem unless the attacker has a fraudulent certificate for the domain you are reaching that is signed by a CA you trust. Presumably this is far fewer attackers than those who could manipulate your DNS or are on your local network to ARP in as a middleman. Basically, two different problems - the trust only X CA for xxx.com wouldn't ever get to come into play if someone using sslstrip simply keeps you from ever going to tls.
Re:Public key pinning coming in Chrome 13
by extension on Wednesday May 04, 2011 @10:14PM
(#2515942)
It's a problem with STS the first time the browser visits a particular site. Once the browser receives the STS header, all future requests to that site will be over HTTPS.
Re:Public key pinning coming in Chrome 13
by EricButler on Wednesday May 04, 2011 @04:29PM
(#2515176)
An attacker could intercept that initial http:// url and provide their own destination for the browser to visit instead. HSTS prevents this from happening once the domain is in the cache (or pre-loaded).
The malware could just as well intercept your data before it is encrypted, for example, by installing a rogue SSL library. No need for sniffing and fake certs.
If you're infected with malware, just patch Chrome in memory to report everything as SSL connected, etc. If you're already compromised, nothing Google can do can help you.
The purpose of STS is to avoid the user accidentally going to the http address of a page instead of the https page. This is achieved by a special HTTP header that is sent from the server to the browser. The browser remembers that the server wishes to be contacted only over https, and from that moment on all network traffic from the browser to that domain will only be possible over https. No way for the user to accidentally type http://gmail.com/.
How is this different from a 302 location redirect header from the http:// url to the https:// url?
http://www.thoughtcrime.org/software/sslstrip/
Also, redirecting from e.g. http://gmail.com/login?user=me&pass=secret to https://gmail.com/login?user=me&pass=secret is not that useful, so this can also help with some forms.