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.

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
COVID-19: Latest Security News & Commentary
Dark Reading Staff 8/3/2020
Pen Testers Who Got Arrested Doing Their Jobs Tell All
Kelly Jackson Higgins, Executive Editor at Dark Reading,  8/5/2020
New 'Nanodegree' Program Provides Hands-On Cybersecurity Training
Nicole Ferraro, Contributing Writer,  8/3/2020
Register for Dark Reading Newsletters
White Papers
Cartoon Contest
Current Issue
Special Report: Computing's New Normal, a Dark Reading Perspective
This special report examines how IT security organizations have adapted to the "new normal" of computing and what the long-term effects will be. Read it and get a unique set of perspectives on issues ranging from new threats & vulnerabilities as a result of remote working to how enterprise security strategy will be affected long term.
Flash Poll
The Changing Face of Threat Intelligence
The Changing Face of Threat Intelligence
This special report takes a look at how enterprises are using threat intelligence, as well as emerging best practices for integrating threat intel into security operations and incident response. Download it today!
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
PUBLISHED: 2020-08-08
In JetBrains YouTrack before 2020.2.6881, the markdown parser could disclose hidden file existence.
PUBLISHED: 2020-08-08
In JetBrains YouTrack before 2020.2.6881, a user without permission is able to create an article draft.
PUBLISHED: 2020-08-08
JetBrains YouTrack before 2020.2.8873 is vulnerable to SSRF in the Workflow component.
PUBLISHED: 2020-08-08
In JetBrains Kotlin before 1.4.0, there is a script-cache privilege escalation vulnerability due to kotlin-main-kts cached scripts in the system temp directory, which is shared by all users by default.
PUBLISHED: 2020-08-08
In JetBrains TeamCity before 2020.1, users with the Modify Group permission can elevate other users' privileges.