XMRigCC
- Type
- Cryptominer
- Capabilities
- PersistenceDefense evasion
- Delivery
- Cracked softwareMalspam
- Platforms
- WindowsLinux
XMRigCC is an open-source cryptocurrency miner derived from XMRig that is frequently repurposed for unauthorized Monero mining. Malicious deployments consume compromised systems' processing resources, producing elevated CPU utilization and potentially degrading service performance. Observed payloads include 32-bit and 64-bit variants, with deployments on Windows and Linux systems.
XMRigCC has been used by multiple financially motivated threat actors, including TeamTNT and the Tor2Mine operation. Targets have included internet-facing application servers, cloud instances, and containerized environments. Attackers have installed it after exploiting vulnerable Confluence servers through CVE-2023-22527 and after compromising exposed Microsoft SQL Server accounts through brute-force attacks. It has also been delivered through executable droppers and PowerShell loader chains in multi-payload campaigns involving AZORult, Remcos, DarkVNC, and clipboard cryptocurrency stealers.
Malicious installation chains establish persistence through scheduled tasks and Windows services, or through root-level services on Linux. Windows loaders associated with XMRigCC deployments have attempted to disable antivirus products, suppress security notifications, disable event logging, and terminate diagnostic and process-monitoring tools. These persistence and evasion behaviors belong to the surrounding deployment tooling rather than necessarily to the miner itself. The mining payload connects to configured mining pools to generate cryptocurrency for its operators.
Associated vulnerabilities
2 CVEs Mallory has correlated with this family across public research and vendor advisories. Each card links to the full Mallory page for that vulnerability.
Associated threat actors
2 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
They appear to include 64-bit and 32-bit variants of XMRigCC — a variant of the XMRig miner.
Techniques & procedures
16 distinct techniques documented for this family, organized by ATT&CK tactic.
Initial Access
2 techniques
Initial Access
This vulnerability is a critical OGNL injection vulnerability that abuses the text-inline.vm component of Confluence by sending a modified POST request to the server.
The ISO image seems to have been downloaded compressed with ZIP, possibly encrypted with a password, which indicates it's primarily spread via email.
Execution
4 techniques
Execution
It then creates a scheduled task with the name OneDrive SyncTask to execute hourly and launch the miner which is read from the previously created registry entry.
It’s using Redis’s FLUSHALL issue to create a cron job that downloads a setup script... The cron job seen added in the same figure executes the upload script every five minutes.
This file is a bash script used to enumerate the operating system, download cryptomining installation files, and then execute the cryptomining binary.
XMRigCC has a "Command and Control" (CC) server part, a daemon to keep the XMRigCC miner alive
Persistence
3 techniques
Persistence
It then creates a scheduled task with the name OneDrive SyncTask to execute hourly and launch the miner which is read from the previously created registry entry.
It’s using Redis’s FLUSHALL issue to create a cron job that downloads a setup script... The cron job seen added in the same figure executes the upload script every five minutes.
The script ensures the processes are started again if the machine is rebooted. The script adds either a System V init script or a systemd service depending on what is used by the system. | The script adds either a System V init script or a systemd service depending on what is used by the system.
Privilege Escalation
3 techniques
Privilege Escalation
It then creates a scheduled task with the name OneDrive SyncTask to execute hourly and launch the miner which is read from the previously created registry entry.
It’s using Redis’s FLUSHALL issue to create a cron job that downloads a setup script... The cron job seen added in the same figure executes the upload script every five minutes.
The script ensures the processes are started again if the machine is rebooted. The script adds either a System V init script or a systemd service depending on what is used by the system. | The script adds either a System V init script or a systemd service depending on what is used by the system.
Stealth
3 techniques
Stealth
All strings, including the entire command line for the downloader PowerShell code are encrypted with a static byte key, different for each string, which also gets decrypted during the execution.
Daemon to restart the miner
All malicious API calls are resolved dynamically... the address of the required functions which is then indirectly called using one of the 'call reg' instructions.
Lateral Movement
1 technique
Lateral Movement
The modified version can handle commands like "update config", "start/stop mining" or "restart/shutdown/reboot" which can be send from the CC-Server Dashboard.
Command and Control
4 techniques
Command and Control
It lets you control your miners via a Dashboard or the REST api. | XMRigCC has a "Command and Control" (CC) server part, a daemon to keep the XMRigCC miner alive and modifications to send the current status to the CC Server.
-x, --proxy=HOST:PORT connect through a SOCKS5 proxy
The first stage of the PowerShell loader... uses githubusercontent.com to first disable Windows Defender, stop Windows update, download and execute the next malware stage using the Invoke-Expression cmdlet.
Full SSL/TLS support ... --cc-use-tls enable tls encryption for CC communication
Impact
1 technique
Impact
This file was identified to be the XMRigCC cryptomining malware which caused a spike in system resource utilization consistent with cryptomining activity.
Observables
93 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
6 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.