Did One Guy Just Stop a Huge Cyberattack? (www.nytimes.com)
from testeronious@lemmy.world to linux@lemmy.ml on 05 Apr 2024 18:53
https://lemmy.world/post/13944464

#linux

threaded - newest

lemmyreader@lemmy.ml on 05 Apr 2024 19:13 next collapse

web.archive.org/…/prevent-cyberattack-linux.html

possiblylinux127@lemmy.zip on 06 Apr 2024 01:17 collapse

Thanks but Firefox already has a reading mode

lemmyreader@lemmy.ml on 06 Apr 2024 09:03 collapse

Well, I had to solve three CAPTCHA puzzles before getting through to the page itself, so I figured to insert that link.

possiblylinux127@lemmy.zip on 06 Apr 2024 16:42 collapse

Maybe they don’t like you

QBertReynolds@sh.itjust.works on 05 Apr 2024 19:39 next collapse

“Engineers have been circulating an old, famous-among-programmers web comic about how all modern digital infrastructure rests on a project maintained by some random guy in Nebraska. (In their telling, Mr. Freund is the random guy from Nebraska.)”

That’s not quite right. Lasse Collin is the random guy in Nebraska. Freund is the guy that noticed the whole thing was about to topple.

BlueEther@no.lastname.nz on 05 Apr 2024 20:06 next collapse

and that one guy (Lasse) was burnt out and pressured [by jia?] to step back and let jia be the person that the whole internet infrastructure relied upon

Bitrot@lemmy.sdf.org on 05 Apr 2024 21:24 collapse

Publicly pressured by sock puppets. You can see some rando doing similar in repositories for projects like Avahi.

[deleted] on 06 Apr 2024 10:43 collapse

.

baldturkeyleg@lemmy.world on 05 Apr 2024 19:28 next collapse

Yes

just_another_person@lemmy.world on 05 Apr 2024 19:28 next collapse

Yuuuuuuup. We all owe this man beer for life.

psmgx@lemmy.world on 05 Apr 2024 19:59 next collapse

You’re late to the party NYT.

Also, dude made a good save. Only arch users got hit lol

EpicFailGuy@lemmy.world on 05 Apr 2024 20:29 next collapse

nothing of value was lost

qaz@lemmy.world on 05 Apr 2024 21:48 next collapse

Arch didn’t patch it with systemd so it didn’t really affect them afaik. It did hit OpenSUSE Tumbleweed users.

Disonantezko@lemmy.sdf.org on 05 Apr 2024 22:11 next collapse

Do you know the exploit was detected in Debian Sid? (by a PostgreSQL developer), Arch got the update (with both compromised versions), but because don’t directly link openssh to liblzma (as Debian), and thus this attack vector is not possible.

Also, other rolling distros also got the compromised versions, maybe: openSUSE Tumbleweed, Endeavour OS, Fedora Rawhide, Slackware -current, etc.

DumbAceDragon@sh.itjust.works on 05 Apr 2024 22:34 next collapse

  1. The hack mainly targeted Debian and fedora

  2. Arch doesn’t directly link openssh to liblzma, so the hack doesn’t affect arch users.

Revan343@lemmy.ca on 06 Apr 2024 14:14 collapse

The hack mainly targeted Debian and fedora

But on Debian it only shipped on sid. This is the reason for Debians slow as fuck release cycle

gnuplusmatt@reddthat.com on 05 Apr 2024 22:40 next collapse

Fedora 40 testing branch and rawhide got it as well, as well tumbleweed and debian sid

possiblylinux127@lemmy.zip on 06 Apr 2024 01:13 collapse

And how many people actually use those? Arch got hit the hardest

Ok that’s a bad joke. The exploit targeted Debian, Ubuntu and RHEL

gnuplusmatt@reddthat.com on 06 Apr 2024 01:43 collapse

I was on Fedora Kinoite 40 testing compose when it hit… so me

possiblylinux127@lemmy.zip on 06 Apr 2024 04:26 collapse

You were not the target. The idea probably was to get it pushed into downstream over a longer period

gnuplusmatt@reddthat.com on 06 Apr 2024 06:24 collapse

I understand that the Linux ecosystem in general was ultimately the target, yes.

I was answering “how many people use those?”

seaQueue@lemmy.world on 05 Apr 2024 23:12 collapse

There was some checking in the exploit to verify that it was being built for a deb or rpm package, it didn’t build for anything else. Also, the way the exploit was loaded at runtime relied on features of systemd that Arch isn’t using. It was a dud on Arch.

MossyFeathers@pawb.social on 05 Apr 2024 20:31 next collapse

A picture of the man

<img alt="" src="https://pawb.social/pictrs/image/093efeb5-9e64-4004-ab6b-e333b5ddefb4.png">

treadful@lemmy.zip on 05 Apr 2024 20:55 next collapse

I suspect this was just a lucky catch of shit that happens all the time. Supply chain attacks are super scary and effectively impossible to eliminate in modern software development.

Contend6248@feddit.de on 05 Apr 2024 20:59 collapse

Obviously not impossible to spot, just the best reason for open source software

treadful@lemmy.zip on 05 Apr 2024 21:12 collapse

It’s almost impossible to spot by people looking directly at the code. I’m honestly surprised this one was discovered at all. People are still trying to deconstruct this exploit to figure out how the RCE worked.

And supply chain attacks are effectively impossible to eliminate as an attack vector by a developer-user of a N-level dependency. Not having dependencies or auditing every dependency is unreasonable in most cases.

Rustmilian@lemmy.world on 06 Apr 2024 00:48 next collapse

People are still trying to deconstruct this exploit to figure out how the RCE worked.

True, but we do know how it got into xz in the first place. Human error and bad practice, we wouldn’t have to reverse engineer the exploit if xz didn’t allow binary commits all together. It’s a very convoluted exploit with hiding “junk” and using awk and other commands to cut around that junk and combining it creating a payload and executing it. Our reliance on binary blobs is a double edged sword.

supply chain attacks are effectively impossible to eliminate as an attack vector by a developer-user of a N-level dependency. Not having dependencies or auditing every dependency is unreasonable in most cases.

Also true, because human error is impossible to snuff out completely, however it can be reduced if companies donated to the projects they use. For example, Microsoft depends on XZ and doesn’t donate them anything. It’s free as in freedom not cost. Foss devs aren’t suppliers, it comes as is. If you want improvements in the software your massive company relies on, then donate, otherwise don’t expect anything, they aren’t your slaves.

possiblylinux127@lemmy.zip on 06 Apr 2024 01:13 collapse

You can’t test a archive program without binaries

4z01235@lemmy.world on 06 Apr 2024 05:23 collapse

Generate the binaries during test execution from known (version controlled) inputs, plaintext files and things. Don’t check binaries into source control, especially not intentionally corrupt ones that other maintainers and observers don’t know what they may contain.

Rustmilian@lemmy.world on 06 Apr 2024 14:27 next collapse

Exactly this. Couldn’t have said it better myself.

msage@programming.dev on 06 Apr 2024 19:15 collapse

laughs in Gentoo

possiblylinux127@lemmy.zip on 06 Apr 2024 01:11 next collapse

There are sysadmins that discover a major vulnerabilities though troubleshooting

The key is the number of people involved

acockworkorange@mander.xyz on 06 Apr 2024 12:12 collapse

So obscure projects are fucked.

possiblylinux127@lemmy.zip on 06 Apr 2024 16:26 collapse

No one cares about obscure projects from an attack perspective. What you should be worried about is the dependency chain.

fruitycoder@sh.itjust.works on 06 Apr 2024 23:31 collapse

Right now the greatest level of supply chain secuirty that I know of is formal verification, source reproducible builds, and full source bootstrapping build systems. There was a neat FPGA bootstrapping proj3ct (the whole toolchain to program the fpga could be built on the FPGA) at last years FOSDEMs conference, and I have to admit the idea of a physically verifiable root of trust is super exciting to me, but also out of reach for 98% of projects (though more possible by the day).

m4@kbin.social on 05 Apr 2024 21:03 next collapse

It felt like it had a bit of sensationalism, which alas is not uncommon in today's journalism, but can it be too much that a major newspaper like the NYT covering this story can bring indirect attention to the problem of hugely underpaid/no paid people working on (and mantaining) critical FOSS stuff?

acockworkorange@mander.xyz on 06 Apr 2024 13:03 collapse

They did claim his work is “boring to tears” right after saying it was “thankless”. What a condescending piece of shit journalist.

Cyber@feddit.uk on 05 Apr 2024 22:59 next collapse

So, Microsoft saved everyone from the bad Linux then?

/s

rollingflower@lemmy.kde.social on 05 Apr 2024 23:31 collapse

"Linux saved itself."

  • having FOSS code
  • being able to silence all system services to detect that bump
  • being able to run stuff in different ways, without a core system component (with and without systemd, as that backdoor only used data when sshd was started via systemd)
  • having people be perfectionist about performance measurements
  • having devs test upstream code not shipped to normal distros
  • being so good microsoft pays people to work on software for it
possiblylinux127@lemmy.zip on 06 Apr 2024 01:10 collapse

Yeah no Microsoft saved it

Entropywins@kbin.social on 06 Apr 2024 02:11 collapse

A nerd who was benchmarking their ssh connection saved it...I love everything about that fello

rollingflower@lemmy.kde.social on 06 Apr 2024 09:15 next collapse

They wanted to get a benchmark environment as silent as possible, connected over ssh and it didnt get silent

greywolf0x1@lemmy.ml on 06 Apr 2024 10:10 next collapse

Also, the man has said repeatedly on hackernews that he’s a postgresql developer working at microsoft. I imagine that distinction is important.

EdgelDil@lemmy.world on 06 Apr 2024 11:12 collapse

And if he was a postgresql dev working on linux but employed by the cheesecake factory it would mean that the cheesecake factory saved linux? or was that rather due to that clever dev, and helped by the platform he worked on?

mcc@sh.itjust.works on 06 Apr 2024 14:31 next collapse

but if cheesecake factory hired him and supported him to make this discovery, you would look at the menu differently.

p03locke@lemmy.dbzer0.com on 06 Apr 2024 18:50 collapse

WTF is this whole thread?

SnotFlickerman@lemmy.blahaj.zone on 06 Apr 2024 20:00 collapse

Neeeeeeeeerrrrds

bruhduh@lemmy.world on 06 Apr 2024 14:38 collapse

No matter how much you wouldn’t like it, there’s fallacy in your statement, either that single individual singlehandedly saved everyone without community and such, or Linux was saved by everyone, Microsoft included, i mean, going to such lengths in mental gymnastics just to exclude some corporation, albeit evil one, is funny i must say, in my opinion it’s either single individual, or everyone included, no need to specifically exclude someone just because they evil or something, and yes, if cheesecake factory hired someone, they shouldn’t be excluded too

spongeborgcubepants@lemmy.world on 09 Apr 2024 16:49 collapse

A nerd

A specialist

possiblylinux127@lemmy.zip on 06 Apr 2024 01:21 collapse

foxnews.com/…/us-avoids-digital-security-crisis-d…