Dark Reading is part of the Informa Tech Division of Informa PLC

This site is operated by a business or businesses owned by Informa PLC and all copyright resides with them.Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.

Endpoint Security //

Windows

9/10/2018
08:05 AM
Larry Loeb
Larry Loeb
Larry Loeb
50%
50%

Cryptominers Rush to Exploit Apache Struts 2 Vulnerability

The Apache Struts 2 vulnerability was revealed about two weeks ago. Now F5 Labs has found that it's being used in a Monero cryptomining exploit.

Well, that didn't take long.

 

About two weeks after the Apache Struts 2 vulnerability was revealed, F5 Labs has found evidenceof its use in a Monero (XMR) cryptomining exploit. Another such exploit was also seen last week, but differs in the details.

 

F5 has dubbed this campaign CroniX because it uses cron (for persistency) and Xhide (for launching executables with fake process names).

 

The vulnerability (CVE-2018-11776) allows attackers to inject Object-Graph Navigation Language (OGNL) expressions into an application using the Struts framework. The OGNL can contain malicious Java code that will be evaluated under several circumstances. In this case, the injection point is in the URL.

 

The attacker will send an HTTP request while injecting an OGNL expression. Once evaluated, the request executes shell commands that will cause the download and execution of a malicious file.

 

While F5 found direct evidence of Linux exploits, their investigation also found files on the command and control server that held PowerShell commands that could target Windows systems.

 

To make sure it is the only miner on the affected system, ChroniX will delete the binaries of other cryptominers that may be present on the system.

But this is done with some finesse. Since those other cryptominers may be hiding under legitimate process names, a further check is done to see if the targeted process is using more than 60% of the system resources. Only then is the process deleted.

 

Then, the attacker goes out and gets the latest versions of the malware, basically the "run" and "upd" bash scripts. Two additional binary executables -- "xmrig" and a file called "H" -- are downloaded. Each of them has an x86 and an x64 version.

 

The "xmrig" file is a miner that contains an embedded configuration (pool, username and password). The "H" file is an older XHide tool that is used for launching executables with a fake process name.

 

The attacker communicates with a Monero pool at "eu.minerpool.pw."

 

The threat actor has been previously known to F5, but it did not specify any name. However, the group notes that the "quite unique usage of 'XHide-Process Faker' made us believe that the threat actor behind the exploitation of this fresh Struts 2 vulnerability is the same one that was behind a previous campaign exploiting Jenkins servers via CVE-2017-1000353." In that instance the threat actor used a Chinese Git website to host malicious files.

 

F5 detected that the attacker is using a dedicated web server hosted in the US this time to serve the malicious files. Not only that, Palaudomain names are used in the exploit. They were found to be registered by a Russian registrant.

— Larry Loeb has written for many of the last century's major "dead tree" computer magazines, having been, among other things, a consulting editor for BYTE magazine and senior editor for the launch of WebWeek.

Comment  | 
Print  | 
More Insights
Comments
Newest First  |  Oldest First  |  Threaded View
COVID-19: Latest Security News & Commentary
Dark Reading Staff 7/6/2020
Russian Cyber Gang 'Cosmic Lynx' Focuses on Email Fraud
Kelly Sheridan, Staff Editor, Dark Reading,  7/7/2020
Why Cybersecurity's Silence Matters to Black Lives
Tiffany Ricks, CEO, HacWare,  7/8/2020
Register for Dark Reading Newsletters
White Papers
Video
Cartoon
Current Issue
Special Report: Computing's New Normal, a Dark Reading Perspective
This special report examines how IT security organizations have adapted to the "new normal" of computing and what the long-term effects will be. Read it and get a unique set of perspectives on issues ranging from new threats & vulnerabilities as a result of remote working to how enterprise security strategy will be affected long term.
Flash Poll
The Threat from the Internetand What Your Organization Can Do About It
The Threat from the Internetand What Your Organization Can Do About It
This report describes some of the latest attacks and threats emanating from the Internet, as well as advice and tips on how your organization can mitigate those threats before they affect your business. Download it today!
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2020-9376
PUBLISHED: 2020-07-09
** UNSUPPORTED WHEN ASSIGNED ** D-Link DIR-610 devices allow Information Disclosure via SERVICES=DEVICE.ACCOUNT%0AAUTHORIZED_GROUP=1 to getcfg.php. NOTE: This vulnerability only affects products that are no longer supported by the maintainer.
CVE-2020-9377
PUBLISHED: 2020-07-09
** UNSUPPORTED WHEN ASSIGNED ** D-Link DIR-610 devices allow Remote Command Execution via the cmd parameter to command.php. NOTE: This vulnerability only affects products that are no longer supported by the maintainer.
CVE-2020-5604
PUBLISHED: 2020-07-09
Android App 'Mercari' (Japan version) prior to version 3.52.0 allows arbitrary method execution of a Java object by a remoto attacker via a Man-In-The-Middle attack by using Java Reflection API of JavaScript code on WebView.
CVE-2020-5974
PUBLISHED: 2020-07-08
NVIDIA JetPack SDK, version 4.2 and 4.3, contains a vulnerability in its installation scripts in which permissions are incorrectly set on certain directories, which can lead to escalation of privileges.
CVE-2020-15072
PUBLISHED: 2020-07-08
An issue was discovered in phpList through 3.5.4. An error-based SQL Injection vulnerability exists via the Import Administrators section.