H2Miner
- Motivation
- Financial
- Targets
- CN
- Capabilities
- Initial accessPost exploitationPersistenceDefense evasionScanningReconnaissance
H2Miner, also stylized h2Miner, is a financially motivated cryptocurrency-mining operation active since late 2019. It compromises Internet-exposed servers and containerized environments to deploy Kinsing malware and cryptocurrency miners, including XMRig. Its targets include cloud servers in China; its country of origin is not established. H2Miner gains initial access through unauthenticated or weakly protected Redis services, exposed Docker management interfaces, and vulnerable server applications. Its Redis attack chain abuses master–replica replication to transfer a malicious shared library, then loads that library as a Redis module to execute commands and establish reverse shells. Other documented entry points include Apache Solr, Hadoop YARN, ThinkPHP, and Confluence, including exploitation of CVE-2019-0193 and CVE-2019-3396. Its tooling downloads and executes additional payloads, communicates with command-and-control infrastructure, collects host characteristics, and uses masscan to identify additional targets. Deployment scripts terminate competing miners and selected security, database, and application processes, interfere with cloud-security agents, and establish persistence through services and scheduled jobs. Defense-evasion measures include clearing shell history, removing competing scheduled tasks, and reversing Redis configuration changes after exploitation. Associated infrastructure has also distributed Windows mining payloads with scheduled-task persistence. Infrastructure associated with H2Miner has exhibited operational overlap with Lcrypt0rx ransomware through shared mining payloads and a previously associated Monero wallet. This overlap does not establish common ownership or justify attributing Lcrypt0rx's ransomware behavior to H2Miner.
Targeting
Who, where, and from where this actor operates. Pulled from open-source reporting and Mallory's analyst review.
Who they target
Sectors the actor has been observed targeting.
- Information Technology
Where they target
Geographies tied to known operations.
- China
Tradecraft
2 distinct techniques observed across reporting, grouped by tactic. Hover any cell for the evidence excerpt.
Associated malware families
2 malware families Mallory has associated with this actor across public reporting.
Frequently asked questions
- Who does H2Miner target?
- H2Miner targets Information Technology in China.
- What malware does H2Miner use?
- H2Miner is associated with Kinsing and XMRig.
Recent activity
3 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.