News for hackers. Stuff that matters.
Re:ThreeUK blocks access to encrypted provider Tutanota due ... by roboben on Wednesday December 14, 2022 @06:34AM (#33982206)
How do ISPs do a page in front of their service? Do they have a DNS blacklist, resolve to their servers first and then let the users pass when accepting? How is this acceptance working and persisted?

And could you not circumvent this by either using another DNS provider?

Re:ThreeUK blocks access to encrypted provider Tutanota due ... by benmmurphy on Wednesday December 14, 2022 @07:54AM (#33982795)
ISPs in the UK mitm TLS connections and use SNI sniffing in order to block banned sites. You can see this is happening by either visiting a banned site and seeing the connection being reset after the client hello is sent or you can check the TCP SYN packet your client sends on 443 vs the TCP packet the server receives. Oddly enough on the O2 network they are not simply sniffing the packets on the wire but doing a full TCP proxy because the TCP syn packet has been heavily rewritten. For example when using an iPhone the order of the SYN flags is very different from Linux. the SYN packet the server receives will look like it came from Linux even though it originated from an iPhone. This is not what you would expect if they were just doing normal NAT.
Re:ThreeUK blocks access to encrypted provider Tutanota due ... by jonas-w on Wednesday December 14, 2022 @11:53AM (#33986244)
Wouldn't you need to trust their certificate?
Re:ThreeUK blocks access to encrypted provider Tutanota due ... by 10000truths on Wednesday December 14, 2022 @12:34PM (#33986806)
You don't need the certificate to drop connections, it only comes into play if you're trying to impersonate an endpoint.
Re:ThreeUK blocks access to encrypted provider Tutanota due ... by MaxBarraclough on Wednesday December 14, 2022 @04:22PM (#33990785)
benmmurphy specifically said mitm. jonas-w is correct that this cannot be done as it would require a root certificate.
Re:ThreeUK blocks access to encrypted provider Tutanota due ... by benmmurphy on Wednesday December 14, 2022 @10:38PM (#33994877)
I said MITM reading the client hello and using SNI sniffing. They are fully rewriting TCP flow not just what NAT does when they adjust the address and ports on the packets. I'm not exactly sure the reason for this. It could just be a technical choice they made. But it does make it easier to flip a switch to do a full MITM that includes decryption using root certificates or using protocol attacks to decrypt traffic.
Re:ThreeUK blocks access to encrypted provider Tutanota due ... by sidewndr46 on Wednesday December 14, 2022 @08:11AM (#33982977)
For IPv4 the SYN flag is a single bit in the packet at a fixed location. So to say the 'order' is 'very different' does not make any sense.
Re:ThreeUK blocks access to encrypted provider Tutanota due ... by benmmurphy on Wednesday December 14, 2022 @10:34PM (#33994829)
I misdescribed how you can detect the OS from the TCP packet with the SYN flag set. The order of the TCP options is often different between different OSs.
Re:ThreeUK blocks access to encrypted provider Tutanota due ... by kaszanka on Wednesday December 14, 2022 @07:58AM (#33982827)
What do you mean by the order of the SYN flags?
Re:ThreeUK blocks access to encrypted provider Tutanota due ... by benmmurphy on Wednesday December 14, 2022 @10:34PM (#33994835)
I meant the order of the TCP options.
Re:ThreeUK blocks access to encrypted provider Tutanota due ... by MaxBarraclough on Wednesday December 14, 2022 @04:20PM (#33990764)
> ISPs in the UK mitm TLS connections

They do not. As jonas-w points out, they would need a root certificate, which they don't have.

Much of the value of TLS is protection against untrustworthy ISPs.

Re:ThreeUK blocks access to encrypted provider Tutanota due ... by adders on Wednesday December 14, 2022 @07:29AM (#33982600)
Most mobile ISPs in the UK use Procera Networks (now Sandvine) products that do basic deep packet inspection to filter traffic.

You can allocate users to pools and provide contectivity based on the pool, ie allowing you to limit speeds of high usage users or have different filtering lists like this under 18s list.

With these devices you are able to block traffic to specific domains even if SSL is used with relative ease.

As it is done at network level, you can't bypass via different DNS provider, only vpns can bypass

Re:ThreeUK blocks access to encrypted provider Tutanota due ... by Varloom on Wednesday December 14, 2022 @08:10AM (#33982970)
Nothing can stop SNI sniffing & blocking except DNS with encrypted client hello.

Which is taking forever to be standardized.

Re:ThreeUK blocks access to encrypted provider Tutanota due ... by Semaphor on Wednesday December 14, 2022 @06:36AM (#33982221)
It depends, but DNS lists are by far the most common, and you can indeed circumvent it by using another DNS server.
Re:ThreeUK blocks access to encrypted provider Tutanota due ... by Reason077 on Wednesday December 14, 2022 @06:47AM (#33982288)
Changing DNS servers will not get around the UK ISP “adult content blocks” in my experience, but using a VPN will.

Generally it’s a good idea to disable ISP content blocking if you can, because they can cause all kinds of problems (slowdowns, false positives).

Re:ThreeUK blocks access to encrypted provider Tutanota due ... by AntoniusBlock on Wednesday December 14, 2022 @07:41AM (#33982692)
I can get around Sky Broadband's block on Libgen by just using Libgen's IP, for example.
Re:ThreeUK blocks access to encrypted provider Tutanota due ... by Semaphor on Wednesday December 14, 2022 @07:04AM (#33982407)
How do they do that? IP Lists?
Re:ThreeUK blocks access to encrypted provider Tutanota due ... by madjam002 on Wednesday December 14, 2022 @07:42AM (#33982703)
Probably TLS SNI inspection
Re:ThreeUK blocks access to encrypted provider Tutanota due ... by Semaphor on Wednesday December 14, 2022 @07:53AM (#33982790)
Huh. I thought that was encrypted, but apparently we aren’t ESNI yet.
Re:ThreeUK blocks access to encrypted provider Tutanota due ... by Varloom on Wednesday December 14, 2022 @08:13AM (#33982993)
Even with secure DNS, the SNI part is passed as plain text for the ISP to intercept and block.
Re:ThreeUK blocks access to encrypted provider Tutanota due ... by sidewndr46 on Wednesday December 14, 2022 @08:12AM (#33982981)
Wouldn't they just block outside DNS?
Re:ThreeUK blocks access to encrypted provider Tutanota due ... by denton-scratch on Wednesday December 14, 2022 @08:26AM (#33983149)
They can't block a customer-premises recursive resolver. But the SNI is on the TCP connection, not the DNS request; if you have that sort of ISP, they can filter based on SNI.
Re:ThreeUK blocks access to encrypted provider Tutanota due ... by sidewndr46 on Wednesday December 14, 2022 @08:41AM (#33983309)
Why would the location of the DNS resolver matter? If I am running a local DNS resolver, presumably it recurses to an outside DNs server. If my ISP blocks that, I can't use it.
Re:ThreeUK blocks access to encrypted provider Tutanota due ... by denton-scratch on Wednesday December 14, 2022 @09:06AM (#33983604)
It recurses to the root, and then down the tree. So yes - the final query is a lookup for the name you are targeting, and yes, it goes through your ISP, like all your other traffic.

But it doesn't go through your ISPs DNS infrastructure, it goes direct to the nameserver for the parent domain. And even that doesn't happen if your local resolver has the result cached. The easiest way to block DNS lookups is at the DNS server; using DPI to block DNS lookups is straying into sledgehammer/nut territory.

Re:ThreeUK blocks access to encrypted provider Tutanota due ... by sidewndr46 on Wednesday December 14, 2022 @10:40AM (#33984993)
Yeah, but isn't that laughably easy to block such a scheme? If a packet is destined for port 53 that isn't the ISPs DNS server, poof it's gone!
Re:ThreeUK blocks access to encrypted provider Tutanota due ... by denton-scratch on Wednesday December 14, 2022 @11:48AM (#33986168)
You're right; that's a very simple firewall rule. But if I can't access a working DNS server over the internet, then I don't have internet service, and whatever kind of provider I have, it's not an "internet service provider".
Re:ThreeUK blocks access to encrypted provider Tutanota due ... by sidewndr46 on Thursday December 15, 2022 @09:17AM (#33999805)
Each ISP get's to make its own rules, but its the norm where I've lived to have some services blocked. For example, my ISP blocks GRE. At least one in the past I had blocked inbound SMTP & DNS.
Re:ThreeUK blocks access to encrypted provider Tutanota due ... by denton-scratch on Thursday December 15, 2022 @11:05AM (#34001571)
Fine. I just don't call that "internet service". That's some kind of walled-garden internet-lite, conceptually the same as the old AOL.
Re:ThreeUK blocks access to encrypted provider Tutanota due ... by Nextgrid on Wednesday December 14, 2022 @10:59AM (#33985370)
Or just redirect any outbound port-53 traffic to the ISP's DNS which will pretend to be the server you're talking to while silently applying the filtering.
Re:ThreeUK blocks access to encrypted provider Tutanota due ... by TheCapeGreek on Wednesday December 14, 2022 @06:38AM (#33982226)
In short (and from my own layman understanding as networking is not my strong suit) the packets still go through the ISP and can be analysed - data contents itself not as much with encryption, but they can still often figure out the destination.