News for hackers. Stuff that matters.
Re:How to keep your ISP’s nose out of your browser history w... by gruez on Sunday April 08, 2018 @05:00PM (#16788361)
how would encrypted SNI work? sure, you can probably do some sort of DHE, but that's vulnerable to MITM, which is why we have certificates to begin with.
Re:How to keep your ISP’s nose out of your browser history w... by bscphil on Sunday April 08, 2018 @06:54PM (#16788971)
What if we could have first class SSL certs for IP addresses? You connect to the IP and verify the cert it presents you with your PKI, then switch to the desired host via SNI or some other mechanism after DHE is established. I suspect you could do this without any extra hops but I haven't really thought through how that would work.
Re:How to keep your ISP’s nose out of your browser history w... by gruez on Sunday April 08, 2018 @07:13PM (#16789050)
tls certificates already work out of the box for ip addresses (at least on firefox, see https://1.1.1.1/), so that's actually a pretty neat solution.
Re:How to keep your ISP’s nose out of your browser history w... by ori_b on Monday April 09, 2018 @01:20AM (#16790606)
> What if we could have first class SSL certs for IP addresses?

They're not routable.

Re:How to keep your ISP’s nose out of your browser history w... by rmwaite on Monday April 09, 2018 @06:06PM (#16797402)
What does this mean?
Re:How to keep your ISP’s nose out of your browser history w... by ori_b on Tuesday April 10, 2018 @12:07AM (#16798908)
What's the next hop for a cryptographic hash? With IP addresses, you have a heirarchy: You match on a prefix to find the router to handle the next path, and that one matches on a longer prefix to find the next hop, and so on.

That allows you to have routing tables that don't include every single host on the internet. This is what allows efficient routing to happen.

Re:How to keep your ISP’s nose out of your browser history w... by muizelaar on Sunday April 08, 2018 @05:10PM (#16788437)
Re:How to keep your ISP’s nose out of your browser history w... by the8472 on Sunday April 08, 2018 @06:44PM (#16788908)
Couldn't the client send SNI after the DH and then the server authenticate the secret? That way MITM would always be detectable at least.
Re:How to keep your ISP’s nose out of your browser history w... by ori_b on Monday April 09, 2018 @01:19AM (#16790603)
> Couldn't the client send SNI after the DH and then the server authenticate the secret?

That means you can't use sni to route your request to a different server.

Re:How to keep your ISP’s nose out of your browser history w... by infogulch on Monday April 09, 2018 @02:30AM (#16790862)
Yes, whatever is serving on that interface will have to terminate TLS. Or somehow pass the session information to the proxied server, or ask the client to reconnect, or do some kind of tls tunneling from the client to the real host. I don't think any of those are unreasonable options.
Re:How to keep your ISP’s nose out of your browser history w... by hacknat on Sunday April 08, 2018 @08:19PM (#16789332)
> But that’s vulnerable to MITM

It is if that’s all you’re trusting, but you get to check the validity of the cert, so someone could MITM a TLS 1.3, but it wouldn’t do them much good as all they would get is a request for a certificate, then the normal TLS certification steps must proceed. Without the certificate private key the rest of the handshake would fail.

Re:How to keep your ISP’s nose out of your browser history w... by gruez on Sunday April 08, 2018 @09:17PM (#16789557)
sure, they're not going to MITM your http connection, but they will be able to MITM your certificate connection, which allows them to discover what site you visited, which is the same problem that SNI has.
Re:How to keep your ISP’s nose out of your browser history w... by saurik on Sunday April 08, 2018 @11:59PM (#16790236)
They can do this, but your browser would retroactively notice that it happened and go "holy shit that was bad, you should complain to someone about it". This does not solve for all threat models, but it does avoid the "snoopy ISP".
Re:How to keep your ISP’s nose out of your browser history w... by arkadiyt on Sunday April 08, 2018 @05:13PM (#16788451)
There's domain fronting [1] and http/2 certificate frames [2] - they are conceptually similar.

[1]: https://www.bamsoftware.com/papers/fronting/

[2]: https://tools.ietf.org/html/draft-bishop-httpbis-http2-addit...

Re:How to keep your ISP’s nose out of your browser history w... by gruez on Sunday April 08, 2018 @05:40PM (#16788596)
both of them seem to use the concept of "connect via a fake domain name, then connect to the real domain". i'm not sure how this is scaleable for everyday browsing. you might be able to find the fronting server for wikipedia, but how are you going to find the fronting server for every website you're visiting? this solves the problem of censorship, but not the problem of ISP surveillance.
Re:How to keep your ISP’s nose out of your browser history w... by AlexCoventry on Sunday April 08, 2018 @07:25PM (#16789112)
> you can probably do some sort of DHE

Could the browser send a symmetric key encrypted in the public key of the target website, as part of the initial challenge?

Re:How to keep your ISP’s nose out of your browser history w... by infogulch on Sunday April 08, 2018 @08:11PM (#16789300)
The point is you don't know what the public key of the target website is. You find out by asking for it, and then you verify it's authenticity by checking the signature. Before you connect all you know is the domain and the keys of CA's you trust.
Re:How to keep your ISP’s nose out of your browser history w... by AlexCoventry on Sunday April 08, 2018 @09:14PM (#16789543)
Ah, right. Thanks.