this post was submitted on 16 Mar 2025
109 points (96.6% liked)

Linux

51909 readers
1420 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

Apparently there's a bunch of projects getting hit with this, fairly obscure ones though. Project gets forked, suddenly get a pile of stars more than the original, and then there's a curl-bash pipe inserted into it that runs some ransomeware that encrypts ~/Documents.

About a dozen other projects linked in here from another developer (excuse the Reddit link): https://old.reddit.com/r/golang/comments/1jbzuot/someone_copied_our_github_project_made_it_look/

all 31 comments
sorted by: hot top controversial new old
[–] [email protected] 3 points 4 hours ago

good time to not have a ~/Documents and keep backups encrypted off site

[–] [email protected] 8 points 5 hours ago

I keep saying this curl bash pipe shit needs to stop.

[–] [email protected] 20 points 8 hours ago (1 children)

...the fuck is that title? I got a headache trying to make sense of it.

[–] [email protected] 10 points 8 hours ago (1 children)

Yah, I read it afterwards and realized I'd verbed a noun. I'm not proud of it.

[–] [email protected] 3 points 2 hours ago

Here in Lemmy you can edit titles

[–] [email protected] 27 points 9 hours ago

Finally, Linux is popular enough to get targeted by malware!

[–] [email protected] 48 points 12 hours ago (1 children)

This isn't really a supply chain attack. It's more social engineering: fake users, forks, and non-verified code. They're taking advantage of the fact that most people don't use verified releases or packages code from open source projects.

GitHub is not compromised, nor sending unintended payloads.

[–] [email protected] 2 points 12 hours ago (1 children)

Many of the projects are backend dev tools, like the Atlas provider linked in the thread.

[–] [email protected] 28 points 12 hours ago* (last edited 12 hours ago) (1 children)

But that's not a supply chain attack. If projects or platforms are compromised and THEN their code is used by normal means of ingestion of said project, that would be a supply chain attack.

These are unofficial channels created as forks of existing projects in an attempt to fool users into using these instead.

[–] [email protected] 9 points 11 hours ago* (last edited 11 hours ago) (1 children)

OK, fair enough, I changed the title.

[–] [email protected] 3 points 11 hours ago
[–] [email protected] 17 points 11 hours ago

Another reason that star count is a terrible metric for quality / authenticity. Fake stars are a huge problem that not a lot of people take seriously.

[–] [email protected] 13 points 12 hours ago (2 children)

Jokes on them, I don't keep shit in ~/Documents, all my goodies are on a network share mounted at ~/Netstore

[–] [email protected] 9 points 12 hours ago

Hahaha. Was about to comment nearly the same thing. My NFS share has a different mount. ~/Documents is an empty directory

[–] DaveX64 3 points 11 hours ago

I was going to say that too, ha!

[–] phoenixz 3 points 8 hours ago

Yay, finally Linux is being attacked!

And as expected it takes whole lot more than clicking on an email attachment

Always check before you curl download something!

[–] [email protected] 8 points 12 hours ago (2 children)

lol, just checked. ~/Documents doesn't even exist on my machine.

[–] [email protected] 10 points 12 hours ago (1 children)
[–] [email protected] 8 points 11 hours ago (1 children)

oh oh, I'm a below average arch user. I suspect i copied most of my hoome from debian or something.

I'll rename it to Dickuments as a security feature.

[–] [email protected] 3 points 10 hours ago

Hackers gonna wanna Netflix and chill

[–] [email protected] 4 points 12 hours ago

Me neither, I nuke the default freedesktop folders on an install because they clutter up my home folder. But I'd imagine we're the exception.

[–] [email protected] 4 points 12 hours ago (2 children)

It's an interesting thing to think about, wouldn't widespread desktop Linux malware be quite bad because of the lack of any AV/Malware detection typically used?

[–] [email protected] 6 points 11 hours ago

It depends on the environment. I've been in a couple of places which use Linux for various professional purposes. At one site, all systems with a network connection were required to have A/V, on-access scanning and regular system scans. So, even the Linux systems had a full A/V agent and we were in the process of rolling out EDR to all Linux based hosts when I left. That was a site where security tended to be prioritized, though much of it was also "checkbox security". At another site, A/V didn't really exist on Linux systems and they were basically black boxes on the network, with zero security oversight. Last I heard, that was finally starting to change and Linux hosts were getting the full A/V and EDR treatment. Though, that's always a long process. I also see a similar level of complacency in "the cloud". Devs spin random shit up, give it a public IP, set the VPS to a default allow and act like it's somehow secure because, "it's in the cloud". Some of that will be Linux based. And in six months to a year, it's woefully out of date, probably running software with known vulnerabilities, fully exposed to the internet and the dev who spun it up may or may not be with the company anymore. Also, since they were "agile", the documentation for the system is filed under "lol, wut?"

Overall, I think Linux systems are a mixed bag. For a long time, they just weren't targeted with normal malware. And this led to a lot of complacency. Most sites I have been at have had a few Linux systems kicking about; but, because they were "one off" systems and from a certain sense of invulnerability they were poorly updated and often lacked a secure baseline configuration. The whole "Linux doesn't get malware" mantra was used to avoid security scrutiny. At the same time, Linux system do tend to default to a more secure configuration. You're not going to get a BlueKeep type vulnerability from a default config. Still, it's not hard for someone who doesn't know any better to end up with a vulnerable system. And things like ransomware, password stealers, RATs or other basic attacks often run just fine in a user context. It's only when the attacker needs to get root that things get harder.

In a way, I'd actually appreciate a wide scale, well publicized ransomware attack on Linux systems. First off, it would show that Linux is finally big enough for attackers to care about. Second, it would provide concrete proof as to why Linux systems should be given as much attention and centrally managed/secured in the Enterprise. I know everyone hates dealing with IT for provisioning systems, and the security software sucks balls; but, given the constant barrage of attacks, those sorts of things really are needed.

[–] [email protected] 5 points 11 hours ago

Uhhhhh, there's plenty of that being used. From the ground up. Security scanning out the wazzzz. Those are pattern-based scanners though, and this probably wouldn't be detected because it's a blob of binary junk with a script inside. GitHub should honestly put something on their storage backends to warn users, but that's a whole ball of wax people probably don't want to get into.