Skip to main content
Mallory
← Back to News
botnet-infrastructurecommand-and-control-methodlateral-movement-methodendpoint-security-bypass

Tor-Based Linux Botnet Spreads via Ansible, Chef, and SaltStack to Deploy XMRig

Malware Intelligence · 1 source · Updated 4mo ago · First seen Apr 22, 2021

Tor-Based Linux Botnet Spreads via Ansible, Chef, and SaltStack to Deploy XMRig

A Linux-focused botnet used the Tor network and a large proxy infrastructure to conceal command-and-control traffic, deliver payloads, and exfiltrate victim data while deploying the XMRig Monero miner on compromised systems. The malware arrived as a multilayer-encoded shell script, supported multiple Linux architectures, and fetched legitimate utilities such as ss, ps, and curl when they were not already present, indicating an effort to operate flexibly across diverse server environments.

The campaign also abused infrastructure-as-code and cloud management tools including Ansible, Chef, and SaltStack to expand laterally and scale infections. Once active, the malware removed rival cryptominers and disabled or uninstalled cloud monitoring and security agents tied to Tencent Cloud, Alibaba Cloud, and Aegis/YunJing, while researchers found evidence suggesting some Tor proxy and mining-pool servers used in the operation may themselves have been compromised hosts with exposed and vulnerable services.

Why it matters

Impact assessment

This campaign targets Linux servers and cloud-hosted workloads, with elevated risk for organizations using Ansible, Chef, or SaltStack in mixed or large-scale server environments. Impact includes unauthorized cryptomining, degraded system performance, lateral spread through administration tooling, suppression of security monitoring, and potential follow-on compromise due to attacker persistence and infrastructure abuse.

The exposure is broader than a single product vulnerability because the malware is designed to operate across multiple Linux architectures and diverse server configurations. Researchers described active botnet operations in the wild and observed attacker efforts to disable Tencent Cloud, Alibaba Cloud, and Aegis/YunJing monitoring or security components, increasing the chance of prolonged undetected compromise.

Affected entities and environments

  • Linux and Linux-based systems across multiple CPU architectures
  • Cloud-hosted servers and virtual machines
  • Environments using infrastructure-as-code and configuration management tooling:
    • Ansible
    • Chef
    • SaltStack
  • Organizations relying on Tencent Cloud, Alibaba Cloud, or Aegis/YunJing agents for monitoring or endpoint visibility

Severity and business impact

  • Resource hijacking through XMRig Monero mining causes CPU exhaustion, service degradation, and increased infrastructure cost
  • Lateral movement via administrative tooling can expand a single host compromise into broader fleet exposure
  • Removal or disabling of monitoring/security agents reduces detection capability and increases dwell time
  • Removal of competing miners indicates deliberate host control and persistence by the operator
  • Potential reputational and operational impact if compromised hosts are repurposed as Tor proxies or attacker infrastructure

Scope and exploitation status

  • In-the-wild campaign documented by Trend Micro researchers David Fiser and Alfredo Oliveira
  • Scope appears opportunistic and scalable rather than narrowly targeted
  • Researchers assessed some proxy and mining-pool nodes may themselves be compromised hosts with exposed vulnerable services, suggesting a broader ecosystem of abused infrastructure
Hunt this familyPull IOCs and campaign context straight into your stack.
Get the IOCs
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

1 event · Apr 22, 2021
  1. Apr 22, 20216y ago

    Trend Micro documents Tor-based Linux botnet abusing IaC tools

    Trend Micro researchers David Fiser and Alfredo Oliveira reported a Linux-targeting botnet that used Tor-hosted payload delivery, proxy infrastructure, and infrastructure-as-code tools including Ansible, Chef, and SaltStack for propagation. The malware installed XMRig, disabled cloud security agents, and removed competing miners; the researchers said this was the first case they had observed of Linux malware abusing IaC tools to spread.

    Tor-Based Botnet Malware Targets Linux Systems, Abuses Cloud Management Tools | Trend Micro (US)
Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, breaches, and observables Mallory has linked to this story. Indicator values are masked here and available in full in the app.

Open in app →

Observables

44 linked

Indicator values are masked on this page. View all 44 in Mallory Domains, IPs, hashes, and URLs are exportable to your SIEM.

Do you run this?Pull the IOCs, campaigns, and victimology behind this family, ready to push into your SIEM and EDR.
Hunt This Malware
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.