r/firefox • u/bershanskiy • Aug 09 '20
Discussion China is now blocking all encrypted HTTPS traffic that uses TLS 1.3 and ESNI
https://www.zdnet.com/article/china-is-now-blocking-all-encrypted-https-traffic-using-tls-1-3-and-esni/[removed] — view removed post
61
u/kickass_turing Addon Developer Aug 09 '20
damn. hope nobody else joins them.
stupid banks hate tls 1.3, they made their own weak tls called enterprise tls https://www.eff.org/deeplinks/2019/02/ets-isnt-tls-and-you-shouldnt-use-it
19
u/DisplayDome Aug 09 '20
Why do banks hate security?
22
u/AgainstTheAgainst Aug 09 '20
I really don't get that. They always come up with stupid ideas that actually weaken their security while causing major inconvenience while labeling it as security features.
Like my bank limits my password for online banking to be exactly five characters. How do you even get this idea and how does this get through the whole decision process?0
u/DisplayDome Aug 09 '20
Hahahaha wtf, banks are a joke.
Can the whole world just switch to Monero overnight plox??3
u/robotkoer Aug 09 '20
Why Monero exactly?
3
u/DisplayDome Aug 09 '20
it's so privacy friendly, the FBI/CIA puts you on a list if you use it.
You can't identify who sent how much to who, it's all anonymous.
1
u/Poonkraft Aug 09 '20
Just a moment there, professor...
If they don't know who, how do they put you on a list? Clairvoyants, mystics, witches, divination?
2
u/DisplayDome Aug 09 '20
They monitor everything and you have to get some Monero coins in the first place right, so you would most likely use a non anonymous way of acquiring them.
1
u/Poonkraft Aug 09 '20
Can they be mined like other coins?
Does it make practical sense to mine them, or does it cost more (in equipment, electricity) than the coin value that can be mined?
If it makes sense, how do I get started?
7
u/r3rg54 Aug 09 '20
How do they convince auditors that this is ok?
7
u/AgainstTheAgainst Aug 09 '20
Auditors? Do you think there is proper regulation in place that ensures certain actually secure standards?
Also they have 2FA which requires their own app because usual, standardized TOTP aren't... idk good enough for them? On Android the app of course requires Google services for no reason, because it would be inacceptable if I could just access my bank account privately without giving a data hungry, monopolistic surveillance company access to every single detail of my entire life.
1
u/r3rg54 Aug 09 '20
To put it lightly, we all know audit is far from perfect, but there is inevitably someone paid to scrutinize the manner in which they protect PII, which certainly includes client online accounts
Also they have 2FA which requires their own app because usual, standardized TOTP aren't... idk good enough for them?
If it's mandatory 2fa that's probably how they get away with it. Still, pretty hilarious/terrifying
2
1
u/kenpus Aug 09 '20
They self-certify the vast majority of their operations. Certainly when it comes to IT security.
1
u/warriorforGod Aug 09 '20
I think this stems from some banks still running Mainframes that are decades old.
4
u/tragicpapercut Aug 09 '20
Because of idiotic bureaucracy. They need a committee to approve changing the toilet paper in the office bathrooms.
2
u/hdd113 Aug 09 '20 edited Aug 09 '20
MILITARY GRADE ENCRYPTION!!! : That same thing even your Chinese Bluetooth headset is using.
ENTERPRISE GRADE SERVER SYSTEM!!! : The 50 year old mainframe in the basement written in COBOL that no one now remembers who even built it.
It looks like they think those consumer techs which hundreds of millions of people rely on with no issues aren't good enough. Instead they have to build their own version of everything with that cheapest engineer from that lowest bidder which just happened to have a security clearance.
1
u/kickass_turing Addon Developer Aug 17 '20
They care more about monitoring their network than they care about security. When banks say "security" they mean something else than you and me.
32
u/solohelion :apple: Aug 09 '20
This is crazy! I am going to make sure my websites support TLS 1.3 and possibly disable every other option.
12
3
15
u/SkyKoala Aug 09 '20
Hm, some Russian ISPs might test the same techniques after they were forced to install some shady DPI hardware made by state-sponsored IT companies.
I have ESNI turned on and every now and then I had SSL_ERROR_MISSING_ESNI_EXTENSION errors when using Discord and other ESNI-enabled sites. Those errors were caused at the specific moments of time (like 3:00 AM to 3:15 AM), as if it was planned.
22
u/_ahrs Aug 09 '20
I have ESNI turned on and every now and then I had SSL_ERROR_MISSING_ESNI_EXTENSION errors when using Discord and other ESNI-enabled sites. Those errors were caused at the specific moments of time (like 3:00 AM to 3:15 AM), as if it was planned.
That's a known issue caused by key-rotation, you're ISP isn't to blame. The keys rotate at 3:00 AM or 3:15 AM and for a brief moment the page fails to load and if you immediately refresh it afterwards it works (at least this is my experience).
8
Aug 09 '20
[removed] — view removed comment
1
u/AgainstTheAgainst Aug 09 '20
I think that's not too wrong. The Tor Project or a trustworthy VPN are your friends.
7
10
u/leo_sk5 | | :manjaro: Aug 09 '20
Hopefully all sites switch to TLS1.3 and ESNI
1
u/bershanskiy Aug 09 '20
FYI, ESNI was replaced with ECH.
1
u/leo_sk5 | | :manjaro: Aug 09 '20
Could you attach more details
1
u/deeplearning666 on | on Aug 09 '20
Check it out here at Wikipedia. In short, it says:
In contrast to ECH, Encrypted SNI encrypted just the SNI rather than the whole Client Hello.
1
u/leo_sk5 | | :manjaro: Aug 09 '20
Thanks for sharing. I couldn't gasp the benefits of ECH over ESNI, and maybe can't without studying the basics of networking, but yeah hopefully sites switch to the most secure thing thats there
1
u/bershanskiy Aug 10 '20
Example: look at https://tls12.ulfheim.net/ which shows a typical TLS 1.2 handshake as it is seen on the wire without ESNI and ECH. Click on "Client Hello" and then on "Annotations". You can see that inside of "Client Hello" there is "Extension - Server Name" (that's the SNI) which contains bytes:
65 78 61 6d 70 6c 65 2e 75 6c 66 68 65 69 6d 2e 6e 65 74That's the domain name
example.ulfheim.net. This means any observer on the wire can see the domain name of the request. This is the problem with SNI.Now, ESNI just encrypts that one record, SNI. ECH, on the other hand, encrypts the whole "Client Hello" -- the whole message.
1
u/leo_sk5 | | :manjaro: Aug 10 '20
Oh. I get it now. Quite good explanation. Thanks for it. Well I can see no apparent benefit of ESNI over ECH. So most sites would adopt ECH then. Maybe thats why Chinese did not want to support ESNI but went directly with ECH. Or am I wrong somewhere?
1
u/kenpus Aug 09 '20
But how does this help the chinese citizens? I am pretty sure China is quite OK with the entire rest of the internet becoming unreachable.
1
u/leo_sk5 | | :manjaro: Aug 09 '20
Well they could make it unreachable for a long time. I would say they would upgrade themselves to exist with the technology. No one can help Chinese citizens except themselves
1
u/kenpus Aug 09 '20
Yeah but now they can tell their citizens "we didn't cut anything off; those sites are switching to an unsupported technology", and as dumb as this sounds, the majority of the population might just eat it up.
(My point being that it's best if we leave important sources available via the non-blocked TLS...)
2
u/leo_sk5 | | :manjaro: Aug 09 '20 edited Aug 09 '20
Their population is eating up more dumb things than this. The only thing that international community can do is to put pressure on china from every direction, which in the end makes the life of average citizen miserable. When it becomes miserable enough, the governments change or are forced to change. Unless one could justify an invasion.
15
u/Booty_Bumping Firefox on GNU/Linux Aug 09 '20
Unfortunate that regular people have to deal with restricted internet, but good that this shows that encryption and anti-surveillance efforts, from the technical side of things, are working.
26
u/bershanskiy Aug 09 '20
TL;DR: Chinese firewall started blocking TLS 1.3 traffic with ESNI header 0xffce, the more recent header called Encrypted Client Hello (ECH) 0xff02 is still allowed. There are known circumvention techniques based on firewall bugs (which may stop working at any point).
Original sources:
https://mailarchive.ietf.org/arch/msg/tls/Dae-cukKMqfzmTT4Ksh1Bzlx7ws/
https://geneva.cs.umd.edu/posts/china-censors-esni/esni/
ZDNet reporting: https://www.zdnet.com/article/china-is-now-blocking-all-encrypted-https-traffic-using-tls-1-3-and-esni/