Re:Running one’s own root Certificate Authority in 2023
by sneak on Saturday September 16, 2023 @11:41PM
(#37541296)
MitM is not "decrypt arbitrary traffic" which is what was asserted. m
Re:Running one’s own root Certificate Authority in 2023
by fiddlerwoaroof on Sunday September 17, 2023 @12:39AM
(#37541577)
I wasn’t distinguishing the two sorts of attacks.
Of course it does. You just generate certificates for every TLS handshake you see and MitM them.
And yes, it works for PFS too. There is no difference for MitM.
> In the case of PFS cipher suites (eg EDH) an ephemeral key is used for confidentiality and the endpoint keys are just used for integrity and key authentication. Even with the webserver key you aren't decrypting those streams.
You never encrypt data with a key from certificate, even without PFS. That would be too slow. You generate a pre-master key and then use it to generate keys for symmetric algorithms, like AES or Chacha20, that are actually used for data stream encryption. The only difference between PFS and non-PFS is that in the former case pre-master is generated using some form of DH, with promise of keys being destroyed after some time, and in the later case, client just generates a random key, encrypts it with the public key and sends it to the server.