by deeter72 · 6y ago · 0 comments
DNS should be something that is handled by the OS. I favor DoT which is secure and practical over DoH.
Alternatively, you can roll out a Group Policy or use Mozilla's "Enterprise" policies to do it.
Hopefully you're also blocking 53/TCP and 53/UDP outbound (except from your internal DNS servers).
Malware can already query IPs of its choice to learn about other IPs it should contact. DoH doesn't let it do anything new.
In that case, DoH does let malware do something new -- block the company's existing DNS policies, quert logging, and security monitoring!
Malware does not need DoH to do this. They can simply run an ordinary HTTPS server with a self-signed cert on an arbitrary IP, with a simple JSON-based or whatever protocol, and have support for that in their client.
Yes, you're right, of course.
There are any number of things that malware can do. Most of it doesn't, however, and can either be stopped completely or, at the least, detected quite easily using some basic techniques.
Malware could always use some proprietary wrapping in TLS to hide name resolution.
Domain fronting through Azure is still a thing for instance.