Connect with us

Hi, what are you looking for?

SecurityWeekSecurityWeek

Malware & Threats

Stealthy Crypto-Miner Has Worm-Like Spreading Mechanism

The PowerGhost crypto-miner is capable of remaining undetected on infected systems, and can spread on its own by leveraging a fileless infection technique, Kaspersky Lab has discovered.

The PowerGhost crypto-miner is capable of remaining undetected on infected systems, and can spread on its own by leveraging a fileless infection technique, Kaspersky Lab has discovered.

The miner is targeting both workstations and servers, which allows it to spread across large corporate networks. The threat, Kaspersky discovered, leverages the National Security Agency-linked EternalBlue exploit to spread.

The new threat proves once again that the growing popularity and rates of cryptocurrencies have determined cyber-criminals to adopt ingenious mining techniques and to gradually drop ransomware Trojans as the malware of choice in favor of crypto-miners.

PowerGhost is an obfuscated PowerShell script containing not only the malware’s core code, but also a series of add-on modules such as the miner and libraries required for the miner’s operation, Mimikatz, a module for reflective PE injection, and a shellcode for the EternalBlue exploit.

By employing multiple fileless techniques, the malware remains inconspicuous to the user and undetected by antivirus technologies, Kaspersky notes.

During infection, which is performed via exploits or remote administration tools (Windows Management Instrumentation), a one-line PowerShell script is executed to drop the miner’s body and immediately launch it, without writing it to the hard drive.

After that, the script, which is PowerGhost itself, checks the command and control (C&C) server and, if a new version is available, it fetches and runs it.

Mimikatz is used to get the user account credentials from the machine. Then, the malware logs on and attempts propagation on the local network by launching a copy of the initial script via WMI. The threat also attempts to spread leveraging the EternalBlue exploit (CVE-2017-0144).

Advertisement. Scroll to continue reading.

After using Mimikatz and WMI to spread to a new machine, the malware also attempts to escalate privileges on the newly infected system using various exploits (including one for CVE-2018-8120).

All modules are saved as properties of a WMI class, while the miner’s body is saved as a one-line PowerShell script in a WMI subscription that activates every 90 minutes. The miner is launched via reflective PE injection.

One PowerGhost version also included the ability to launch distributed denial of service (DDoS) attacks, likely because its authors attempted to make extra money by offering DDoS services.

This DDoS function is the only one that copies files to the hard drive and Kaspersky’s security researchers believe it will be replaced with a fileless implementation in a future version of the malware. The researchers believe the DDoS function was added to the malware, because it is launched in a peculiar manner, where the DDoS module and a function to launch it are downloaded and saved to the disk separately.

To date, PowerGhost was mainly observed within corporate local area networks and has been mainly encountered in India, Brazil, Columbia, and Turkey.

Related: One Year After WannaCry Outbreak, EternalBlue Exploit Still a Threat

Related: Avoid Becoming a Crypto-Mining Bot: Where to Look for Mining Malware and How to Respond

Written By

Ionut Arghire is an international correspondent for SecurityWeek.

Click to comment

Trending

Daily Briefing Newsletter

Subscribe to the SecurityWeek Email Briefing to stay informed on the latest threats, trends, and technology, along with insightful columns from industry experts.

Join the session as we discuss the challenges and best practices for cybersecurity leaders managing cloud identities.

Register

SecurityWeek’s Ransomware Resilience and Recovery Summit helps businesses to plan, prepare, and recover from a ransomware incident.

Register

People on the Move

Cody Barrow has been appointed as CEO of threat intelligence company EclecticIQ.

Shay Mowlem has been named CMO of runtime and application security company Contrast Security.

Attack detection firm Vectra AI has appointed Jeff Reed to the newly created role of Chief Product Officer.

More People On The Move

Expert Insights

Related Content

Cybercrime

A recently disclosed vBulletin vulnerability, which had a zero-day status for roughly two days last week, was exploited in a hacker attack targeting the...

Cybercrime

The changing nature of what we still generally call ransomware will continue through 2023, driven by three primary conditions.

Malware & Threats

The NSA and FBI warn that a Chinese state-sponsored APT called BlackTech is hacking into network edge devices and using firmware implants to silently...

Cyberwarfare

An engineer recruited by intelligence services reportedly used a water pump to deliver Stuxnet, which reportedly cost $1-2 billion to develop.

Application Security

Virtualization technology giant VMware on Tuesday shipped urgent updates to fix a trio of security problems in multiple software products, including a virtual machine...

Malware & Threats

Apple’s cat-and-mouse struggles with zero-day exploits on its flagship iOS platform is showing no signs of slowing down.

Malware & Threats

Unpatched and unprotected VMware ESXi servers worldwide have been targeted in a ransomware attack exploiting a vulnerability patched in 2021.

Malware & Threats

Cisco is warning of a zero-day vulnerability in Cisco ASA and FTD that can be exploited remotely, without authentication, in brute force attacks.