RC RANDOM CHAOS

CWPdoor Linux Backdoor Spreads via Trojanized Web Server

· via BleepingComputer

Original source

Hackers backdoor Linux servers using trojanized CWP web server

BleepingComputer →

CWPdoor is a passive Linux backdoor distributed through a compromised version of cwpsrv, the web server component of Control Web Panel—an open-source hosting management tool running on over 340,000 exposed instances. The malware remains dormant until attackers send a specially crafted HTTP request to activate it, making it particularly difficult to detect through conventional monitoring.

Activation requires encrypted HTTP headers carrying the command (X-Ngx-Integrity-Data), a timestamp (X-Ngx-Integrity-Time), and an RSA signature (X-Ngx-Integrity-Sig). The backdoor validates the timestamp falls within a five-minute window and verifies the signature before decrypting commands using AES-256-CBC and passing them to a helper process. During installation, the malicious binary replaces legitimate cwpsrv versions 1.15.10 and 1.24.0 while restoring file timestamps, deleting temporary files, and wiping command history. It also suppresses server logging to prevent triggering requests from appearing in access logs.

Researchers discovered the malware on June 29 after capturing an installer script performing the binary swap. In September, the same binary appeared on VirusTotal bundled with Ebury—a Linux botnet active since 2009 that infected nearly 400,000 servers—though the connection remains unclear. The zero initial detections suggest active real-world compromises rather than experimental code. Administrators should scan for the ngx_http_integrity_helper socket, suspicious cwpsrv helper processes, and X-Ngx-Integrity strings in binaries, then replace compromised files, upgrade CWP, rotate credentials, and investigate for additional malware.

Read the full article

Continue reading at BleepingComputer →

This is an AI-generated summary. Read the original for the full story.