Marc Pope
All writing

GL.iNet's cloud pushed malware to routers and KVMs, and 152 of 183 audited routers were hit

GL.iNet's GoodCloud flaw let attackers run root commands on routers and KVMs. A firm that audited 183 routers found 152 compromised, and none showed the vendor's one indicator.

November 23, 2026 7 min read 227 views Technology Infrastructure
GL.iNet's cloud pushed malware to routers and KVMs, and 152 of 183 audited routers were hit

GL.iNet said on November 20 that someone used a flaw in its cloud remote management service to install malware on its routers and KVM devices. The company fixed the cloud side the same day and started shipping cleanup firmware on November 22. The malware is still on every device that received it before then.

The service is GoodCloud. It is the web page that lets you manage a Flint router in a closet or a Comet KVM plugged into a server from anywhere. Devices hold an outbound connection open to GoodCloud and run the commands it sends. On November 20, those commands included a shell.

What the notice says, and what it leaves out

The notice is short. A vulnerability in "cloud remote management services." An unauthorized party. Malicious software on "a subset of routers and KVM devices." The attack path is blocked. Then a firmware table and one indicator of compromise: a running process named crond -i /tmp/.log.

No CVE. No device count. No start date. No description of what the malware does. GL.iNet says it will email affected customers at the address on their cloud account, and that the new firmware removes the malware without a factory reset and keeps your settings.

The fixed versions run from 4.11.1 for the GL-MT6000, GL-MT3000 and GL-MG1300, through 4.10.2 for the GL-BE9300, down to 4.7.14 for the GL-MT2500 and GL-X2000. KVMs need 1.10.3, or 1.8.7 on the RMQ1. The full table is in the notice.

What the community found instead

RemoteToHome Consulting, a firm that manages GL.iNet routers for clients, checked 183 of them and reported on November 22 that 152 showed signs of compromise. 24 had a root reverse shell open to 170.39.226.219 over netcat. 81 had evidence that attacker commands had run. 47 carried an older backdoor that may be unrelated. Not one of the 183 had the process name GL.iNet told people to look for.

That last number belongs at the top of the incident report. The vendor's only published indicator missed every infection in the largest sample anyone has described.

The same researchers traced the shell back to the GoodCloud client on the device, a package called gl-sdk4-cloud. A handler for an AstroWarp SD-WAN command takes an address from the cloud message and drops it into an iptables command, as root, without checking it. Send a crafted address and the device runs whatever follows. The handler runs whether or not you use AstroWarp. The code first appeared in firmware 4.7.0 on December 5, 2024. GL.iNet has not confirmed this was the entry point. But the fixed firmware quotes those values and rejects shell syntax in eight cloud functions, which is what you'd do if it was.

A forum user with a compromised GL-RM1 KVM pulled the installer script, ni.sh, and BleepingComputer reviewed it. It downloads two binaries, gl-helper and gb, from 66.245.219.252. It adds itself to rc.local and the crontab, and a watchdog script puts the files back every three minutes if you delete them. It keeps a spare copy under /etc/config/.gl, a directory that survives upgrades that keep settings. It installs an SSH key named gl-agent. It replaces netstat with a script that hides its own connections. It resets file timestamps to match the firmware. The developer comments are in Chinese. That KVM was talking to about 1,800 residential IP addresses a day and polling the TRON blockchain API, and nobody has said why.

A community advisory collected anonymous scan reports from 857 devices by the morning of November 22, 739 routers and 118 KVMs. 46 percent of the routers showed traces. On firmware 4.7 through 4.10, about three in four were hit. Of 226 devices on 4.11.0 or 4.11.1, zero. The sample is people who chose to run a script after reading a security notice, so read the percentages as a ceiling. The version split is sharp either way.

The KVM is the part that should bother you

A router compromise is bad. A KVM compromise is a different category. The Comet is a keyboard, mouse and monitor cable with an Ethernet port. Whoever runs code on it can type into your server, watch its screen, mount a virtual USB drive, and reboot the machine into whatever they want. It sits on the one path that still works when everything else is down. That is why you bought it.

GL.iNet says it is still investigating whether computers attached to infected KVMs were touched. Its advice is to check those machines for unfamiliar programs, browser extensions, accounts, startup items and scheduled tasks. That is a hunt with no indicators, on hardware you can no longer trust, from the console the attacker had.

The KVMs ship with a VPN built in. There was never a technical reason to route the console through a vendor's cloud. The reason was convenience, and a menu that put cloud first. Owners in the Hacker News thread report the cloud client running on devices that were never bound to an account. One GL-BE9300 owner found the service enabled with no account attached and turned it off over SSH:

/etc/init.d/gl-cloud disable

GL.iNet hasn't said whether the client is on by default or whether an unbound device could be reached. The anonymous reports show 63 percent of devices with GoodCloud on carried traces, against 26 percent with it off. Off was not a guarantee either.

Don't trust the vendor's cleanup

GL.iNet's position is that the new firmware removes the malware and you can keep your settings. The community advisory read the 4.11.x cleanup. It deletes /etc/config/.gl, the rc.local line and the crontab entries, once, at first boot. It does not touch /bin/ulogd or /usr/bin/monitord, the files from the older backdoor, and it leaves gl-helper's cache directory alone.

That older backdoor is its own problem. Files dated from September 2025 to May 2026. A modified urandom_seed init script that launches a Lua payload. Entries added to the upgrade keep list so it survives the same upgrade GL.iNet recommends. It reports to lookalike domains, adguardns.com and openwrt-project.org. Of 47 routers that had it, 42 had no public IP address, and all 36 the researchers could check were bound to GoodCloud. How it got there is unknown. Whether it is the same attacker is unknown.

A factory reset isn't clean either. Reset restores from the firmware image stored in /rom. RemoteToHome found root could write to that partition on most routers it tested, and to the bootloader area on some. Nobody has reported a modified /rom on an infected device. But root had these boxes for days. The only recovery I'd sign off on is a reflash from an image you downloaded yourself, with settings discarded, then a manual rebuild. Treat every secret the device held as leaked: Wi-Fi passphrases, WireGuard private keys, SSH keys, DDNS credentials, the admin password. If a KVM was infected, treat the server behind it the same way.

Two things before you reflash. Export the logs. GL.iNet's system log lives in RAM and a reboot erases it, and one owner reported the GoodCloud device log vanished after a password change. And if these devices run a business, ask your insurer before you wipe evidence. A forum poster raised that and nobody from GL.iNet answered.

I've run hosting infrastructure for 25 years and the rule hasn't moved: the management plane is the device. A vendor cloud agent with root and a persistent outbound connection is a management plane you don't operate, defended by a team you can't audit, sitting next to your servers. GL.iNet's fix was to sanitize eight functions. Mine is to disable gl-cloud, put the console on its own VLAN behind my own VPN, and leave it there. I expect a CVE for the AstroWarp handler within two weeks, and a second notice about the older backdoor that says less than this one did.

Have an infrastructure problem that needs an owner?