Xmrig

Category: cryptominer · Aliases: None known · Sample count (EMBER 2018): 248 · Enrichment: curated_sourced · Updated: 2026-06-11
Category: CryptominerActor: Unknown / CybercriminalIndustry: Cloud Infrastructure, ConsumersMotivation: Financial Extortion

Overview

XMRig is a legitimate, open-source application that uses a system's CPU to mine the Monero cryptocurrency. Because it is freely available, criminals abuse it by installing it on victims' machines without consent to mine cryptocurrency for their own profit, a form of cryptojacking. It often runs silently in the background, consuming heavy system resources and slowing down the computer. According to PCrisk, XMRig is frequently delivered through "bundling," a deceptive distribution method in which unwanted software is installed alongside other downloads, often together with adware-type applications that show intrusive ads and collect data. XMRig is documented by Fraunhofer FKIE's Malpedia.

Generated Detections (Boilerplate)

These YARA and Sigma rules are auto-generated based on the family name and aliases. They must be heavily tuned before deployment in a production environment.

YARA Rule

rule MALWARE_WIN_XMRIG {
    meta:
        description = "Detects Xmrig (cryptominer)"
        author = "SystemHelpdesk Boilerplate Generator"
        date = "2026-07-06"
    strings:
        $s1 = "xmrig" ascii wide nocase
    condition:
        uint16(0) == 0x5a4d and any of them
}

Sigma Rule

title: Suspicious Xmrig Activity
id: 98f261bfbad2c4a220b186cab7610e68
status: experimental
description: Detects generic indicators of the xmrig malware family.
logsource:
    category: process_creation
    product: windows
detection:
    selection:
        Image|endswith:
            - '\cmd.exe'
            - '\powershell.exe'
        CommandLine|contains:
            - "*xmrig*"
    condition: selection
level: medium

References & External Analysis

Frequently Asked Questions

What is XMRig?

XMRig is a legitimate, open-source program that uses a computer's CPU to mine the Monero cryptocurrency. It becomes a security concern when criminals install it on systems without the owner's consent.

Why is XMRig considered malicious in some cases?

Although XMRig itself is legitimate, attackers deploy it on victims' machines without permission to mine cryptocurrency for their own profit. Using someone's computer to mine without consent is known as cryptojacking.

How does unwanted XMRig get installed?

According to PCrisk, XMRig is often spread through "bundling," where it is installed alongside other downloads. It frequently arrives together with adware-type applications that display intrusive ads and gather information.

What are the symptoms of an XMRig infection?

Victims typically experience severe performance degradation, high CPU usage, loud cooling fans, and general system sluggishness due to the intense computational demands of cryptocurrency mining.

What sources document XMRig?

XMRig is profiled in Fraunhofer FKIE's Malpedia, and its abuse via bundling has been described in vendor analyses such as those referenced by PCrisk.

How do I remove the Xmrig Cryptominer from Windows?

Manual removal of Xmrig is highly discouraged as it may leave persistence mechanisms intact. We recommend disconnecting the device from the internet and utilizing a professional incident response service or enterprise-grade EDR software to conduct a full forensic sweep.

Is Xmrig a virus or a Cryptominer?

Xmrig is classified as a Cryptominer. Unlike traditional viruses that infect files, modern malware like Xmrig typically operates as a standalone payload designed to compromise systems, steal data, or deploy secondary stage implants.

What are the main symptoms of a Xmrig infection?

Symptoms of Xmrig can include unexpected system slowness, unauthorized outbound network traffic to unknown IP addresses, disabled security software, and suspicious background processes running from AppData or Temp directories.

Related Families (Category: cryptominer)

Explore other malware families in the same category:

Protect Your Network Against Cryptominers

Want to prevent Xmrig and similar threats from compromising your organization? Read our comprehensive defensive guide: Cryptominer Protection Guide.

Need help with an active incident? Published by the SystemHelpdesk team.

Machine-readable

Get this profile as JSON: https://jordan123234-malware-families-explorer.static.hf.space/api/xmrig.json

Ecosystem & Interactive Environments

This profile is part of the Malware Families Catalog, a public dataset of 2,899 malware families. The catalog is also published across our ecosystem: Hugging Face, Kaggle, Zenodo, Replit, StackBlitz, CodeSandbox, and CodePen.