X
Tech

Hackers attack Confluence Servers, hijack power for cryptocurrency mining

Illicit Monero mining is the goal.
Written by Charlie Osborne, Contributing Writer

A security vulnerability present in Confluence Server and Confluence Data Center is being actively exploited in the wild by attackers to maliciously mine cryptocurrency, researchers say.

According to Trend Micro, attackers are harnessing CVE-2019–3396, a bug present in the Widget Connector macro in Atlassian Confluence Server, which permits path traversal and remote code execution via server-side injection.

Atlassian released a patch on March 20, 2019, to resolve the security flaw alongside an accompanying fix for CVE-2019-3395, a WebDAV endpoint issue which permits attackers to send arbitrary HTTP and WebDAV requests from a Confluence Server or Data Center instance.

However, it seems that unpatched Confluence systems are being widely exploited in the new campaign, which focuses on mining Monero.

See also: What should you do when your ICO is dead in the water? Flog it on eBay

The researchers, Augusto Remillano II and Robert Malagad, say that  CVE-2019–3396 was previously being used to drop the Gandcrab ransomware, and now, the bug is also being utilized to drop rootkits and cryptocurrency mining malware onto vulnerable systems.

The infection chain begins with a remote command which is sent to fetch a shell script from Pastebin. This script contains kill process capabilities and is able to download and execute a second shell script, again from a Pastebin source, eventually leading to a third Pastebin shell script download.

CNET: HTC hopes Exodus 1 phone will cash in on cryptocurrency

A Trojan dropper, known as Kerberods, is then fetched and installed. This malware drops the "khugepageds" cryptocurrency miner -- flagged as Coinminer.Linux.MALXMR.UWEJI -- alongside the rootkit component.

screenshot-2019-05-09-at-09-18-34.png
Trend Micro

The rootkit, which is designed to mask the cryptocurrency miner's activities, is dropped in a code format which is then compiled in GCC.

Kerberods is also able to propagate over networks via SSH through the exploit of CVE-2019-1003001 and CVE-2019-1003000, which are Jenkins automaton server security flaws that can result in arbitrary code execution.

TechRepublic: Cryptocurrency market to explode due to fast transaction speeds, enterprise investment

Both Kerberods and its rootkit use custom packers to make analysis more challenging. The rootkit is not only able to hide the mining process but is also able to forge the infected machine's CPU usage -- in turn, concealing one of the main indicators of a cryptocurrency mining malware operation.

Given the active exploit of Confluence Servers in the wild, it is recommended that admins apply Atlassian's patches without delay. 

2018's worst cryptocurrency scams, cyberattacks (in pictures)

Previous and related coverage


Have a tip? Get in touch securely via WhatsApp | Signal at +447713 025 499, or over at Keybase: charlie0


Editorial standards