4 ms·
If you host a website and are worried about these types of attacks against your users, there are a couple of fairly straightforward things you can do to strengt
by moxie 14y ago
If you host a website and are worried about these types of attacks against your users, there are a couple of fairly straightforward things you can do to strengthen your position:
1) There is no reason that your mobile apps need to use the public CA system. You can either generate your own signing certificates and embed them in your apps, or if you must use CA certificates for your mobile endpoints, at least pin those SPKIs in your apps. More info here: http://www.thoughtcrime.org/blog/authenticity-is-broken-in-ssl-but-your-app-ha/ http://www.thoughtcrime.org/blog/authenticity-is-broken-in-s...
2) If your website is high volume, Adam Langley is very generous about adding certificate pins for the CA you are using to Chrome: http://www.imperialviolet.org/2011/05/04/pinning.html http://www.imperialviolet.org/2011/05/04/pinning.html This will mean that a random CA in Turkey can not be used to intercept traffic to your website from Chrome, in the exact same was that Google was protected in this incident with its own websites. Word on the street is that Firefox is now beginning to use the same list of pins.
3) Experiment with and support the development of TACK, which is a way to frictionlessly pin certificates for your website in a dynamic way (rather than having to hardcode them into browser binaries): http://tack.io http://tack.io
4) And of course, make sure that you're advertising HSTS headers, so that your users aren't vulnerable to sslstrip (http://www.thoughtcrime.org/software/sslstrip http://www.thoughtcrime.org/software/sslstrip) attacks.
- kevinburke 14y agoIt seems like "one guy pinning certificates to Chrome" might be an interesting attack vector. How does he verify you actually work for the high-profile site in question?
- nwh 14y agoSame way they do other verifications I suppose; by proving you have write access to the server in question. If someone malicious can manage that, there's bigger problems than SSL.
- asdfaoeu 14y agoPresumably it still checks the certificate is valid otherwise the worse case would just be that the legitimate site would not work.
- wglb 14y agoSadly, apparently not supported in IE yet.
- contingencies 14y ago"I, 'J. Random techie', on behalf of the internet community, hereby thank you for your hard work on forward-looking protocols, prototypes and public education around these issues Moxie. Much appreciated." Round of applause.