GL.iNet cloud flaw used to infect routers
GL.iNet
Summary
GL.iNet disclosed on November 20 that attackers exploited a flaw in its GoodCloud remote management service to infect customers’ routers and KVM devices with custom malware, BleepingComputer reported on November 22. The malware set up persistence, hid its connections and could run remote commands. The company said the cloud flaw was fixed on November 20 but that the fix doesn’t clean infected devices. On December 4 GL.iNet said root reverse shells seen on devices on November 20 and 21 came from its own remediation work, a claim researchers dispute. No attacker has been named.
GL.iNet said in a November 20 security advisory that attackers had exploited a vulnerability in its GoodCloud remote management service to install custom malware on customers’ home and travel routers and on KVM devices such as the RM1, RM10 and RM4PE, BleepingComputer reported on November 22. A script named ni.sh downloaded further executables, set up startup persistence, disguised itself as a crond process, replaced the netstat utility to hide connections and could install SSH keys. Some devices also had root-level reverse shells. The company said the attack path was blocked but that the fix doesn’t remove malware from infected devices, and it promised to email affected customers.
RemoteToHome Consulting found suspicious activity on 152 of the 183 routers it manages, though BleepingComputer noted not all of that may relate to the November attacks. No attacker has been confirmed.
In a December 4 update, GL.iNet said connections to IP address 170.39.226.219 between November 20 and 21, including some reverse shells, were part of its own investigation and remediation, and apologized for confusion. It said attackers had exploited a permission configuration error in GoodCloud’s messaging service. RemoteToHome disputes parts of this, saying the company used the same command-injection flaw as the attackers over unencrypted connections, but found no evidence that third parties hijacked them. GL.iNet hasn’t said how many devices were compromised and has engaged an independent firm and a legal-counsel-led forensic investigation.
Sources
Summary of published news reports, linked above. GL.iNet has no connection to Loop Data.