Powerful Malware Disguised as Crypto Miner Infects 1M+ Windows, Linux PCs

Salamendacious@lemmy.world to Technology@lemmy.world – 272 points –
Powerful Malware Disguised as Crypto Miner Infects 1M+ Windows, Linux PCs
pcmag.com

Antivirus provider Kaspersky uncovers a sophisticated piece of 'StripedFly' malware camouflaged as a cryptocurrency miner that's been targeting PCs for more than five years.

56

this makes use of an old windows specific vulnerability. Linux is only mentioned on the title, not again in the whole article. clickbait.

edit: downvote me if you want, but the original article didn't say a thing about Linux.

https://www.bleepingcomputer.com/news/security/stripedfly-malware-framework-infects-1-million-windows-linux-hosts/

On Linux, the malware assumes the name 'sd-pam'. It achieves persistence using systemd services, an autostarting .desktop file, or by modifying various profile and startup files, such as /etc/rc*, profile, bashrc, or inittab files.

That's from a completely different article.

And it doesn't say how this is achieved without already having root privilegies. I'm not sure I believe this can in fact infect a Linux system, except if it's already heavily compromised, for instance by a user logging in as root as default.

.bashrc and .profile can be modified without root, as can autostarting .desktop files. I think systemd and anything in /etc require root though.
Also a lot of users set sudo to not require a password (I am guilty of this) which makes privilege escalation easy.

It is a different article, but both articles are simply reporting research by Kaspersky, and Kaspersky goes into quite a bit of depth covering the Linux side of the threat, which is very real. PCMag focuses mostly on the windows side, because it's a windows focused site.

This isn't a single exploit, this is a "framework" that can take advantage of multiple exploits and will use which ever one it can find. You don't need to be "heavily compromised" you just need to be vulnerable to one of the compromises. And you definitely don't need root either.

Maybe if root is shared via SMB1 and is rw

Not possible AFAIK, I don't use anything Microsoft, but AFAIK SMB1 shares on Linux are through Samba, and you can't just enable write permissions without root. So as I stated before, the Linux system needs to be already compromised.

Users can configure the system however they want.

I'm not a Linux user (except for Chromebook and Android) so honestly the Linux section wasn't personally important to me. Another commentor wanted more information on the Linux side so I looked briefly if I could find an article that might be helpful. Linux terminology is all Greek to me so I honestly wouldn't know. I thought the article was interesting and I thought other people might find it interesting. The Linux part didn't even enter into my mind.

It does include this:

quietly spread across a victim’s network, including to Linux machines.

But that's a completely ridiculous lack of detail of any actual vulnerability. Smells like bullshit.
The quote from OP is from a different article.

I wasn't intentionally trying to imply that it came from the article. That's why I posted the naked link. I wasn't really thinking about the Linux component when I posted the article.

That’s why I posted the naked link.

Which is perfectly fine and dandy. I think some people just had a knee jerk reaction, based on a misunderstanding of context.

1 more...

It does though: "On Linux, the malware assumes the name 'sd-pam'. It achieves persistence using systemd services, an autostarting .desktop file, or by modifying various profile and startup files, such as  /etc/rc*, profile, bashrc, or inittab files."

So technically useless . it can't do shit.

1 more...

Malware disguised as malware? Interesting

It's always the one you least suspect, like disguising yourself as an impersonation of yourself.

According to Kaspersky, StripedFly uses its own custom EternalBlue attack to infiltrate unpatched Windows systems and quietly spread across a victim’s network, including to Linux machines.

Yeah I call bullshit on that. Absolutely zero description of any vulnerability.

This is a different article but you should find at least some more information on how the malware works with Linux here:

https://www.bleepingcomputer.com/news/security/stripedfly-malware-framework-infects-1-million-windows-linux-hosts/

I'm not a Linux user so I honestly don't know if that article is incredibly helpful or not.

From what it's describing, it sounds like it would only impact Linux computers that allow SMB1 access, such as domain-joined systems with samba access allowed. It sounds like this would target mainly enterprise Linux deployments but home Linux setups should be fine for the most part.

They describe an SSH infector, as well as a credentials scanner. To me, that sounds like it started like from exploited/infected Windows computers with SSH access, and then continued from there.

With how many unencrypted SSH keys there are, how most hosts keep a list of the servers they SSH into, and how they can probably bypass some firewall protections once they're inside the network: not a bad idea.

I think the original article talked about "spreading" to Linux machines so that generally tracks with what you're saying that it starts on a Windows machine that itself has access to a Linux machine.

21 more...
21 more...

I too am struggling to find the actual Linux vuln. It sounds like it steals ssh keys, so maybe just poorly configured hosts?

You should always have a file your home folder named SSH keys and Root password. /s
That's not just poor configuration, that's complete disregard for security.

21 more...

cryptocurrency miner

There seems to be a simple and obvious way around this, or do we still think crypto stuff isn't a fucked up load of bollocks for cunts?

I won’t argue about the legitimacy of crypto simply because I don’t care enough but you have to be fucking stupid to run non-FOSS crypto miners and instead go with something proprietary like this and then be surprised it fucks up your shit.

Is there a difference between FLOSS & FOSS? Besides the word libre?

Libre is Spanish for free, so I guess not.

FLOSS & FOSS

To emphasize that “free software” refers to freedom and not to price, we sometimes write or say “free (libre) software,” adding the French or Spanish word that means free in the sense of freedom. In some contexts, it works to use just “libre software.”

From https://www.gnu.org/philosophy/floss-and-foss.en.html

They also say:

We in the free software movement don't use either of these terms, because we don't want to be neutral on the political question. We stand for freedom, and we show it every time—by saying “free” and “libre”—or “free (libre).”

I don’t care enough but you have to be fucking stupid to run non-FOSS crypto miners

Fixed that for you.