Nicehashminer (PUA:Win32/Nicehashminer)

Category: advanced_threat · Aliases: None known · Sample count (EMBER 2018): 1 · Enrichment: expert-seo · Updated: 2026-06-09
Category: Advanced_ThreatStatus: Automated SignaturePlatform: WINDOWS_PEStage: Execution, PersistenceActor: Unknown / CybercriminalIndustry: Global / OpportunisticMotivation: Opportunistic🕸 Explore Relationship Graph⚙ API JSON⚡ Sigma Rule💾 YARA RuleOS: Windows 11, Windows 10, Windows Server 2022
Executive Summary
PUA:Win32/Nicehashminer is a legitimate, widely used cryptocurrency mining application that allows users to rent out their computing power.

Table of Contents

Overview

PUA:Win32/Nicehashminer is a legitimate, widely used cryptocurrency mining application that allows users to rent out their computing power. However, it is heavily flagged as a Potentially Unwanted Application (PUA) or 'CoinMiner' by enterprise antivirus engines because threat actors frequently bundle it silently with malware or deploy it en masse across compromised corporate networks (Cryptojacking) to illegally hijack CPU/GPU resources (`T1496`).

Understanding Nicehashminer (Cryptojacking Vector)
To an end-user intentionally running it, it's a way to earn crypto. To a corporate IT department, its unauthorized presence represents a massive theft of electricity, severe degradation of workstation performance, and a clear indication that perimeter defenses or endpoint controls have failed, allowing an attacker to execute arbitrary binaries.

Execution and Resource Hijacking Mechanics
When deployed maliciously, attackers use droppers or exploit tools (like PsExec) to silently install the Nicehashminer client on victim machines. They configure the application (`.json` or `.ini` files) to mine cryptocurrency to the attacker's wallet address rather than the victim's. They often use scheduled tasks or registry run keys to ensure the miner starts automatically (`T1547.001`), and may use simple scripts to hide the mining window from the user's desktop.

Indicators of Compromise & Impact
The impact is extreme resource exhaustion and increased operational costs. Host-based IoCs are highly visible: CPU or GPU utilization will pin at 90-100%, causing the system fans to run loudly and the machine to become sluggish. You will find the `nicehashminer.exe` process (or renamed variants) running, often from unusual directories like `%Temp%` or `C:\Windows\Temp`. Network IoCs include continuous outbound traffic over specific mining stratum protocols (e.g., port 3333, 4444) to known mining pools like `stratum.nicehash.com`.

MITRE ATT&CK Techniques

Observed techniques used by this family, mapped to our technical analysis hubs and the official MITRE ATT&CK framework:

→ Explore the complete 226-Technique ATT&CK Threat Matrix

MITRE D3FEND™ Defensive Countermeasures

Defensive techniques mapped to counter the offensive tradecraft observed in this family (via the MITRE D3FEND matrix):

D3FEND IDCountermeasure NameTacticCountered ATT&CKDefensive Guidance
D3-FEAFile Execution AnalysisHardenT1204.002Enforce AppLocker and Windows Defender Application Control (WDAC) to block executable launches from temporary and user-writable directories.
D3-PEAProcessor Execution AuditingDetectT1496Alert on sustained high CPU/GPU utilization by processes originating from temporary user directories and block stratum mining pool ports.
D3-RPMRegistry Persistence MonitoringDetectT1547.001Audit and restrict write privileges to user and machine-level Registry Run/RunOnce keys using Endpoint Privilege Management.

Detection rule examples

These generated examples are starting points for local testing. Their detection rate and false-positive rate have not been measured. Correlate any match with endpoint evidence and the primary reports cited below.

Tier 1 Primitive Artifact Rule (Fast Triage)

Matches raw strings and file markers. Vulnerable to binary repacking and simple obfuscation.

rule MALWARE_WIN_NICEHASHMINER_T1_ARTIFACT
{
    meta:
        description = "Tier 1 Primitive Artifact: Raw string matches for Nicehashminer (Advanced_Threat)"
        category = "Advanced_Threat"
        tier = "T1 - Primitive Artifact"
        confidence = "Medium (Fast Triage)"
        author = "SystemHelpDesk Threat Research Desk"
        reference = "https://malware-families-catalog.systemhelpdesk.com/families/nicehashminer"
        date = "2026-11-21"
    strings:
        $fam_name = "nicehashminer" ascii wide nocase
    condition:
        uint16(0) == 0x5a4d and any of them
}

Tier 2 Behavioral Context Rule (Process Chains & Sigma)

Looks for selected process and command-line patterns. Validate the fields against your event source and review approved administration activity.

title: SystemHelpDesk Detection - Nicehashminer (Advanced Threat) Execution & Triage
id: d6c14d59-7e3a-5941-9553-c75ad0e80be5
status: experimental
description: Experimental process-event hunting example associated with Nicehashminer
  (PUA:Win32/Nicehashminer). Measure detection and false-positive rates in your own
  environment. Shared administration behavior needs additional incident evidence.
references:
- https://malware-families-catalog.systemhelpdesk.com/families/nicehashminer
- https://malware-families-catalog.systemhelpdesk.com/defensive/backdoor-rat-protection
- https://malware-families-catalog.systemhelpdesk.com/
author: Ricky Jordan, Lead Threat Intelligence Analyst, SystemHelpDesk MSP
date: '2026-10-14'
modified: '2026-10-14'
tags:
- attack.advanced-threat
- author.ricky-jordan
- source.systemhelpdesk-mfc
- attack.t1204_002
- attack.t1547_001
- attack.t1496
logsource:
  category: process_creation
  product: windows
detection:
  selection_process:
    Image|endswith:
    - \powershell.exe
    - \cmd.exe
    - \rundll32.exe
    - \regsvr32.exe
    CommandLine|contains:
    - DownloadString
    - IEX(
    - '/s /n /u /i:'
    - sc create
    - start-process
  condition: selection_process
falsepositives:
- Legitimate enterprise administrative scripts during approved change windows
- Authorized IT software deployment utilities and backup management agents
level: high

Tier 3 String and PE-marker example

Combines a family-name string with common PE markers. A match needs investigation before family attribution.

rule MALWARE_WIN_NICEHASHMINER_T3_ATTRIBUTION
{
    meta:
        description = "Tier 3 Attribution Fingerprint: Heuristic detection for Nicehashminer tradecraft"
        category = "Advanced_Threat"
        tier = "T3 - Attribution Fingerprint"
        confidence = "Experimental example; validation pending"
        author = "SystemHelpDesk Threat Research Desk"
        reference = "https://malware-families-catalog.systemhelpdesk.com/families/nicehashminer"
        date = "2026-11-21"
    strings:
        $attrib_str = "nicehashminer" ascii wide nocase
        $generic_marker1 = "CreateProcess" ascii
        $generic_marker2 = "VirtualAlloc" ascii
    condition:
        uint16(0) == 0x5a4d and $attrib_str and 1 of ($generic_marker*)
}
SOC & SIEM Rule Downloads: ⬇ Download YARA Rule (.yar) ⬇ Download Sigma Rule (YAML) ⬇ Download Sigma Rule (JSON) ⚙ Threat Profile API (JSON)

Containment & Response Steps

Choose a response for the evidence you have. Start with the suspected-infection triage guide. Record what is suspected, what is confirmed and who can approve containment or recovery before taking disruptive action. Adapt the technical steps below to your devices, accounts and incident scope.

Ordered checklist for responders. Adapt to your environment and engage professional support for active incidents.

  1. Terminate the rogue mining processes to immediately restore system performance.
  2. Identify how the miner was installed; if a user intentionally installed it, enforce corporate acceptable use policies. If it was dropped by malware, initiate a full incident response.
  3. Block known mining pool domains (e.g., *.nicehash.com) and stratum protocol ports at the corporate firewall.
  4. Enforce strict Application Control (AppLocker) to prevent the execution of known mining binaries.

What to Avoid

Common mistakes during response to this family that can destroy evidence, spread the infection, or worsen recovery.

  1. Do not dismiss cryptomining as a 'low severity' threat; if an attacker can deploy a miner, they can just as easily deploy ransomware.
  2. Avoid relying solely on CPU monitoring, as advanced malicious deployments can throttle the miner when user activity is detected.

References & External Analysis

Frequently Asked Questions

What is Nicehashminer and what threat category does it belong to?

Nicehashminer is classified as a Advanced Threat. Documented across security telemetry, it is engineered to execute unauthorized operations, establish persistent footholds on target endpoints, and facilitate malicious campaigns targeting enterprise and individual environments.

How does Nicehashminer establish persistence and evade defensive controls?

Nicehashminer typically establishes persistence through registry run keys, scheduled tasks, or service installations, while evading signature-based antivirus solutions through code obfuscation, memory injection, or anti-analysis sandbox checks.

What are the essential incident response steps for mitigating a Nicehashminer compromise?

Security teams responding to Nicehashminer should immediately isolate affected endpoints from the network, perform memory triage to capture volatile forensic artifacts, audit registry and startup persistence mechanisms, revoke exposed user credentials, and restore systems from verified, clean backups.

What lateral movement and credential access tactics does Nicehashminer leverage in enterprise intrusions?

Nicehashminer frequently utilizes privileged account harvesting techniques such as LSASS memory dumping, Kerberoasting, and token impersonation to escalate privileges. Once administrative credentials are acquired, it pivots across the victim network utilizing living-off-the-land binaries (LOLBins) such as WMI, PowerShell remoting, and PsExec, or abuses remote desktop protocols (RDP) to reach critical internal repositories and domain controllers.

How does Nicehashminer maintain covert communications and evade perimeter network monitoring?

Nicehashminer often relies on multi-stage command and control (C2) architectures utilizing encrypted protocols over standard web ports (HTTPS/443 or DNS tunneling) to blend in with legitimate enterprise network traffic. Many variants incorporate proxy networks, domain fronting, or cloud services (such as Microsoft Graph API, Google Drive, or Telegram) to masquerade C2 channels, bypassing traditional signature-based egress filtering.

How do I remove the Nicehashminer Advanced_Threat from Windows?

Manual removal of Nicehashminer 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 Nicehashminer a virus or a Advanced_Threat?

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

What are the main symptoms of a Nicehashminer infection?

Symptoms of Nicehashminer 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.

Protect Your Network Against Advanced Threats

Want to prevent Nicehashminer and similar threats from compromising your organization? Read our comprehensive defensive guide: Think You've Been Hacked? What To Do First.

📣 Threat Intel Correction or Update?

Notice an outdated IOC, unlisted alias, or disputed attribution? Threat researchers are invited to propose an update on GitHub or contact the SystemHelpDesk research desk. All community revisions are credited in our public CHANGELOG.

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

Machine-readable

Get this profile as JSON: https://malware-families-catalog.systemhelpdesk.com/api/nicehashminer.json

Ecosystem & Interactive Environments

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