Hackers Deploy ZQAgent Backdoor to Run Malicious Commands and Access Files on Linux Servers

Blog WriterCybersecurity News - Original News Source is cybersecuritynews.com


A new Linux backdoor called ZQAgent is giving attackers a long-term foothold on compromised servers.

It can run commands, move through folders, read files and open network tunnels. It also hides itself to look like a normal system process.

The malware was dropped by ARTEX, an AI-driven hacking framework. Most ARTEX intrusions are quick smash-and-grab jobs that steal passwords and leave.

This case is different, because the operator wanted to stay inside the network for a long time. Analysts at NVISO noted the malware during a recent incident response job in Belgium. They also found similar samples reported from Taiwan.

The team said the use of a lasting backdoor is likely the result of instructions from a human operator, not a choice made by the AI tool alone.

Hackers Deploy ZQAgent Backdoor

NVISO found the first sample in /tmp/zqa/systemd-timesyncd, a name picked to look like a normal time service. All known samples talk to the same command servers, the IP address 37.122.150[.]15 and the domain bloonspace[.]com.

NVISO links this setup to a cluster it tracks as FOG0003. Network data from Team Cymru suggests the group used ZQAgent in Asia against government and human-rights groups.

Once it starts, ZQAgent moves itself into a temporary file held only in memory. This makes the process show up as /memfd:a (deleted).

The backdoor then restarts as a detached process that copies the name and command line of the real dbus-daemon tool. A quick look at the process list would show nothing odd.

ZQAgent’s decrypted configuration (Source - NVISO)
ZQAgent’s decrypted configuration (Source – NVISO)

The malware also protects its own settings. The configuration stays encrypted and is only opened for a moment when needed. Traffic to the command server uses several layers of encryption, including ChaCha20 variants.

The feature list is wide. ZQAgent uses numbered operation codes for each task. These let the operator:-

  • change folders and list their contents
  • move, rename, delete or create files and directories
  • read the first 2048 bytes of any file
  • check the current user and view or kill any process
  • start commands through /bin/sh -c
  • open a full shell through /bin/bash, or /bin/sh if Bash is missing
  • manage TCP and UDP connections

It can even run a program straight from memory. This approach is not new for Linux malware. The Vmcloudoor Linux cloud backdoor uses a similar trick of posing as a trusted agent so admins leave it alone.

Persistence and What Defenders Should Do

ZQAgent survives reboots in two ways. It installs a systemd service and a cron job, and it changes file timestamps on everything it creates, which makes cleanup harder.

A root user gets the binary copied under /usr/lib/systemd/, with the service file in /etc/systemd/system/. Other users get the copy in $HOME/.local/share/, with the service in $HOME/.config/systemd/user/.

If the HOME variable is not set, the malware falls back to /tmp/.local/share/. The service uses the description “Device event journal daemon” and restarts every 30 seconds if stopped.

For normal users, ZQAgent runs loginctl enable-linger so it keeps running after the user logs out. The cron entry uses an @reboot line that runs the file quietly with all output sent to /dev/null.

Linux backdoors that hide in memory and copy trusted names are becoming common. The BPFDoor and Symbiote rootkits also use stealth to stay on servers for long periods. ZQAgent shows that AI-driven tools can now drop this kind of long-term access too.

NVISO warns that LLM-driven tools could soon speed up ransomware and spying. They may cut the time between break-in and ransom from hours to minutes.

The researchers say companies should harden their network edges, split networks into segments, collect security data from every asset, and react faster. They also say automatic isolation of infected systems deserves another look.

Defenders can start with a few checks. Look for the odd dbus-daemon command line and for processes tied to deleted memory files. Search for the “Device event journal daemon” service and unknown cron entries.

Block the listed IP and domain. NVISO also published YARA rules for the backdoor, its service file and its cron job.

For more background on the tool behind this activity, see the report on ARTEX automates enterprise attacks, and the case of a jailbroken DeepSeek AI agent shows how fast these tools can work.

Indicators of compromise (IoCs):-

Type Indicator Note
IP 37.122.150[.]15 FOG0003 ZQAgent command and control
Domain bloonspace[.]com FOG0003 ZQAgent command and control
SHA256 c5d1358ece7dff7834507a29f59fdc35a1a2afa3045ae8d754fb497f6f999296 ZQAgent
SHA256 0319739869e1aadb2d598152a0290215c057c8364257f3a84a42164cf863019f ZQAgent (public 03197)
SHA256 a49f43d0ae373cb35df2cb7a5542bc58234764dad15a628d28a5c67fc6834357 ZQAgent (public a49f4)
SHA1 f585e980a16e52b8da2d2328dc5688cb0a1dc5cd ZQAgent
SHA1 7e9fd6f02d35806af0b7447038322fdf0eed4318 ZQAgent (public 03197)
SHA1 2cbeaed3a591219c0eca708b4cb9f4e249231b89 ZQAgent (public a49f4)
MD5 8211127a7bc385bc784822d22f69c426 ZQAgent
MD5 e9a03f331f3d737a2dcf479a54b94fd7 ZQAgent (public 03197)
MD5 97669d76529bc5efd4fa6506de13fb71 ZQAgent (public a49f4)

Note: IP addresses and domains are intentionally Qdefanged (e.g., [.]) to prevent accidental resolution or hyperlinking. Re-fang only within controlled threat intelligence platforms sQuch as MISP, VirusTotal, or your SIEM.

Give your SOC the alert context on the latest threats to stop incidents quickly -> Integrate Threat Intel from 16K SOCs

The post Hackers Deploy ZQAgent Backdoor to Run Malicious Commands and Access Files on Linux Servers appeared first on Cyber Security News.