News for hackers. Stuff that matters.
Re:Comcast Shot Themselves in the Foot with MTA-STS by wolverine876 on Wednesday January 19, 2022 @04:05PM (#30000109)
> MTA-STS is a relatively new standard that allows domain owners such as Comcast to opt in to authenticated encryption for their mail servers. (By default, SMTP traffic between mail servers uses opportunistic encryption, which can be defeated by active attackers to intercept email.) MTA-STS requires the domain owner to duplicate their MX record (the DNS record that lists a domain's mail servers) in a text file served over HTTPS. Sending mail servers, like Alex's, refuse to contact mail servers that aren't listed in the MTA-STS text file. Since HTTPS uses authenticated encryption, the text file can't be altered by active attackers. (In contrast, the MX record is vulnerable to manipulation unless DNSSEC is used, but people don't like DNSSEC which is why MTA-STS was invented.)

Is this just a way of validating the MX record? That is, the public MX record in DNS can't be trusted, but because a cert verifies the identity of the sending mail server, the one they send can be trusted?

If someone is successfully impersonating the sender, what stops them from sending a false MX record. If they aren't impersonators, why not just trust them regardless - why do they need the MX record?

Obviously, I'm missing something.

Re:Comcast Shot Themselves in the Foot with MTA-STS by tedunangst on Wednesday January 19, 2022 @05:55PM (#30001632)
This allows you to verify the mx record of the domain you're sending to, not the sender.
Re:Comcast Shot Themselves in the Foot with MTA-STS by wolverine876 on Wednesday January 19, 2022 @11:20PM (#30004566)
Thanks. Without trusting the MX record, how do you know from what address ask for the MX over HTTPS?

Maybe I should just look it up myself!

Re:Comcast Shot Themselves in the Foot with MTA-STS by tedunangst on Thursday January 20, 2022 @02:28AM (#30005845)
In theory, you cache a good copy from sometime before the attack.
Re:Comcast Shot Themselves in the Foot with MTA-STS by aaronmdjones on Wednesday January 19, 2022 @05:56PM (#30001634)
This is for the receiver, not the sender.