Home AI & Cloud AI-Driven ARTEX Framework Drops Stealthy ZQAgent Linux Backdoor Masquerading as dbus-daemon

AI-Driven ARTEX Framework Drops Stealthy ZQAgent Linux Backdoor Masquerading as dbus-daemon

5
0

TL;DR — What You Need to Know

  • AI-Deployed Long-Term Linux Implant: Incident responders at NVISO uncovered a previously undocumented Linux backdoor dubbed ZQAgent, deployed via the AI-driven offensive framework ARTEX during a recent intrusion in Belgium—marking a shift from ARTEX’s typical smash-and-grab credential theft toward persistent espionage access.
  • In-Memory Execution & dbus-daemon Masquerading: ZQAgent copies itself into an anonymous in-memory file (/memfd:a (deleted)), detaches, and spoofs the process name and command line of the legitimate system service dbus-daemon while encrypting its configuration and C2 traffic with ChaCha20 variants.
  • Dual Persistence & Hunting Priorities: Tracked by NVISO under cluster FOG0003 (and observed by Team Cymru targeting government and human-rights organizations in Asia), ZQAgent survives reboots via both systemd ("Device event journal daemon") and @reboot cron jobs, modifies file timestamps to evade forensic timelines, and communicates with 37.122.150[.]15 and bloonspace[.]com.

A stealthy new Linux backdoor named ZQAgent is giving threat actors persistent, long-term access on compromised Linux servers after being deployed through ARTEX, an AI-driven offensive hacking framework.

Discovered by cybersecurity firm NVISO during a recent incident response investigation in Belgium—with matching samples also identified in Taiwan—the intrusion signals an operational evolution in how operators use autonomous AI frameworks. While prior ARTEX intrusions typically focused on rapid credential harvesting and quick exits, the operator behind this campaign directed the framework to establish a durable foothold.

NVISO tracks the underlying threat cluster as FOG0003 and noted that the deployment of a persistent implant likely stemmed from explicit human operator instructions guiding the AI tooling rather than an independent choice by the model alone. Network telemetry from Team Cymru indicates the same threat cluster has leveraged ZQAgent across Asia against government entities and human-rights organizations.

ByteClaro Advisory Note: Linux implants that pivot into anonymous memfd execution while spoofing core system daemons like dbus-daemon are specifically engineered to defeat basic ps aux and filesystem triage. As LLM-driven attack frameworks like ARTEX compress initial access timelines from hours to minutes, Linux defenders cannot rely solely on perimeter patching—automated EDR telemetry, systemd/cron auditing, and egress filtering are essential.


Technical Analysis: Memory Stealth, Encryption, and Capabilities

NVISO recovered the initial ZQAgent sample at /tmp/zqa/systemd-timesyncd—a path and filename chosen to blend in with standard systemd time-synchronization services. Once executed, the binary immediately obscures its footprint:

  • Anonymous memfd Execution & dbus-daemon Spoofing: ZQAgent loads itself into an anonymous memory-backed file descriptor—appearing in /proc as /memfd:a (deleted)—and respawns as a detached daemon that overwrites its process name and command-line arguments to mimic a legitimate dbus-daemon process.
  • Encrypted Configuration & ChaCha20 C2: The implant keeps its internal configuration encrypted in memory, decrypting settings only momentarily when needed. Command-and-control (C2) communications to 37.122.150[.]15 and bloonspace[.]com are wrapped in multiple encryption layers, including ChaCha20 stream cipher variants.
  • Opcode-Driven Post-Exploitation Suite: ZQAgent processes numbered operation codes giving operators full interactive control over the host:
    • Enumerating directories and navigating the filesystem;
    • Creating, moving, renaming, or deleting files and directories;
    • Reading the first 2,048 bytes of any target file;
    • Checking current user context and listing or terminating running processes;
    • Executing single commands via /bin/sh -c or spawning full interactive shells via /bin/bash (falling back to /bin/sh);
    • Establishing and managing TCP and UDP network tunnels;
    • Loading and executing secondary payloads directly from memory.

Dual Persistence Mechanisms (Root & Non-Root)

To survive system reboots and service interruptions, ZQAgent establishes redundant persistence through both systemd and cron, while altering file timestamps across created artifacts to complicate incident timeline reconstruction:

Privilege LevelBinary Drop LocationSystemd Service Path & BehaviorAdditional Persistence
Root (uid=0)/usr/lib/systemd/Service file written in /etc/systemd/system/ with description "Device event journal daemon"; configured to auto-restart every 30 seconds.Silent @reboot cron entry redirecting all output to /dev/null.
Standard User$HOME/.local/share/ (falls back to /tmp/.local/share/ if HOME is unset)User service written in $HOME/.config/systemd/user/ with description "Device event journal daemon"; auto-restarts every 30 seconds.Executes loginctl enable-linger so user services persist after logout, plus silent @reboot user cron job (>/dev/null).

Indicators of Compromise (IoCs)

Linux administrators and SOC analysts should block the following C2 infrastructure at perimeter firewalls/DNS resolvers and sweep endpoints for matching file hashes and host artifacts:

Indicator TypeDefanged Value / HashNote / Source Context
IPv4 Address37.122.150[.]15FOG0003 ZQAgent command-and-control (C2) server
Domainbloonspace[.]comFOG0003 ZQAgent command-and-control (C2) domain
SHA-256c5d1358ece7dff7834507a29f59fdc35a1a2afa3045ae8d754fb497f6f999296ZQAgent sample
SHA-2560319739869e1aadb2d598152a0290215c057c8364257f3a84a42164cf863019fZQAgent (public 03197)
SHA-256a49f43d0ae373cb35df2cb7a5542bc58234764dad15a628d28a5c67fc6834357ZQAgent (public a49f4)
SHA-1f585e980a16e52b8da2d2328dc5688cb0a1dc5cdZQAgent sample
SHA-17e9fd6f02d35806af0b7447038322fdf0eed4318ZQAgent (public 03197)
SHA-12cbeaed3a591219c0eca708b4cb9f4e249231b89ZQAgent (public a49f4)
MD58211127a7bc385bc784822d22f69c426ZQAgent sample
MD5e9a03f331f3d737a2dcf479a54b94fd7ZQAgent (public 03197)
MD597669d76529bc5efd4fa6506de13fb71ZQAgent (public a49f4)

(Note: IP addresses and domains are intentionally defanged with [.] to prevent accidental resolution or hyperlinking. Re-fang only inside controlled SIEM, SOAR, or threat intelligence platforms.)


ByteClaro Linux Threat-Hunting & Hardening Checklist

Security and infrastructure teams managing Linux servers should execute the following checks immediately:

  1. Block C2 Infrastructure & Hunt Historical Network Logs: Block 37.122.150[.]15 and bloonspace[.]com across firewalls, DNS sinkholes, and proxies, and search historical NetFlow/DNS telemetry for any outbound sessions from internal Linux hosts.
  2. Hunt for /memfd: Processes & Spoofed dbus-daemon Instances: Inspect /proc/*/exe symlinks for running processes backed by deleted memory descriptors (such as /memfd:a (deleted)), and compare running dbus-daemon command-line arguments and parent PIDs against expected system baselines.
  3. Audit Systemd Units, User Lingering & Cron Jobs: Search /etc/systemd/system/, /usr/lib/systemd/, and user ~/.config/systemd/user/ directories for services bearing the description "Device event journal daemon", check /var/lib/systemd/linger/ for unexpected lingering user accounts, and review system and user crontabs for unauthorized @reboot entries.
  4. Deploy YARA Rules & Strengthen Containment: Scan Linux fleets using NVISO’s published YARA signatures for ZQAgent binaries, service definitions, and cron entries, and enforce network micro-segmentation and automated endpoint isolation so fast-moving AI-assisted intrusions cannot pivot across server tiers.

Securing enterprise Linux servers, configuring EDR/SIEM detection rules, or hardening network segmentation against AI-driven threats? Connect with the ByteClaro Consulting team via our Contact page.