GL.iNet Routers Found Running a Persistent Backdoor Dating to 2025

Summary
Community reports describe an older backdoor on GL.iNet routers, with RemoteToHome finding it on 47 of 183 checked devices. It collects device identifiers, supports remote commands and can persist across firmware updates; the entry path remains unconfirmed.
Key points
- RemoteToHome Consulting reported finding the backdoor running on 47 of 183 GL.iNet routers it checked; community reports describe infections on several router models.
- The backdoor modifies /etc/init.d/urandom_seed to launch /usr/bin/monitord and /bin/ulogd, which reportedly sends router identifiers and configuration details to a server.
- Owners analyzing samples found that a server can deliver a second program with tunnel and SOCKS5 proxy code and the ability to run commands, according to their analysis.
- The backdoor can persist through firmware updates when settings are kept. Reports found 41 different file hashes on 41 routers, limiting detection based only on known hashes.
- The installation path is unknown. Infected routers described in reports were bound to GoodCloud, but GL.iNet has not confirmed it as the entry point.
- Reported server names include lede-openproject[.]org, adxinsight[.]com, openwrt-project[.]org, adguardns[.]com and adguardns[.]org; the article says they imitate AdGuard and OpenWrt names.
- The article advises checking routers over SSH, reflashing firmware with settings preservation off, rotating router and VPN credentials, and disabling GoodCloud if remote management is not needed.
Article Details
- Attack Vectors
- The route by which the backdoor was installed is unknown. All infected routers described in the reports were bound to GoodCloud; a community advisory suggested the cloud service as a possible entry point, but GL.iNet had not confirmed this.
- The backdoor modifies /etc/init.d/urandom_seed to run a compiled Lua program, which reports router details to its server and can receive a second program to run.
- On most infected routers, the backdoor adds its files to /lib/upgrade/keep.d/netifd, allowing them to persist through firmware updates when settings are kept.
- Defensive Notes
- Check whether /etc/init.d/urandom_seed differs from /rom/etc/init.d/urandom_seed, whether /bin/ulogd or /usr/bin/monitord exists, and whether monitord or ujaild is running.
- If the backdoor is found, the article advises reflashing firmware with “Keep settings” off, setting up the router manually, changing exposed credentials and VPN keys, and blocking the five reported server domains.
- Disable GoodCloud if remote management is not needed and check again after firmware updates. The community detection script reports the older backdoor but does not remove it.
Indicators of compromise
| Type | Indicator | Context |
|---|---|---|
| DOMAIN | adguardns[.]com | Domain identified as a server name called by the newer backdoor loader. |
| DOMAIN | adguardns[.]org | Domain identified as a server name called by the newer backdoor loader. |
| DOMAIN | adxinsight[.]com | Domain identified as a server name called by the older backdoor loader. |
| DOMAIN | lede-openproject[.]org | Domain identified as a server name called by the older backdoor loader. |
| DOMAIN | openwrt-project[.]org | Domain identified as a server name called by the older backdoor loader. |
MITRE ATT&CK
T1037.004 · RC ScriptsThe backdoor modifies the router's /etc/init.d/urandom_seed startup script to run its Lua program.T1041 · Exfiltration Over C2 ChannelThe backdoor sends router serial number, MAC address, model, firmware version, and DDNS name to its server.T1059.004 · Unix ShellThe first owner's analysis says the server operator can run commands and open a terminal on the router.T1070.006 · TimestompThe community script maintainer warns that the attacker sets file dates to the firmware build date to blend in.T1090 · ProxyThe second program contains code for a SOCKS5 proxy, which can route the operator's traffic through the router.T1105 · Ingress Tool TransferThe backdoor server can send a second program to the router, which runs as ujaild from a temporary file.
Vendors
Products
Brume 2Brume 2 routers (GL-MT2500) stand out, with 18 of the 32 infected devices in the script’s anonymous reports and 17 of the 19 RemoteToHome checked.GL-AX1800An owner looking for traces of Friday’s attack on three routers found something else on a GL-AX1800 used as an access point.GL-MT2500Brume 2 routers (GL-MT2500) stand out, with 18 of the 32 infected devices in the script’s anonymous reports and 17 of the 19 RemoteToHome checked.GL-MT3000By Sunday morning, owners of a GL-X2000, a GL-MT3000, a Puli AX (GL-XE3000) and another GL-AX1800 had posted the same files.GL-X2000By Sunday morning, owners of a GL-X2000, a GL-MT3000, a Puli AX (GL-XE3000) and another GL-AX1800 had posted the same files.GL-XE3000By Sunday morning, owners of a GL-X2000, a GL-MT3000, a Puli AX (GL-XE3000) and another GL-AX1800 had posted the same files.GoodCloudWhat the reports have in common is GL.iNet’s cloud service, GoodCloud.Puli AXBy Sunday morning, owners of a GL-X2000, a GL-MT3000, a Puli AX (GL-XE3000) and another GL-AX1800 had posted the same files.
