Live data from Hacker News

X's new "encrypted" XChat feature doesn't seem to be any more secure

theregister.com

11–20 of 86 posts

Re: X's new "encrypted" XChat feature doesn't seem to be any more secure

#11
post #7
post #3

As a user of XChat[0] since 1999, I can tell you that it's definitely not encrypted or secure. Don't believe the hype! [0]: http://xchat.org

> Dubbed "XChat" (not to be confused with the venerable Linux/Windows IRC app of the same name) It’s not the same XChat

Looking into this

Re: X's new "encrypted" XChat feature doesn't seem to be any more secure

#12

> Currently, we do not offer protections against man-in-the-middle attacks. As a result, if someone—a malicious insider or X itself as a result of a compulsory legal process—were to compromise an encrypted conversation I assume this means that the "encryption" is about as strong as base64.

Well, in Musk's defense, he promised Bitcoin-style encryption and it does indeed appear to be as much encrypted as Bitcoin is.

Re: X's new "encrypted" XChat feature doesn't seem to be any more secure

#15
The implementation seems to be libsodium sealed boxes, with the key material sequestered using the juicebox.xyz protocol. In itself this seems broadly fine, with the significant proviso as mentioned in https://help.x.com/en/using-x/encrypted-direct-messages that identity is not verified at present, and as a result it's trivially MITMable.

But there's something more subtle here. Juicebox means that your key material is remotely stored in encrypted form. In an ideal setup, it's split between multiple different realms operated by different people, and the key material is stored in HSMs. There's a complicated dance where you prove knowledge of the PIN without actually revealing the PIN, and then the remote realms hand over the key material and you reassemble it into your key by decrypting it with a key also derived from your PIN.

If Twitter is running their own Juicebox realms then you're having to trust them. Even if the realms are implemented as HSMs, they're in a position to see the encrypted key material as it exits the HSM. And if they're not in HSMs, then the encrypted key material is just sitting there where they can see it. This doesn't intrinsically give them the key, since it still needs the PIN to decrypt it - but the key derivation function from the PIN is just 32 rounds of argon2id with 16MB of memory use, and given the PIN is limited to 4 digits, that's going to take about a second of GPU aided brute forcing to drop out the actual key.

As noted in the help doc, this isn't forward secure, so the moment they have the key they can decrypt everything. This is so far from being a meaningful e2ee platform it's ridiculous.

Re: X's new "encrypted" XChat feature doesn't seem to be any more secure

#16
post #2

In a nutshell: we have unclear comments from Musk and unclear statements in the FAQ (which might not have been written by a technical person). Until they release a technical white paper, we don’t know anything for sure.

Sure we do - the client code is already out there.

Re: X's new "encrypted" XChat feature doesn't seem to be any more secure

#17
post #12

> Currently, we do not offer protections against man-in-the-middle attacks. As a result, if someone—a malicious insider or X itself as a result of a compulsory legal process—were to compromise an encrypted conversation I assume this means that the "encryption" is about as strong as base64.

Well, in Musk's defense, he promised Bitcoin-style encryption and it does indeed appear to be as much encrypted as Bitcoin is.

Promises made, promises kept.

Re: X's new "encrypted" XChat feature doesn't seem to be any more secure

#18
post #12

> Currently, we do not offer protections against man-in-the-middle attacks. As a result, if someone—a malicious insider or X itself as a result of a compulsory legal process—were to compromise an encrypted conversation I assume this means that the "encryption" is about as strong as base64.

Well, in Musk's defense, he promised Bitcoin-style encryption and it does indeed appear to be as much encrypted as Bitcoin is.

well, in Musk's defence he's been selling BS to people for the better part of the last three decades and people are still giving him money, so...

Re: X's new "encrypted" XChat feature doesn't seem to be any more secure

#19
It seems to me like this is what happens when you do impulsive, hype-driven development. I assume a junior walked into Elon's office, and pitched it with the words "Bitcoin style encryption, as a chat platform--Written in Rust, almost entirely developed my Grok3", and he was sold.

I'm not being cynical or funny, I legitimately think, after having worked with some hype-driven leadership people, that this is quite common and results in a lot of flawed slop products, which are hyped up by leaders who don't know what they're talking about.

Admitting that this sort of product doesn't do what they think it does would mean admitting that they are wholly incompetent and got tricked by the hype; and that's not acceptable. So it get sunk-cost-fallacied into being a real product even more.

Re: X's new "encrypted" XChat feature doesn't seem to be any more secure

#20
post #7

Earlier quoted context omitted.

> Dubbed "XChat" (not to be confused with the venerable Linux/Windows IRC app of the same name) It’s not the same XChat

@grok is this true?

Is there grok on hackernews?
Post reply on HN