⚠️

سلب مسئولیت و اخلاق حرفه‌ای

این مطالب صرفاً برای اهداف آموزشی، پژوهشی و افزایش آگاهی امنیتی ارائه شده‌اند. هرگونه استفاده غیرمجاز، غیرقانونی یا سوءاستفاده از اطلاعات، ابزارها و روش‌های مطرح‌شده، کاملاً بر عهده مخاطب است. نویسنده و منتشرکننده هیچ مسئولیتی در قبال خسارات، آسیب‌ها یا پیامدهای ناشی از استفاده نادرست از این مطالب نخواهند داشت.

ZQAgent Linux Backdoor Turns AI-Assisted Intrusions into Long-Term Access | Alireza Bolbolabadi - Red Team Security
LOADING

ZQAgent Linux Backdoor Turns AI-Assisted Intrusions into Long-Term Access

Executive Summary

A reported deployment of ZQAgent on compromised Linux servers illustrates a consequential shift in AI-assisted intrusion activity. Rather than limiting themselves to rapid credential collection and follow-on tool downloads, operators associated with ARTEX installed a persistent backdoor designed to preserve access over time.

ZQAgent was found by NVISO during an incident-response engagement in Belgium. The backdoor can execute arbitrary commands, open interactive shells, manipulate files, terminate processes, run memory-only managed processes, and establish TCP or UDP tunnels. It disguises itself as dbus-daemon, operates through deleted in-memory files, encrypts its configuration and network traffic, and tampers with timestamps on staged artifacts. Persistence is established through systemd services and cron jobs, including mechanisms designed to survive a user session ending.

The campaign is not associated with a product vulnerability or CVE. The practical severity comes from what happens after initial access: the actor can retain remote control, pivot through the compromised server, and conceal its activity in ways that may frustrate conventional file-based response. The supplied intelligence also links ARTEX to VAPOR PANDA, which CrowdStrike documented against more than 200 organizations, although the evidence does not establish that every ZQAgent deployment used ARTEX.

From Staged Access to Persistent Control

Most LLM-assisted intrusions described in the source intelligence have followed a familiar pattern: compromise a system, stage credentials and tools, and move quickly. Containment can then focus on the initial access vector and exposed credentials. ZQAgent disrupts that pattern by adding a durable control layer.

NVISO assesses that the persistence behavior likely resulted from operator-specific instructions rather than autonomous LLM behavior. That distinction matters. The presence of an AI-assisted framework does not mean that the malware independently decides how to maintain access. It also means defenders cannot assume that removing an AI-driven staging component or blocking one payload will terminate the operator’s access.

ARTEX is described as an open-source, multi-agent offensive platform written in Go. Its original GitHub repository was reportedly removed in October 2026, but community forks continued to circulate. This illustrates how removal of a public repository does not necessarily remove the tooling already downloaded, modified, or redistributed.

How ZQAgent Conceals Itself

ZQAgent creates an anonymous in-memory file that appears as /memfd:a (deleted). It then restarts as a detached process and adopts a command line intended to resemble the legitimate dbus-daemon utility. This creates an important detection problem: a process named after a trusted daemon does not prove that the corresponding executable exists on disk or that the process is legitimate.

The backdoor also keeps its configuration encrypted except while it is being read. Its network communications use additional encryption, including ChaCha20 variants. Together, these measures reduce the visibility of configuration and traffic through routine inspection.

Timestamp tampering adds another layer of uncertainty. ZQAgent reportedly time-stamps staged artifacts to obscure when they were introduced, potentially complicating timeline reconstruction and recency-based triage. The combination of memory-only execution, process impersonation, encrypted communications, and anti-forensic timestamps makes ZQAgent more resilient to conventional detection and remediation.

Remote Control and Lateral-Movement Capability

The command set reported for ZQAgent is extensive. It supports arbitrary command execution through /bin/sh -c, interactive shells, file listing, file movement, renaming, and deletion. Operators can also terminate processes and launch managed processes that remain only in memory.

Its network-management functions support blocking and non-blocking TCP and UDP connections, including tunneling. On a compromised server, these functions can provide a controlled route into additional internal systems or allow traffic to be relayed through the host. The exact permissions and reachable assets depend on the compromised account, but a privileged installation would create a particularly broad foothold.

This combination supports several post-compromise objectives: espionage, data collection, follow-on intrusion activity, and access to systems reachable from the affected server. The supplied material does not quantify data theft or document a specific downstream victim, so the impact should be assessed from the host’s privileges, network position, and credential exposure.

Persistence Across Privileges and User Sessions

ZQAgent installs persistence differently depending on the account it holds. As root, it reportedly copies itself under /usr/lib/systemd and writes a service unit under /etc/systemd/system. For other users, it uses $HOME/.local/share and $HOME/.config/systemd/user.

The unit is described as “Device event journal daemon.” It uses Restart=always, a 30-second restart delay, and discards its output. That configuration can make the service look mundane while ensuring that it is automatically relaunched after termination.

ZQAgent also creates a second persistence path through an @reboot cron entry. Root-level persistence uses /etc/cron.d, while non-root persistence uses the crontab binary. For user services, loginctl enable-linger can keep the service running after the user logs out. These mechanisms create overlapping recovery paths: terminating one process or deleting one file may not be enough if another service, cron job, or lingering user manager can restore it.

Campaign and Geographic Context

The supplied intelligence reports that similar ZQAgent samples were observed in Taiwan and associates FOG0003 with the command-and-control infrastructure. Team Cymru network intelligence reportedly assesses that FOG0003 likely deployed the backdoor in Asia against government and human-rights organizations. The known infrastructure listed in the report includes 37.122.150[.]15 and bloonspace[.]com.

These observations provide useful campaign context but should not be overextended. The available material does not provide a complete victim list, prove that every deployment was performed by ARTEX, or establish that all FOG0003 activity involved ZQAgent. The geographic and sectoral associations remain intelligence assessments rather than a complete map of affected systems.

Detection Priorities

A response focused only on the initial access vector is unlikely to contain ZQAgent. Defenders need to look for behaviors associated with memory-backed execution, suspicious daemon identities, unauthorized service persistence, and unusual outbound connections.

High-value hunt signals include:

  • Processes associated with /memfd:a (deleted) or other unusual memfd: mappings.

  • A running dbus-daemon process with no corresponding binary on disk.

  • Unexpected systemd units, especially the description “Device event journal daemon.”

  • Units using Restart=always, a 30-second delay, and discarded output.

  • Unexplained @reboot entries in /etc/cron.d, per-user crontabs, or local user directories.

  • User lingering enabled through loginctl enable-linger for accounts that should not remain active after logout.

  • Detached children or managed processes operating entirely from memory.

  • Connections to 37.122.150[.]15 or bloonspace[.]com, along with unexpected TCP or UDP tunnels.

The report provides the following indicators of compromise:

| Type | Indicator | Context |

|---|---|---|

| 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 sample |

| SHA256 | a49f43d0ae373cb35df2cb7a5542bc58234764dad15a628d28a5c67fc6834357 | ZQAgent, public a49f4 sample |

| SHA1 | f585e980a16e52b8da2d2328dc5688cb0a1dc5cd | ZQAgent |

These indicators are useful for retrospective and active searches, but they are not a complete detection boundary. Infrastructure can change, and the report states that all known samples used the listed network indicators; their absence therefore does not establish that a host is clean.

Strategic Significance

ZQAgent represents a change in the defensive problem posed by AI-assisted intrusion tooling. Artificial intelligence may shorten the operational cycle and expand the number of systems an operator can assess, but the persistence component in this case appears to have been driven by human instructions. The more immediate lesson is not that LLMs independently create self-sustaining malware. It is that operators can use AI-assisted platforms to scale the reconnaissance and deployment phases while adding conventional, carefully engineered persistence afterward.

That combination makes containment more complex. Credential revocation and removal of ARTEX may address the visible intrusion stages without touching the durable access layer. Effective response therefore requires behavioral detection, rapid asset isolation, segmentation, and validation that no service, cron job, lingering session, or active tunnel can recreate access.

The report’s technical=0/100 and severity=informational labels reflect the absence of linked vulnerability records, not the low consequence of an installed remote-control backdoor. ZQAgent is not a vulnerability and does not make a Linux system vulnerable merely by running it. Its impact begins after successful installation and access. For affected organizations, the decisive factors are the privileges obtained, the systems reachable through the server, the duration of unauthorized access, and whether all persistence and active sessions are ultimately eliminated.

منابع

·
← اخبار