Security Market Segment LS
Wednesday, 05 September 2018 09:36

Attackers using Apache Struts flaw to mine cryptocurrency

Attackers using Apache Struts flaw to mine cryptocurrency Pixabay

A recently discovered remotely exploitable vulnerability in the Apache Struts 2 Web framework is being leveraged by attackers to launch a cryptocurrency-mining campaign, the security firm F5 says.

F5 researcher Liron Segal said the currency being mined was monero and the attackers were targeting Linux systems.

The campaign has been called CroniX by F5 as it uses cron to remain persistent and Xhide for launching executables with fake process names, 

As iTWire  reported on 26 August, the security firm Recorded Future claimed to have found proof-of-concept code on GitHub for exploiting the same flaw.

Segal said the exploit developed by the CroniX attackers injected Object-Graph Navigation Language expressions, which might contain malicious Java code, with the injection point being inside the URL.

"The attacker sends a single HTTP request while injecting an OGNL expression that, once evaluated, executes shell commands to download and execute a malicious file," Segal wrote.

Three cron jobs were set in place so the mining script could achieve persistence and any other processes on the infected machine put in place by any other cryptocurrency miner were killed.

"For some miners, the attacker decides to take a more careful approach and check each process name and process CPU usage and then kill only those processes that utilise 60% or more of the CPU resources," Segal said.

"This is probably done to avoid killing legitimate processes as the names of these miners (crond, sshd and syslogs) typically relate to legitimate programs on a Linux system."

He said the way in which the CroniX malware was deployed resembled the way a flaw in Jenkins servers had been exploited two months ago. While the Jenkins exploit had been hosted on a Chinese Git website, this time a Web server hosted in the US was being used along with a Palau domain name registered by someone with a Russian name.

Segal commented: "Considering it’s only been two weeks since this vulnerability was discovered, it’s worth noting how fast attackers are weaponising vulnerabilities and how quickly researchers are seeing them in the wild."


You cannot afford to miss this Dell Webinar.

With Windows 7 support ending 14th January 2020, its time to start looking at your options.

This can have significant impacts on your organisation but also presents organisations with an opportunity to fundamentally rethink the way users work.

The Details

When: Thursday, September 26, 2019
Presenter: Dell Technologies
Location: Your Computer


QLD, VIC, NSW, ACT & TAS: 11:00 am
SA, NT: 10:30 am
WA: 9:00 am NZ: 1:00 pm

Register and find out all the details you need to know below.



iTWire can help you promote your company, services, and products.


Advertise on the iTWire News Site / Website

Advertise in the iTWire UPDATE / Newsletter

Promote your message via iTWire Sponsored Content/News

Guest Opinion for Home Page exposure

Contact Andrew on 0412 390 000 or email [email protected]


Sam Varghese

website statistics

Sam Varghese has been writing for iTWire since 2006, a year after the site came into existence. For nearly a decade thereafter, he wrote mostly about free and open source software, based on his own use of this genre of software. Since May 2016, he has been writing across many areas of technology. He has been a journalist for nearly 40 years in India (Indian Express and Deccan Herald), the UAE (Khaleej Times) and Australia (Daily Commercial News (now defunct) and The Age). His personal blog is titled Irregular Expression.



Recent Comments