October 17, 2018 By Shane Schick 2 min read

Security researchers recently observed threat actors burying crypto-mining malware inside compromised websites to hijack victims’ computing resources.

Victims who visited a site infected with the malicious JavaScript code unwittingly unleashed a payload that was hidden within a header file of a WordPress theme, according to researchers from Sucuri.

Although the file itself was legitimate, the code obfuscated the crypto-mining malware and kept it at bay until it confirmed that:

  • The malware wouldn’t be detected via automated scans; and
  • The victim’s device had the central processing unit (CPU) power necessary to mine cryptocurrencies such as bitcoin and Monero.

After the malware confirmed that the infected device met these criteria, it began the mining process.

What Is Crypto-Mining Malware?

Cybercriminals have been using banking Trojans and other tools to mine cryptocurrency since at least 2013, according to the “IBM X-Force Threat Intelligence Index 2018.” One of the most common methods to date has involved mobile apps and websites laden with malicious code hidden inside ads, otherwise known as malvertising.

Coin-stealing has traditionally involved very basic pieces of malware that work over time on a victim’s endpoint. In this recent case, however, researchers were only able to discover the crypto-mining malware after refactoring the code and examining it in detail. Meanwhile, such attacks can drain smartphones, desktops and other systems to enrich the attackers.

How to Keep Crypto-Miners Away From Your Devices

To protect enterprise networks from crypto-mining malware, security experts recommend creating an inventory of all applications in use across the enterprise, then categorizing them by risk attributes, such as whether they are internal or customer-facing.

Security teams should also evaluate applications based on criticality, impact, reputational damage and loss of personally identifiable information (PII), for example. As this incident suggests, however, the impact of a crypto-mining attack could also include loss of computing resources to stealthy cryptocurrency miners.

Source: Sucuri

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