BLUE
Profile banner
FV
Filippo Valsorda
@filippo.abyssdomain.expert
RC F'13, F2'17 Cryptogopher / Go cryptography maintainer Professional open source maintainer filippo.io / github.com/FiloSottile mkcert.dev / age-encryption.org sunlight.dev / filippo.io/newsletter
11.9k followers405 following882 posts
FVfilippo.abyssdomain.expert

I'm watching some folks reverse engineer the xz backdoor, sharing some *preliminary* analysis with permission. The hooked RSA_public_decrypt verifies a signature on the server's host key by a fixed Ed448 key, and then passes a payload to system(). It's RCE, not auth bypass, and gated/unreplayable.

8

Ffellipec.com

Beloved, I'm so glad this was caught. Would be a nightmare if it went into production

2
FVfilippo.abyssdomain.expert

The payload is extracted from the N value (the public key) passed to RSA_public_decrypt, checked against a simple fingerprint, and decrypted with a fixed ChaCha20 key before the Ed448 signature verification.

2
Kjrknox.bsky.social

Is there someplace we can still download it for analysis?

1
HIhannah.the-void.social

It's been wild telling non-tech friends about this. I don't think any of them truly grasp how cataclysmic this is.

2
Swhitemage.co

Thanks for sharing!

0
Ccalestyo.bsky.social

Is it already known with certain confidence, whether any version of the backdoor automatically pulled in exploit code from remote on it's own? IOW, are people that had compromised versions, but whose sshd was either not running or behind a firewall guaranteed to be safe and not further compromised?

1
VKskibum.bsky.social

It's a wild one indeed! Incredibly lucky that Andres Freund caught it when he did! IMHO, ZeroTrust + defense in depth strategy combined with good anomaly detection and continuous monitoring is probably the only practical option to mitigate risks, and contain any damage from such motivated actors!

0
PEpelsner.bsky.social

Yup. Only got caught because someone noticed ssh running slow. 😁

0
Profile banner
FV
Filippo Valsorda
@filippo.abyssdomain.expert
RC F'13, F2'17 Cryptogopher / Go cryptography maintainer Professional open source maintainer filippo.io / github.com/FiloSottile mkcert.dev / age-encryption.org sunlight.dev / filippo.io/newsletter
11.9k followers405 following882 posts