News for hackers. Stuff that matters.
Re:Stealthy Linux rootkit found in the wild after going unde... by le-mark on Sunday December 10, 2023 @07:07AM (#38590997)
> Specifically, it hides files and directories beginning with the names “auwd” and “vmware_helper” from directory listings and hides ports 52695 and 52699, where communications to attacker-controlled servers occur.

Do people out there really “allow any” ports on their firewalls? Or are those ports for control inside the firewall only?

Re:Stealthy Linux rootkit found in the wild after going unde... by BLKNSLVR on Sunday December 10, 2023 @07:28AM (#38591082)
Outgoing, which I believe this would be, is generally far less restrictive than incoming.

I'm playing around with IP address level detecting and blocking using incoming ports as indicators. I'm going to set aside some time to think more about restrictions on outgoing ports as a result of this and your comment.

Do some logging of frequently used remote ports over a couple of weeks and create a baseline set of allowed ports, block everything else and see what breaks.

I already use the limited Feodo Tracker[0] lists to flag in my firewall logs whether any device on the network has attempted to contact a known C&C IP address.

Thanks for push.

[0]:https://feodotracker.abuse.ch

Re:Stealthy Linux rootkit found in the wild after going unde... by BLKNSLVR on Monday December 11, 2023 @05:04AM (#38599159)
First things first, found I've got a bunch of devices doing "internet check" pings to Google's DNS servers once per second! I feel dirty that that's been going on so long.

Devices reconfigured to NOT do that at all.

Now that's cleared, the log won't be quite so cluttered.

Edited to add: Also redirected a whole load of regular NTP queries to remain internal.

Re:Stealthy Linux rootkit found in the wild after going unde... by BLKNSLVR on Monday December 11, 2023 @08:40AM (#38600531)
Also: time of day restrictions.

There's sweet FA traffic that should be going out to the 'net when everyone's asleep. But make sure these rules can be switched on and off in case of emergencies.

I had to take my daughter to emergency late one night a few months ago (didn't end up being anything worthy of a story), but got home at 2:30am. My garage door opener gets smart-home-switched-off at 1:00am-ish. At 2:30am, just wanting to go to bed after the stress of an emergnecy room, waiting for that thing to boot up felt like 15 minutes.

Re:Stealthy Linux rootkit found in the wild after going unde... by peblos on Sunday December 10, 2023 @07:36AM (#38591116)
Log4shell would have been a much smaller problem if so
Re:Stealthy Linux rootkit found in the wild after going unde... by 3np on Sunday December 10, 2023 @07:21AM (#38591049)
Outgoing? You bet. Have you been out there?
Re:Stealthy Linux rootkit found in the wild after going unde... by goodpoint on Sunday December 10, 2023 @07:40AM (#38591131)
Yes. This is some very basic malware, but real ones will use HTTPS on port 443.
Re:Stealthy Linux rootkit found in the wild after going unde... by BLKNSLVR on Sunday December 10, 2023 @07:47AM (#38591169)
Only allow HTTPS out to FAANG (whatever it is now) + Cloudflare IP address ranges
Re:Stealthy Linux rootkit found in the wild after going unde... by Kubuxu on Sunday December 10, 2023 @08:02AM (#38591265)
Nothing prevents C&C from being fronted by cloudflare.
Re:Stealthy Linux rootkit found in the wild after going unde... by viraptor on Sunday December 10, 2023 @08:06AM (#38591288)
And CloudFlare will be extremely happy to let them hide there. They don't care about malware abusing their workers infra.

But also "Only allow HTTPS out to FAANG" - ok, so now you're allowing encrypted connections to 2 largest cloud providers. At that point what's the benefit at all?

Re:Stealthy Linux rootkit found in the wild after going unde... by jay-barronville on Sunday December 10, 2023 @10:30AM (#38592166)
> They [Cloudflare] don't care about malware abusing their workers infra.

This is a serious allegation to make. Do you happen to have some supporting evidence?

Re:Stealthy Linux rootkit found in the wild after going unde... by fullspectrumdev on Sunday December 10, 2023 @11:22AM (#38592603)
It’s widely known and talked about in the infosec community - getting CF to do anything about malicious content on their services is an absolute nightmare.

I do understand they don’t want to set any bad precedents internally, but their abuse reporting is abysmal.

Re:Stealthy Linux rootkit found in the wild after going unde... by jay-barronville on Sunday December 10, 2023 @11:40AM (#38592773)
Do you have some supporting evidence?
Re:Stealthy Linux rootkit found in the wild after going unde... by averageRoyalty on Sunday December 10, 2023 @03:36PM (#38594797)
Is it needed? Most hosting companies and CDNs are difficult to get to remove malicious content, this is pretty well known. I don't know why we'd require some form of irrefutable evidence to believe Cloudflare isn't the same.
Re:Stealthy Linux rootkit found in the wild after going unde... by viraptor on Sunday December 10, 2023 @04:53PM (#38595443)
Just search for CloudFlare worker abuse. There's lots of stories like this https://news.ycombinator.com/item?id=37064311 , larger campaigns like https://www.bleepingcomputer.com/news/security/blackwater-ma... , DDoS campaigns originating from workers https://news.ycombinator.com/item?id=38496499

It's kinda hard to point to someone saying how big the problem is, because most posts are just "sigh, here's yet another example, anyway...". I wouldn't go as far as saying they're doing this as an intended strategy, but it's definitely a case of it being hard for CloudFlare to care about an issue when they're in business of selling protection from that issue.

Re:Stealthy Linux rootkit found in the wild after going unde... by jay-barronville on Sunday December 10, 2023 @06:06PM (#38595937)
Thank you for providing links instead of giving me a “just believe me, bro” type of response. I’m about to take a look at them.

As a side note, I’m actually amused that I got downvoted for simply asking for evidence. I think it’s a pretty reasonable to ask folks to substantiate serious allegations made against a company like Cloudflare (a company, I might add, I’m not even a fan of for my own personal/philosophical reasons). I find this behavior very cult-like, but anyway, I digress…

Re:Stealthy Linux rootkit found in the wild after going unde... by sambull on Sunday December 10, 2023 @12:57PM (#38593389)
One mans C&C server is anothers RMM.
Re:Stealthy Linux rootkit found in the wild after going unde... by llamaInSouth on Sunday December 10, 2023 @01:23PM (#38593593)
Im pretty sure he was joking anyways... Either way, I thought it was funny.
Re:Stealthy Linux rootkit found in the wild after going unde... by pyinstallwoes on Sunday December 10, 2023 @09:14AM (#38591631)
Better to limit per process
Re:Stealthy Linux rootkit found in the wild after going unde... by mort96 on Sunday December 10, 2023 @10:05AM (#38591951)
Create a bunch of burner Google accounts and use Google Drive or Docs or Calendar as C&C?
Re:Stealthy Linux rootkit found in the wild after going unde... by franga2000 on Sunday December 10, 2023 @11:30AM (#38592686)
I've used Google App Script for C&C in a demo before. It's HTTPS traffic going to a Google IP and the domain is script.google.com - what looks more legit than that?
Re:Stealthy Linux rootkit found in the wild after going unde... by fullspectrumdev on Sunday December 10, 2023 @11:21AM (#38592587)
Hiding your C&C behind clownflare is basically the default mode for a lot of actors.

CF are terribly slow to respond to abuse, their ranges are allowlisted everywhere, and it’s not terribly hard to hide your backend infrastructure (origin) even from cloudflare itself.

Sure you have to deal with the eventual takedown of your domain, by CF or more likely the domain registrar, but it’s trivial to work around that (backup domains, frequently rotating them, etc).

What’s funny is how Namecheap are now absolutely god tier at doing takedowns on malicious domains - they used to have a very poor reputation and now will process a takedown (provided evidence) within the hour usually.

Re:Stealthy Linux rootkit found in the wild after going unde... by zelphirkalt on Sunday December 10, 2023 @01:27PM (#38593629)
Wondering if typo, auto-correct, or intentional ... anyway, I like :D
Re:Stealthy Linux rootkit found in the wild after going unde... by averageRoyalty on Sunday December 10, 2023 @03:34PM (#38594775)
Given the critical tone, I'd say probably intentional.
Re:Stealthy Linux rootkit found in the wild after going unde... by miloudi on Sunday December 10, 2023 @09:20PM (#38596968)
what's C&C? sorry for hijacking the thread.
Re:Stealthy Linux rootkit found in the wild after going unde... by e63f67dd-065b on Sunday December 10, 2023 @10:24PM (#38597312)
Command and Control. The server that issues instructions to the malware.
Re:Stealthy Linux rootkit found in the wild after going unde... by goodpoint on Sunday December 10, 2023 @11:22AM (#38592606)
Yes, and with domain fronting and doing traffic patterns that look legitimate.

A good solution is to block all outgoing traffic on production servers.

Re:Stealthy Linux rootkit found in the wild after going unde... by vitus on Sunday December 10, 2023 @10:24AM (#38592115)
> Or are those ports for control inside the firewall only?

It seems so. This traffic likely will not even traverse a firewall -- the article lists the IP addresses used with port 52699, which are all RFC1918 space (172.16.0.0/12).