Cling, ZQAgent and Vmcloudoor: three backdoors that disguise both the process name and the destination
When you check the process list and open connections on your server, you rely on two shortcuts. A name like dbus-daemon or kworker/0:2H looks like part of the system. A connection to your cloud provider’s infrastructure or a Google STUN server looks like routine traffic. Between November 19 and 25, three analyses of Linux backdoors were published. An outbound rule that trusts an entire provider will let them through. A review based on process names will miss them too. What still exposes them is a more specific question: should the file actually running, rather than the name it displays, be contacting that destination at all?
What was published
Vmcloudoor, according to ExaTrack. ExaTrack describes a Linux backdoor built to hide in virtual machines hosted by Chinese cloud providers. Its main target is Alibaba, alongside Tencent and Huawei. The researchers obtained only the helper module. Another module, Core, is intended to execute commands sent by the operator. The tool checks which cloud agents are installed on the machine. According to the findings, it selects a process name and working directory that look like another component from the provider:
- On Alibaba:
AliyunSysAssist. - On Tencent:
YunJingSysAssist. The name actually appears asYunJingSysAssisbecause it is truncated to 15 characters. - On Huawei:
UniAgentSys. - When no provider is detected:
kworker/0:2H, with the directory/dev/shm/.ov2/.
It retrieves instructions from a bucket in Alibaba’s object storage in Beijing. It gets the bucket name from a Gitee repository. It synchronizes the clock with www.aliyun.com and changes the system clock if the difference exceeds 60 seconds. ExaTrack notes that all communication uses public infrastructure and is therefore not blocked. Based on mistakes found in the Git history, ExaTrack suspects the author is a Chinese penetration tester, possibly working as part of a red team. It presents this only as a hypothesis.
ZQAgent, according to NVISO. NVISO reports that during an incident response in Belgium, it observed ARTEX, a language-model-based attack tool, deploying a new backdoor called ZQAgent. According to NVISO, a persistent backdoor is inconsistent with the autonomous nature of such tools. Its use most likely followed explicit instructions from the operator.
The file was initially found at /tmp/zqa/systemd-timesyncd. On startup, it copies itself to an anonymous file in memory, which appears as /memfd:a (deleted). It then restarts itself as a detached process with a dbus-daemon command line. It uses two persistence mechanisms: a systemd service with the description “Device event journal daemon” and a cron job with @reboot. It changes the timestamps of every file it creates.
ZQAgent can execute commands, open a full shell, perform file operations and manage TCP and UDP connections, including listeners. Its configuration and communication are encrypted. All known samples communicate with 37.122.150[.]15 and bloonspace[.]com, infrastructure that NVISO attributes to FOG0003. According to NVISO, network intelligence from Team Cymru suggests the group likely also deployed ZQAgent in Asia, targeting government bodies and human rights organizations.
Cling, according to NSFOCUS. NSFOCUS reports that CNCERT detected a new Cling botnet variant spreading widely in November. The botnet primarily targets Linux servers and IoT devices. According to the report, approximately 5,600 devices in mainland China were infected between November 9 and 20, with a peak of 2,730 active bots per day. This variant removes scanning, exploitation, proxy and DDoS capabilities. It retains the ability to execute commands and download and run additional software. According to NSFOCUS, the aim is to maintain long-term control of compromised servers and use them to run other malicious tools.
The control channel is hidden inside the STUN protocol. The code contains 13 encrypted addresses: 12 public STUN servers and one control server posing as a STUN server. Commands are embedded in the Transaction ID field, which should contain a random value. When the server sends a command, it spoofs the source address to make it look like a Google STUN server address. The tool also replaces wget, adds startup lines to /etc/inittab, /etc/init.d/rcS and /etc/rc.d/rc.boot, and listens on port 58346 on a local address to prevent duplicate instances.
Cyber Security News’s summary of ZQAgent reversed the relationship, suggesting that the backdoor “uses ARTEX.” According to NVISO, ARTEX deployed ZQAgent.
Each disguises two things
| Vmcloudoor | ZQAgent | Cling | |
|---|---|---|---|
| How it appears in the process list | AliyunSysAssist, YunJingSysAssis, UniAgentSys or kworker/0:2H |
dbus-daemon, with a session bus command line |
NSFOCUS mentions process-hiding techniques without details |
| What is actually running | A process running from a directory such as /usr/local/share/aliyun-sys-assist/ or /dev/shm/.ov2/ |
An anonymous file in memory: /memfd:a (deleted) |
A file launched by lines added to startup files |
| Where it connects | An Alibaba OSS bucket (top-sec, later assist-logs), Gitee and www.aliyun.com for clock synchronization |
bloonspace[.]com and 37.122.150[.]15, using encrypted communication |
12 public STUN servers and one control server posing as a STUN server |
| Why the traffic looks routine | It uses infrastructure belonging to the server’s cloud provider and a familiar code-hosting service | A domain and address that reveal nothing until they are published, and encrypted content | A standard protocol and replies with a Google source address |
The name is what the process chose to display
On Linux, the name shown in ps and top is a value the process can change itself. ExaTrack writes that Vmcloudoor changes its process name specifically to make the administrator hesitate to terminate it. ZQAgent also forges the entire command line, so ps -ef shows a completely plausible dbus-daemon command.
Two other details help you check the process. The first is the /proc/<pid>/exe link, which points to the file the kernel actually loaded. The second is the cgroup the process runs in, which shows which systemd unit started it.
- For ZQAgent, the link points to
/memfd:a (deleted), not/usr/bin/dbus-daemon. - For Vmcloudoor, when no cloud provider is detected, the name
kworker/0:2His used to impersonate a kernel thread. A real kernel thread is not associated with a file at all, and its parent process iskthreadd.
The same check exposes each disguise: which file did this process come from, and what started it?
The destination is what the operator chose to look harmless
In all three tools, the control channel is designed so that checking the destination’s reputation will not help.
Vmcloudoor connects to Alibaba’s object storage. According to ExaTrack, the default response is 404 because there is no task yet. When the operator places a task for a specific machine in the bucket, the response is 200. According to ExaTrack, results are sent in a PUT request to a result_url address set by the operator (in the example, the same bucket), with the User-Agent AliyunSysAssist/1.0. From the outside, the traffic looks like a cloud agent communicating with its provider’s storage.
Cling does something similar with STUN. Most of its packets go to legitimate STUN servers, but only Binding requests receive replies; registration messages are discarded without a reply. Only one of the 13 destinations belongs to the attacker, and the commands themselves arrive with a Google source address. According to NSFOCUS, this variant fixes a bug in earlier versions that exposed the spoofing. That makes its communication even harder to detect.
ZQAgent does not need an elaborate disguise. It communicates with bloonspace[.]com and 37.122.150[.]15, with several layers of encryption.
A blocklist will miss all three until indicators are published, and some destinations will not be blocked even then. You cannot block Alibaba OSS on a server running on Alibaba, or block Google’s STUN servers for everyone who uses them. You can, however, decide which process may contact which destination:
dbus-daemonis a communication bus for processes on the same machine. It has no reason to open an internet connection.systemd-timesyncdhas only one reason to connect externally: NTP to the time servers you configured.- A server that does not run a service that needs STUN, such as WebRTC or TURN, should not send STUN traffic to any destination.
- A genuine cloud agent contacts specific provider endpoints. It does not need access to every bucket or to Gitee.
Why “allow everything under aliyuncs.com” is not an allowlist
The addresses ExaTrack published illustrate the problem. The bucket name is part of the hostname: top-sec.oss-cn-beijing.aliyuncs.com, and later assist-logs.oss-accelerate.aliyuncs.com. An IP-based rule will not help either, because different buckets in the same region are usually served from the same addresses. The only distinction that works is the exact name: your buckets and the endpoints the genuine agent needs.
ExaTrack also notes that when the bucket is shut down, the tool returns to Gitee and retrieves the new bucket name. It has already moved from top-sec to assist-logs. A server that can reach Gitee and any bucket will receive the next instruction even after the current bucket is blocked.
You have less time to respond
The latter two reports point to a trend. According to NSFOCUS, Cling dropped DDoS to focus on maintaining long-term control of servers.
According to NVISO, intrusions driven by language models have so far been mostly quick “smash-and-grab” operations. NVISO says initial access is often gained through vulnerability exploitation or compromised credentials. The attacker then quickly exploited misconfigurations and authentication material left on the server. These intrusions were usually contained by isolating the entry point and revoking the authentication material. A backdoor that has registered itself as a systemd service and a cron job remains on the server after both actions.
NVISO sees no reason why the use of language models will not extend to ransomware and espionage. It estimates that the time from intrusion to ransom could shrink from hours to minutes. Its recommendations include network segmentation, telemetry collection from every asset, much shorter response times and a fresh assessment of automated isolation.
If you manage servers on your own, this means deciding in advance which process may communicate with which destination, before the backdoor arrives. There will be no one to make that decision in real time.
Processes: the name versus the file
- Processes running from a deleted file, memory,
/tmpor/dev/shm. Run as root:
for p in /proc/[0-9]*; do
exe=$(readlink "$p/exe" 2>/dev/null) || continue
printf '%s\t%s\t%s\n' "${p#/proc/}" "$(cat "$p/comm" 2>/dev/null)" "$exe"
done | grep -E 'memfd:|\(deleted\)|/tmp/|/dev/shm/'
A process whose file was deleted after a package update is a familiar case and is not necessarily suspicious. A process running from memfd: while displaying the name of a system service requires immediate investigation.
- A genuine
dbus-daemonor an impostor. Run as root:
for p in $(pgrep -f dbus-daemon); do
echo "$p $(readlink /proc/$p/exe) $(cut -d: -f3 /proc/$p/cgroup)"
done
For the genuine process, exe is /usr/bin/dbus-daemon or the equivalent path on your distribution, and the cgroup ends in dbus.service. On distributions where dbus-broker runs the bus, no dbus-daemon process may be expected at all.
- A
kworkerthat does not belong to the kernel:
ps -eo pid,ppid,comm | awk '$3 ~ /^kworker/ && $2 != 2'
Every line this command returns is suspicious.
- Vmcloudoor’s names and directories:
pgrep -a -x 'AliyunSysAssist|YunJingSysAssis|UniAgentSys'
sudo ls -la /usr/local/share/aliyun-sys-assist /usr/local/qcloud/YunJingSysAssist /usr/local/huawei/uniagent-sys /dev/shm/.ov2 2>/dev/null
The providers’ genuine agents use other paths, such as /usr/local/share/aliyun-assist and /usr/local/aegis on Alibaba.
Destinations: where each process connects
- Connections by the file that opened them. Run as root:
ss -Htunp | grep -oP 'pid=\K[0-9]+' | sort -u | while read p; do
printf '%s\t%s\t%s\n' "$p" "$(cat /proc/$p/comm)" "$(readlink /proc/$p/exe)"
done
Cross-reference the output with ss -tunp and check each pair: should this file be contacting this destination? Findings might include dbus-daemon with an external connection, systemd-timesyncd with a non-NTP connection, or a cloud agent contacting a bucket you do not own.
- STUN traffic leaving the server:
sudo tcpdump -ni any -c 20 udp port 3478
NSFOCUS recommends looking for periodic registration traffic to several STUN servers on UDP port 3478, and a non-random Transaction ID with a fixed structure. On a server that does not run WebRTC or TURN, every such packet requires investigation.
- System clock changes:
journalctl --since '7 days ago' | grep -i 'time has been changed'
Vmcloudoor sets the system clock using www.aliyun.com and also writes the time to the hardware clock. A change that did not come from your NTP service requires investigation.
- Published indicators. If you have DNS or proxy logs, search them for
bloonspace[.]com,top-sec.oss-cn-beijing.aliyuncs[.]com,assist-logs.oss-accelerate.aliyuncs[.]comandgitee[.]com/watch_dog_auth. In active connections, look for the control server addresses used by ZQAgent and Cling:
sudo ss -Htunp | grep -E '37\.122\.150\.15|209\.99\.188\.119'
Persistence
- ZQAgent:
sudo grep -rl 'Device event journal daemon' /etc/systemd/system /root/.config/systemd/user /home/*/.config/systemd/user /tmp/.config 2>/dev/null
sudo grep -l '@reboot' /etc/cron.d/* /var/spool/cron/crontabs/* /var/spool/cron/* 2>/dev/null
ls /var/lib/systemd/linger/
According to NVISO, ZQAgent changes the timestamps of the files it creates (time-stomping). ZQAgent enables linger for non-root users so it can keep running after the user logs out. If a user appears in linger without you having configured it, check why.
- Cling:
sudo grep -n alya /etc/inittab /etc/init.d/rcS /etc/rc.d/rc.boot 2>/dev/null
sudo ss -Hlntup | grep ':58346'
dpkg -V wget || rpm -V wget
NSFOCUS recommends checking startup lines related to .alya. The dpkg -V or rpm -V command checks whether wget differs from the version installed from the package.
Close the channel in advance
- Check what the restriction applies to. A network restriction on the genuine
dbusortimesyncdsystemd unit will not apply to a process that merely impersonates it, because that process runs in a different cgroup. The basic rule therefore needs to work the other way around: block everything that is not explicitly allowed. - Log before blocking, and block STUN now.
table inet egress_audit {
chain output {
type filter hook output priority 0; policy accept;
oif "lo" accept
udp dport 3478 counter drop
ct state new limit rate 20/second log prefix "egress-new: "
}
}
Load the table with sudo nft -f egress-audit.nft, read the logs with journalctl -k | grep egress-new, and remove it with sudo nft delete table inet egress_audit.
- Build a list of pairs. After a few days of logging, list the destinations each file making outbound connections actually needs. The list will usually include the DNS server, NTP servers, package repositories, the model provider and the cloud agent’s endpoints. Everything else should be blocked.
- Cloud agents: exact names, no wildcards. Allow only the hostnames the provider documents for its agent and the full names of your buckets. Do not allow
*.aliyuncs.comor an equivalent rule for another provider, and do not allow Gitee on a server that does not need access to it.
How nuDefend helps
The “which process, which destination” check for AI tools on your server. ZQAgent reached the server through a language-model-based attack tool. Your own server is also running more AI tools, each with a short list of legitimate destinations. nudefend workloads shows the AI tools running on the server, either on the host or inside a container. Each tool is shown alongside the information used to identify it: the systemd unit, image name, executable file or command-line pattern.
For each tool, nuDefend records the destinations it connects to, how much traffic it sends to each destination and when the destination was first detected. A recognized destination is shown by name and activity type. On the Outbound screen, you approve the destinations the tool needs. Once the restriction is enabled, the tool can connect only to those destinations. Any attempt to connect elsewhere is blocked before the traffic leaves the server, while the rest of the server continues to operate normally. If you do not give final confirmation within ten minutes, the restriction lifts automatically.
An exact name, not a suffix. A restricted tool can resolve only addresses you have approved, and approval applies to the exact name. Approving api.example.com does not include its subdomains, unlike a rule such as *.aliyuncs.com. Every blocked lookup appears alongside the tool’s name as a finding: the tool tried to reach a destination you had not approved for it.
The threat layer, in both directions. A cryptographically signed threat list updates every 30 minutes. Through the kernel firewall, it blocks traffic to and from addresses known to be malicious, including botnet command-and-control servers and malware infrastructure. At the DNS layer, dangerous domains are disabled system-wide, so no application on the server can resolve or reach them. If a process on the server tries to contact a malicious address, the blocked outbound traffic card on the dashboard turns red. This may be an early warning that something on the server tried to contact its operator.
What is listening on the server. nudefend expose shows every service listening on the server and who can reach it, from the server’s own perspective, including services in containers. Services listening only locally also appear in the list, with their accessibility level. ZQAgent can open TCP and UDP listeners at the operator’s request. nuDefend continually checks which services are externally accessible and alerts you when a previously inaccessible service becomes accessible. The first check establishes the baseline, so alerts focus on changes since then.
Password guessing. According to NVISO, initial access in these intrusions is often gained through vulnerability exploitation or compromised credentials. nuDefend reads login logs from SSH, mail services, FTP and website login pages. For SSH, an address with six failed attempts within 10 minutes is blocked by the firewall. Repeated blocks within the same day last longer, up to 24 hours. All reports stay on the server.
More details are available on the outbound traffic page, exposure page, access blocking page and in the documentation.
The bottom line
Three backdoors that hide their processes were reported in one week. Vmcloudoor communicates through Alibaba’s storage and Gitee. Cling hides among public STUN servers and spoofs a Google source address. ZQAgent presents itself as dbus-daemon but actually runs from a file in memory. A reputation list or a rule allowing an entire provider will let all three through. What exposes them is comparing the file actually running with the exact destinations it needs. In practice: dbus-daemon does not contact the internet, timesyncd contacts only the NTP servers you configured, a server that does not need STUN does not send STUN traffic, and a cloud agent contacts defined endpoints, not every bucket or Gitee. Define those pairs now, before the next backdoor arrives.
nuDefend shows where AI tools on your server connect and lets you restrict almost any tool to destinations you have approved. Any attempt to connect elsewhere is blocked before the traffic leaves the server.