Dark Reading is part of the Informa Tech Division of Informa PLC

This site is operated by a business or businesses owned by Informa PLC and all copyright resides with them.Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.



// // //
09:35 AM
Larry Loeb
Larry Loeb
News Analysis-Security Now

RIG Exploit Kit Injects Code That Creates Monero Miner

Researchers at FireEye have found the first instance of the RIG exploit kits injecting code into machines that creates a malicious Monero miner.

Researchers from FireEye have found the first use in the wild of a new kind of injection technique that was first described in October. The technique is used by the RIG exploit kit to inject code that downloads and executes a Monero miner on the target machine.

The RIG EK attack that FireEye describes starts with loading of the EK's landing page -- the URL of which is hidden inside an invisible iframe -- from a compromised site. The EK then uses the Nullsoft Scriptable Install System (NSIS) to inject shellcode into explorer.exe. This shellcode will execute the next payload, which downloads and executes the Monero miner.

The NSIS, which is also sometimes called SmokeLoader, is the stage where the injection technique -- also known as PROPagate -- is used.

The attack has other steps that need to be executed before the PROPagate routines are invoked. It will check the OS major version from the Process Environment Block (PEB). If the OS version value is found to be less than 6, which means prior to Windows Vista, the executable will terminate itself.

(Source: FireEye)
(Source: FireEye)

It also checks if the BeingDebugged flag is set. If so, it again terminates itself.

Finally, it will run an Anti-VM check by opening the registry key HKLM\SYSTEM\ControlSet001\Services\Disk\Enum with a value of zero. It further checks for the strings vmware, virtual, qemu, or xen which are indicative of virtual machines. The malware also performs an anti-analysis check, making sure no analysis tool is running in the system.

After all this checking of environment happens, the injection occurs. The malware uses the SetPropA function to modify the callback for UxSubclassInfo and cause the remote process to execute the malicious code.

PROPagate is an evasion technique which takes advantage of generic properties of legitimate Windows GUI management APIs and functions. Because of the ubiquity of these functions, an attack that uses them is hard to defend against.

For an attacker, this is a way of executing code inside a remote process without using obvious (to defenders) and traceable methods like remote threads or asynchronous procedure calls. It evades these standard detection areas with this technique.

Boost your understanding of new cybersecurity approaches at Light Reading's Automating Seamless Security event on October 17 in Chicago! Service providers and enterprises receive FREE passes. All others can save 20% off passes using the code LR20 today!

SetWindowSubclass API, a function of the Windows operating system that manages GUI application windows inside parent process is one of the APIs that can be abused.

The initial research has a proof of concept code that allowed injection, according to the researcher, on "Windows Explorer, Total Commander, Process Hacker, Ollydbg, and a few more applications."

Researchers also believe the attack worked on both Windows XP and Windows 10.The code that is finally injected by the RIG EK into explorer.exe will download the Monero miner and then install it in the system.

Attackers always try and find new ways to throw trackers off their trail. PROPagate is just such a way to revitalize an older EK so that it may have an increased infection rate.

Related posts:

— Larry Loeb has written for many of the last century's major "dead tree" computer magazines, having been, among other things, a consulting editor for BYTE magazine and senior editor for the launch of WebWeek.

Comment  | 
Print  | 
More Insights
Newest First  |  Oldest First  |  Threaded View
I Smell a RAT! New Cybersecurity Threats for the Crypto Industry
David Trepp, Partner, IT Assurance with accounting and advisory firm BPM LLP,  7/9/2021
Attacks on Kaseya Servers Led to Ransomware in Less Than 2 Hours
Robert Lemos, Contributing Writer,  7/7/2021
It's in the Game (but It Shouldn't Be)
Tal Memran, Cybersecurity Expert, CYE,  7/9/2021
Register for Dark Reading Newsletters
White Papers
Current Issue
The Promise and Reality of Cloud Security
Cloud security has been part of the cybersecurity conversation for years but has been on the sidelines for most enterprises. The shift to remote work during the COVID-19 pandemic and digital transformation projects have moved cloud infrastructure front-and-center as enterprises address the associated security risks. This report - a compilation of cutting-edge Black Hat research, in-depth Omdia analysis, and comprehensive Dark Reading reporting - explores how cloud security is rapidly evolving.
Flash Poll
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
PUBLISHED: 2023-02-04
There are issues with the AGE drivers for Golang and Python that enable SQL injections to occur. This impacts AGE for PostgreSQL 11 & AGE for PostgreSQL 12, all versions up-to-and-including 1.1.0, when using those drivers. The fix is to update to the latest Golang and Python drivers in addition ...
PUBLISHED: 2023-02-04
An improper neutralization of input during web page generation ('Cross-site Scripting') [CWE-79] vulnerability in Sling App CMS version 1.1.4 and prior may allow an authenticated remote attacker to perform a reflected cross-site scripting (XSS) attack in multiple features. Upgrade to Apache Sling Ap...
PUBLISHED: 2023-02-04
hb-ot-layout-gsubgpos.hh in HarfBuzz through 6.0.0 allows attackers to trigger O(n^2) growth via consecutive marks during the process of looking back for base glyphs when attaching marks.
PUBLISHED: 2023-02-04
Cross-site Scripting (XSS) - Reflected in GitHub repository phpipam/phpipam prior to 1.5.1.
PUBLISHED: 2023-02-04
Cross-site Scripting (XSS) - Reflected in GitHub repository phpipam/phpipam prior to v1.5.1.