Live data from Hacker News

Backdoor in upstream xz/liblzma leading to SSH server compromise

openwall.com

291–300 of 1001 posts

Re: Backdoor in upstream xz/liblzma leading to SSH server compromise

#292
post #79

Earlier quoted context omitted.

I've analysed the backdoor myself and it's very sophisticated, not poorly made at all. The performance problem is surprising in this context, but I think next time they won't make that mistake.

I guess it seems like the operational parts are a bit poorly done. Valgrind issues, adding a new version with symbols removed, the aforementioned performance issues. Like i would assume the type of person who would do this sort of thing, over a 2 year period no less, would test extensively and be sure all their i's are dotted. Its all kind of surprising given how audacious the attack is.

There are so many variations of Linux/FreeBSD and weird setups and environments that it's almost guaranteed that you'll hit a snag somewhere if you do any major modification like inserting a backdoor.

Re: Backdoor in upstream xz/liblzma leading to SSH server compromise

#293

Unfortunately, this is how good bad actors work: with a very long-term point of view. There is no “harmless” project any more.

I imagine it might be easier to just compromise a weakly protected account than to actual put in a 2 years long effort with real contributions. If we mandated MFA for all contributors who contribute to these really important projects then we can know with greater certainty if it was really a long con vs. a recently compromised account.

This seems like a great way to invest in supporting open source projects in meantime if these projects are being used by these actors. Just have to maintain an internal fork without the backdoors

Maybe someone can disrupt the open source funding problem by brokering exploit bounties /s

Re: Backdoor in upstream xz/liblzma leading to SSH server compromise

#294
post #117
post #84

Is this a crime? Has anyone been prosecuted for adding a backdoor like this?

Has anyone been prosecuted for adding a backdoor Google up Randal Schwartz. Caution: clickhole.

As far as I remember, he added no backdoors.

He was a consultant/sysadmin for Intel, and he did 3 things which he thought his employer would support, and was astonished to find that not only did his employer not support, but actively had him prosecuted for doing it. Ouch.

1. He ran a reverse-proxy on two machines so he could check in on them from home.

2. He used the crack program to find weak passwords.

3. He found a weak password, and used it to log into a system, which he copied the /etc/shadow file from to look for additional weak passwords.

https://www.giac.org/paper/gsec/4039/intel-v-randal-l-schwar...

https://web.archive.org/web/20160216204357/http://www.lightl...

He didn't try and hide his activities, and didn't do anything else untoward, it was literally just these things which most people wouldn't bat an eyelid at. These days, it is completely normal for a company to provide VPNs for their employees, and completely normal to continually scan for unexpected user accounts or weak passwords. But... because he didn't explain this to higher-ups and get their buy-in, they prosecuted him instead of thanking him.

Re: Backdoor in upstream xz/liblzma leading to SSH server compromise

#295

Everybody here In jumping into the pure malice bandwagon, I have a better hypothesis. Abandonment and inaction, the actual developers of these tools are elsewhere, oblivious to this drama, trying to make living because most of the time you are not compensated nor any corporation cares about making things sustainable at all. This is the default status of everything your fancy cloud depends on underneath. An attacker t…

Except that doesn't match reality.

Someone has worked on xz for several years. Are you saying that this somewhat active contributor was likely actively contributing, then all of a sudden stopped, also stopped paying attention, and also allowed their account to be compromised or otherwise handed it over to a nefarious party?

That fails the sniff test.

Re: Backdoor in upstream xz/liblzma leading to SSH server compromise

#297

The latest commit from the user who committed those patches is weirdly a simplification of the security reporting process, to not request as much detail: https://github.com/tukaani-project/xz/commit/af071ef7702debe... Not sure what to make of this.

I think the reason is pretty obvious. They want you to waste more time after you've submitted the security report and maximize the amount of back and forth. Basically the hope is that they'd be able to pester you with requests for more info/details in order to "resolve the issue" which would give them more time to exploit their targets.

Re: Backdoor in upstream xz/liblzma leading to SSH server compromise

#299
post #106

The discussion to upload it to Debian is interesting on its own https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1067708

That name jumped out at me, Hans Jansen is the name Dominic Monaghan used when posing as a German interviewer with Elijah Woods. Not that it can't be a real person https://youtu.be/IfhMILe8C84

Hans Gruber would have Been a much more stylish choice…

Re: Backdoor in upstream xz/liblzma leading to SSH server compromise

#300
I looked at the differences between the GitHub repository and released packages. About 60 files are in a release package that are not in the repo (most are generated files for building) but also some of the .po files have changes.

That's devastating.

If you don't build your release packages from feeding "git ls-files" into tar, you are doing it wrong.

Post reply on HN