{
  "family": "minerbat",
  "sample_count": 2,
  "category": "trojan",
  "description": "Trojan:BAT/Minerbat (or simply Miner.bat) is a classification for extremely simple, script-based cryptojacking malware. Instead of complex compiled executables, Minerbat utilizes basic Windows Batch scripting (`.bat` or `.cmd` files) (`T1059.003`) to download, configure, and execute a command-line cryptocurrency miner (like XMRig or CGMiner) on the victim's machine, stealing their CPU/GPU resources to mine Monero (XMR) or other altcoins (`T1496`).<br><br><b>Understanding Minerbat (Script-based Cryptojacking)</b><br>To an end-user, the computer will suddenly become sluggish, the fans will spin up to maximum speed, and battery life will plummet. For a SOC analyst, Minerbat represents a 'low effort, high reward' attack. The attackers rely on the simplicity of batch scripts to evade complex EDR heuristics, capitalizing on environments that fail to monitor basic command-line execution.<br><br><b>Execution and Mining Mechanics</b><br>Minerbat is often delivered via phishing links, dropped by other malware, or executed via exploited vulnerable services (like an exposed Redis or Tomcat server). Upon execution, the batch script (`T1059.003`) typically uses built-in tools like `bitsadmin`, `certutil`, or PowerShell (`T1105`) to download the actual mining binary (e.g., `xmrig.exe`) and a configuration file containing the attacker's wallet address. It then executes the miner silently in the background, often passing arguments to limit CPU usage to 80% to avoid immediately crashing the system and arousing suspicion. Persistence is usually achieved by adding the batch script to the Startup folder or creating a simple Scheduled Task (`T1053.005`).<br><br><b>Indicators of Compromise & Impact</b><br>The impact is hardware wear and tear, significantly increased power consumption, and degraded system performance. Host-based IoCs include EDR alerts for suspicious command-line execution (e.g., `cmd.exe /c start /B xmrig.exe -o pool.hashvault.pro...`), high CPU utilization by unknown or generic executables, and the presence of malicious `.bat` files in user directories or Startup folders. Network IoCs involve continuous outbound traffic (often utilizing the Stratum protocol) over non-standard ports (e.g., 3333, 5555, 14444) to known cryptocurrency mining pools.",
  "cta": "Published by the SystemHelpdesk team.",
  "aliases": [],
  "enrichment_level": "expert-seo",
  "faq": [],
  "faq_count": 0,
  "mitre_attack": [
    "T1105",
    "T1059.003",
    "T1496"
  ],
  "cisa_advisory": null,
  "last_updated": "2026-06-09",
  "mitre_attack_detail": [
    {
      "id": "T1496",
      "name": "Resource Hijacking (The primary objective: stealing CPU/GPU for mining)",
      "tactic": "Impact"
    },
    {
      "id": "T1059.003",
      "name": "Command and Scripting Interpreter: Windows Command Shell (Using batch scripts for execution and setup)",
      "tactic": "Execution"
    },
    {
      "id": "T1105",
      "name": "Ingress Tool Transfer (Downloading the mining binary via command line)",
      "tactic": "Command and Control"
    }
  ],
  "containment_steps": [
    "Identify the process consuming the high CPU (often the mining executable launched by the script) and terminate it.",
    "Locate and delete the malicious batch script and the downloaded mining binary.",
    "Remove any Scheduled Tasks or Startup folder shortcuts created by the script to ensure it does not return on reboot.",
    "Block access to known cryptocurrency mining pools at the corporate firewall/proxy level."
  ],
  "what_to_avoid": [
    "Do not ignore instances of `bitsadmin` or `certutil` downloading files, as this is a primary technique used by these scripts to fetch the miner.",
    "Avoid allowing unsigned scripts to execute freely from user profile directories."
  ],
  "target_industries": [
    "Global / Opportunistic"
  ],
  "motivation": "Opportunistic",
  "threat_actors": [
    "Unknown / Cybercriminal"
  ],
  "target_geographies": [
    "Global"
  ]
}