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

· Original article ↗

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

TypeIndicatorContext
DOMAINadguardns[.]comDomain identified as a server name called by the newer backdoor loader.
DOMAINadguardns[.]orgDomain identified as a server name called by the newer backdoor loader.
DOMAINadxinsight[.]comDomain identified as a server name called by the older backdoor loader.
DOMAINlede-openproject[.]orgDomain identified as a server name called by the older backdoor loader.
DOMAINopenwrt-project[.]orgDomain identified as a server name called by the older backdoor loader.

MITRE ATT&CK

Vendors

Products

Related Articles