GL.iNet Security Incident: How to Check Your Routers and KVMs for Malware
GL.iNet has updated its security notice, and I’ve updated this post to match. The big change: the quick ps | grep tmp check only looks for one indicator, mainly linked to the KVM malware, so a clean result doesn’t mean your device is clean. GL.iNet now points to an independently maintained community check, so that’s now step one. Firmware versions and recovery advice have changed too. Thanks to Adam at GL.iNet for the heads-up.
If you’ve got a GL.iNet router or KVM anywhere in your setup, this one’s worth five minutes of your time.
On 20 November 2026, GL.iNet put out a security notice saying someone had found a hole in its cloud remote management service. They used it to get onto some GL.iNet routers and KVMs and install malware. This wasn’t a bug that someone might exploit one day. It already happened, to real people’s devices.
The good news is there’s now a proper check and fixed firmware for every affected model. I’ve checked every GL.iNet device in my own homelab along the way, so here’s exactly what to do.
- Run the community check first, before you update or restart anything.
- Install the security firmware for your exact model (table further down).
- If anything was flagged, or the device was ever on GoodCloud, follow the recovery steps and change your passwords and keys.
What actually happened
The attackers didn’t come in through your network. They came in through GL.iNet’s cloud. In its security notice, GL.iNet says it found the vulnerability in its cloud remote management service on 20 November, and that an unauthorised party used it to put malware on “a subset” of its routers and KVMs.
What we know
- It looks like only cloud-connected devices were hit. Everything from GL.iNet and from affected users points to devices bound to GoodCloud, or to GL’s KVM cloud remote access. GL.iNet says devices that never connected to GoodCloud are not likely exposed.
- What counts is whether the device was cloud-connected when the attack happened. Unbinding it today won’t undo an infection that’s already there, so check anyway.
- The hole is closed. GL.iNet says devices can’t be newly infected this way. But closing it doesn’t remove malware that’s already on a device.
- GL.iNet is emailing affected customers at the address on their cloud account, so check your spam folder too. GL.iNet says not getting an email doesn’t prove you’re unaffected, though.
- Fixes are out. Security firmware is now available for every affected router and KVM.
Updated 24 Nov 2026: What GL.iNet has confirmed since
GL.iNet’s updated notice names three problems. CVE numbers have been requested but aren’t out yet.
- A GoodCloud message-authorisation flaw. Fixed on GL.iNet’s servers on 20 November.
- A command-injection bug in AstroWarp / SD-WAN on certain routers. In plain English, the cloud could slip extra commands into a router. GL.iNet says this applies even when AstroWarp is switched off, so updating matters even if you’ve never used it.
- An RTTY configuration and certificate-checking issue on KVMs. RTTY is the remote terminal feature.
Separately, GL.iNet mentions community reports of an older backdoor on some routers. It says that isn’t established as connected to this incident, and you shouldn’t assume the incident clean-up fixes it.
What we don’t know
GL.iNet hasn’t said how many devices were hit or what the malware actually does. It hasn’t published an official list of IP addresses or domains either. It’s also still looking into whether computers plugged into infected KVMs were affected.
Step 1: run the community security check
GL.iNet’s updated notice points to an independently maintained community check. It’s built by Admon from the GL.iNet forum, with help from RemoteToHome Consulting and other forum users. It digs much deeper than the original one-liner. It looks for:
- the gl-helper malware and the remote shell
- traces of commands sent from the cloud
- odd running programs, and network and firewall changes
- swapped-out system tools and autostart entries
- the older backdoor too
A restart wipes the remote shell, and the new firmware deletes the known traces the first time it starts. Checking afterwards tells you a lot less.
SSH into the device as root and run this. It downloads the script and runs it in check-only mode, which only reads and prints a report. According to its page, the same command works on routers and KVMs.
Community check, check-only mode (downloads a script, then only reads)
What the verdict means:
β Swipe for more data
| Verdict | What it means |
|---|---|
| INFECTED | Malware files, a remote shell, GL.iNet’s indicator or the older backdoor is there. |
| ATTACKED | A cloud command ran as root, but nothing was left behind. Treat the device as hit anyway. |
| No gl-helper indicators found | None of the known traces. Like any check, that isn’t proof nothing happened. |
GL.iNet points out that a flagged item isn’t automatically proof of infection, so if anything turns up, contact support@gl-inet.com. The script can also save evidence (--archive) and remove what it finds (--fix). Only use those once you know you need them, and read the check’s page first. The evidence archive can contain your Wi-Fi and VPN keys, so never post it anywhere.
Worth knowing: GL.iNet links to this tool, but it isn’t run or endorsed by GL.iNet. It runs as root, so it’s worth a quick read before you run it. I haven’t run it on my own kit yet.
Step 2: install the security firmware
Once you’ve run the check, install the security firmware for your exact model. These are the minimum versions with the fixes, from GL.iNet’s notice. GL.iNet says the list shows models with security firmware available, not models confirmed as compromised.
Minimum security firmware versions
β Swipe for more data
| Type | Models | Minimum security version |
|---|---|---|
| Router | GL-MG1300, GL-MT3000, GL-MT6000 | 4.11.1 |
| Router | GL-E5800 | 4.10.3 |
| Router | GL-BE3600, GL-BE9300 | 4.10.2 |
| Router | GL-BE14000 | 4.9.3 |
| Router | GL-BE6500, GL-MT3600BE, GL-MT5000 | 4.9.1 |
| Router | GL-BE10000 | 4.8.7 |
| Router | GL-AX1800, GL-AXT1800, GL-SFT1200, GL-X3000, GL-XE3000 | 4.8.4 |
| Router | GL-MT2500 / MT2500A, GL-X2000 | 4.7.14 |
| KVM | GL-RM1, GL-RM1V2, GL-RM10, GL-RM10RC, GL-RM1PE, GL-RM4PE | 1.10.3 |
| KVM | GL-RMQ1 (Comet Q) | 1.8.7 |
- Never connected to GoodCloud? GL.iNet calls the update routine maintenance. A firmware prompt on its own doesn’t mean you need to reset anything or change passwords.
- Ever connected to GoodCloud? Install the firmware, then change the device’s passwords and keys anyway, even if the check came back clean (see step 3).
- Always install the release for your exact model. Never use firmware meant for a different one.
- KVM with no internet? You can upload the firmware file through its web interface.
Router firmware download centre:
KVM firmware download centre:
Step 3: if something was flagged (or you’re not sure)
Not sure? Email support@gl-inet.com and they’ll help you check.
If a check found something, treat the device as compromised. Contain it first: if it looks like someone still has access, unplug it if that’s safe, and contact GL.iNet Support. Then work through these steps.
1. Reinstall the security firmware with settings OFF
This is GL.iNet’s strongest standard recovery. Install the security firmware with “Keep Settings” turned off on a router, or “Save current configuration” cleared on a KVM where it’s offered. Then set the device up again by hand. Don’t restore a backup taken from a device you think was compromised.
- A factory reset on its own isn’t enough, because it doesn’t install the fixes.
- Keeping settings is allowed, but gives less assurance. In community testing, a startup script and an SSH key survived a settings-preserving upgrade on a test RM1 KVM.
2. Change every secret the device held
GL.iNet recommends this for any device that was connected to GoodCloud, even if your checks came back clean, as well as any device you think was compromised. Do it after updating or recovering the device.
- Change the admin password and your Wi-Fi passwords.
- Replace any VPN, WireGuard or SSH keys stored on it or reachable from it. For VPNs, delete the old profile at the other end and create a fresh one.
- Change DDNS and cloud passwords, and any password you’ve reused elsewhere.
- KVM users: check the computer it’s plugged into for accounts, programs, browser extensions or startup items you don’t recognise, and settings you didn’t change. Then run a full scan.
3. Optional, for advanced users: U-Boot reflash
GL.iNet notes that a normal reset or reinstall may not rewrite every part of the flash chip. Nobody has reported the attackers tampering with those deeper parts, but nobody has ruled it out either. Reflashing through the U-Boot recovery page rewrites the whole firmware partition, so if the device sits at the edge of your network, it’s worth considering.
- Download the security firmware for your exact model from GL.iNet’s official download centre, and check its SHA256 against the one listed. Don’t use third-party mirrors.
- Set your PC to a static IP of
192.168.1.2, subnet255.255.255.0, and plug it into a LAN port. - Power the router off. Hold reset while you power it back on, and keep holding until the LEDs change pattern. Then let go.
- Browse to
http://192.168.1.1, upload the firmware and start the update. - When it boots, check it’s back to factory defaults. On some models settings can survive a U-Boot flash, so if any of your old config is still there, factory reset it as well.
The button timing and LED pattern vary between models, so follow GL.iNet’s “Debrick via U-Boot” guide for your device. One honest limit: this doesn’t reflash U-Boot itself. If the bootloader were ever compromised, you’d need a hardware programmer, but nothing so far points that way.
GL.iNet’s original quick check
This was the first check GL.iNet published. It looks for one running process, crond -i /tmp/.log, and GL.iNet now says it mainly targets the KVM malware. A clean result doesn’t mean your device is clean, so treat it as a quick extra, not a replacement for step 1.
On a router: the no-command-line way (LuCI)
- In your router’s Admin Panel, go to System β Advanced Settings and sign in to LuCI.
- Open Status β Processes.
- Press Ctrl+F (Cmd+F on a Mac, or Find in page on your phone) and search for
tmp/.log. - If a line reads
crond -i /tmp/.log, you’ve got a problem.
Search for tmp/.log, not just tmp. Just “tmp” matches a load of harmless stuff (see the table below).
On a router: over SSH
Router check: GL.iNet official (read-only)
ps lists everything that’s running, and grep tmp filters the list down to anything with “tmp” in it. If the only line you get back is grep tmp itself, that’s just the command finding itself.
Router check: KL enhanced (read-only)
It prints the router’s name first, looks for the exact process (the [c] stops it matching itself), and gives you a plain INDICATOR FOUND - INFECTED or OK: indicator not found.
On a KVM
Open the KVM’s web interface and go to Toolbox β Terminal β Access. Run the command there, in the KVM’s own terminal, not on the computer the KVM is plugged into. GL.iNet calls this KVM check optional, and a negative result doesn’t rule out compromise.
KVM check: GL.iNet official, Comet Q / GL-RMQ1 (read-only)
KVM check: GL.iNet official, all other models (read-only)
KVM check: KL enhanced (read-only)
On a Comet Q, swap ps -aux for ps -a. The KVM’s terminal runs bash, which treats !! as a special command, so I’ve kept exclamation marks out. If you’ve seen bash: !!: event not found, that’s why. It isn’t a sign of infection.
Reading the quick check: infected vs harmless
For the quick check, only one line means trouble: crond -i /tmp/.log. You’ll see other stuff with “tmp” in it, and it caught me out the first time too. Here’s what turned up on my clean devices.
β Swipe for more data
| What you’ll see | What it is | Verdict |
|---|---|---|
| crond -i /tmp/.log | The malware indicator from GL.iNet’s notice | INFECTED |
| crond -f -c /tmp/gl_crontabs -l 10 Every GL.iNet router | GL.iNet’s normal scheduler. Same name, different flags and path | Normal |
| [RtmpCmdQTask_00] Also RtmpWscTask, RtmpMlmeTask | MediaTek Wi-Fi driver threads. “Rtmp” just contains “tmp” | Normal |
| hostapd … -f tmp/hostapd.txt | The Wi-Fi access point service writing its log | Normal |
| smsd … -c/tmp/smstools.cfg 4G routers, e.g. Spitz Plus | The SMS service for the mobile modem | Normal |
| gl_screen -c /tmp/gl_screen/config Flint 4 | The front touchscreen | Normal |
| [kdevtmpfs] KVMs | Standard Linux kernel thread that manages /dev | Normal |
| grep tmp | The check command finding itself | Normal |
Example: infected router output (illustrative only; numbers will differ)
Extra: the IP range that’s circulating
GL.iNet hasn’t published any IPs or domains to block. But users on the GL.iNet forum have reported infected routers opening a remote shell back to 170.39.226.219, and the community check watches the whole 170.39.226.0/24 range. GL.iNet hasn’t confirmed it, but you’ve got no reason to ever talk to that range, so blocking it costs you nothing.
Has anything talked to it?
Suspect IP range check on a GL.iNet router (read-only)
This searches the router’s connection-tracking table, which is every connection going through or from the router right now. I skipped netstat on purpose, because the community analysis found the malware can swap it for a fake.
The best check isn’t on the GL.iNet box at all, though. An infected device can lie to you, but a separate firewall won’t. If you’ve got one, like my Firewalla, search its flow history for 170.39.226.
Block it
On a Firewalla (in the app): create a new Block rule, set the target to the IP range 170.39.226.0/24, apply it to all devices, and block both directions.
On any other firewall: add an IP range block rule for 170.39.226.0/24.
On a GL.iNet router: this command changes your firewall. It adds two rules: one stops the router itself reaching the range, and the other stops anything on your network reaching it through the router. The last bit prints the new rules back so you can see they went in.
Block suspect IP range on a GL.iNet router (changes firewall)
If you’d rather click than type, add the same rules in LuCI under Network β Firewall β Traffic Rules. Blocking one IP range isn’t the real fix, though. An attacker can switch IPs in minutes. The real fix is the firmware, and the lessons below.
How my homelab got on
I checked everything: a Flint 4, a Flint 3, a Spitz Plus, a Brume 3, a Comet X KVM and an RM1 KVM. All six came back clean on the quick checks.
That wasn’t luck. None of them were ever connected to GoodCloud, and my KVMs can’t reach the internet at all. This attack came in through the vendor’s cloud, so a device that never talked to that cloud gave it nothing to work with. GL.iNet’s updated notice backs that up. I’m still putting the security firmware on all of them, because the AstroWarp bug applies even with AstroWarp switched off.
And that’s really the lesson from this one:
- Turn off GoodCloud, or the KVM cloud access, on anything that doesn’t need it. It’s convenient, but it’s also a door into your network that someone else holds the keys to.
- Do remote access your own way. WireGuard or Tailscale, running on kit you control.
- Keep KVMs off the internet. A KVM has keyboard and screen access to whatever it’s plugged into, so put it on an isolated network and reach it over your VPN.
- Watch your traffic from a separate box. A compromised router can hide things from you, but an independent firewall’s logs won’t.
I’ll keep updating this post as GL.iNet updates its notice. And if your check turned something up, I’d genuinely like to hear about it.
Sources
- GL.iNet Security Notice 2026-11-20 (updated 23 Nov)
- GL.iNet community security check (independently maintained)
- admonstrator/glinet-csa-2026-01: community check source code
- RemoteToHome: coordinated findings and recovery steps
- GL.iNet forum: 2026-11-20 Security Notice β GoodCloud / KVM / Routers
- GL.iNet forum: Quickly check if your Router is under attack
Support the Channel β
If you found this guide helpful and are feeling extra appreciative, consider supporting the channel:
- Donate me a KO-FI: https://www.ko-fi.com/kltechvideos
- Follow on X (Twitter): https://x.com/kltechvideos (Help me beat the algorithm! π)
- Subscribe on YT (YouTube): https://www.youtube.com/@kltechvideos
- Checkout the Blog for more cool projects!: https://blog.kltechvideos.co.uk
- Don’t forget to let me know what content you are watching or reading on my socials!
Comment
