Dev.to Security πŸ” Cybersecurity πŸ‘ 0 πŸ“– 5 min read

Researchers Report Malware Patterns on GL.iNet Routers and KVMs That Official Indicators Miss

GL.iNet's GoodCloud remote management service was abused to install malware on routers and remote KVM devices. The manufacturer provided one indicator of compromise, but an independent investigation found multiple infect

Researchers Report Malware Patterns on GL.iNet Routers and KVMs That Official Indicators Miss

GL.iNet's GoodCloud remote management service was abused to install malware on routers and remote KVM devices. The manufacturer provided one indicator of compromise, but an independent investigation found multiple infections that passed that check.

Key points

  • What happened: A vulnerability in GL.iNet's GoodCloud management service was exploited to install malware on routers and KVM devices
  • Why it matters: An independent investigation found traces on 166 of 199 devices, but the manufacturer's official indicator detected none of them
  • Recovery warning: A firmware update may leave malicious files behind, requiring a reset that does not preserve settings and changes to stored credentials

The official detection method and the infections it misses

On November 20, GL.iNet acknowledged that a vulnerability in its GoodCloud remote management service had been exploited by an unauthorized third party. Malware was installed on some routers and KVM devices, which remotely relay keyboard, video, and mouse controls.

The cloud-side path used in the attack has been blocked, so no new infections can occur through that route. However, malware is not automatically removed from devices that are already infected. The manufacturer's official guidance asks users to check whether a running process contains the string crond -i /tmp/.log. If this indicator is not found, it says that cleanup is unnecessary unless there is another reason to suspect infection.

The problem is the limit of detection based on a single indicator. RemoteToHome Consulting, which publishes security research, examined 199 GL.iNet routers that it owns or manages. In a report current as of 11:23 p.m. UTC on November 22, it said that 166 devices showed signs of the attack or a previously existing backdoor. The process identified by GL.iNet's published indicator was not found on any of the routers examined.

In other words, devices that the official detection method judged "healthy" included routers that had granted external parties root access.

What the survey of 199 devices shows

According to RemoteToHome, the 166 devices break down as follows: 24 had root-level reverse shells, connections that permit remote control from outside; 49 had backdoors that predated the November 20 attack; and the remaining 93 showed evidence that externally supplied commands had executed with root privileges.

The study covers devices under the researchers' management and is not a random sample from which the infection rate of all GL.iNet products can be estimated. File dates for the older backdoors found on 49 devices range from September 2025 to May 2026, but it has not been established whether they were installed through the path involved in this incident.

The same researcher analyzed the cloud management client's code and reported finding a function that passes a value received from the cloud into a root shell command without validation. If GoodCloud is enabled, this function can be reached even when AstroWarp, the company's SD-WAN service, is not in use. The analysis covered firmware versions 4.7.0 through 4.11.0 for the GL-MT3000. The vulnerable code first appeared in version 4.7.0, released on December 5, 2024. GL.iNet has not confirmed whether this specific function was actually used in the November 20 attack.

Figure omitted β€” see the original article

In the fixed firmwareβ€”version 4.11.1 for the GL-MT3000, as analyzed by RemoteToHomeβ€”input validation was added to the affected handler. However, the researcher reports that another weakness remains unfixed in the cloud client. It was reported to GL.iNet on November 22, and details have not been disclosed.

Malware behavior

According to BleepingComputer, an installation script recovered from an infected device downloaded executables called gl-helper and gb from an external server and registered startup scripts and scheduled tasks to maintain persistence after a reboot.

The concealment technique is particularly notable. The netstat command, which displays network status, was replaced with a modified version that excluded connections to specific IP addresses from its output. Even if an administrator examined network connections, the malware's destination would not appear in the list. The script reportedly contained developer comments in Chinese.

Another owner of a GL-RM1 KVM reported that the infected KVM made daily connections to roughly 1,800 residential IP addresses. However, the specific purpose of this traffic remains unknown, and no evidence has confirmed use as a residential proxy or botnet.

What recovery requires

GL.iNet has released security firmware for routers and KVMs. The thresholds listed for KVMs on the official forum are version 1.10.3 or later for the RM10, RM1, RM1V2, RM1PE, and RM4PE; version 1.10.3 beta or later for the RM10RC; and version 1.8.7 or later for the RMQ1. Router owners need to check the latest security firmware for their specific model.

The important point is that patching the vulnerability and recovering an infected device are separate tasks. According to RemoteToHome's analysis, the automatic repair process at startup in the fixed firmware restores only some files modified by the older backdoor. It does not remove additional files or persistence settings created by the backdoor itself. Updating while preserving settings may carry malicious files forward unchanged.

Figure omitted β€” see the original article

Devices suspected of infection require firmware reinstallation or a reset without preserving settings. A backup made while the device was infected should not be restored as-is. Passwords, SSH keys, and VPN credentials stored on the device must be treated as potentially exposed, and the credentials must be changed or revoked on connected services and servers as well.

If a KVM device is compromised, the impact may extend beyond the KVM itself. A KVM remotely controls a connected PC, so unauthorized access to or configuration changes on that PC must also be considered. GL.iNet continues to investigate the impact on connected PCs.

GL.iNet introduces remote KVM products including the Comet series on its Japanese-language site, showing that the products have users in Japan as well.

GL.iNet

No specific number of affected devices in Japan has been confirmed. For devices with GoodCloud remote management enabled, checks should consider independent research findings in addition to the manufacturer's update guidance. This investigation shows that a device is not necessarily safe simply because it passes the official indicator check.

Originally published on Joho no Todai. The Japanese original is here.

πŸ“° Read the original article on Dev.to Security

Originally published by Dev.to Security. Aggregated on AIWithGhost for educational purposes β€” full credit and traffic to the original publisher.