QiAnXin XLab says it captured a suspicious script, cwpsrv_update.sh, on June 29 that downloads a backdoored, recompiled cwpsrv to replace the legitimate Control Web Panel (CWP) binary; the backdoor runs attacker commands only on specially crafted requests and suppresses logging for them [1]. XLab says more than 340,000 CWP instances were internet-exposed over the past month and that a sample uploaded to VirusTotal on September 30 had zero detections, indicating real victims exist [1][2]. CWP administrators should check hosts against XLab indicators and, if infected, restore cwpsrv from the attacker-created backup, upgrade to the latest version and immediately rotate all control panel credentials [1].
Linux backdoor CWPdoor hides in trojanized CWP panel server cwpsrv and suppresses access logs
2 min readLast updated
30-second summary
- Disclosed
- Nov 5, 2026
- Published
- Nov 11, 2026
- Last updated
- Nov 10, 2026
- CVSS basis
- Our assessment
- Technology
- Attack vector
- Actor type
- Motivation
On this page
Timeline
Technical details
What Happened
In an analysis published on November 5, QiAnXin XLab stated that cwpsrv_update.sh, captured on June 29, downloaded a malicious cwpsrv binary from 136.0.141.71 and replaced the original file of the same name on the system. The attackers inserted malicious code into the cwpsrv source code and recompiled it, allowing it to behave identically to the legitimate program during normal operations [1]. A report by iThome noted that the script disguised itself as a software update and used techniques such as restoring timestamps, deleting temporary files, and clearing command history to mask the replacement [2].
Scope of Impact
Citing data from the QiAnXin Hunter platform, XLab stated that over 340,000 Control Web Panel (CWP) instances were exposed to the internet over the past month, representing potential targets. XLab has not yet determined which vulnerability cwpdoor leveraged for distribution [1].
Response
XLab recommends that once infection is confirmed, administrators should restore cwpsrv using the legitimate backup file left behind by the attacker, upgrade to the latest version, immediately rotate all control panel credentials, and treat the host as fully compromised [1].
Remediation
References
Research1
- [1]
“more than 340,000 CWP instances were exposed to the internet over the past month, making all of them potential targets for cwpdoor infection”
Media1
- [2]
Found this useful?
Pass it to whoever runs these systems so they can patch in time.
This site aggregates public information and is not security consulting advice. Test remediation steps before applying.