CWPdoor Backdoor Hides Inside Control Web Panel Server, Evades Logs
Researchers at QiAnXin’s XLab have uncovered a stealthy Linux backdoor called CWPdoor that hides inside the web server of Control Web Panel (CWP). Consequently, attackers can execute commands on compromised hosting servers without leaving a trace in access logs. This discovery highlights a growing threat to Linux-based web hosting infrastructure, where more than 340,000 CWP instances have been exposed on the public web in the past month.
What Happened: CWPdoor Backdoor Hides Inside Control Web Panel Server
On November 5, 2026, XLab published a technical analysis of CWPdoor, a passive backdoor embedded in a trojanized version of cwpsrv, the web server that powers the Control Web Panel management interface. Moreover, the backdoor operates silently until triggered by a specially crafted HTTP request containing encrypted command data.
The researchers first captured the backdoor’s installer on June 29, 2026. The installer poses as a legitimate version update script and replaces the real cwpsrv binary with a malicious version. Furthermore, the malware takes steps to hide its presence by restoring original file timestamps, deleting temporary files, and wiping command-history logs.
On September 30, an archive containing the backdoor was uploaded to VirusTotal from Brazil. In addition, the archive also contained the Ebury malware, an OpenSSH backdoor active since 2009. However, the researchers do not know whether the two are related.
Technical Details of the CWPdoor Backdoor
CWPdoor is not a standalone program. Instead, the attacker inserted malicious code directly into the cwpsrv source and recompiled it. Therefore, the backdoor ships as a replacement for the legitimate binary, making detection more difficult.
The malware operators activate the backdoor by sending commands in encrypted HTTP headers. Specifically, the request must contain three custom headers:
- X-Ngx-Integrity-Time — a timestamp that must fall within a five-minute window
- X-Ngx-Integrity-Sig — an RSA signature that verifies the request’s authenticity
- X-Ngx-Integrity-Data — the encrypted command payload
Commands and their output are encrypted using AES-256-CBC. The backdoor also interferes with the server’s logging module. As a result, triggering requests never appear in access logs, making forensic investigation extremely difficult.
How Attackers Install the Backdoor
Installing CWPdoor requires root access, so the attackers must already control the server. The researchers do not yet know how attackers obtain this initial access. However, once they have it, the installer script:
- Downloads a trojanized cwpsrv binary from the attacker’s server
- Replaces the legitimate binary while preserving original timestamps
- Deletes temporary files and backup copies to hide evidence
- Wipes the shell command-history log
Affected Versions
The installer handles only two cwpsrv versions:
- cwpsrv 1.15.10
- cwpsrv 1.24.0
Business and Operational Impact
CWPdoor poses serious risks to web hosting providers and their customers. For example, the backdoor allows attackers to:
- Execute arbitrary commands as root on compromised servers
- Access customer websites, databases, and email accounts
- Deploy additional malware or ransomware
- Exfiltrate sensitive data without leaving log traces
- Use compromised servers as launch points for further attacks
Because CWP is a free, open-source alternative to cPanel and Plesk, it is widely used by small hosting providers and individual administrators. Therefore, a compromise can affect many downstream customers who rely on the hosting provider’s security.
Real-World Exposure
XLab reports that more than 340,000 CWP instances have been exposed on the public internet in the past month. However, the researchers do not provide a count of confirmed infections. The fact that the backdoor had zero detections out of 63 antivirus engines on VirusTotal when first checked suggests that existing security tools may miss it.
Mitigation and Recommendations
Administrators should take immediate steps to detect and remove CWPdoor from their infrastructure.
Immediate Actions for Defenders
- Check for infection indicators: Run
ss -axp | grep integrityto look for thengx_http_integrity_helperUnix socket. Also runstrings /usr/local/cwpsrv/bin/cwpsrv | grep X-Ngx-Integrityto check for backdoor header strings. - Review processes: Run
ps aux | grep cwpsrvand look for unexpected helper processes. - Replace the binary: If infected, restore the original cwpsrv from backup or upgrade to the latest version.
- Rotate credentials: Change all control panel passwords and SSH keys, because the backdoor can run any command.
- Investigate further: Treat the server as fully compromised and scan for additional malware.
Long-Term Hardening
Organizations should also consider the following measures:
- Restrict CWP management interfaces to trusted IP addresses
- Monitor for unauthorized file changes in
/usr/local/cwpsrv/ - Enable file-integrity monitoring on critical server binaries
- Apply the principle of least privilege to hosting accounts
- Regularly audit exposed management interfaces with external scans
Bottom line: CWPdoor demonstrates how attackers can hide deep inside legitimate server software. Hosting providers running Control Web Panel should inspect their cwpsrv binaries immediately and treat any confirmed infection as a full compromise.
Incident Summary
| Threat Name: | CWPdoor |
| Target: | Control Web Panel (CWP) cwpsrv web server |
| Affected Versions: | cwpsrv 1.15.10 and 1.24.0 |
| Disclosure Date: | November 5, 2026 |
| First Seen: | June 29, 2026 (installer captured) |
| Patch Status: | Upgrade to latest CWP/cwpsrv version |
| Exposure: | 340,000+ CWP instances on public web |
| Key Indicators: | X-Ngx-Integrity headers, ngx_http_integrity_helper socket |
References
- QiAnXin XLab, “CWPdoor: The Invisible Backdoor Living Inside Control Web Panel,” November 5, 2026, https://blog.xlab.qianxin.com/cwpdoor-the-invisible-backdoor-living-inside-control-web-panel/, accessed November 8, 2026.
- The Hacker News, “Hackers Hide Linux Backdoor in Control Web Panel Server to Execute Commands Without Logs,” November 6, 2026, https://thehackernews.com/2026/11/hackers-hide-linux-backdoor-in-control.html, accessed November 8, 2026.
- BleepingComputer, “Hackers backdoor Linux servers using trojanized CWP web server,” November 5, 2026, https://www.bleepingcomputer.com/news/security/hackers-backdoor-linux-servers-using-trojanized-cwp-web-server/, accessed November 8, 2026.