ZQAgent
- Type
- Backdoor
- Capabilities
- PersistencePost exploitationDefense evasionReconnaissance
- Platforms
- Linux
ZQAgent is a Linux backdoor associated with the unattributed FOG0003 activity cluster and deployed through the AI-driven ARTEX intrusion framework. It provides persistent remote access to compromised servers. NVISO discovered it during incident response at an organization in Belgium, with similar samples also reported from Taiwan. The initial-access method has not been established.
ZQAgent supports arbitrary shell-command execution, interactive shells, directory navigation and listing, file and directory creation, modification and deletion, and reading the first 2,048 bytes of a file. It can identify the current user, enumerate and terminate processes, execute programs directly from memory, and manage TCP and UDP connections for network tunneling. Its command-and-control communications use multiple encryption layers, including ChaCha20 variants, while its encrypted configuration is decrypted only briefly when needed.
The backdoor copies itself into an anonymous memory-backed file and relaunches as a detached process, masquerading as a legitimate system daemon. It also manipulates artifact timestamps to hinder investigation. Persistence combines systemd services with reboot-triggered cron jobs, supporting both root and non-root installations. Its service configuration automatically restarts the malware, and non-root installations enable user-service lingering to continue operating after logout.
Associated threat actors
1 distinct threat actor Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
An unattributed intrusion set tracked as FOG0003 deployed a previously undocumented Linux backdoor named ZQAgent through the ARTEX agentic intrusion framework at an organization in Belgium, assessed by NVISO (B/2), gaining a foothold that survives reboots.
Techniques & procedures
9 distinct techniques documented for this family, organized by ATT&CK tactic.
Execution
2 techniques
Execution
At-reboot cron persistence in /etc/cron.d and user crontab
The backdoor runs arbitrary commands through /bin/sh -c, manages memory-only processes and interactive shells
Persistence
2 techniques
Persistence
At-reboot cron persistence in /etc/cron.d and user crontab
Systemd service persistence named Device event journal daemon
Privilege Escalation
2 techniques
Privilege Escalation
At-reboot cron persistence in /etc/cron.d and user crontab
Systemd service persistence named Device event journal daemon
Stealth
2 techniques
Stealth
Backdoor migrates into a memfd file impersonating dbus-daemon
staged files with timestamps backdated relative to their creation time (timestomped)
Command and Control
4 techniques
Command and Control
Encrypted HTTPS command-and-control to FOG0003 servers
Managed shell execution and TCP/UDP tunneling from the backdoor
ZQAgent ELF staged at /tmp/zqa/systemd-timesyncd with backdated timestamps
wrapped in multiple encryption layers including ChaCha20 variants
Observables
14 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
19 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.