Linux Malware Campaign Targets Huawei Cloud ECS for Cryptojacking
Vulnerability Disclosure · 1 source · Updated 4mo ago · First seen Oct 8, 2021

Threat actors targeted Huawei Cloud Elastic Cloud Service (ECS) instances with an upgraded Linux malware set designed for cryptojacking and broader cloud compromise. The operation deliberately interfered with Huawei Cloud defenses by disabling security-related services such as hostguard and abusing the cloudResetPwdUpdateAgent plugin, indicating environment-specific tradecraft rather than generic Linux opportunism. The attackers also sanitized infected systems by removing competing malware, deleting rival users and SSH keys, creating stealthy privileged accounts, installing Tor, and establishing persistence.
The campaign deployed two main payloads: an obfuscated ELF backdoor, linux64_shell, which used a CrossC2/Cobalt Strike-compatible library to communicate with command-and-control infrastructure, and a Go-based scanner, xlinux, built on the kunpeng framework to spread further. The scanner searched for weak credentials and exploitable services, including Oracle WebLogic systems vulnerable to CVE-2020-14882, underscoring how cloud misconfigurations and poor credential hygiene continued to provide a path for cryptojacking-focused intrusions.
Why it matters
Impact assessment
This campaign affects organizations running Huawei Cloud Elastic Cloud Service (ECS) Linux instances, especially internet-exposed systems with weak credentials, exposed databases, or vulnerable Oracle WebLogic deployments. Impact is high for affected tenants because the activity enables cryptojacking, persistent privileged access, lateral propagation, and degradation of cloud-host security controls.
The exposure is targeted to Huawei Cloud environments rather than generic Linux opportunism, as shown by explicit disabling of Huawei security components and abuse of Huawei-specific plugins. The reporting describes active malicious operations in the wild, including system sanitization, persistence, C2 communications, and propagation tooling.
Supporting facts
- Targeted platform: Huawei Cloud Elastic Cloud Service (ECS)
- Affected populations: cloud-hosted Linux workloads, administrators of public ECS images, tenants with weak credential hygiene or exposed services
- Business impact:
- Unauthorized compute consumption from cryptojacking
- Operational disruption from disabled security tooling and altered accounts
- Increased risk of broader cloud compromise through persistence and propagation
- Potential reputational and financial impact from compromised cloud workloads
- Scope:
- Targeted campaign focused on Huawei Cloud environments
- Broader risk to any tenant exposing SSH, Redis, PostgreSQL, SQL Server, MongoDB, FTP, or vulnerable WebLogic services
- In-the-wild activity: yes, the report describes observed exploitation, persistence, C2 traffic, and follow-on scanning behavior


