High 3 Hunt LeadsIOCsBleepingComputer

GL.iNet’s Cloud Became a Backdoor Into Routers and KVMs

GL.iNet confirms attackers abused its GoodCloud remote-management service to plant malware and root shells on routers and KVMs. Researchers say the vendor's single check misses most infections; reinstall without keeping settings.

Router and KVM maker GL.iNet has confirmed that someone abused a flaw in its GoodCloud remote-management service on Nov. 20 to push malware onto customers’ routers and KVM devices, BleepingComputer reports. GL.iNet says the cloud hole is closed, but that doesn’t clean devices already hit. Owners and researchers have since found root reverse shells, a custom implant built for GL.iNet hardware, and a separate, older backdoor that the company’s own check misses. GL.iNet hasn’t said how many devices were affected or whether data was taken.

For defenders

What happened: GL.iNet’s security notice confirms an unauthorized party used a cloud vulnerability to reach some routers and KVMs. No CVE has been assigned. RemoteToHome Consulting, which manages a large GL.iNet fleet, says the router-side GoodCloud client runs a value from a cloud message as root without checking it, via the AstroWarp/SD-WAN virtual_ip_info command, and that the code has shipped since firmware 4.7.0 (December 2024) whether or not AstroWarp is in use. GL.iNet hasn’t confirmed that’s the path used, T1059.004 (Command and Scripting Interpreter: Unix Shell).

What was found (KNOWN, per BleepingComputer and RemoteToHome): nc reverse shells to 170.39.226[.]219 on 24 routers RemoteToHome checked, plus an attacker command on dozens more. A ni.sh installer, which BleepingComputer analyzed, targets many GL.iNet models, pulls payloads named gl-helper and gb, persists through startup scripts and cron, T1053.003 (Scheduled Task/Job: Cron), poses as crond -i /tmp/.log, T1036.005 (Masquerading: Match Legitimate Resource Name or Location), swaps netstat for a script that hides its C2 traffic, T1014 (Rootkit), and can add SSH keys, T1098.004 (Account Manipulation: SSH Authorized Keys). Its comments are in Chinese. A separate backdoor in /etc/init.d/urandom_seed, with file dates back to late 2025, may be unrelated.

Fix: stable firmware for most router models (e.g. GL-MT3000/MT6000 4.11.1, GL-AXT1800 4.8.4, GL-MT2500 4.7.14) and KVM 1.10.3 (RMQ1 1.8.7). RemoteToHome found the firmware clean-up is partial and that a further cloud-client weakness remains, reported to GL.iNet and withheld. Reinstall without keeping settings if a device shows any sign.

Network
170.39.226[.]219
66.245.219[.]252
65.20.71[.]131

Host
process: crond -i /tmp/.log
/tmp/f (named pipe)
/etc/mp_ip_mapping_info (empty, dated 2026-11-20 or later)
/etc/init.d/urandom_seed (modified)
/bin/ulogd

What it means for you

GL.iNet makes popular travel and home routers, plus KVM gadgets that let you control a computer remotely. If you turned on its GoodCloud remote-management feature, an attacker may have had full control of the device, and with a KVM, possibly of the computer plugged into it. Updating the firmware is necessary but isn’t proof the device is clean. Treat any Wi-Fi, VPN or SSH passwords stored on it as exposed if it shows signs of tampering.

Do this now

  1. Before rebooting, run the community checker GL.iNet links to (gl-i.net/security/csa-2026-01/fix); GL.iNet’s single-process check misses most infections.
  2. Install the latest security firmware for your exact model.
  3. If anything turns up, reinstall with “Keep Settings” off, then change Wi-Fi, admin, VPN and SSH credentials and revoke the device’s keys on the server side.
  4. If you don’t need GoodCloud, switch it off. With a KVM, check the attached computer too.

Source article: Hackers exploit GL.iNet cloud flaw to infect routers, KVM devices
Publisher: BleepingComputer
Published: Nov. 22, 2026
URL: https://www.bleepingcomputer.com/news/security/hackers-exploit-glinet-cloud-flaw-to-infect-routers-kvm-devices/

Executive Summary

An unnamed actor abused a vulnerability in GL.iNet’s GoodCloud cloud remote-management service on November 20, 2026 to run commands as root on GL.iNet routers and KVM-over-IP devices that had the cloud feature enabled; GL.iNet has confirmed the incident and says the cloud-side path is blocked, but has not disclosed the flaw, the number of devices or the actor. RemoteToHome Consulting, which manages a large GL.iNet fleet, traced the entry point to the router’s GoodCloud client passing a cloud-supplied value from the AstroWarp/SD-WAN virtual_ip_info command into a root shell without validation, present since firmware 4.7.0 (December 2024). On some routers the attacker opened nc reverse shells to 170.39.226[.]219 through a named pipe; on most it ran a single command that looked for the KVM implant’s folders and reported back. On KVMs, a Chinese-commented installer script, ni.sh, downloaded from 66.245.219[.]252, fingerprints GL.iNet models, fetches payloads named gl-helper and gb, persists through startup scripts and cron, disguises itself as crond -i /tmp/.log, replaces netstat with a filtering script, adds SSH keys, timestomps files and polls for commands; one infected KVM then contacted about 1,800 residential IP addresses a day and the TRON blockchain API, suggesting peer-to-peer or proxy use that has not been confirmed. A separate, older router backdoor (modified /etc/init.d/urandom_seed, /bin/ulogd, processes monitord and ujaild) dates to late 2025 and may be unrelated. The objective is persistent remote control of edge devices and, through KVMs, the computers attached to them. Hunt leads, false positive expectations and indicators are detailed below; no detection rules were published.

ATT&CK chain: Execution → Persistence → Defense Evasion → Command and Control

Hunt Lead Grid

Hunt Lead Level Hunt Lead Name ATT&CK Risk of False Positives
1 (Junior) GL.iNet Device Compromise Artifacts T1037.004 (Boot or Logon Initialization Scripts: RC Scripts), T1036.005 (Masquerading: Match Legitimate Resource Name or Location), T1014 (Rootkit) Low. The empty state file on a router that doesn’t use AstroWarp, a modified urandom_seed, /bin/ulogd, a named pipe at /tmp/f and a netstat that isn’t a busybox link have no legitimate reason to exist; the check compares against the read-only /rom copy.
2 (Pro) Edge Devices Calling the Campaign Infrastructure T1059.004 (Command and Scripting Interpreter: Unix Shell), T1105 (Ingress Tool Transfer) Low. GL.iNet devices have a small, stable set of destinations (GoodCloud, NTP, DNS, firmware download); any session to the three campaign addresses is a hit, and the long-lived outbound shell pattern anchors on the device’s own management address as the source.
3 (Elite) KVM Fan-Out and Attached-Host Follow-Through T1090.002 (Proxy: External Proxy) (suspected, see section), T1098.004 (Account Manipulation: SSH Authorized Keys) Medium. KVMs legitimately reach the vendor cloud, remote viewers and update servers; the correlation anchors on a jump to hundreds of distinct residential peers or blockchain API calls, measured against the device’s own baseline, then joins it with activity on the computer the KVM controls.

GL.iNet Device Compromise Artifacts

RemoteToHome documents several on-device traces, and they mean different things. The attacker’s cloud command leaves an empty /etc/mp_ip_mapping_info dated November 20, 2026 or later on routers that don’t use AstroWarp (it survives a reboot), and a NAT rule -A SDWAN_IP_MAPPING -d 127.0.0.1/32 -j DNAT --to-destination 127.0.0.1 that doesn’t. The reverse shell shows as nc 170.39.226[.]219 <port>, /bin/sh -i and cat /tmp/f under a parent starting sh -c iptables -t nat -A SDWAN_IP_MAPPING, with /tmp/f as a named pipe. The older backdoor adds lines to the top of /etc/init.d/urandom_seed, drops /bin/ulogd, adds a line to /lib/upgrade/keep.d/netifd so it survives upgrades, and runs as monitord and ujaild. On KVMs, BleepingComputer found the installer disguising its process as crond -i /tmp/.log (GL.iNet’s published indicator) and replacing netstat with a script that hides connections to 66.245.219[.]252. The sweep is: compare /etc/init.d/urandom_seed and /lib/upgrade/keep.d/netifd with their /rom copies, check for /bin/ulogd, /etc/mp_ip_mapping_info and /tmp/f, list processes for crond -i, mkfifo, nc with an address, sh -i, monitord and ujaild, confirm /bin/netstat is a busybox link, and review authorized_keys for keys nobody added.

Run it over SSH before any reboot or upgrade, since the shell, pipe and NAT rule vanish on restart and KVM firmware 1.10.3 deletes the gl-helper implant without keeping a copy. Don’t run the device’s own netstat first: GL.iNet staff warn the replacement can start the malware. GL.iNet’s single-process check found nothing on any of the routers RemoteToHome examined, so a clean result from it proves little. For fleets, the community script GL.iNet links to collects evidence before changing anything. Also export the device log from the GoodCloud account, where one owner found {"id":1,"astrowarp":[],"code":0} responses on November 20; it’s the only trace that survives a reinstall. Any hit means the device should be reinstalled with settings discarded and every credential it stored rotated on the far side too. The check generalises to any OpenWrt-based appliance: init scripts and keep lists that differ from /rom are a strong persistence signal.

Hunt Lead Level: 1 (Junior Analyst)

ATT&CK: Persistence → T1037.004 (Boot or Logon Initialization Scripts: RC Scripts); Defense Evasion → T1036.005 (Masquerading: Match Legitimate Resource Name or Location), T1014 (Rootkit) for the filtering netstat replacement, T1070.006 (Indicator Removal: Timestomp); Persistence → T1053.003 (Scheduled Task/Job: Cron)

Sources: “Hackers exploit GL.iNet cloud flaw to infect routers, KVM devices”, BleepingComputer, Nov. 22, 2026, https://www.bleepingcomputer.com/news/security/hackers-exploit-glinet-cloud-flaw-to-infect-routers-kvm-devices/ (source article); “GL.iNet cloud incident, November 2026: what is known, how to check, how to recover”, RemoteToHome Consulting, last reviewed Nov. 23, 2026, https://github.com/RemoteToHome-io/gl-security-incident-2026 (additional source, same incident)

Edge Devices Calling the Campaign Infrastructure

The routers’ reverse shells connected out to 170.39.226[.]219 between 20:06 and 21:40 UTC on November 20, using nc piped to /bin/sh -i, and the parent process kept retrying, so unrebooted routers were still trying to reconnect two days later. The recovered one-shot command on other routers reported its results to the same address. On a GL-RM1 KVM, the owner’s network logs show ni.sh and further executables pulled from 66.245.219[.]252 on November 19, and BleepingComputer ties 65.20.71[.]131 to the same installer. The detection is any connection from a GL.iNet router or KVM management address to these three addresses, plus, more durably, any long-lived outbound TCP session from such a device to an address outside its normal set (GoodCloud, NTP, DNS, firmware servers), especially one that reconnects on a fixed interval after being dropped, and any HTTP download of a .sh file by the device.

Use perimeter firewall logs, NetFlow or DNS and proxy logs where the devices sit behind another gateway, and sweep back to at least September 2025, since the older backdoor’s file dates reach that far and the November installer may have had earlier runs. Inventory GL.iNet devices first (home-office routers and travel routers used by staff count, as do KVMs in server rooms), because they rarely appear in asset lists. The provider suspended 170.39.226[.]219 on November 21, so blocking the three addresses is cheap but won’t catch a rebuilt operation; the retry pattern is the longer-lived signal. Don’t block GoodCloud wholesale if you rely on it without first disabling the feature on the device, or you’ll lose management without removing the implant. A hit on any device is an incident: collect on-device evidence per the Junior lead before rebooting.

Hunt Lead Level: 2 (Pro)

ATT&CK: Execution → T1059.004 (Command and Scripting Interpreter: Unix Shell); Command and Control → T1105 (Ingress Tool Transfer)

Sources: “Hackers exploit GL.iNet cloud flaw to infect routers, KVM devices”, BleepingComputer, Nov. 22, 2026 (source article); “GL.iNet cloud incident, November 2026”, RemoteToHome Consulting, https://github.com/RemoteToHome-io/gl-security-incident-2026 (additional source)

KVM Fan-Out and Attached-Host Follow-Through

After infection on November 19, the GL-RM1 KVM in the forum report began talking to roughly 1,800 residential IP addresses a day and repeatedly called the TRON blockchain API, behavior BleepingComputer describes as suggestive of a peer-to-peer network; whether the devices were used as proxies or a botnet is not confirmed, so the T1090.002 mapping is provisional. The installer also adds SSH public keys and polls a server for commands, and GL.iNet is still investigating whether computers attached to infected KVMs were reached, which a KVM can do by typing and viewing the screen. The correlation is twofold: first, a KVM or router whose count of distinct external destinations per day jumps far above its own 30-day baseline (hundreds of consumer-ISP addresses where it normally has a handful), or that resolves or connects to TRON API endpoints; second, for any such KVM, the attached computer’s logs for logons, new local accounts, unexpected keyboard-driven activity at odd hours or new remote-access software in the window after the KVM’s infection date.

Build the first half from NetFlow or firewall session logs keyed on the KVM’s address with a daily distinct-destination count, and the second from the attached host’s EDR and Windows Security or Linux auth logs. Expect noise from KVMs that legitimately relay remote viewing sessions and from routers serving many clients, so anchor on the device’s own management address as the source rather than on traffic it forwards, and measure against that device’s history rather than a fleet-wide threshold. Blocking blockchain APIs at the edge is a weak control because the endpoints are shared by legitimate wallets. A KVM hit should trigger forensic review of the attached computer, not just the KVM, and the computer’s credentials should be treated as exposed; the pattern generalises to any compromised IoT device conscripted into residential-proxy networks.

Hunt Lead Level: 3 (Elite)

ATT&CK: Command and Control → T1090.002 (Proxy: External Proxy) (suspected, per the source’s “suggestive” wording); Persistence → T1098.004 (Account Manipulation: SSH Authorized Keys)

Sources: “Hackers exploit GL.iNet cloud flaw to infect routers, KVM devices”, BleepingComputer, Nov. 22, 2026 (source article)

Hash Appendix

ni.sh installer

The SHA256 comes from the source article’s VirusTotal link. MD5 and SHA1 were not published, and no lookups in OTX AlienVault or VirusTotal were made for this report. No hashes were published for the gl-helper and gb payloads or the older router backdoor.

MD5s

(not available)  # ni.sh -> GL.iNet-targeting installer downloaded from 66.245.219[.]252

SHA1s

(not available)  # ni.sh -> GL.iNet-targeting installer downloaded from 66.245.219[.]252

SHA256s

36e04e10b4667e59b0a3a25147b032dc038c5a9971a7df88be80f8882e30dd87  # ni.sh -> GL.iNet-targeting installer downloaded from 66.245.219[.]252

References Appendix

  • “Hackers exploit GL.iNet cloud flaw to infect routers, KVM devices”, BleepingComputer, Nov. 22, 2026, https://www.bleepingcomputer.com/news/security/hackers-exploit-glinet-cloud-flaw-to-infect-routers-kvm-devices/
  • “GL.iNet cloud incident, November 2026: what is known, how to check, how to recover”, RemoteToHome Consulting, last reviewed Nov. 23, 2026, https://github.com/RemoteToHome-io/gl-security-incident-2026
  • GL.iNet security notice, GL.iNet, Nov. 20, 2026 (updated Nov. 23), https://www.gl-inet.com/en-us/blogs/blog/glinet-security-notice-2026-11-20

More from the Roundup