June 11, 2019 By David Bisson < 1 min read

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

SoaPy: Stealthy enumeration of Active Directory environments through ADWS

10 min read - Introduction Over time, both targeted and large-scale enumeration of Active Directory (AD) environments have become increasingly detected due to modern defensive solutions. During our internship at X-Force Red this past summer, we noticed FalconForce’s SOAPHound was becoming popular for enumerating Active Directory environments. This tool brought a new perspective to Active Directory enumeration by performing collection via Active Directory Web Services (ADWS) instead of directly through Lightweight Directory Access Protocol (LDAP) as other AD enumeration tools had in the past.…

Smoltalk: RCE in open source agents

26 min read - Big shoutout to Hugging Face and the smolagents team for their cooperation and quick turnaround for a fix! Introduction Recently, I have been working on a side project to automate some pentest reconnaissance with AI agents. Just after I started this project, Hugging Face announced the release of smolagents, a lightweight framework for building AI agents that implements the methodology described in the ReAct paper, emphasizing reasoning through iterative decision-making. Interestingly, smolagents enables agents to reason and act by generating…

4 ways to bring cybersecurity into your community

4 min read - It’s easy to focus on technology when talking about cybersecurity. However, the best prevention measures rely on the education of those who use technology. Organizations training their employees is the first step. But the industry needs to expand the concept of a culture of cybersecurity and take it from where it currently stands as an organizational responsibility to a global perspective.When every person who uses technology — for work, personal use and school — views cybersecurity as their responsibility, it…

Topic updates

Get email updates and stay ahead of the latest threats to the security landscape, thought leadership and research.
Subscribe today