Trojanized Control Web Panel Binary Deploys Stealthy CWPdoor Backdoor on Over 340K Linux Servers
What Happened — Researchers at XLab (QiAnXin Technology Group) uncovered a new Linux malware family they named CWPdoor. The payload is delivered by a trojanized version of cwpsrv, the core web‑server binary behind the open‑source Control Web Panel (CWP) management interface. Starting on June 29, 2026, the attackers published a script that masquerades as a legitimate CWP updater. When executed, the script replaces the authentic cwpsrv binary (versions 1.15.10 and 1.24.0) with a malicious copy, then restores file timestamps, wipes temporary files, and clears command‑history logs to hide the change.
CWP is widely used for hosting administration—similar to cPanel or Plesk—and XLab estimates more than 340,000 CWP instances were exposed to the public internet in the month preceding the report. The malicious binary was first observed on VirusTotal on September 30, bundled with the older Ebury Linux backdoor, though the two appear unrelated.
The CWPdoor backdoor remains dormant until an attacker sends a specially crafted HTTP request. The request must contain three encrypted headers:
X‑Ngx‑Integrity‑Data– the AES‑256‑CBC encrypted command payload.X‑Ngx‑Integrity‑Time– a Unix timestamp.X‑Ngx‑Integrity‑Sig– an RSA signature covering both the timestamp and the ciphertext.
The server validates the RSA signature, checks that the timestamp falls within a ±300‑second window, then decrypts the command and forwards it to a helper process for execution. Any alteration to the timestamp or ciphertext invalidates the signature, providing replay protection and a form of authorization control.
Beyond the encrypted command channel, CWPdoor actively interferes with the server’s logging subsystem, ensuring the triggering request never appears in access logs. It also deletes the command‑history file and restores original file timestamps, making forensic discovery extremely difficult.
The campaign’s scale is underscored by the zero‑detection status of the malicious cwpsrv.suspeito file on VirusTotal at the time of upload, suggesting the operators have successfully evaded many automated scanners. While the link to the long‑running Ebury botnet remains unclear, the presence of both payloads in the same archive hints at a possible shared infrastructure.
XLab’s remediation guidance advises administrators to:
- Scan for the Unix socket
ngx_http_integrity_helper, any unexpectedcwpsrvhelper processes, and the presence of theX‑Ngx‑Integrityheader strings in binaries. - If infection is confirmed, replace the compromised binary with a clean copy from the official CWP repository, upgrade to the latest version, rotate all control‑panel credentials, and conduct a full host‑level malware investigation.
The discovery highlights a growing trend of software‑supply‑chain attacks targeting open‑source server management tools, where a single compromised binary can grant persistent, stealthy access to thousands of downstream servers.
Why It Matters for Trust & Control Assurance — The incident tests the control objective of software integrity and change‑management; continuous evidence of trusted binaries and immutable logging are essential for audit readiness.
Who Is Affected — Web‑hosting providers, managed service providers, and any enterprise that runs Linux control panels such as CWP.
Recommended Actions –
- Implement automated integrity‑checking of critical binaries (hash verification against a trusted baseline).
- Enforce immutable logging and retain change‑audit trails for system files.
- Incorporate continuous monitoring of third‑party software updates into your control‑mapping program.
Source: BleepingComputer – Hackers backdoor Linux servers using trojanized CWP web server
Technical Notes – Attack vector: trojanized updater script replacing cwpsrv.
Encryption: AES‑256‑CBC for command payload; RSA signature for integrity and replay protection.
Data exfiltrated: command output only; no explicit credential theft reported.
Source: same as above