Live data from Hacker News

Security researchers identify new malware targeting Linux

welivesecurity.com

11–20 of 70 posts

Re: Security researchers identify new malware targeting Linux

#11

If I am skimming this correctly, this is a C&C client allowing remote control over the network, and uses "a rootkit" for further compromise once it somehow gets installed? I understand the value of in-depth security reports, but the 5th time they told me "WolfsBane is the Linux counterpart of Gelsevirine, while FireWood is connected to Project Wood." I was wondering when I'd get to the meat and potatoes.

I agree it was very wordy

Re: Security researchers identify new malware targeting Linux

#12

> The FireWood backdoor, in a file named dbus, is the Linux OS continuation of the Project Wood malware... > The analyzed code suggests that the file usbdev.ko is a kernel driver module working as a rootkit to hide processes. Where is the backdoor coming from? If there's a backdoor, something is backdoored. An unknown exploit installing a rootkit and using a modified file, like usbdev.ko, is not a backdoor. Which pak…

Fits the usual definition, e.g. from Wikipedia:

> A backdoor is a typically covert method of bypassing normal authentication or encryption

Re: Security researchers identify new malware targeting Linux

#13

Earlier quoted context omitted.

Threat actors don't create malware to impress people; they do it to accomplish their goals. Apparently, this sample was sufficient for them. Security companies attribute activity based on their observations. ESET- a Slovakian company- is no exception.

I was under the impression that persistent, but SILENT access was China's goal. Dropping files in home and /tmp/ seems like the total opposite of that and any competent sysadmin would detect these anomalies manually real quick with a simple "ls -a", even possibly by accident.

Chinese threat actors are not one homogeneous group. Just like every other country out there.

Re: Security researchers identify new malware targeting Linux

#14

> The FireWood backdoor, in a file named dbus, is the Linux OS continuation of the Project Wood malware... > The analyzed code suggests that the file usbdev.ko is a kernel driver module working as a rootkit to hide processes. Where is the backdoor coming from? If there's a backdoor, something is backdoored. An unknown exploit installing a rootkit and using a modified file, like usbdev.ko, is not a backdoor. Which pak…

I don't think you're going nuts, but I do think your definition of backdoor is a specific subset.

Re: Security researchers identify new malware targeting Linux

#15
post #5

If I am skimming this correctly, this is a C&C client allowing remote control over the network, and uses "a rootkit" for further compromise once it somehow gets installed? I understand the value of in-depth security reports, but the 5th time they told me "WolfsBane is the Linux counterpart of Gelsevirine, while FireWood is connected to Project Wood." I was wondering when I'd get to the meat and potatoes.

"once it somehow gets installed?" The report mentions: "we conclude ... exploited an unknown web application vulnerability ... ." The chain of events, post initial exploit, is all very well but what was the initial point of entry? The IoCs etc are welcome - thanks.

I thought SQL injection but actually Tomcat ? Might be just an old unpatched server allowing PUTs

Re: Security researchers identify new malware targeting Linux

#16

Earlier quoted context omitted.

Threat actors don't create malware to impress people; they do it to accomplish their goals. Apparently, this sample was sufficient for them. Security companies attribute activity based on their observations. ESET- a Slovakian company- is no exception.

I was under the impression that persistent, but SILENT access was China's goal. Dropping files in home and /tmp/ seems like the total opposite of that and any competent sysadmin would detect these anomalies manually real quick with a simple "ls -a", even possibly by accident.

From the article:

> The WolfsBane Hider rootkit hooks many basic standard C library functions such as open, stat, readdir, and access. While these hooked functions invoke the original ones, they filter out any results related to the WolfsBane malware.

I took this to mean some things like a simple “ls -a” might now leave out those suspicious results.

Re: Security researchers identify new malware targeting Linux

#17
post #15
post #5

Earlier quoted context omitted.

"once it somehow gets installed?" The report mentions: "we conclude ... exploited an unknown web application vulnerability ... ." The chain of events, post initial exploit, is all very well but what was the initial point of entry? The IoCs etc are welcome - thanks.

I thought SQL injection but actually Tomcat ? Might be just an old unpatched server allowing PUTs

[deleted]

Re: Security researchers identify new malware targeting Linux

#18
Seems like their malware relies on a couple of things:

- intended target is KDE and GNOME

- privilege escalation through LD_PRELOAD hooking from userland via open, stat, readdir access (of any other program that the user executes, see down below)

- persistence through display manager config for KDE

- persistence through desktop autostart files for GNOME

- fallback persistence through .bashrc, profile or profile.sh in /etc

- installs trojanized ssh client version

- installs a JSP webshell

- sideloads kernel module as libselinux.so and .ko module. Probably the rootkit helpers to access them from userland

Despite the snarky comments in here, this malware is actually quite sophisticated.

If you don't agree, I challenge you now to measure the time it takes for you to find all .so files on your system that are loaded right now, and have been modified since your package manager installed them.

My point being that there is no EDR on Linux that catches this (apart from ours that's WIP), because all existing tools are just checking for windows malware hashes (not even symbols) as they're intended for linux fileservers.

Re: Security researchers identify new malware targeting Linux

#19
post #12

> The FireWood backdoor, in a file named dbus, is the Linux OS continuation of the Project Wood malware... > The analyzed code suggests that the file usbdev.ko is a kernel driver module working as a rootkit to hide processes. Where is the backdoor coming from? If there's a backdoor, something is backdoored. An unknown exploit installing a rootkit and using a modified file, like usbdev.ko, is not a backdoor. Which pak…

Fits the usual definition, e.g. from Wikipedia: > A backdoor is a typically covert method of bypassing normal authentication or encryption

Agree with OP, wikipedia is also wrong. A backdoor is something intentional. That definition fits any exploitable bug.

Re: Security researchers identify new malware targeting Linux

#20
post #19
post #12

Earlier quoted context omitted.

Fits the usual definition, e.g. from Wikipedia: > A backdoor is a typically covert method of bypassing normal authentication or encryption

Agree with OP, wikipedia is also wrong. A backdoor is something intentional. That definition fits any exploitable bug.

Perhaps we use the term back door in computer security because it comes from the general English expression to get someone or something in by the back door, which more generally is any exploit?
Post reply on HN