Researchers observed an attack campaign exploiting CVE-2019-2725 and abusing certificate files to deliver a Monero miner.

Trend Micro discovered that the Monero miner campaign begins by exploiting CVE-2019-2725, a deserialization vulnerability that affects Oracle WebLogic Server, after arriving on a target machine. It uses this exploit to execute a command for implementing a series of routines. Among these, the attack uses a PowerShell script to download a certificate file from its command-and-control (C&C) server.

With the help of CertUtil, the campaign decodes the certificate file to ultimately reveal a PowerShell command. This resource downloads and executes another PowerShell script from memory that, in turn, downloads and executes various files. Those items include Sysupdate.exe, the payload for the Monero miner, and Update.ps1, a PowerShell script that executes every 30 seconds.

An Uptick in Cryptomining Attacks

This isn’t the only campaign involving a Monero miner in recent months. In April 2019, for instance, Trend Micro spotted a wave of attacks that leveraged EternalBlue and PowerShell to deliver a Monero cryptocurrency miner. It was less than two months after that when the company discovered BlackSquid, a new malware family capable of exploiting eight notorious vulnerabilities including EternalBlue and DoublePulsar to install the XMRig Monero-mining malware.

In May 2019, Guardicore Labs observed that the Nansh0u cryptomining campaign had successfully infected more than 50,000 servers belonging to companies in various industries.

How to Defend Against an Unwanted Monero Miner

Security teams can better avoid unwanted Monero miners by using threat feeds in tandem with a security information and event management (SIEM) tool to watch for malicious traffic that could be looking to exploit vulnerabilities. Organizations should also conduct a thorough risk assessment to measure and formulate an appropriate response to the cryptomining risks facing the network environment.

More from

Emotional Blowback: Dealing With Post-Incident Stress

Cyberattacks are on the rise as adversaries find new ways of creating chaos and increasing profits. Attacks evolve constantly and often involve real-world consequences. The growing criminal Software-as-a-Service enterprise puts ready-made tools in the hands of threat actors who can use them against the software supply chain and other critical systems. And then there's the threat of nation-state attacks, with major incidents reported every month and no sign of them slowing. Amidst these growing concerns, cybersecurity professionals continue to report…

RansomExx Upgrades to Rust

IBM Security X-Force Threat Researchers have discovered a new variant of the RansomExx ransomware that has been rewritten in the Rust programming language, joining a growing trend of ransomware developers switching to the language. Malware written in Rust often benefits from lower AV detection rates (compared to those written in more common languages) and this may have been the primary reason to use the language. For example, the sample analyzed in this report was not detected as malicious in the…

Why Operational Technology Security Cannot Be Avoided

Operational technology (OT) includes any hardware and software that directly monitors and controls industrial equipment and all its assets, processes and events to detect or initiate a change. Yet despite occupying a critical role in a large number of essential industries, OT security is also uniquely vulnerable to attack. From power grids to nuclear plants, attacks on OT systems have caused devastating work interruptions and physical damage in industries across the globe. In fact, cyberattacks with OT targets have substantially…

Resilient Companies Have a Disaster Recovery Plan

Historically, disaster recovery (DR) planning focused on protection against unlikely events such as fires, floods and natural disasters. Some companies mistakenly view DR as an insurance policy for which the likelihood of a claim is low. With the current financial and economic pressures, cutting or underfunding DR planning is a tempting prospect for many organizations. That impulse could be costly. Unfortunately, many companies have adopted newer technology delivery models without DR in mind, such as Cloud Infrastructure-as-a-Service (IaaS), Software-as-a-Service (SaaS)…