-
Guus
Is the operator of jabber.sytes24.pl in this room? Does anyone else have trouble accepting a s2s from them? They appear to be using a certificate that we don't trust, and dialback seems to succeed, only for the connection to be closed with an TLS error immediately after.
-
Menel
They run Openfire 4.2.1😱
-
Guus
ohboy - but it appears that you _can_ federate with them?
-
Menel
HAL can
-
Menel
The prosody bot
-
Guus
is that a c2s or s2s connection?
-
Menel
s2s
-
Menel
(i think 🤔)
-
Menel
At least s2s works too from HAL
-
Guus
Hmm, my browser also allows their certificate
-
Guus
so why doesn't my server?
-
Menel
Testssl fails also the handshake
-
Menel
Wasn't openfire the one with the huge cve, and we can assume their whole sever is taken over by now?
-
Licaon_Kter
Or you can use the exploit to update it's certs and setup :)
-
Guus
Yes / yes.
-
Guus
It'd not be quite legal though.
-
Guus
(also, they've exposed they admin console to the public internet, on a non-encrypted port :S
-
Licaon_Kter
Was joking but yeah ¯\_(ツ)_/¯
-
Guus
Well, I'm guessing that this server is now a crypto-mine - so there's an argument that you'd do the hoster a favour...
-
Licaon_Kter
Unasked favors don't go unpunished
-
Guus
There are to any negations in that sentence to parse without more coffee :D
-
Licaon_Kter
:)
-
Lightning Bjornsson
eep?
-
Squeaky Latex Folf
https://notes.valdikss.org.ru/jabber.ru-mitm/ you guys know about this right? Does this make Hetzner and Linode providers to avoid, or just Germany is a country you should avoid hosting at?
-
Squeaky Latex Folf
I wanted to maybe get Hetzner due to it being so cheap but if they're going to intercept traffic maybe it's not a smart idea
-
Squeaky Latex Folf
Perhaps homehosting is not so bad after all
-
Squeaky Latex Folf
Except then the police will raid your home
-
MattJ
Practically all reputable providers will obey court orders
-
Squeaky Latex Folf
Or otherwise wiretap you
-
Squeaky Latex Folf
> Practically all reputable providers will obey court orders Fair enough. But why? Just because they're Russian? ↺
-
Squeaky Latex Folf
Sounds pretty racist to me
-
MSavoritias (fae,ve)
because they follow the law obviously
-
Squeaky Latex Folf
What I don't understand though, is why they made a TLS MITM when they could literally log into the VPS and steal the certificates
-
MattJ
Nobody knows (if this even was a court order, though it seems likely). But there is a bunch of criminal activity associated with jabber.ru users, so it's not unlikely that they were targeting some individual or group that were using the service.
-
MattJ
Maybe they (ironically) wanted to avoid detection. Also the laws between wiretapping and "stealing the certificates" are also very likely to differ.
-
MattJ
Maybe they just wanted to highlight this kind of attack so we could prevent it in the future
-
Squeaky Latex Folf
Why was STARTTLS even used?
-
Squeaky Latex Folf
Do XMPP clients and servers still use STARTTLS?
-
Squeaky Latex Folf
No, right?
-
MattJ
Yes, and that's not a problem
-
Squeaky Latex Folf
Why use STARTTLS when you can use TLS immediately instead?
-
MattJ
At this point, it's just a case of moving the ecosystem as usual. Direct TLS is gradually gaining adoption.
-
Squeaky Latex Folf
Is it not used often?
-
MattJ
I don't have stats
-
Squeaky Latex Folf
XMPP had mandatory TLS since 2014 right?
-
MattJ
Yes
-
Ge0rG
Direct TLS stats from yax.im, a server without a respective SRV record: 974 STARTTLS connections, 1 Direct TLS connection
-
MattJ
:D
-
MattJ
https://compliance.conversations.im/test/xep0368/ has some numbers, but many of the servers that don't have it are smaller/private ones
-
techmetx11
STARTTLS is called STARTTLS, because it stands for START using direct TLS
-
Ge0rG
Oh sorry, I have to corect that. 0 active Direct TLS connections, the one I accidentally counted was an outgoing one from port 52236
-
techmetx11
inb4 it was just a command to tell the server to start using TLS (opportunistic TLS)
-
Lightning Bjornsson
> Squeaky Latex Folf a écrit : > https://notes.valdikss.org.ru/jabber.ru-mitm/ you guys know about this right? Does this make Hetzner and Linode providers to avoid, or just Germany is a country you should avoid hosting at? No, it means you have to adopt better practices in social networking for illegal purposes (e.g. tor)
-
Link Mauve
At JabberFR, we have 486 connections using STARTTLS on port 5222, and 254 using direct TLS on port 5223.
-
Lightning Bjornsson
Or just for all purposes.
-
Squeaky Latex Folf
Fair enough, but Tor XMPP federation doesn't have an XEP and I heard people had to make a manual table of Tor servers to federate with or otherwise it'd refuse due to incorrect certs✎ -
Squeaky Latex Folf
Fair enough, but Tor XMPP federation doesn't have an XEP afaik and I heard people had to make a manual table of Tor servers to federate with or otherwise it'd refuse due to incorrect certs ✏
-
techmetx11
https://en.wikipedia.org/wiki/Opportunistic_TLS#Weaknesses_and_mitigations
-
Squeaky Latex Folf
Why do so many use STARTTLS? I don't get it
-
techmetx11
yup, as i expected from opportunistic TLS
-
techmetx11
i thought "could you just strip the STARTTLS command?"
-
techmetx11
apparently that works
-
MattJ
techmetx11, that article is about "opportunistic TLS" which is not what XMPP does these days
-
Link Mauve
Squeaky Latex Folf, it doesn’t have any downside compared to direct TLS.
-
MattJ
If you strip starttls, clients will refuse to connect, and even the older ones will shout at you about it
-
techmetx11
MattJ: so clients can't connect in plain text?
-
MattJ
No, they refuse to
-
techmetx11
oh
-
cloudisalie
Hi
-
MattJ
Obviously that is up to the client. But if the client wants it can also POST your credentials to a pastebin. We can't control everything :)
-
cloudisalie
They are all a lie https://news.ycombinator.com/item?id=21412052
-
cloudisalie
Don't trust them
-
MattJ
If you find any maintained client that would connect without TLS, it's a security issue and you should report it as such
-
Squeaky Latex Folf
Well there are a few reasons why one might want to connect without TLS
-
Squeaky Latex Folf
For example if you have a lower layer in the OSI stack that already does encryption
-
Squeaky Latex Folf
Like Tor
-
MattJ
Sure. That's why I can't use Dino for Prosody development, because I test on localhost with self-signed certs and it won't let me continue.
-
MattJ
Others complain, but usually there is an override somewhere
-
Squeaky Latex Folf
What is the proper way of federating over Tor anyway?
-
Squeaky Latex Folf
I heard it's not really supported
-
techmetx11
MattJ: Dino seems to be a overly simplistic client
-
Lightning Bjornsson
Theoretically, the same as in clearnet, except that you connect out over Tor, and to a .onion.
-
MattJ
techmetx11, I don't know... it supports a bunch of features others don't. It's still the only client with group audio/video calls?
-
Licaon_Kter
techmetx11: has group video calls, hard te say
-
techmetx11
i meant as in user configuration
-
Licaon_Kter
You're missing the XML console and Disco listing? Yeah, no..e✎ -
Licaon_Kter
You're missing the XML console and Disco listing? Yeah, no. ✏
-
techmetx11
most of the important settings (like time until sending a "<user> has left" message, and stuff)
-
techmetx11
are hardcoded
-
Licaon_Kter
What is that?
-
Licaon_Kter
I don't see that in Monal, sorry, Siskin, sorry....
-
techmetx11
Licaon_Kter: it's the little notification that tells you if a user has left your conversation
-
techmetx11
Dino has it hardcoded to 10 minutes
-
Licaon_Kter
Who cares, I'll message them anyway, they'll see it later...
-
moparisthebest
> Hmm, my browser also allows their certificate Guus: sounds like a classic case of missing intermediate cert, browsers "helpfully" find and include them for you so you don't know your site is broken ↺
-
jacob.eva
> HAL can > > The prosody bot What is this? I've not heard of this
-
Menel
The last days so many people complained about starttls, I wonder what Blog started that, because it has nothing at all to do with these kinds of attacks, and no direct tls could've prevented it. Theres yet an issue with it to be found in the xmpp context..
-
Menel
I've 34 incoming direct tls s2s and 10 starttls
-
RTG
Menel: certainly the attack had nothing to do with starttls. But it does raise a tangential question: if the attacker had instead reported starttls as unsupported during the c2s MiTM, do all clients _refuse_ to connect without TLS? :)
-
Menel
That's up to the client devs, not the sever devs. All modern clients, all I've used, would refuse always or complain very loudly
-
Menel
Also I all servers disable starttls, even then you could insert your attack the same way, as long as people use too old clients that are happy with plaintext✎ -
Menel
Also if all servers disable starttls, even then you could insert your attack the same way, as long as people use too old clients that are happy with plaintext ✏
-
Licaon_Kter
RTG: they had TLS, right?
-
Licaon_Kter
(Funny that I had to force reconnection now, because using my own wifi, error says "sasl degraded")
-
RTG
> That's up to the client devs, not the sever devs. > All modern clients, all I've used, would refuse always or complain very loudly I'd certainly have this _feeling_ as well, but has it ever been evaluated and documented how various clients react with "bad" TLS? TLS 1.0 and 1.1 have largely been deprecated and are no longer recommended. Do any clients still support TLS under 1.2? The attack raises these tangential questions, and while the answers may be within a collective few who are XMPP experts, the community at large can benefit by knowing the client they use either has or doesn't have various protections. :) ↺
-
MSavoritias (fae,ve)
thats why we have https://joinjabber.org/ and https://providers.xmpp.net/apps/
-
MSavoritias (fae,ve)
to promote good apps to people :)
-
MSavoritias (fae,ve)
for the technically inclined you can see what each app supports at xmpp.org directly here -> https://xmpp.org/software/
-
Menel
Ge0rG: > Oh sorry, I have to corect that. 0 active Direct TLS connections, the one I accidentally counted was an outgoing one from port 52236 I'm connected to yax.im with direct TLS and "bidi" maybe you didn't count the bidi connection ?
-
emus
https://fosstodon.org/@xmpp/111303395297803949