AryStinger
- Type
- Botnet
- Capabilities
- ReconnaissanceScanningPersistencePost exploitationDefense evasionSpoofing
- Platforms
- LinuxNetwork device
AryStinger is a botnet malware family that compromises legacy edge devices, primarily end-of-life routers and some NAS appliances, to build a distributed reconnaissance and proxy infrastructure. It has been observed infecting thousands of outdated internet-facing devices worldwide, with infections heavily concentrated in older D-Link routers built on Realtek RTL819X chipsets and additional activity against QNAP NAS systems. Rather than focusing primarily on distributed denial-of-service or cryptomining, AryStinger is designed to support pre-intrusion operations by turning compromised devices into remotely managed executors for scanning, service discovery, subdomain enumeration, traffic tunneling, and operator-directed command execution.
The malware has been associated with exploitation of known vulnerabilities in older Linksys and D-Link router models, as well as CVE-2025-11837 affecting QNAP Malware Remover on NAS devices. Two main variants have been reported: a lightweight C-based router variant optimized for constrained hardware, and a more capable Go-based NAS variant. The NAS-oriented build expands functionality with broader reconnaissance and execution features, including the ability to run attacker-supplied code or scripts when the required runtimes are present.
AryStinger communicates with command-and-control infrastructure over HTTP and HTTPS using obfuscated serialized messaging, and it maintains long-term access through persistent remote-access mechanisms on infected devices. Reported capabilities include distributed network scanning, port discovery, service fingerprinting, subdomain enumeration, proxying and traffic relay, tunneling, and remote command execution. The Go-based variant also supports follow-on reconnaissance inside local networks. The operational model resembles router-based proxy and operational relay box infrastructures used to conceal attacker origin and stage later intrusion activity. Public reporting has not attributed AryStinger to a specific threat actor with confidence.
Associated vulnerabilities
3 CVEs Mallory has correlated with this family across public research and vendor advisories. Each card links to the full Mallory page for that vulnerability.
Techniques & procedures
35 distinct techniques documented for this family, organized by ATT&CK tactic.
Reconnaissance
5 techniques
Reconnaissance
Infected routers can scan the internet for targets, identify exposed services or entry points, enumerate subdomains and tunnel through traffic, executing operator commands.
The botnet supports port scanning, service identification, subdomain enumeration, and traffic tunneling...
Each infected router becomes what XLab calls an Executor: a node that receives scan tasks, executes them in parallel with other nodes... The attacker can split a massive scanning task into multiple small chunks and distribute them to different Executors for parallel execution.
It focuses on mass DNS scanning... XLab confirmed this by running a test device and watching the C2 assign a .ba top-level domain brute-force task... placing that specific node at roughly 12% into the length-7 subdomain scanning space.
AryStinger implements scanning functionality similar to massdns... this issuance is a .ba top-level domain brute-force task... After receiving this instruction, the actual Bot will launch a scan against the .ba top-level domain
Resource Development
1 technique
Resource Development
Operator maintains C2 infrastructure across multiple domains (ajb8.com, dataexplore.cc, opi7.com) and deploys a second tunneling C2 layer in V2.0.27 to sustain the botnet.
Initial Access
3 techniques
Initial Access
Default logins invite trouble - switching them strengthens access control.
Persistence is maintained via Dropbear SSH on port 2332 (router variant) or gs-netcat (NAS variant), providing permanent remote access backdoors that survive device reboots.
The report states that attackers used older disclosed vulnerabilities to compromise legacy router devices and turn them into infrastructure for scanning, proxying, tunneling, command execution, and related attacker-directed activity.
Execution
4 techniques
Execution
The report states that attackers used older disclosed vulnerabilities to compromise legacy router devices and turn them into infrastructure for scanning, proxying, tunneling, command execution, and related attacker-directed activity.
ScriptWork supports executing Shell commands as well as source-level Payloads in three categories: Go, Java, and Python.
ScriptWork supports executing Shell commands as well as source-level Payloads in three categories: Go, Java, and Python.
ScriptWork supports executing Shell commands as well as source-level Payloads in three categories: Go, Java, and Python.
Persistence
4 techniques
Persistence
Default logins invite trouble - switching them strengthens access control.
Persistence is maintained via Dropbear SSH on port 2332 (router variant) or gs-netcat (NAS variant), providing permanent remote access backdoors that survive device reboots.
Persistence: The malware is designed to keep the device enrolled in the botnet instead of disappearing after the first reboot or network change.
The malware then installs a SSH backdoor, modifying configurations to maintain long-term control.
Privilege Escalation
2 techniques
Privilege Escalation
Default logins invite trouble - switching them strengthens access control.
Persistence: The malware is designed to keep the device enrolled in the botnet instead of disappearing after the first reboot or network change.
Stealth
3 techniques
Stealth
Obfuscated communication: AryStinger uses HTTP and HTTPS, with Protocol Buffers and XOR-obfuscated data. A quick packet capture will not show clear command text moving between the device and its control servers.
Default logins invite trouble - switching them strengthens access control.
ScriptWork supports executing Shell commands as well as source-level Payloads in three categories: Go, Java, and Python... it only needs to directly issue the source code to dynamically execute it.
Defense Impairment
1 technique
Defense Impairment
The malware then installs a SSH backdoor, modifying configurations to maintain long-term control.
Credential Access
2 techniques
Credential Access
The malware then installs a SSH backdoor, modifying configurations to maintain long-term control.
перенаправлять браузерный трафик пользователя, а также незаметно отслеживать и потенциально похищать весь входящий и исходящий сетевой трафик
Discovery
3 techniques
Discovery
This newer edition brings extra functions: it scans IPs and DNS entries, runs commands remotely, drops payloads, explores local networks.
The report states that attackers used older disclosed vulnerabilities to compromise legacy router devices and turn them into infrastructure for scanning, proxying, tunneling, command execution, and related attacker-directed activity.
Once AryStinger infects a router, it registers the device with a command-and-control server by sending device fingerprint data including MAC address, IP addresses, operating system version, and CPU architecture.
Lateral Movement
4 techniques
Lateral Movement
зараженные устройства работают как удаленно управляемые «исполнители»
The Bot downloads dropbear... starts the dropbear SSH service on a specific local port, and configures iptables to allow traffic on that port, thereby establishing a persistent remote login backdoor for the attacker.
Remote management, though convenient, widens exposure; turning it off tightens defenses.
AryStinger builds powerful intranet reconnaissance capabilities by integrating open-source tools such as Fscan and Ksubdomain... where it saves its downloaded open-source toolset and the scan results
Collection
1 technique
Collection
перенаправлять браузерный трафик пользователя, а также незаметно отслеживать и потенциально похищать весь входящий и исходящий сетевой трафик
Command and Control
8 techniques
Command and Control
Network traffic is encoded using Protobuf and supplemented with simple XOR encryption... AryStinger Standard hardcodes two C2 addresses... Its data packets are serialized using Protobuf, then Gzip-compressed and XOR-encrypted.
Obfuscated communication: AryStinger uses HTTP and HTTPS, with Protocol Buffers and XOR-obfuscated data.
C2 communications use HTTP/HTTPS with Protobuf encoding and XOR obfuscation (gzip added in Go variant) to blend with legitimate web traffic and evade network-based detection.
The report states that attackers used older disclosed vulnerabilities to compromise legacy router devices and turn them into infrastructure for scanning, proxying, tunneling, command execution, and related attacker-directed activity.
This newer edition brings extra functions: it scans IPs and DNS entries, runs commands remotely, drops payloads, explores local networks.
the Standard version achieves it by downloading and deploying gs-netcat through main_installGSocket.
The report states that attackers used older disclosed vulnerabilities to compromise legacy router devices and turn them into infrastructure for scanning, proxying, tunneling, command execution, and related attacker-directed activity.
This data is encrypted before transmission... Hardcoded XOR encryption key used in C2 communication.
Impact
2 techniques
Impact
распределенную инфраструктуру AryStinger в теории можно использовать и для генерации огромного числа DNS-запросов к резолверам. Но пока подобных атак зафиксировано не было.
Because it alters DNS configurations, victims might unknowingly land on harmful sites instead of the ones they intended.
Observables
80 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.