News for hackers. Stuff that matters.
Re:Malaysia started mandating ISPs to redirect DNS queries t... by vFunct on Saturday September 07, 2024 @01:59AM (#41471783)
That's one level of security, but even for DoH, it's possible for entities to attack and control an HTTPS server, returning falsified DNS queries, and now the antigovernment.com website you logged in to talk about anti-government politics is actually run by government. The only way to prevent that is via DNSsec to make sure that antigovernment.com goes to a real antigovernment.com server.
Re:Malaysia started mandating ISPs to redirect DNS queries t... by tsimionescu on Saturday September 07, 2024 @02:57AM (#41472049)
This makes no sense whatsoever.

If the government can transparently MITM your HTTPS connections with the DoH server, they can just as well MITM your connection to the real antigovernment.com server regardless of what DNS you use. And in fact, if they can't MITM your connection to the real antigovernment.com, they also can't trick you to talk to their fake antigovernment.com regardless of intercepting your DNS: you will connect to the attacker IP, the attacker IP will give you a bogus certificate, your browser will refuse to connect.

Re:Malaysia started mandating ISPs to redirect DNS queries t... by yegle on Saturday September 07, 2024 @02:05AM (#41471802)
Wait what do you mean? They can have an HTTPS server and MITM, but how can they get a certificate for the DoH server I use?
Re:Malaysia started mandating ISPs to redirect DNS queries t... by labcomputer on Saturday September 07, 2024 @02:42AM (#41471981)
They only need a certificate signed by an authority trusted by your resolver. And, unlike for the website itself, your browser does not show certificate information for the DoH server.

DoH also does not solve the problem of where the DNS server you use gets its information from: A government can compromise the other side as well.

Re:Malaysia started mandating ISPs to redirect DNS queries t... by yegle on Saturday September 07, 2024 @03:02AM (#41472072)
So, like, you are assuming someone using a resolver that ignores the certificate chain of trust, as an evidence that DoH is not useful?

Do your program language _show_ you the certificate information when you use an http library to connect to an HTTPS service?

Sure the other end of the DNS query may not be encrypted, but I can easily decide which government to trust, and run my DoH server there.

Re:Malaysia started mandating ISPs to redirect DNS queries t... by kelnos on Saturday September 07, 2024 @05:04AM (#41472601)
> your browser does not show certificate information for the DoH server.

It doesn't show it, but I expect it would put up an error message if the DoH server's cert is invalid.