News for hackers. Stuff that matters.
Re:Backdoor in upstream xz/liblzma leading to SSH server com... by graemep on Friday March 29, 2024 @01:28PM (#39866716)
One of Jia Tan's recent contributions is "Speed up CRC32 calculation on LoongArch" I would guess the odds are that this is not someone in the US.
Re:Backdoor in upstream xz/liblzma leading to SSH server com... by hangonhn on Friday March 29, 2024 @03:15PM (#39867884)
It's also very possible that the account was compromised and taken over. A two years long con with real useful work is a lot of patience and effort vs. just stealing a weakly protected account. I wonder if MFA shouldn't be a requirement for accounts that contribute to important OSS projects.
Re:Backdoor in upstream xz/liblzma leading to SSH server com... by dralley on Friday March 29, 2024 @03:51PM (#39868270)
>A two years long con with real useful work is a lot of patience and effort vs. just stealing a weakly protected account.

The long-con theory seems a bit more plausible at the moment

https://github.com/google/oss-fuzz/pull/10667

Re:Backdoor in upstream xz/liblzma leading to SSH server com... by wyldberry on Friday March 29, 2024 @04:23PM (#39868598)
If you really step back and think about it, this type of behavior is perfectly aligned with any number of well resourced criminal groups and state actors. Two years of contributing in less visible software with the goal of gaining trust and then slowly pushing your broken fix in.

To me that's way more plausible than losing control of your account and the person who compromised it then having someone over a long time insert the backdoor that took a long time to develop and then obfuscate it.

Likely someone at GH is talking to some government agencies right now about the behavior of the private repos of that user and their associated users.

Re:Backdoor in upstream xz/liblzma leading to SSH server com... by sonicanatidae on Friday March 29, 2024 @04:41PM (#39868770)
This would be the smarter attack vector, but I've noticed over time that these people are just assholes. They aren't patient. They are in for the smash/grab.

I would not be surprised if there was a group using this approach, but I doubt most of them are/would. If they were that dedicated, they'd just have a fucking job, instead of being dicks on the internet for a living.

Re:Backdoor in upstream xz/liblzma leading to SSH server com... by wyldberry on Friday March 29, 2024 @05:29PM (#39869222)
For some groups they certainly are.

However at this point: every developed nation has a professional offensive security group that have varying degrees of potency. All are more resourced than 99.9% of organizations defending and enjoy legal autonomy in their country and allied countries for their work.

If you're getting salaried comfortably, and you have near infinite resources, a two year timeline is trivial. As an American, I always like to point to things we know our own services have done first[0].

Each actor group have their own motivations and tactics[1]. As someone who spent a lot of time dealing with a few state actors, you learn your adversaries tricks of the trade and they are patient for the long-con because they can afford to be.

[0] - https://www.npr.org/2020/03/05/812499752/uncovering-the-cias... [1] - https://learn.microsoft.com/en-us/microsoft-365/security/def...

Re:Backdoor in upstream xz/liblzma leading to SSH server com... by cjbprime on Friday March 29, 2024 @05:06PM (#39869018)
I think you are confusing non-state e.g. ransomware groups, which are usually not part of a government (although some exceptions like North Korea likely exist) with state-sponsored hackers who are often directly working under military command. Soldiers are not "dicks on the internet".
Re:Backdoor in upstream xz/liblzma leading to SSH server com... by willdr on Friday March 29, 2024 @05:54PM (#39869418)
As someone who has been in a fair few discord chats with soldiers, I'd beg to differ...
Re:Backdoor in upstream xz/liblzma leading to SSH server com... by sonicanatidae on Monday April 01, 2024 @03:56PM (#39898446)
>As someone who has been in a fair few discord chats with soldiers, I'd beg to differ...

As someone that's spent a lot of time in darker places, I would agree.

Re:Backdoor in upstream xz/liblzma leading to SSH server com... by stephc_int13 on Friday March 29, 2024 @06:57PM (#39869933)
This is not that costly. Growing bonsai trees also takes a lot of patience, decades, but you don't have to grow only one at a time, the pros are growing them in large numbers, with minimal work on each individual trees once in a while.
Re:Backdoor in upstream xz/liblzma leading to SSH server com... by teddyh on Friday March 29, 2024 @07:03PM (#39869985)
There is a survivorship bias problem there; what if the stupid criminals are the only ones which you notice?
Re:Backdoor in upstream xz/liblzma leading to SSH server com... by Phenylacetyl on Friday March 29, 2024 @04:52PM (#39868863)
But what if being a dick on the internet is the job they do for a living?
Re:Backdoor in upstream xz/liblzma leading to SSH server com... by IncreasePosts on Friday March 29, 2024 @04:06PM (#39868442)
It might not even be a long time. He might have just been approached exactly because of his history to insert the back door. And offered either money, or blackmailed or threatened
Re:Backdoor in upstream xz/liblzma leading to SSH server com... by hangonhn on Friday March 29, 2024 @04:16PM (#39868531)
Oh man. The was a scenario that didn't cross my mind. I was too narrowly focused on the technical aspects rather than the social aspects of security. Great point.
Re:Backdoor in upstream xz/liblzma leading to SSH server com... by Arrath on Friday March 29, 2024 @07:14PM (#39870080)
What if this contributor was a member of a state actor/persistent threat group and, like some totally legit software dev houses, they encourage their people to contribute to OSS projects for the whole personal pursuit/enjoyment/fulfillment angle?

With the added bonus that sometimes they get to pull off a longcon like this.

Re:Backdoor in upstream xz/liblzma leading to SSH server com... by dist-epoch on Friday March 29, 2024 @03:36PM (#39868105)
This is most likely not his first backdoor, but the first which was detected.

So most likely he didn't wait two years to benefit.

Re:Backdoor in upstream xz/liblzma leading to SSH server com... by jnxx on Friday March 29, 2024 @05:15PM (#39869104)
I am thinking more in so-called rubberhose cryptoanalysis.

https://xkcd.com/538/

Re:Backdoor in upstream xz/liblzma leading to SSH server com... by ranger_danger on Friday March 29, 2024 @05:17PM (#39869114)
> It's also very possible that the account was compromised and taken over

Or they WERE legit and simply went rogue, perhaps due to external factors.

Re:Backdoor in upstream xz/liblzma leading to SSH server com... by fmajid on Friday March 29, 2024 @05:46PM (#39869364)
2 years of one engineer's time is very cheap, compared to e.g. the NSA's CryptoAG scam. I'd say most likely a Chinese intelligence plant, kindly offering to relieve the burden of the original author of xz.
Re:Backdoor in upstream xz/liblzma leading to SSH server com... by rdtsc on Friday March 29, 2024 @05:57PM (#39869440)
I got the same idea. On XZ dev mailing list there were a few discussions about "is there a maintainer?" 2-3 years ago. It's not hard to find these types discussions and then dedicate a few years of effort to start "helping out" and eventually be the one signing releases for the project. That's peanuts for a state actor.
Re:Backdoor in upstream xz/liblzma leading to SSH server com... by throwaway384638 on Friday March 29, 2024 @07:01PM (#39869967)
This right here. This is exactly what I would be doing - find small broke maintainers offer them a few hundred grand - with a target in mind.
Re:Backdoor in upstream xz/liblzma leading to SSH server com... by rrix2 on Friday March 29, 2024 @02:38PM (#39867493)
That was a review of someone else's work? https://github.com/tukaani-project/xz/pull/86
Re:Backdoor in upstream xz/liblzma leading to SSH server com... by Fnoord on Saturday March 30, 2024 @11:48AM (#39875977)
Since that repo is disabled: here is a mirror of the discussion [1]

[1] https://archive.is/tksCR

Re:Backdoor in upstream xz/liblzma leading to SSH server com... by buildbot on Friday March 29, 2024 @01:35PM (#39866802)
Yeah I saw that - I wouldn't bet on them being in the US but who knows. Maybe they just really love CRC32 ;) And introducing backdoors (if it that was them not an account takeover).
Re:Backdoor in upstream xz/liblzma leading to SSH server com... by kevin_b_er on Friday March 29, 2024 @02:14PM (#39867233)
Those tarballs are PGP signed, too..
Re:Backdoor in upstream xz/liblzma leading to SSH server com... by dreamingincode on Friday March 29, 2024 @05:09PM (#39869047)
The full name "Jia Cheong Tan" doesn't sound like Mainland China. The name and actions could be intentionally misleading though.

https://news.ycombinator.com/item?id=39867737

Re:Backdoor in upstream xz/liblzma leading to SSH server com... by graemep on Friday March 29, 2024 @06:08PM (#39869513)
Names can be faked, and even real names are not a great indicator.

Unless you have some very specific cultural knowledge you could not make even vaguely useful deductions about my location, nationality, culture, ethnicity etc. from my name. I get a lot of wrong guesses though!

Re:Backdoor in upstream xz/liblzma leading to SSH server com... by viraptor on Friday March 29, 2024 @05:44PM (#39869344)
We're way too global now for this to be more than a tiny extra signal. People move around, families preserve names.

Also nobody checked that person's id, so "Jia" is only slightly more meaningful than "ghrssbitrvii".

Re:Backdoor in upstream xz/liblzma leading to SSH server com... by rurban on Monday April 01, 2024 @07:46AM (#39893086)
Since his only appearance outside of github and git repos is on some Taiwanese blogs, can we please change all occurances of China to Taiwan please?

And some others hints at Eastern Europe, comparing the timezones. Taiwan ist still the strongest hint though.