I'm looking for some recommendations for securing a server against SSLstrip. Anyone have any suggestions?
feedback
|
|
SSLstrip's target is not the server but the session between the user and the hijacked hop. It preys on the users' inabilities to discern between a real SSL session and a lookalike. The best mitigation, then, is making sure your users are aware of what a proper SSL connection to your website looks like: https://, don't rely on the favicon "padlock", etc. Unfortunately, since the trouble is largely on the client side, there is not a lot you can do on the server side to fix your users' naivety. You can put some notes on your login/CC page itself directing users to check for a proper SSL connection, but who is to say that that won't be stripped out by an attacker? One option is to use something like NoScript (or HSTS as agl mentioned). I like to set Again, these are things which have to be done on the client side, and not guaranteed to be done by your users! Assume at least some of your users don't care and will click through anything. | |||
|
feedback
|
|
HSTS is what you want. It allows you to specify that your site should always be accessed over HTTPS and it's supported by Chrome and Firefox 4. (And, with the NoScript extension, Firefox 3 too.) | |||
|
feedback
|
| |||
|
feedback
|