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."


26-27 February 2020 | Hilton Brisbane

Connecting the region’s leading data analytics professionals to drive and inspire your future strategy

Leading the data analytics division has never been easy, but now the challenge is on to remain ahead of the competition and reap the massive rewards as a strategic executive.

Do you want to leverage data governance as an enabler?Are you working at driving AI/ML implementation?

Want to stay abreast of data privacy and AI ethics requirements? Are you working hard to push predictive analytics to the limits?

With so much to keep on top of in such a rapidly changing technology space, collaboration is key to success. You don't need to struggle alone, network and share your struggles as well as your tips for success at CDAO Brisbane.

Discover how your peers have tackled the very same issues you face daily. Network with over 140 of your peers and hear from the leading professionals in your industry. Leverage this community of data and analytics enthusiasts to advance your strategy to the next level.

Download the Agenda to find out more


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