GL.iNet GoodCloud Hijacked to Push Malware to Routers and KVMs: A Cloud Authorisation Error Plus an Unchecked Root Handler Gave Attackers Reverse Shells — Firmware Fixes Don't Clean Infected Devices

Attackers abused an authorisation error in GL.iNet's GoodCloud service and a root command-injection flaw in the router's cloud client to plant reverse shells and implants on GL.iNet routers and Comet KVMs, so owners must install the security firmware, check for compromise, and rebuild and re-key any device that was hit.
Overview
GL.iNet, the maker of popular travel routers and the Comet line of remote KVM devices, has confirmed that an unauthorised party abused its GoodCloud remote-management service to push malware onto customer routers and KVMs. The vendor says it identified the intrusion on 20 November 2026, blocked the attack path the same day and has since shipped "security firmware" for most models. However, the cloud-side fix does not clean devices that were already hit, and the vendor has not said how many devices were affected or who was behind the attack.
What makes this incident serious is where the devices sit. Travel routers carry VPN profiles, Wi-Fi passwords and SSH keys. KVMs give keyboard, video and power control over the computer they are plugged into. A compromised unit in either role is a foothold into the network or machine behind it.
The Campaign
According to GL.iNet's notice, two weaknesses combined:
- A GoodCloud authorisation error. The service's MQTT messaging layer had "a configuration error in message authorization", which let a client send management messages to other users' connected devices.
- A root command injection on the routers. A flaw in the AstroWarp / SD-WAN handler of the router's cloud client could run that input as commands with root rights, "even when AstroWarp was turned off".
- A third flaw on KVMs. The remote-terminal (RTTY) component could be pointed at an attacker-controlled terminal server with TLS certificate checks bypassed.
GL.iNet has published vulnerability reports for these. CVE identifiers are still pending.
Independent researchers who manage a large fleet of GL.iNet routers reverse-engineered the cloud client. They report that the vulnerable handler takes values from a cloud message and runs them as root through the shell without validation. They say the flaw has shipped in every GL-MT3000 build they read from 4.7.0 (released 5 December 2024) up to 4.11.0. In practice, any router with GoodCloud switched on would run whatever command arrived over that channel once an outsider could reach it.
Timeline
- 5 December 2024: earliest firmware the researchers found containing the unchecked handler.
- September 2025 to May 2026: a separate, older backdoor was installed in batches on 49 researcher-managed routers by an unknown route. Nothing links it to the November attack yet.
- 19 November 2026, 12:48–13:33 Mauritius time (08:48–09:33 UTC): GoodCloud's own device logs show four devices answering commands that GoodCloud did not send. The researchers read this as a trial run.
- 21 November 2026, 00:06 Mauritius time (20 November, 20:06 UTC): the main wave begins.
- 20 November: GL.iNet identifies the unauthorised access, blocks the path and issues its notice.
- 22–23 November: stable security firmware appears for 18 router models plus KVMs. The notice is updated with the root cause and pending CVE reports.
Tradecraft
The researchers and device owners described two distinct payload paths:
- Routers: a fileless root reverse shell, confirmed on GL-AXT1800 and GL-MT6000 units. On many other routers a one-off root command searched for files linked to the KVM implant and reported back to the same server. The shell leaves no files, and its traces vanish on reboot.
- KVMs: a GL-RM1 owner's logs show the device downloading an installer script (
ni.sh) and two binaries (gl-helperandgb), looking up a lookalike domain and scanning the local network. Reported behaviour includes startup-script and scheduled-task persistence, planted SSH keys, timestamp tampering and anetstatreplacement that hides connections to the attacker's server. - Shared infrastructure: in one router's memory, the researchers found a cloud-delivered command that called the same server, port and path used by the KVM implant. This ties both halves of the campaign to one operator.
- Older backdoor: a Go remote-access tool, obfuscated with
garbleand namedujaild, which can run commands, write files and proxy into the internal network. It was started from a modifiedurandom_seedinit script.
The installer script reportedly carries Chinese-language comments. That is not proof of attribution, and GL.iNet has named no actor.
Indicators of Compromise
66.245.219[.]252(port 8899,/wakepath): payload and wake-up server65.20.71[.]131: suspected command channel seen from a KVM170.39.226[.]219: reverse-shell destination from routers (hosting since suspended)gl-inet[.]top: lookalike domain queried by an infected KVMup.adguardns[.]com,up.adguardns[.]org,up.adsanalypro[.]com: older-backdoor C2 (not tied to the November wave)- Files:
ni.sh,gl-helper,gb,/bin/ulogd,ujaild. Process:crond -i /tmp/.log
Detection
Check before you reboot or upgrade, because some traces only live in memory. GL.iNet's own indicator is the process crond -i /tmp/.log. However, the researchers say they have not seen that process on a single router, so a clean result there proves little. Wider read-only checks over SSH:
ps w | grep -E 'crond -i|mkfifo|nc [0-9]|sh -i|monitord|ujaild' | grep -v grep
ls -la /tmp/f /tmp/.log /bin/ulogd
/rom/bin/busybox cmp /etc/init.d/urandom_seed /rom/etc/init.d/urandom_seed
ls -l /bin/netstat # should still be a link to busybox; do not run it if replaced
On KVMs, use Toolbox › Terminal and run ps -aux | grep tmp (ps -a | grep tmp on RMQ1). If a device was bound to GoodCloud, its Logs › Device Logs view for 19–21 November can show whether it answered attacker messages; the researchers say these show up as entries with a numeric "id":1. At the network edge, look for traffic to the addresses above, and check computers attached to KVMs for new accounts, startup items or browser extensions.
Recommended Actions
- Install the security firmware for your exact model. Minimums include 4.11.1 for GL-MG1300, GL-MT3000 and GL-MT6000; 4.8.4 for GL-AX1800, GL-AXT1800, GL-SFT1200, GL-X3000 and GL-XE3000; 4.7.14 for GL-MT2500/A and GL-X2000; 1.10.3 for RM1, RM1V2, RM10, RM10RC, RM1PE and RM4PE; 1.8.7 for RMQ1. Check the vendor notice for the other models.
- If compromise is known or suspected, preserve evidence first. Then reinstall firmware with Keep Settings off, reconfigure by hand and do not restore a backup from that device. A factory reset alone does not install the fixes.
- Rotate everything the device held: admin and Wi-Fi passwords, VPN client keys (revoke them on the server side too), SSH keys and cloud credentials.
- Until patched, consider switching GoodCloud off once you have another way to reach the device. This stops new commands but does not clean an infected unit.
- Treat computers behind affected KVMs as potentially compromised and scan or re-image them.
Analyst Assessment
This is a classic cloud-management supply-chain failure. One authorisation mistake in a vendor's cloud turned a long-standing, unreviewed root command path into a fleet-wide remote shell. The fix closes the door, but the researchers report that the firmware's own clean-up is partial: in their test, unnamed startup entries survived an upgrade with settings kept, and a further cloud-client weakness reported on 22 November remains unpublished. Expect CVE assignments and further disclosures. Until then, treat any GL.iNet device that had GoodCloud enabled as untrusted until it has been checked, rebuilt and re-keyed.
