Making Pinterest HTTPS
engineering.pinterest.com
engineering.pinterest.com
$ ./cipherscan pinterest.com
................
Target: pinterest.com:443
prio ciphersuite protocols pfs_keysize
1 ECDHE-RSA-AES128-GCM-SHA256 TLSv1.2 ECDH,P-256,256bits
2 ECDHE-RSA-AES128-SHA256 TLSv1.2 ECDH,P-256,256bits
3 ECDHE-RSA-AES128-SHA TLSv1,TLSv1.1,TLSv1.2 ECDH,P-256,256bits
4 DHE-RSA-AES128-SHA TLSv1,TLSv1.1,TLSv1.2 DH,1024bits
5 ECDHE-RSA-AES256-GCM-SHA384 TLSv1.2 ECDH,P-256,256bits
6 ECDHE-RSA-AES256-SHA384 TLSv1.2 ECDH,P-256,256bits
7 ECDHE-RSA-AES256-SHA TLSv1,TLSv1.1,TLSv1.2 ECDH,P-256,256bits
8 AES128-GCM-SHA256 TLSv1.2
9 AES128-SHA256 TLSv1.2
10 AES128-SHA TLSv1,TLSv1.1,TLSv1.2
11 AES256-GCM-SHA384 TLSv1.2
12 AES256-SHA256 TLSv1.2
13 AES256-SHA TLSv1,TLSv1.1,TLSv1.2
14 ECDHE-RSA-RC4-SHA TLSv1,TLSv1.1,TLSv1.2 ECDH,P-256,256bits
15 RC4-SHA TLSv1,TLSv1.1,TLSv1.2
Certificate: trusted, 2048 bit, sha256WithRSAEncryption signature
TLS ticket lifetime hint: 300
OCSP stapling: not supported
Server side cipher ordering[1] http://blog.cryptographyengineering.com/2013/03/attack-of-we...
[1] https://securitypitfalls.wordpress.com/2015/03/13/february-2...
https://www.blackhat.com/asia-15/briefings.html#bar-mitzva-a...
If you're managing a system, do what the RFC said: turn off RC4 on all the servers and clients. You were warned!
I think you want the PICARESQUE ECI compartment, specifically (TS//SI-PIQ). NSA are said to have had a "cryptanalytic breakthrough" which "surprised" GCHQ some years ago. Specific operational details are currently undisclosed, but there have been references to PIQ (PICARESQUE) blades at locations of some TEMPORA full-take feeds processing the (72-hour) network intercept ring buffers in nearline and providing passive decrypts on-site to the backend via crypt attacks. They have only one-way access, and aren't active/QUANTUM (MoTS/MiTM) attacks, or PAWLEYS (key-stealing) attacks. The prevalence of RC4 within TLS (and other protocols) at the time, that it apparently directly provides plaintext decrypts, and RC4's relative weakness, suggest it as the most likely candidate for attack.
So, no, don't use RC4! …not that I've had the opportunity to reverse any of these blades recently, you understand…
A lot of sites got bad advice. (One might wonder about whether all that advice was truly given in good faith. Maybe.) The real fix for BEAST and Lucky13 is, and always was, to use TLSv1.2 with AEADs like AES_GCM, or CHACHA20_POLY1305. So do that.
yet they didn't go full https till early 2015 - when do we get to start pointing this shit out? Sidejacking attacks have been around for years (Hamster [1] is from 2007), and the millions of other reasons to do it just keep growing. I feel like at some point you can't say "safety is top priority" just for implementing HTTPS sitewide.
[1] http://blog.erratasec.com/2007/08/sidejacking-with-hamster_0...
Turning on HTTPS is not a one-step migration.
Turning on CSP has also proven to be very difficult for nearly every site who wishes to turn it on.
Where I work I am dealing with production issue with one of the security features, which by enabling it we observed redirection loop. I am not saying this is an excuse but there are challenges.
You had one job.
https://i.imgur.com/7RCusOi.png
(MTNL is an ISP in Delhi that I'm currently using to access the net. They are pretty shameless about running MITM attacks on virtually every webpage which is not fully HTTPS, such as engineering.pinterest.com.)
Edit: Sorry should source my claim.
Primary source: It reverted back to my .tumblr.com domain when I tried it
Also https://support.cloudflare.com/hc/en-us/articles/200168566-H...
Sounds like they don't really know much
"We used a meta referrer header to support HTTPS tracking to HTTP sites."
HTTPS security seems to be going downhill where it matters. "wellsfargo.com" not only has just a cheezy "domain validated only" SSL cert, but their "sign up for online access" link redirects to "https://adfarm.mediaplex.com". Bank of America used to run the secure pages through "secure.bankofamerica.com" from their own servers. Now everything comes from one domain, and it's front-ended by an Akamai service.
That doesn't logically follow. The CDN doesn't have to start handling logins just because the "cat pictures" are now being served over HTTPS.
> If you only encrypt login pages and such, and have a server with higher security handling them, you're at least protecting passwords and user identification
It's impossible to provide meaningful security this way - if the pages linking to the login page aren't HTTPS, it's trivial to sslstrip them. Only a very small fraction of users will notice when this happens.