Threat Summary
The latest OTX pulse describes a stealthy Linux server compromise pattern centered on Control Web Panel, or CWP. Researchers report a passive backdoor named cwpdoor that hides inside the legitimate cwpsrv binary rather than dropping a noisy standalone implant. Execution is gated: the infected service appears normal until it receives specially crafted HTTP requests carrying cryptographic signatures. Once triggered, operators can run remote commands while suppressing access-log evidence, creating an intrusion that looks like ordinary panel traffic from the outside.
The pulse associates the activity with cwpdoor and Ebury-style tradecraft tracked as S0377, with observed targeting concentrated in Brazil and no named sector. The staging indicators point to a small hosting footprint serving fake CWP update material from 136.0.141.71 under /static/, including cwpsrv_update.sh and versioned cwpsrv binaries. The campaign objective is durable, low-visibility control of internet-facing Linux servers that run web hosting stacks. That access can later be monetized through credential theft, web traffic manipulation, spam infrastructure, proxying, or resale of server footholds. The most important analytical point is the architecture: this is not smash-and-grab malware. It is designed to survive casual inspection by living inside a trusted service binary and remaining dormant until a signed knock arrives.
Analytic ATT&CK mapping implied by the pulse includes T1059 Command and Scripting Interpreter, T1071 Application Layer Protocol, T1036 Masquerading, T1070 Indicator Removal, T1543 Create or Modify System Process, and T1557 Adversary-in-the-Middle potential if panel traffic or update channels are abused.
Threat Actor / Malware Profile
Named adversary: Unknown. Malware families: cwpdoor and Ebury S0377 lineage. Confidence is moderate that the operator understands Linux service internals, RPM or package workflows used by hosting providers, and CWP deployment paths. The choice of Control Web Panel is operationally attractive: CWP is common on low-cost VPS and reseller hosting environments, runs with elevated privileges, exposes web management surfaces, and is frequently administered by small teams with limited EDR coverage.
Distribution method: trojanized CWP service material delivered through update-looking resources. The OTX indicators show HTTP URLs hosting cwpsrv_update.sh, cwpsrv_1.24.0, and cwpsrv_1.15.10. A defender should treat any CWP binary or update script fetched from a non-vendor IP as hostile until proven otherwise. Payload behavior: malicious logic is embedded directly into cwpsrv so process lists, package names, and service units continue to look legitimate. The backdoor is passive and request-triggered, reducing beaconing and making netflow-only detection harder. C2 communication: HTTP-based, likely over normal web ports, with signature validation acting as an access-control mechanism. Persistence mechanism: replacement or patching of the cwpsrv executable and restart under the existing CWP service context, giving boot persistence through systemd or init scripts already present on the host. Anti-analysis techniques: log suppression, cryptographic trigger checks, masquerading as a vendor binary, versioned filenames, and minimal outbound chatter when not activated.
The Ebury reference matters because Ebury has historically focused on Linux server credential theft, SSH-level compromise, and infrastructure quietly folded into criminal operations. Even where cwpdoor is a distinct implant, defenders should assume follow-on goals include SSH credential capture, session theft, and conversion of compromised web servers into criminal relay capacity.
IOC Analysis
The pulse contains three URL indicators and three MD5 file hashes. The URLs are high value because they reveal staging behavior, not just command execution. Block and retro-hunt for any request to 136.0.141.71, especially paths under /static/ and filenames matching cwpsrv_update.sh or cwpsrv_*. The MD5s are useful for host triage and retro scanning but should not be treated as complete coverage: a patch-level rebuild or re-packed cwpsrv will change hashes while preserving behavior.
SOC operationalization should split indicators by durability. Hash indicators go into EDR blocklists, YARA-assisted triage, osquery file integrity packs, and threat-intel platforms for enrichment. URL and IP indicators go to egress proxy, DNS, firewall, Zeek, Suricata, and SIEM correlation. Because the implant is passive, a single blocked IP is not enough; teams must hunt for the trigger artifact and the consequence artifact. Trigger artifacts include unusual HTTP requests to CWP interfaces, odd User-Agents, rare request methods, or requests that do not correspond to admin sessions. Consequence artifacts include cwpsrv spawning shells, curl, wget, python, nc, socat, or package tools, plus missing or truncated access logs during authenticated windows. Recommended tooling: Zeek for HTTP metadata, Suricata for egress and path matching, osquery for file hash and systemd state, auditd for execve lineage, Falco for runtime rules, Microsoft Sentinel or Splunk for correlation, and YARA for memory or disk triage of replaced binaries.
Detection Engineering
---
title: CWPdoor Trojanized cwpsrv Spawning Shell or Downloader
id: 8f5ba2c4-7d6e-4d0a-9f34-2cwpdoor0001
status: experimental
description: Detects the legitimate CWP service binary cwpsrv spawning command interpreters, downloaders, or network utilities consistent with a passive backdoor trigger.
author: Security Arsenal
date: 2026/12/05
logsource:
category: process_creation
product: linux
detection:
selection_parent:
ParentImage|endswith: '/cwpsrv'
selection_child:
Image|endswith:
- '/sh'
- '/bash'
- '/dash'
- '/curl'
- '/wget'
- '/nc'
- '/ncat'
- '/socat'
- '/python'
- '/python3'
- '/perl'
- '/php'
filter_package:
CommandLine|contains:
- 'dnf '
- 'yum '
- 'apt-get '
condition: selection_parent and selection_child and not filter_package
falsepositives:
- Legitimate CWP maintenance scripts directly invoked by an administrator
level: high
tags:
- attack.t1059
- attack.t1543
- attack.t1036
---
title: CWPdoor Staging From Known Update Infrastructure
id: 8f5ba2c4-7d6e-4d0a-9f34-2cwpdoor0002
status: experimental
description: Detects HTTP or proxy requests to staging URLs and versioned cwpsrv payloads reported for cwpdoor distribution.
author: Security Arsenal
date: 2026/12/05
logsource:
category: webserver
product: linux
detection:
selection_ip:
c-ip: '136.0.141.71'
selection_path:
cs-uri|contains:
- '/static/cwpsrv_update.sh'
- '/static/cwpsrv_1.24.0'
- '/static/cwpsrv_1.15.10'
- '/static/cwpsrv'
condition: selection_ip or selection_path
falsepositives:
- Threat researchers validating indicators in a controlled lab
level: critical
tags:
- attack.t1071
- attack.t1105
---
title: CWPdoor Log Suppression Around CWP Service Activity
id: 8f5ba2c4-7d6e-4d0a-9f34-2cwpdoor0003
status: experimental
description: Detects suspicious gaps, truncation, or deletion affecting web and panel logs while cwpsrv remains active, a behavior consistent with log suppression.
author: Security Arsenal
date: 2026/12/05
logsource:
category: file_event
product: linux
detection:
selection_logs:
TargetFilename|contains:
- '/var/log/nginx'
- '/var/log/apache'
- '/var/log/httpd'
- '/usr/local/cwpsrv/logs'
- '/var/log/cwp'
selection_actions:
EventID:
- 23
- 26
selection_cli:
CommandLine|contains:
- 'truncate '
- 'shred '
- 'rm -f'
- '> /var/log'
- ': >'
condition: selection_logs and (selection_actions or selection_cli)
falsepositives:
- Aggressive logrotate misconfiguration
- Administrator emergency disk cleanup
level: medium
tags:
- attack.t1070
- attack.t1562
let cwp_iocs = dynamic(['136.0.141.71','/static/cwpsrv_update.sh','/static/cwpsrv_1.24.0','/static/cwpsrv_1.15.10','e505d4ffa21cf494a5dc2d7c8f4f1236','d3f4e95113d49ab3991b45e457bda75b','965aea67fb40de1bab5169ada993349f']);
union isfuzzy=true
(DeviceNetworkEvents
| where RemoteIP == '136.0.141.71' or RemoteUrl has_any (cwp_iocs)
| project TimeGenerated, DeviceName, InitiatingProcessFileName, InitiatingProcessCommandLine, RemoteIP, RemoteUrl, RemotePort, ActionType),
(DeviceProcessEvents
| where (InitiatingProcessFileName =~ 'cwpsrv' or InitiatingProcessCommandLine has 'cwpsrv')
and (FileName in~ ('sh','bash','dash','curl','wget','nc','ncat','socat','python','python3','perl','php')
or ProcessCommandLine has_any ('/static/cwpsrv','136.0.141.71','chmod +x','systemctl restart'))
| project TimeGenerated, DeviceName, InitiatingProcessFileName, InitiatingProcessCommandLine, FileName, ProcessCommandLine, SHA256, MD5),
(DeviceFileEvents
| where MD5 in~ ('e505d4ffa21cf494a5dc2d7c8f4f1236','d3f4e95113d49ab3991b45e457bda75b','965aea67fb40de1bab5169ada993349f')
or FileName has_any ('cwpsrv_update.sh','cwpsrv_1.24.0','cwpsrv_1.15.10')
or FolderPath has_any ('/usr/local/cwpsrv','/static/cwpsrv')
| project TimeGenerated, DeviceName, InitiatingProcessFileName, FileName, FolderPath, MD5, SHA256, ActionType)
| order by TimeGenerated desc
#!/usr/bin/env bash
# CWPdoor triage for suspected Control Web Panel hosts. Run as root during incident response.
set -u
printf '%s
' '== CWPdoor IOC and behavior hunt =='
for p in /usr/local/cwpsrv/bin/cwpsrv /usr/local/cwpsrv/cwpsrv /opt/cwpsrv/bin/cwpsrv; do
if [ -f "$p" ]; then
printf 'FILE %s\n' "$p"
md5sum "$p" 2>/dev/null
sha256sum "$p" 2>/dev/null
stat -c 'mtime=%y inode=%i size=%s uid=%u gid=%g mode=%a' "$p" 2>/dev/null
fi
done
printf '%s
' '== Known bad MD5 check =='
for h in e505d4ffa21cf494a5dc2d7c8f4f1236 d3f4e95113d49ab3991b45e457bda75b 965aea67fb40de1bab5169ada993349f; do
grep -R -m1 "$h" /usr/local/cwpsrv /opt /tmp /var/tmp 2>/dev/null | head -5
find /usr/local/cwpsrv /opt /tmp /var/tmp -type f -exec md5sum {} + 2>/dev/null | grep "$h" | head -20
done
printf '%s
' '== Egress and listener context =='
ss -antp 2>/dev/null | grep -E '136\.0\.141\.71|cwpsrv|:80|:443' || true
printf '%s
' '== Suspicious process lineage =='
ps -eo pid,ppid,user,comm,args --forest 2>/dev/null | grep -E 'cwpsrv|/bin/sh|/bin/bash|curl |wget |nc |socat|python' | grep -v grep || true
printf '%s
' '== Persistence and tampering =='
systemctl list-units --type=service --all 2>/dev/null | grep -i -E 'cwp|cwpsrv' || true
crontab -l 2>/dev/null | grep -E 'cwpsrv|136\.0\.141\.71|/static/' || true
ls -la /etc/cron.d /etc/cron.hourly /etc/systemd/system 2>/dev/null | grep -i -E 'cwp|update|cwpsrv' || true
printf '%s
' '== Recent log suppression indicators =='
for d in /var/log/nginx /var/log/apache2 /var/log/httpd /usr/local/cwpsrv/logs /var/log/cwp; do
if [ -d "$d" ]; then find "$d" -type f -mtime -14 -size 0 -print; fi
done
printf '%s
' '== Package provenance =='
if command -v rpm >/dev/null 2>&1; then rpm -Vf /usr/local/cwpsrv/bin/cwpsrv 2>/dev/null || true; fi
if command -v debsums >/dev/null 2>&1; then debsums -a 2>/dev/null | grep -i cwp || true; fi
Response Priorities
- Immediate: block 136.0.141.71 at egress, proxy, DNS sinkhole where applicable, and WAF; block the three MD5s in EDR; isolate any CWP host with cwpsrv spawning shells or downloaders; capture memory before reboot because the implant is request-triggered and may leave little disk residue; export CWP, web server, auth, and systemd logs for the last 30 days.
- 24h: reset credentials for CWP admin, root, SSH keys, hosting control panels, database users, FTP or mail accounts, and any API tokens stored on affected servers; because Ebury lineage implies SSH credential theft risk, rotate private keys, review authorized_keys, and invalidate active sessions even if no stealer alert fired; check for new local users, sudoers changes, SSH banner or PAM anomalies, and unexpected package verification failures.
- 1 week: rebuild suspected CWP hosts from trusted images rather than cleaning in place; pin CWP updates to vendor-signed channels and validate hashes out-of-band; enforce egress allowlisting for server subnets; deploy file integrity monitoring on cwpsrv, sshd, PAM, cron, and systemd paths; separate CWP management interfaces from public hosting traffic; add auditd or Falco execve lineage for service-to-shell transitions; require MFA and network ACLs for all panel administration.
Related Resources
Security Arsenal Incident Response Managed SOC & MDR Services AlertMonitor Threat Detection From The Dark Side Intel Hub
Is your security operations ready?
Get a free SOC assessment or see how AlertMonitor cuts through alert noise with automated triage.