Back to Groups

Rocke

Inactive

Chinese-speaking cryptojacking crew named by Cisco Talos in 2018. Mines Monero on exposed Linux and cloud servers through Struts, WebLogic and ColdFusion exploits, and uninstalls Alibaba Cloud and Tencent Cloud security agents.

Country
China
Attribution
Criminal Group (Cryptomining)
Documented activity
2018 – 2021
Documented operations

Profile

Rocke is a Chinese-speaking cryptojacking crew first publicly named by Cisco Talos in August 2018, in the report 'Rocke: The Champion of Monero Miners'. The name comes from [email protected], the email the actor used as its MinerGate login in place of a Monero wallet address. MITRE ATT&CK tracks the cluster as G0106; Malpedia catalogues it under the slug 'rocke'. Unit 42 later called Rocke the best-known threat actor running cryptomining operations against the cloud.

Rocke's mandate is purely financial: illicit Monero (XMR) mining on internet-exposed Linux servers and public-cloud hosts. Targeting is opportunistic. Talos saw the actor exploit Apache Struts, Oracle WebLogic (CVE-2017-10271) and Adobe ColdFusion (CVE-2017-3066), and the 2021 Pro-Ocean worm went after Apache ActiveMQ (CVE-2016-3088), WebLogic and unsecured Redis instances. Alibaba Cloud and Tencent Cloud hosts have been a recurring target.

Unit 42's January 2019 report showed Rocke's loader scripts uninstalling five Alibaba Cloud and Tencent Cloud security and monitoring agents (Threat Detection Service/Aegis, CloudMonitor, Cloud Assistant, Host Security/YunJing and Cloud Monitor) before starting the miner, alongside cron persistence and libprocesshider-based process hiding. The 2021 Pro-Ocean version added worm capabilities and an expanded LD_PRELOAD rootkit. Anomali documented a Rocke dropper written in Go in March 2019, and Unit 42 linked the Godlua backdoor to the group.

Rocke has staged payloads on Git repositories (Gitee, GitLab, GitHub) and HTTP file servers, and used Pastebin pastes to check for and redirect to updated malware. Unit 42's NetFlow analysis covering December 2018 to June 2019 found 28.1% of the cloud environments it surveyed with at least one established connection to a known Rocke C2 domain. Attribution to a Chinese-speaking, criminally motivated crew rests on Talos's analysis of domain registrations and accounts tied to the actor, and on code shared with the Iron Cybercrime Group.

Attribution

Attributed to a financially motivated criminal crew focused on illicit Monero mining. Cisco Talos describes Rocke as Chinese-speaking and assesses with high confidence that it operates from Jiangxi Province, based on domain registrations and a GitHub profile; MITRE ATT&CK calls it an alleged Chinese-speaking adversary. Talos found that Rocke's payloads share a code base with Iron Cybercrime Group malware but could not establish the exact relationship, MITRE notes the overlap is unconfirmed, and Unit 42 says the miner family was suspected to be developed by the Iron group. Tooling was hosted on Gitee, GitLab and GitHub repositories.

Origin

First publicly disclosed by Cisco Talos on 30 August 2018. Talos first saw the actor in April 2018, when its Apache Struts honeypots received files pulled from Gitee and GitLab repositories, and also observed it exploiting Oracle WebLogic (CVE-2017-10271) and Adobe ColdFusion (CVE-2017-3066). In September 2018 Unit 42 tied the Xbash malware to the Iron group, which it described as also known as Rocke and active that year. MITRE ATT&CK created its G0106 entry on 26 May 2020.

Mandate

Financial: unauthorised Monero mining on compromised Linux servers and public-cloud workloads. The tradecraft serves that goal: killing rival miners, uninstalling Alibaba Cloud and Tencent Cloud monitoring agents, killing any process that uses more than 30% of the CPU so the miner can take all of it (Pro-Ocean), and hiding the dropper and miner by hooking libc through /etc/ld.so.preload.

Notable Operations

Initial disclosure: Struts / WebLogic / ColdFusion mining spree

2018

Cisco Talos's August 2018 'Champion of Monero Miners' report covered several Rocke campaigns. From April 2018 the actor hit Talos's Apache Struts2 honeypots with files pulled from Gitee and GitLab repositories, and it was also seen exploiting Oracle WebLogic (CVE-2017-10271) and Adobe ColdFusion (CVE-2017-3066). Shell scripts installed cron persistence and downloaded XMRig and XMR-stak variants that mined Monero to the MinerGate account [email protected], which gave the actor its name.

XMRigXMR-stak

Xbash: Linux+Windows worm combining ransomware, coinmining and botnet

2018

Unit 42's September 2018 disclosure of Xbash, malware written in Python and packaged as Linux ELF executables with PyInstaller, which Unit 42 tied to the Iron cybercrime group (aka Rocke). Xbash combined botnet, ransomware, coinmining and self-propagation: on Linux it deleted MySQL, PostgreSQL and MongoDB databases and demanded Bitcoin with no way to restore the data, and on Windows it delivered a coinminer. It spread by attacking weak passwords and Hadoop, Redis and ActiveMQ (CVE-2016-3088) vulnerabilities.

Xbash

Uninstalling Alibaba Cloud and Tencent Cloud security agents

2018-2019

In January 2019 Unit 42 reported that Rocke malware samples collected in October 2018 had gained code to uninstall five cloud security and monitoring agents, from Alibaba Cloud (Threat Detection Service/Aegis, CloudMonitor, Cloud Assistant) and Tencent Cloud (Host Security/YunJing, Cloud Monitor), before mining, following the vendors' own uninstall procedures. Unit 42 called it the first malware family it knew of with this capability.

XMRig

Cloud C2 telemetry and the Godlua link

2019

In July 2019 Unit 42's 'Cloudy with a Chance of Entropy' post, introducing its Cloud Threat Risk Report, said 28% of organizations were communicating with cryptomining C2 domains operated by Rocke. The follow-up 'Rocke'in the NetFlow' (August 2019) analysed NetFlow data from December 2018 to 16 June 2019, found 28.1% of surveyed cloud environments with at least one established connection to a known Rocke C2 domain, and tied Rocke to the Godlua backdoor through hardcoded domains, Pastebin URLs and an IP address shared with earlier Rocke malware.

GodluaSystemten

Golang malware family and adversary playbook

2019

Anomali (March 2019) reported a new Rocke campaign, seen from 12 March 2019, that used a dropper written in Go instead of Python. The UPX-packed dropper used Pastebin for C2, hid itself and the miner by hooking libc through /etc/ld.so.preload, persisted through cron, init.d and systemd, and mined to a private pool hosted on DigitalOcean. In July 2019 Unit 42 included Rocke in its 'Unveiling 11 New Adversary Playbooks' release.

Rocke Go family

Pro-Ocean worm with LD_PRELOAD userland rootkit

2020-2021

Unit 42's January 2021 report on Pro-Ocean, a revised version of Rocke's cloud-targeted cryptojacking malware written in Go, documented worm-style spreading against Apache ActiveMQ (CVE-2016-3088), Oracle WebLogic (CVE-2017-10271) and unsecured Redis; removal of competing miners; uninstalling of Alibaba Cloud and Tencent Cloud monitoring agents; and a rootkit module that adds a library to /etc/ld.so.preload to hide its files and processes.

Pro-OceanXMRig

Tactics, Techniques & Procedures

19 techniques · linked to MITRE ATT&CK
Initial Access(1)
T1190 Exploit Public-Facing Application

Exploits Apache Struts2, Oracle WebLogic (CVE-2017-10271) and Adobe ColdFusion (CVE-2017-3066) vulnerabilities to deliver malware; the Pro-Ocean worm adds Apache ActiveMQ (CVE-2016-3088) and unsecured Redis instances.

Execution(1)
T1059.004 Command and Scripting Interpreter: Unix Shell

Shell scripts such as 'a7' install cron persistence, kill rival miners and download and run the miner.

Persistence(3)
T1053.003 Scheduled Task/Job: Cron

Installs cron jobs that periodically download and execute scripts from attacker infrastructure, for example 'logo.jpg' from 3389[.]space.

T1543.002 Create or Modify System Process: Systemd Service

The 2019 Go dropper installs an init.d script (/etc/init.d/netdns) and a systemd service (netdns.service) and enables them with chkconfig and systemctl.

T1574.006 Hijack Execution Flow: Dynamic Linker Hijacking

Pro-Ocean's hiding module compiles a C library and adds it to /etc/ld.so.preload, overriding libc functions such as open, opendir, readdir, stat and access to hide its files and processes; it reuses libprocesshider.

Stealth(4)
T1027.004 Obfuscated Files or Information: Compile After Delivery

The 2019 Go dropper writes C source to /usr/local/lib/libcset.c and compiles it on the victim with gcc (installing gcc if it is missing) into a shared object loaded through /etc/ld.so.preload.

T1564.001 Hide Artifacts: Hidden Files and Directories

The 'a7' script downloads libprocesshider from GitHub and uses it with the ld.so preloader to hide a file named 'x7'.

T1036.005 Masquerading: Match Legitimate Resource Name or Location

Shell scripts save downloaded mining executables under the filename 'java'.

T1070.004 Indicator Removal: File Deletion

The 2019 Go dropper deletes its staging copies (/tmp/kthrotlds and /tmp/kintegrityds) after copying itself into place.

Defense Impairment(1)
T1685 Disable or Modify Tools

Rocke's loader code uninstalls the Alibaba Cloud Threat Detection Service (Aegis), CloudMonitor and Cloud Assistant agents and the Tencent Cloud Host Security (YunJing) and Cloud Monitor agents before starting the miner. ATT&CK cites the Unit 42 report for Rocke's use of this technique.

Credential Access(1)
T1552.004 Unsecured Credentials: Private Keys

Uses the SSH keys and known hosts on an infected machine to spread its coinminer to other servers.

Discovery(3)
T1018 Remote System Discovery

Reads IP addresses from the known_hosts file on an infected system and attempts to SSH into them.

T1046 Network Service Discovery

Pro-Ocean's Python infection script runs public exploits for ActiveMQ, WebLogic and Redis against every machine in its 16-bit subnet; ATT&CK also records Rocke scanning for TCP port 7001 and for SSH and Redis servers.

T1518.001 Software Discovery: Security Software Discovery

Loader scripts check for Alibaba Cloud and Tencent Cloud security and monitoring agents (Threat Detection Service, CloudMonitor, Cloud Assistant, Host Security, Cloud Monitor) and uninstall them.

Lateral Movement(1)
T1021.004 Remote Services: SSH

Spreads its coinminer to reachable Linux hosts over SSH using keys found on the infected machine.

Command and Control(3)
T1102.001 Web Service: Dead Drop Resolver

Pulled payloads from Gitee and GitLab repositories, and used Pastebin pastes to check the malware version and redirect to another paste hosting the updated malware.

T1071.001 Application Layer Protocol: Web Protocols

HTTP(S) is the application-layer C2 channel: samples fetch staging payloads and configuration from Pastebin and GitHub, and infected hosts beacon hourly to hardcoded C2 domains.

T1105 Ingress Tool Transfer

Shell scripts download miners and helper tools (libprocesshider, tar.gz archives) from attacker Git repositories and HFS servers after the initial foothold.

Impact(1)
T1496.001 Resource Hijacking: Compute Hijacking

Illicit Monero mining with XMRig and XMR-stak variants; Pro-Ocean deploys XMRig 5.11.1 and a watchdog that kills other processes using more than 30% of the CPU.

This list is a curated subset with sourced usage prose. MITRE catalogues every technique ever attributed to this actor.See full MITRE catalog (G0106)

Reports & Advisories

15 sources· ficha verified 2026-10-19
Newest first. Reports older than 24 months are collapsed at the bottom.
Show 15 older reports
Pro-Ocean: Rocke Group's New Cryptojacking Malware
Palo Alto Networks (Unit 42) · 2021-01-28
vendortechnical-analysis

Unit 42's report on Pro-Ocean, a Go-based revision of Rocke's cloud-targeted cryptojacking malware with four modules (hiding, mining, infecting, watchdog): an LD_PRELOAD rootkit that hides its files and processes, worm spreading via ActiveMQ (CVE-2016-3088), WebLogic (CVE-2017-10271) and unsecured Redis, and removal of competing miners.

Link OKVerified 2026-10-19
Rocke, Group G0106
MITRE ATT&CK · 2020-05-26
communityattack-framework

ATT&CK group page for Rocke (created 26 May 2020): description, the techniques attributed to the group (among them Disable or Modify Tools, Dynamic Linker Hijacking, Cron and Compute Hijacking) and its references to Cisco Talos, Anomali and Unit 42.

Link OKVerified 2026-10-19
Rocke'in the NetFlow
Palo Alto Networks (Unit 42) · 2019-08-01
vendortechnical-analysis

Unit 42's six-month study of Rocke using NetFlow data (December 2018 to June 2019): 28.1% of surveyed cloud environments had at least one established connection to a known Rocke C2 domain, 20% showed hourly heartbeats, and hardcoded domains, Pastebin URLs and an IP address link Rocke to the Godlua backdoor.

Link OKVerified 2026-09-21
Unveiling 11 New Adversary Playbooks
Palo Alto Networks (Unit 42) · 2019-07-30
vendorthreat-report

Unit 42's July 2019 release of 11 new Adversary Playbooks, viewable in its Playbook Viewer. The Rocke entry summarises the January 2019 finding that the China-based group's Linux coin-mining malware uninstalls five Tencent Cloud and Alibaba Cloud security and monitoring products.

Link OKVerified 2026-10-19
Cloudy with a Chance of Entropy
Palo Alto Networks (Unit 42) · 2019-07-24
vendorthreat-report

Unit 42 post introducing its Cloud Threat Risk Report (data from January 2018 to late June 2019). Among its findings, 28% of organizations were communicating with cryptomining C2 domains operated by Rocke, a group noted for disabling and uninstalling agent-based cloud security tools.

Link OKVerified 2026-09-21
vendortechnical-analysis

Anomali's report on a Rocke campaign from March 2019 using a new dropper written in Go: UPX-packed with a modified header, Pastebin-based C2, libc hooking through /etc/ld.so.preload, cron, init.d and systemd persistence, and a private mining pool on DigitalOcean.

Link OKVerified 2026-10-19
Rocke (Threat Actor)
Malpedia (Fraunhofer FKIE) · 2019-01-18
communityattack-framework

Malpedia canonical actor page for Rocke: malware family catalogue, aliases, and running reference list. Curated by Fraunhofer FKIE.

Link OKVerified 2026-10-19
vendortechnical-analysis

Unit 42's account of Rocke's cloud-agent removal: loader code that uninstalls Alibaba Cloud Threat Detection Service (Aegis), CloudMonitor and Cloud Assistant agents and Tencent Cloud Host Security (YunJing) and Cloud Monitor agents before the miner runs. MITRE ATT&CK cites it for Rocke's Disable or Modify Tools technique.

Link OKVerified 2026-10-19
vendorblog-analysis

Contemporaneous Threatpost coverage of the Unit 42 January 2019 disclosure, useful for corroborating the cloud-agent uninstall behaviour outside the primary vendor channel.

Link OKVerified 2026-10-19
vendortechnical-analysis

Unit 42's Xbash write-up: Python-based botnet, ransomware and coinmining malware tied to the Iron cybercrime group (aka Rocke). It spreads through weak passwords and Hadoop, Redis and ActiveMQ vulnerabilities and deletes MySQL, PostgreSQL and MongoDB databases with no way to restore them.

Link OKVerified 2026-10-19

Palo Alto Networks corporate-blog mirror of the Unit 42 Xbash disclosure: same content, alternate URL retained for link durability.

Link OKVerified 2026-10-19
Unit 42 tag: Rocke
Palo Alto Networks (Unit 42) · 2018-09-17
vendorblog-analysis

Running index of every Unit 42 post tagged 'Rocke', a durable pointer to future Unit 42 coverage without hardcoding individual URLs.

Link OKVerified 2026-10-19
Rocke: The Champion of Monero Miners
Cisco Talos · 2018-08-30
vendortechnical-analysis

The foundational disclosure. Talos names the actor 'Rocke' after [email protected], the email used as its MinerGate mining login, traces its activity from April 2018 (Apache Struts honeypots, Oracle WebLogic CVE-2017-10271, Adobe ColdFusion CVE-2017-3066), and dissects its Gitee/GitLab repositories, HFS server, shell scripts and ELF and PE miners.

Link OKVerified 2026-10-19
vendorblog-analysis

Cisco Blogs mirror of the Talos disclosure, retained as a durable secondary URL for the original 'Rocke' naming report.

Link OKVerified 2026-10-19
vendorblog-analysis

First mainstream security-press coverage of the Talos 'Rocke' naming, contextualising the actor within the wider 2018 wave of server-side cryptojacking crews.

Link OKVerified 2026-10-19

Activity Timeline

First Seen
2018
Last Seen
2021

Target Sectors

Cloud InfrastructureLinux ServersWeb Servers

Associated Malware

XMRig