GL.iNet GoodCloud Hack: Why the Official Check Missed It

By 13 min read
GL.iNet GoodCloud hack: cloud remote management used to run root commands on routers and KVMs

For 715 days, a GL.iNet router with cloud management switched on would run, as root, whatever arrived in one particular cloud command. On 20 November 2026 someone found the way to send it.

The GL.iNet GoodCloud hack is a compromise of GL.iNet’s cloud remote management service that let an attacker run root commands on customers’ routers and plant a hidden implant on Comet KVM devices. GL.iNet says it closed the attack path on 20 November. The harder problem is the one that follows: the vendor’s own published check did not find a single infected router in the largest independent survey so far.

This article explains what happened, which devices were hit, how to check yours properly and what the fixed firmware does and does not do.

What is GoodCloud, and why does it matter?

GoodCloud is GL.iNet’s cloud remote management service. It lets owners manage GL.iNet routers and KVM devices from a web portal without exposing an admin page to the internet. SecurityWeek describes GL.iNet as a China-based maker best known for pocket-sized travel routers and Comet KVM devices.

A KVM (keyboard, video, mouse) device is a small box that gives remote access to another computer’s screen and keyboard, often at the BIOS level. That makes a compromised KVM more dangerous than a compromised router: it sits one cable away from a server or workstation.

Cloud management works by keeping a permanent channel open from each device to the vendor’s servers. Commands flow down that channel. If an outsider can push messages into it, they reach every connected device at once, with no port open on the customer’s side.

Who uses GL.iNet hardware?

RemoteToHome Consulting, the GL.iNet partner whose research drives most of what is known, describes its own customers as digital nomads, expats and small businesses. Travel routers are popular with people who carry a VPN client between hotels, which is why stored VPN keys feature heavily in the recovery advice.

What happened on 20 November 2026?

GL.iNet’s notice says that on 20 November 2026 it identified unauthorized access to some routers and KVM devices connected to GoodCloud. An unauthorized party exploited a vulnerability in the service and installed malware on some of those devices. GL.iNet blocked the identified path the same day and later released security firmware.

RemoteToHome found earlier activity in GoodCloud’s own device log. Four devices answered requests that GoodCloud itself did not send on the morning of 19 November, the first at 08:48 UTC. Nothing followed until the main wave began at 20:06 UTC on 20 November. RemoteToHome reads this as a trial run.

Timeline from the December 2024 firmware flaw to the November 2026 GoodCloud attack and fixes.
The router-side flaw shipped almost two years before the attack, and a separate backdoor was being installed in between (data: RemoteToHome Consulting, GL.iNet).

What did the attacker do on each device?

According to RemoteToHome’s analysis of memory images from routers it manages, the attacker did three different things:

  • On most routers, it ran one command as root that looked for the folders of a KVM implant called gl-helper and reported the result to 170.39.226.219. RemoteToHome recovered that command from the memory of 98 routers.
  • On some GL-AXT1800 (firmware 4.8.2 and 4.8.3) and GL-MT6000 (4.9.1) units, it opened an interactive root remote shell to the same address, starting between 20:06 and 21:40 UTC.
  • On KVMs, it installed gl-helper. One KVM owner told The Hacker News that their GL-RM1 downloaded a script and two programs from 66.245.219.252, looked up the look-alike domain gl-inet.top and scanned the local network.

RemoteToHome tied the router and KVM sides together: one router received a command, through GL.iNet’s cloud, that called the same server, port and path that forum users found inside the KVM implant.

How did the GoodCloud attack work?

Two weaknesses had to line up, and GL.iNet has acknowledged both. As recorded by RemoteToHome from GL.iNet’s notice of 23 November, a configuration error in GoodCloud’s device-messaging service let one client send management messages to other users’ devices. Separately, a flaw in the AstroWarp, or SD-WAN, part of the router firmware ran such input as root commands, even when AstroWarp was turned off.

Six-stage flow of the GL.iNet GoodCloud hack from cloud broker to router shell and KVM implant.
A cloud-side permission error delivered the message and a router-side handler executed it as root (data: GL.iNet notice, RemoteToHome analysis).

The router-side flaw

RemoteToHome read the compiled cloud client and found that a handler for a command named virtual_ip_info passes a value from the cloud message to the shell, as root, without checking it. The Hacker News summarised it the same way: two values from a cloud message run through the shell unchecked.

The earliest firmware RemoteToHome found with that code is GL-MT3000 4.7.0, released on 5 December 2024. It was still present in 4.11.0. RemoteToHome notes this does not mean attacks began in 2024; it means the router side was ready whenever the cloud side failed.

The cloud-side failure

The messaging layer is where the attack crossed between customers. RemoteToHome reports that GoodCloud runs on EMQX, an MQTT message broker, and that default rules in some EMQX releases let any connected client publish to any topic. It is careful to add that GoodCloud’s own version and configuration are not known.

MQTT is a lightweight publish-and-subscribe protocol common in IoT fleets. Devices subscribe to topics and act on what is published there, so topic permissions are the whole access control model.

How the attacker chose its targets

RemoteToHome says a message must name a router’s model, firmware version and MAC address to reach it. Routers on firmware 4.7 to 4.9 were hit almost everywhere in its data, while none on 4.10 or 4.11 were, although 4.11.0 carries the same flaw. RemoteToHome infers the attacker worked from a list of real router addresses prepared in advance. That is its reasoning, not a confirmed fact.

How many GL.iNet routers were hit?

Nobody knows the total. GL.iNet, SecurityWeek and The Hacker News all say the number of affected devices has not been disclosed.

The best available numbers come from RemoteToHome’s own fleet. Of 216 routers it reached by 27 November, 175 showed the 20 November attack, the older backdoor, or both. Only 41 showed nothing.

Bar chart of RemoteToHome findings across 216 GL.iNet routers by type of compromise.
Most routers in RemoteToHome's fleet showed a sign of compromise, and none showed GL.iNet's published indicator (data: RemoteToHome field survey, not a random sample).
Finding on RemoteToHome’s routers Routers
Attacker’s command ran as root, nothing else found 99
Older backdoor installed and running 51
Root remote shell to 170.39.226.219 25
Nothing found 41
GL.iNet’s indicator (crond -i /tmp/.log) 0

RemoteToHome stresses this is not a random sample: almost all of these routers had GoodCloud switched on and were online when checked. In a 260-device cross-section of its GoodCloud account log, 210 devices answered the attacker. Treat these as evidence that exposure among GoodCloud users can be very high, not as a global infection rate.

Which models were reached?

RemoteToHome found the attacker’s message in memory on eleven models: GL-AX1800, GL-AXT1800, GL-BE3600, GL-BE6500, GL-BE9300, GL-BE10000, GL-MT2500, GL-MT3000, GL-MT3600BE, GL-MT5000 and GL-MT6000, on firmware from 4.7.0 to 4.9.1. GL.iNet’s fix list is longer, and The Hacker News notes GL.iNet’s warning that a model missing from its table is not necessarily unaffected.

What is the older GL.iNet backdoor?

While looking for traces of 20 November, users and RemoteToHome found something else: a backdoor installed long before. GL.iNet’s notice, updated on 26 November, says it is investigating this older malware and has not confirmed how it reached devices or whether it is linked to the November incident.

RemoteToHome found it running on 51 routers, with install dates from September 2025 to May 2026, mostly in December 2025. Its loader was built once per router, reports the router’s serial number, model and firmware every three days, and fetches a second stage written in Go. That second stage can run any command, write files and open a proxy into the network behind the router.

On 47 routers, the second stage had been checking in for up to six months, but no task was in memory when RemoteToHome captured it. That does not prove it was never used.

Are the two compromises connected?

The sources disagree in emphasis. SecurityWeek’s early report grouped the routers as affected by the new attack or an older backdoor. RemoteToHome, in its 27 November analysis, says it found nothing linking them: different timelines, tools and servers, and the 20 November attack was sent to routers the older backdoor already controlled as if it were not there.

  Attack of 20 November 2026 Older backdoor
First trace 16 Nov 2026, look-alike domain registered 4 Jul 2025, server names registered
Main activity 20 Nov 2026, one wave Sep 2025 to May 2026, in batches
Servers 170.39.226.219 and 66.245.219.252 Six domains behind Cloudflare
Entry route GoodCloud plus the router handler Not shown
Survives reboot Only an empty state file Yes, and upgrades that keep settings
Routers in RTH data 25 shells, command on most others 51

RemoteToHome notes that 48 of the first 49 backdoored routers were bound to GoodCloud before their install date and most had no public address. That points at the cloud channel but does not prove it.

How do you check a GL.iNet router or KVM?

Check before you reboot or upgrade. RemoteToHome found that the remote shell, its pipe and the firewall rule all disappear on restart, and The Hacker News carried the same warning. More than half of the routers in RemoteToHome’s second sweep, 115 of 202, had not been restarted since the attack.

Four headline numbers from RemoteToHome research into the GL.iNet GoodCloud hack.
The flaw sat in shipping firmware for almost two years, and the vendor's indicator caught none of the routers RemoteToHome checked (data: RemoteToHome Consulting).

Signs that matter

These are the traces RemoteToHome documents, from most to least conclusive:

  • Remote shell: an nc process to 170.39.226.219 with /bin/sh -i. Treat every secret on the device as read.
  • Shell pipe: a named pipe at /tmp/f. The shell ran since the last boot.
  • Firewall rule: an SDWAN_IP_MAPPING NAT rule with 127.0.0.1 on both sides. The attacker’s command ran as root.
  • State file: an empty /etc/mp_ip_mapping_info dated 19 November 2026 or later, on a router that does not use AstroWarp. This is the only router-side trace of the attack that survives a reboot, and RemoteToHome says to treat such a router as fully compromised.
  • Older backdoor: extra lines in /etc/init.d/urandom_seed, a /bin/ulogd file, and processes named monitord or ujaild.

Use the GoodCloud device log

RemoteToHome found that GoodCloud keeps a log of what each device sent to the cloud, and owners can read it without SSH, even after a reset. A response containing a numeric "id":1 between 19 and 21 November means the attacker’s command ran. Ordinary messages carry a long quoted id. No match is not proof of anything.

Why the official check is not enough

GL.iNet’s notice told owners to look for a process showing crond -i /tmp/.log. RemoteToHome found it on none of the routers it checked, including those with a live shell, and believes it is a disguise the KVM implant’s helper uses. Help Net Security quoted GL.iNet itself conceding that neither its check nor the community script can guarantee a device is free of compromise.

For KVMs, GL.iNet says to check the attached computer for unfamiliar programs, browser extensions, accounts, startup items and scheduled tasks. RemoteToHome found that KVM firmware 1.10.3 removes gl-helper at boot without keeping a copy, so upgrading an infected KVM also destroys the evidence.

What should defenders do now?

Start with devices that ever had GoodCloud switched on. Work in this order:

  1. Preserve evidence first. On any router or KVM that had GoodCloud enabled, run the checks above before rebooting, upgrading or resetting it.
  2. Install the latest stable security firmware for the exact model. GL.iNet recommends it for all devices, including ones with no sign of infection. Do not install firmware built for another model.
  3. Reinstall without keeping settings on any device that showed a sign. GL.iNet’s notice calls this the strongest recovery. RemoteToHome tested all three cleaning methods on one router and only this one left nothing behind: an upgrade that kept settings carried start-up changes across, and a factory reset left hidden folders in place.
  4. Rotate everything the device stored. Wi-Fi and admin passwords, VPN client keys and profiles, SSH keys and cloud credentials should be treated as copied. Revoke VPN peers and SSH keys on the server side too, because cleaning the router does not take them back.
  5. Check what sat behind a compromised KVM. Investigate the attached computer as a potentially compromised host.
  6. Turn GoodCloud off where you do not need it, after setting up another way to reach the device.
  7. Block and hunt for the published infrastructure in firewall and DNS logs: 170.39.226.219, 66.245.219.252, 65.20.71.131 (suspected by one KVM owner as a command channel, per The Hacker News) and gl-inet.top. RemoteToHome’s repository holds the older backdoor’s domains.

Fixed firmware versions

RemoteToHome recorded the second round of stable builds, released on 24 November, for eighteen router models:

Router models Second-round build
GL-MG1300, GL-MT3000, GL-MT6000 4.11.2
GL-E5800 4.10.4
GL-BE3600, GL-BE9300 4.10.3
GL-BE14000 4.9.4
GL-BE6500, GL-MT3600BE, GL-MT5000 4.9.2
GL-BE10000 4.8.8
GL-AX1800, GL-AXT1800, GL-SFT1200, GL-X3000, GL-XE3000 4.8.5
GL-MT2500, GL-X2000 4.7.15

GL.iNet’s security advisories page names 4.11.3 for the GL-MT3000 and GL-MT6000, according to RemoteToHome. The Hacker News lists KVM fixes at 1.10.3 for the RM1 family and 1.8.7 for the RMQ1. Always confirm against GL.iNet’s current notice, which has changed several times.

How does this compare with other remote management attacks?

The pattern is familiar: compromise the management plane once, reach every device behind it. The SCKit worm that hit 288 PCs in 90 minutes through ScreenConnect and the N-central 4EverAble2Shell exploitation abused remote management tools used by IT providers. GoodCloud is the consumer and small business version of the same risk, with a twist: the device trusted the cloud completely.

It also echoes a lesson from Zyxel GS1900 switches that were hacked despite being patched: firmware updates close a hole, but they do not undo what already got through it.

What does the fix not solve?

RemoteToHome’s reading of GL-MT3000 4.11.2 found that the fix adds input validation inside the one abused command. The part of the cloud program that receives and dispatches commands is unchanged, and 34 of its 38 command modules are identical to the pre-fix version.

According to RemoteToHome, a router still carries out a command arriving on that channel without a signature or a check of who sent it. In 4.11.2 that channel can still call management functions, start a firmware upgrade from a given address and replace firewall rules. Protection rests on GL.iNet’s servers refusing to pass bad messages on. RemoteToHome also reported a further weakness on 22 November that it is withholding until fixed.

Open questions

The sources leave a lot unanswered:

  • Initial access to the cloud. GL.iNet describes a configuration error but not how the attacker learned it, or how long it was exploitable.
  • Scope. No total of affected routers or KVMs has been published, and GL.iNet is still checking whether computers attached to KVMs were accessed.
  • Attribution. No source names an actor for either compromise.
  • The older backdoor’s entry route. GL.iNet has not confirmed how it was installed.
  • CVEs. GL.iNet says CVE requests were submitted; at the time of writing its reports carried vdb-submit identifiers, not CVE numbers, per RemoteToHome.

RemoteToHome records that GL.iNet’s co-founder and COO, Alfie Zhao, posted a message taking responsibility for the response communication and saying an outside legal and forensic team and a security audit firm have been engaged. No date was given for the promised full report.

The bottom line

The GL.iNet GoodCloud hack turned a convenience feature into a root shell on customers’ routers, and the vendor’s single published indicator missed every infected router in the largest independent survey. If a GL.iNet device of yours had GoodCloud switched on, check it before rebooting, reinstall it without keeping settings if anything shows, and rotate every secret it held.

Sources

This article is written for defenders and authorised security testers. Only test systems you own or have written permission to assess.

Frequently asked questions

What happened in the GL.iNet GoodCloud hack?

On 20 November 2026 an unauthorized party exploited a vulnerability in GoodCloud, GL.iNet's cloud remote management service, and used it to run commands on routers and install malware on some KVM devices connected to the service. GL.iNet says it blocked the attack path the same day.

Which GL.iNet devices are affected?

Routers and Comet KVM devices that were connected to GoodCloud. RemoteToHome saw the attacker's message on at least eleven router models, including the GL-AXT1800, GL-MT3000, GL-MT6000 and GL-MT5000, on firmware 4.7.0 to 4.9.1. GL.iNet says a device never connected to GoodCloud was not exposed through this path.

How do I check if my GL.iNet router was hacked?

Before rebooting, look for a running nc or sh -i process, a named pipe at /tmp/f, an SDWAN_IP_MAPPING firewall rule, and an empty /etc/mp_ip_mapping_info file on a router that does not use AstroWarp. Owners can also search the GoodCloud device log for a response with the numeric id 1 between 19 and 21 November.

Is GL.iNet's crond -i /tmp/.log check enough?

No. RemoteToHome did not find that process on any router it checked, including routers with a live root shell. GL.iNet itself says its quick checks and the community script have different coverage and neither proves a device is clean.

Does the GL.iNet security firmware remove the malware?

It removes the known malware from this incident and, in the second round of builds, the older backdoor's known files. RemoteToHome showed that other start-up entries can survive an upgrade that keeps settings, so a reinstall without keeping settings is the clean option for any device that showed a sign.

What is the older GL.iNet backdoor?

A separate compromise RemoteToHome found on 51 routers, with install dates from September 2025 to May 2026. It starts at every boot, reports to its own servers and can fetch a remote-control program. GL.iNet is investigating it and has not said how it reached devices.

Who was behind the GL.iNet GoodCloud attack?

No source has attributed it. GL.iNet, RemoteToHome, SecurityWeek and The Hacker News all say the attacker is unknown, and RemoteToHome stresses that its separation of the two events is a measurement, not a judgement about who was behind either.

Should I turn off GoodCloud on my GL.iNet router?

If you do not need it, yes. RemoteToHome found that even fixed firmware still carries out cloud commands without checking who sent them, so the router's safety on that channel depends on GL.iNet's servers. Set up another way to reach the device first.

Keep reading

GL.iNet GoodCloud hackGL.iNetrouter securityKVM securitycloud remote managementincident responseIoT security