Resource Hijacking

Adversaries may leverage the resources of co-opted systems to complete resource-intensive tasks, which may impact system and/or hosted service availability.

One common purpose for Resource Hijacking is to validate transactions of cryptocurrency networks and earn virtual currency. Adversaries may consume enough system resources to negatively impact and/or cause affected machines to become unresponsive.[1] Servers and cloud-based systems are common targets because of the high potential for available resources, but user endpoint systems may also be compromised and used for Resource Hijacking and cryptocurrency mining.[2] Containerized environments may also be targeted due to the ease of deployment via exposed APIs and the potential for scaling mining activities by deploying or compromising multiple containers within an environment or cluster.[3][4]

Additionally, some cryptocurrency mining malware identify then kill off processes for competing malware to ensure it’s not competing for resources.[5]

Adversaries may also use malware that leverages a system's network bandwidth as part of a botnet in order to facilitate Network Denial of Service campaigns and/or to seed malicious torrents.[6] Alternatively, they may engage in proxyjacking by selling use of the victims' network bandwidth and IP address to proxyware services.[7]

ID: T1496
Sub-techniques:  No sub-techniques
Tactic: Impact
Platforms: Containers, IaaS, Linux, Windows, macOS
Impact Type: Availability
Contributors: Alfredo Oliveira, Trend Micro; David Fiser, @anu4is, Trend Micro; Goldstein Menachem; Jay Chen, Palo Alto Networks; Magno Logan, @magnologan, Trend Micro; Vishwas Manral, McAfee; Yossi Weizman, Azure Defender Research Team
Version: 1.4
Created: 17 April 2019
Last Modified: 02 October 2023

Procedure Examples

ID Name Description
G0096 APT41

APT41 deployed a Monero cryptocurrency mining tool in a victim’s environment.[8]

G0108 Blue Mockingbird

Blue Mockingbird has used XMRIG to mine cryptocurrency on victim systems.[9]

S0486 Bonadan

Bonadan can download an additional module which has a cryptocurrency mining extension.[10]

S0492 CookieMiner

CookieMiner has loaded coinmining software onto systems to mine for Koto cryptocurrency. [11]

S0601 Hildegard

Hildegard has used xmrig to mine cryptocurrency.[3]

S0434 Imminent Monitor

Imminent Monitor has the capability to run a cryptocurrency miner on the victim machine.[12]

S0599 Kinsing

Kinsing has created and run a Bitcoin cryptocurrency miner.[13][14]

S0451 LoudMiner

LoudMiner harvested system resources to mine cryptocurrency, using XMRig to mine Monero.[15]

S0532 Lucifer

Lucifer can use system resources to mine cryptocurrency, dropping XMRig to mine Monero.[16]

G0106 Rocke

Rocke has distributed cryptomining malware.[17][18]

S0468 Skidmap

Skidmap is a kernel-mode rootkit used for cryptocurrency mining.[19]

G0139 TeamTNT

TeamTNT has deployed XMRig Docker images to mine cryptocurrency.[20][21] TeamTNT has also infected Docker containers and Kubernetes clusters with XMRig, and used RainbowMiner and lolMiner for mining cryptocurrency.[22]

Mitigations

This type of attack technique cannot be easily mitigated with preventive controls since it is based on the abuse of system features.

Detection

ID Data Source Data Component Detects
DS0017 Command Command Execution

Monitor executed commands and arguments that may indicate common cryptomining or proxyware functionality.

DS0022 File File Creation

Monitor for common cryptomining or proxyware files on local systems that may indicate compromise and resource usage.

DS0029 Network Traffic Network Connection Creation

Monitor for newly constructed network connections that are sent or received by untrusted hosts, look for connections to/from strange ports, as well as reputation of IPs and URLs related cryptocurrency hosts.

Note: Destination Host Name is not a comprehensive list of potential cryptocurrency URLs.

Analytic 1 - Suspicious Port Connections

suspicious_netcoms = filter network traffic where ((src_port = "3333" OR src_port = "4444" OR src_port = "5555" OR src_port = "6666") AND (dst_host_name = "cryptmonero.com" OR dst_host_name = "crypto-pool.fr" OR dst_host_name = "crypto-pool.info" OR dst_host_name = "cryptonight-hub.miningpoolhub.com"))

Network Traffic Flow

Monitor network data for uncommon data flows. Processes utilizing the network that do not normally have network communication or have never been seen before are suspicious.

DS0009 Process Process Creation

Monitor for common cryptomining or proxyware software process names that may indicate compromise and resource usage.

DS0013 Sensor Health Host Status

Consider monitoring process resource usage to determine anomalous activity associated with malicious hijacking of computer resources such as CPU, memory, and graphics processing resources.

References