Most IT people are somewhat familiar with Wireshark. It is a traffic analyzer, that helps you learn how networking works, diagnose problems and much more.
One of the problems with the way Wireshark works is that it can’t easily analyze encrypted traffic, like TLS. It used to be if you had the private key(s) you could feed them into Wireshark and it would decrypt the traffic on the fly, but it only worked when using RSA for the key exchange mechanism. As people have started to embrace forward secrecy this broke, as having the private key is no longer enough derive the actual session key used to decrypt the data. The other problem with this is that a private key should not or can not leave the client, server, or HSM it is in. This lead me to coming up with very contrived ways of man-in-the-middling myself to decrypt the traffic(e.g. sslstrip or mitmproxy).
Session Key Logging to the Rescue!
Well my friends I’m here to tell you that there is an easier way! It turns out that Firefox and Chrome both support logging the symmetric session key used to encrypt TLS traffic to a file. You can then point Wireshark at said file and presto! decrypted TLS traffic.
(Score: 3, Interesting) by opinionated_science on Sunday November 20 2016, @01:59PM
I had misplace knowledge of this - seems like a fantastic backdoor, if its deployment can be hidden....
Am I misreading this? The browser will "leak" private keys - sure for debugging that's great. But if it can be set by an environment variable, what's to stop a malign sysadmin making this default?
(Score: 5, Informative) by Anonymous Coward on Sunday November 20 2016, @02:30PM
> what's to stop a malign sysadmin making this default?
Nothing. And that's why it isn't a problem.
If you are trying to protect your usage of a system from the person with privileged access to the system then you've already lost the fight.
(Score: 2) by dlb on Sunday November 20 2016, @04:36PM
And as long as I'm handing out unsolicited (and maybe not particularly wanted) praise, compliments to Phoenix666 for finding an article that's interesting and tech related.
(Score: 2) by janrinok on Sunday November 20 2016, @08:05PM
P666 left us with a pile of tech stories which have been used since Friday onwards. A very prolific submitter!
(Score: 2) by dlb on Sunday November 20 2016, @08:53PM
(Score: 1, Informative) by Anonymous Coward on Sunday November 20 2016, @08:10PM
Note these are transient TLS session keys, not RSA private keys they're talking about.