News for hackers. Stuff that matters.
Re:NSA Recommends How Enterprises Can Securely Adopt Encrypt... by rasengan on Saturday January 16, 2021 @04:33PM (#25805709)
Specifically, they are saying that in a home/personal environment, it makes sense to use DoH with a public resolver like cloudflare, but in enterprise, you will not be able to maintain tight control over internal use as browsers role out with DoH by default unless you block those public resolvers and enforce policy to use the enterprise resolver. It doesn't matter unless you care about these tight controls though even in enterprise.
Re:NSA Recommends How Enterprises Can Securely Adopt Encrypt... by StreamBright on Saturday January 16, 2021 @05:27PM (#25806109)
It is going to be super hard to block DoH since it is indistinguishable from normal HTTPS traffic. If you MITM the HTTPS connection the browser can detect that and refuse to use the connection. Many companies are in this situation that MITMing HTTPS is not working very well. I think Google enforces HSTS[1]. Not sure how that works with DOH. I also think that we need browsers that do not have any other means of DNS resolution than the good old operating system wide /etc/resolv.conf (or similar). I am not going to fight with Google if I have the right to have my own DNS server or not. They are taking the open internet inch by inch. This is the last drop.

1. https://en.wikipedia.org/wiki/HTTP_Strict_Transport_Security

Re:NSA Recommends How Enterprises Can Securely Adopt Encrypt... by XorNot on Saturday January 16, 2021 @05:42PM (#25806225)
At an enterprise level the browser configuration is controlled by the IT department. Your MITM CA certificate is going to be forced into the trusted list everywhere.
Re:NSA Recommends How Enterprises Can Securely Adopt Encrypt... by kortilla on Saturday January 16, 2021 @06:06PM (#25806382)
Will that work with websites that pin cert trust anchors?
Re:NSA Recommends How Enterprises Can Securely Adopt Encrypt... by vaduz on Saturday January 16, 2021 @06:29PM (#25806539)
HPKP is dead for all intents and purposes as far as browsers go. What pinning? The CA certificate store that the browser is using is something any enterprise that is interested in control is already extending by adding their own CA cert - and it has been that way for a very long time.

This approach does break some applications that pin specific certificate instead of relying on "any valid CA" model (e.g. Signal desktop) but that is seen as feature, not a bug, when it comes to enterprise.

Re:NSA Recommends How Enterprises Can Securely Adopt Encrypt... by phkahler on Saturday January 16, 2021 @06:29PM (#25806541)
>> Your MITM CA certificate is going to be forced into the trusted list everywhere.

Not on my phone.

Re:NSA Recommends How Enterprises Can Securely Adopt Encrypt... by pstrateman on Saturday January 16, 2021 @07:04PM (#25806751)
Then your phone doesn't go on the lan.
Re:NSA Recommends How Enterprises Can Securely Adopt Encrypt... by phkahler on Saturday January 16, 2021 @07:48PM (#25807027)
OK.
Re:NSA Recommends How Enterprises Can Securely Adopt Encrypt... by rasengan on Saturday January 16, 2021 @05:41PM (#25806217)
That's a good point -- I wasn't really thinking about the practicability since it's not something I had much interest in. That said, I guess either blackholing the DNS so it can't initially be resolved, or even figuring out any and all IP addresses it resolves to and blackholing those IPs would be a start.

I agree, however, that it should be possible to run your own _______. That's what the internet was meant to be.

Re:NSA Recommends How Enterprises Can Securely Adopt Encrypt... by toast0 on Saturday January 16, 2021 @06:07PM (#25806386)
Well known public DoH resolvers are going to have well known IPs and will be easy to block.

eSNI and the encrypted TLS handshake proposal that was floated recently rely on fetching keys via DNS, so that's not applicable for DoH, and the handshake for a DoH client will probably be easy to distinguish from an HTTPS client.

It will be easy to block, if you want to.

Re:NSA Recommends How Enterprises Can Securely Adopt Encrypt... by StreamBright on Saturday January 16, 2021 @06:18PM (#25806475)
What if well known DoH resolves are going to be in the same range as the web traffic? If you could distinguish between DoH and HTTPS easily with iptables or pf, sure. I thought it is not that easy.
Re:NSA Recommends How Enterprises Can Securely Adopt Encrypt... by toast0 on Saturday January 16, 2021 @06:45PM (#25806645)
That really depends on how much Cloudflare and Google are willing to risk.

If enough people block the published DoH resolver IPs, they'll see reduced availability on any hostname that is hosted on the same IPs; but if Cloudflare and Google put important content on the same IPs, it makes it harder to block.

Re:NSA Recommends How Enterprises Can Securely Adopt Encrypt... by pstrateman on Saturday January 16, 2021 @06:57PM (#25806726)
Enterprise networks should generally be forcing all HTTPS traffic through proxies.

This requires local client certificates to be installed.

Re:NSA Recommends How Enterprises Can Securely Adopt Encrypt... by sneak on Saturday January 16, 2021 @07:32PM (#25806922)
This works great when you have all of your computers in an office, like in 1999.
Re:NSA Recommends How Enterprises Can Securely Adopt Encrypt... by pstrateman on Saturday January 16, 2021 @09:07PM (#25807393)
This still works if you use a VPN correctly.