Skip to navigation

Threat reportVulnerabilityTL-2026-6657

GL.iNet GoodCloud cloud-management flaw exploited to infect routers and KVM devices (ni.sh, gl-helper, gb implants)

highACTIVE

GL.iNet disclosed on 2026-11-20 that an unauthorized party exploited a vulnerability in its GoodCloud cloud remote management service to install malicious software on some GL.iNet routers and KVM devices. Infected devices show a ni.sh installer, gl-helper and gb payloads, root reverse shells, SSH key implants and a modified netstat that hides attacker connections; the cloud-side fix does not remove existing infections.

Key facts

IdentifiersTL-2026-6657
Also known asGL.iNet security notice 2026-11-20, CSA-2026-01
SeverityHIGH
First disclosed
Affected productsGL.iNet GoodCloud cloud remote management service; GL.iNet KVM devices (RM10, RM10RC, RM1, RM1V2, RM1PE, RM4PE, RMQ1); GL.iNet Routers (reported: GL-AXT1800, GL-AX1800, GL-MT2500, GL-MT3000, GL-MT5000, GL-MT6000, GL-MT3600BE)
Weaknesses (CWE)CWE-78
ToolsNetcat, nc (netcat)
MITRE ATT&CK techniquesT1036.004 Masquerade Task or Service, T1037.004 RC Scripts, T1053.003 Cron, T1059.004 Unix Shell, T1059.011 Lua, T1070.006 Timestomp, T1082 System Information Discovery, T1095 Non-Application Layer Protocol, T1098.004 SSH Authorized Keys, T1190 Exploit Public-Facing Application, T1564 Hide Artifacts
MotivationUNKNOWN
Target sectorsconsumer, small-business, remote-workers, infrastructure
Target regionsGlobal
Detection rules9 (1 shown free)
Sources10 cited sources

Detection coverage

As of 2026-11-22, Threadlinqs Intelligence publishes 9 detection rule(s) for TL-2026-6657 across Splunk SPL, Microsoft KQL and Sigma, covering 19 indicator(s) of compromise. The whole corpus is readable without an account. Every threat comes with one complete detection in Splunk SPL, Microsoft KQL and Sigma, free for everyone; a free account adds daily TL Creds to unlock the rest. Paid plans add a larger daily allowance, correlation and the MCP server. Threadlinqs MCP server · View plans.

Free detection: GL.iNet GoodCloud virtual_ip_info Command Injection and mkfifo/nc Root Reverse Shell (TL-2026-6657)

Detects the router-side exploitation chain for the GL.iNet GoodCloud compromise: an SDWAN_IP_MAPPING iptables command carrying shell metacharacters (command injection via the virtual_ip_info handler, CWE-78), the root mkfifo /tmp/f + nc reverse shell loop, or any reference to the reverse-shell server 170.39.226.219. Behaviour-first: fires on injected iptables syntax or the FIFO/netcat shell regardless of destination, with the C2 IP as a corroborating signal.

  • Languages: Splunk SPL, Microsoft KQL, Sigma
  • ATT&CK: T1190, T1059.004
  • Data sources: linux:audit, syslog, DeviceProcessEvents
  • Severity: critical
  • Confidence: high

Splunk SPL

index=linux earliest=-24h (sourcetype=linux:audit OR sourcetype=syslog) ("SDWAN_IP_MAPPING" OR "mkfifo" OR "170.39.226.219") | eval injected_iptables=if(match(_raw,"SDWAN_IP_MAPPING.*(;|[|][|]|&&|[$])"),1,0), fifo_nc_shell=if(match(_raw,"mkfifo[ ]+/tmp/f") AND match(_raw,"[ /]nc[ ]"),1,0), c2_ip=if(match(_raw,"170[.]39[.]226[.]219"),1,0) | where injected_iptables=1 OR fifo_nc_shell=1 OR c2_ip=1 | stats count min(_time) as first_seen max(_time) as last_seen sum(injected_iptables) as injected_iptables sum(fifo_nc_shell) as fifo_nc_shell sum(c2_ip) as c2_ip by host | convert ctime(first_seen) ctime(last_seen)

Microsoft KQL

union (DeviceProcessEvents | where Timestamp > ago(24h) | where ProcessCommandLine matches regex @'SDWAN_IP_MAPPING.*(;|[|][|]|&&|[$])' or (ProcessCommandLine has 'mkfifo' and ProcessCommandLine has '/tmp/f' and ProcessCommandLine has 'nc ') or ProcessCommandLine has '170.39.226.219' | project TimeGenerated = Timestamp, Host = DeviceName, Detail = ProcessCommandLine, Source = 'DeviceProcessEvents'), (Syslog | where TimeGenerated > ago(24h) | where SyslogMessage matches regex @'SDWAN_IP_MAPPING.*(;|[|][|]|&&|[$])' or (SyslogMessage has 'mkfifo' and SyslogMessage has '/tmp/f') or SyslogMessage has '170.39.226.219' | project TimeGenerated, Host = Computer, Detail = SyslogMessage, Source = 'Syslog') | sort by TimeGenerated desc

Sigma

title: GL.iNet GoodCloud virtual_ip_info Command Injection and Root Reverse Shell
id: 6f1c2a54-8b3d-4e07-9a61-5d2e7c0b1a01
status: experimental
description: Detects injected SDWAN_IP_MAPPING iptables commands from the GoodCloud virtual_ip_info handler, the mkfifo /tmp/f + nc root reverse shell loop, and references to the reverse-shell server 170.39.226.219 (TL-2026-6657).
references:
  - https://www.gl-inet.com/en-us/blogs/blog/glinet-security-notice-2026-11-20
  - https://github.com/RemoteToHome-io/gl-security-incident-2026
  - https://www.bleepingcomputer.com/news/security/hackers-exploit-glinet-cloud-flaw-to-infect-routers-kvm-devices/
author: Threadlinqs Team
date: 2026-11-22
tags:
  - attack.initial-access
  - attack.t1190
  - attack.execution
  - attack.t1059.004
logsource:
  category: process_creation
  product: linux
detection:
  selection_inject:
    CommandLine|contains: 'SDWAN_IP_MAPPING'
    CommandLine|re: 'SDWAN_IP_MAPPING.*(;|[|][|]|&&|[$])'
  selection_fifo:
    CommandLine|contains|all:
      - 'mkfifo'
      - '/tmp/f'
      - 'nc '
  selection_c2:
    CommandLine|contains: '170.39.226.219'
  condition: 1 of selection_*
falsepositives:
  - Legitimate AstroWarp/SD-WAN iptables rules that contain no shell metacharacters (excluded by the regex)
  - Administrators using mkfifo with nc for ad-hoc troubleshooting
level: critical

Known false positives:

  • Administrators using mkfifo with nc for ad-hoc troubleshooting on lab devices
  • Legitimate AstroWarp/SD-WAN iptables rule changes that happen to contain a dollar sign in a shell variable

Tuning notes: Ensure auditd EXECVE records (or EDR command lines) from GL.iNet routers and Linux hosts are forwarded to index=linux; adjust index/sourcetype to your environment. Exclude documented lab hosts that legitimately use mkfifo/nc. Any hit on the c2_ip flag should be treated as confirmed compromise.

8 more detection rules (Splunk SPL, Microsoft KQL, Sigma) · unlock with TL Creds. Sign up free to unlock the detection rules or query them with the Threadlinqs MCP server (Purple and Gold in full, 2 calls a day on a free account)
  • [indicator] Installer and [indicator]/gb Implant Download and Staging on GL.iNet Devices · unlock with TL Creds
  • GL.iNet Implant Persistence via urandom_seed, keep.d/netifd, Cron and Lua Payload · unlock with TL Creds
  • Raw TCP Reverse-Shell and C2 Beaconing to GL.iNet Compromise Infrastructure with Retry Pattern · unlock with TL Creds
  • GL.iNet GoodCloud State File [indicator] and [indicator] Implant Check Reported to [indicator] · unlock with TL Creds
  • GL.iNet Implant SSH Key Implant, Timestomping and netstat Replacement Hiding [indicator] · unlock with TL Creds
  • Outbound Residential-Proxy and TRON API Contact Pattern from Infected GL.iNet Edge Devices · unlock with TL Creds
  • GL.iNet Implant Process Masquerading as crond (crond -i /tmp/.log) and monitord/ujaild Backdoor · unlock with TL Creds
  • Network Connections to GL.iNet Compromise Infrastructure ([indicator], [indicator], [indicator]) · unlock with TL Creds

Indicators of compromise

As of 2026-11-22, Threadlinqs Intelligence tracks 19 indicators of compromise for TL-2026-6657.

Sample indicators (3 of 19)

  • IP address: 170.39.226[.]219
  • Domain: szlsntvpnxxx04[.]top
  • File hash: 36e04e10b4667e59b0a3a25147b032dc038c5a9971a7df88be80f8882e30dd87

Defanged, TLP:CLEAR. Full set of 19 indicators: unlock with TL Creds.

19 indicators of compromise · unlock with TL Creds. Compare plans

Technical analysis

On 2026-11-20 GL.iNet identified a vulnerability in its cloud remote management services (GoodCloud) and stated that an unauthorized party used it to access and install malicious software on some routers and KVM devices. The vendor has not named a CVE, the vulnerability class, the exploit method, or the malware family. It says it fixed the cloud flaw and blocked the access used, so devices cannot be newly infected through this path, but that these measures do not remove malware from devices already infected. Whether computers connected to infected KVMs were affected is under investigation. GL.iNet's only published indicator is a running process whose command line is 'crond -i /tmp/.log'.

Per BleepingComputer, a GL-RM1 KVM owner's logs (2026-11-19) show the device downloading a malicious ni.sh script and additional executables (gl-helper and gb) from hardcoded servers; 66.245.219.252 is the download/C2-related address and 65.20.71.131 appears in the same logs. The malware disguises its process, establishes persistence via startup scripts and scheduled tasks (restarting after reboot or process kill), installs attacker SSH public keys, modifies file timestamps, polls a remote server for commands, and replaces netstat with a shell script that filters out connections to 66.245.219.252. On a GL-MT2500 router a modified urandom_seed startup script launched a malicious Lua payload that collects device information, contacts remote servers and downloads further programs. Root-level reverse shells using the Linux nc utility connected to 170.39.226.219. The ni.sh script contains Chinese-language developer comments; this is not attribution. A forum user also reported contact with roughly 1,800 residential IPs per day and the TRON blockchain API; the purpose (proxy network, botnet, P2P) is unconfirmed.

Independent community analysis by RemoteToHome Consulting (not an official GL.iNet page; live document) reports a probable root cause on the router side: the GoodCloud client (package gl-sdk4-cloud) builds an iptables command from two cloud-supplied values and passes it to a root shell without validation or quoting, in the handler for the AstroWarp/SD-WAN command virtual_ip_info, and it runs even when AstroWarp is disabled. The code was found in firmware from GL-MT3000 4.7.0 (2024-12-05) onward. GL.iNet has not confirmed this as the exploited flaw, and how the attacker reached the cloud channel is unknown. On affected routers the injected command opened a root reverse shell (mkfifo /tmp/f, /bin/sh -i, nc 170.39.226.219 <port>, retry loop every 3 seconds) or, on most, ran a one-off command that checks for the KVM implant folders (gl-helper) and sends the result to 170.39.226.219. Separately, an older persistent backdoor (processes monitord and ujaild, /bin/ulogd, edits to /etc/init.d/urandom_seed and /lib/upgrade/keep.d/netifd; file dates 2025-09 to 2026-05) was found on 49 routers; its link to the November attack is unconfirmed. RemoteToHome's survey figures changed over time: BleepingComputer cites 183 routers analyzed with 152 showing suspicious activity (24 root reverse shells, 47 older backdoor, 81 attacker commands run); the repo's latest update (2026-11-22) lists 199 routers reached, 166 with signs (24 shells, 49 older backdoor, 93 command-only). The sample is not random.

Remediation: install stable security firmware (KVM RM10/RM1/RM1V2/RM1PE/RM4PE 1.10.3+, RMQ1 1.8.7+; router firmware scheduled 2026-11-22), check for the crond -i /tmp/.log process, preserve evidence before resetting, reinstall firmware without keeping settings (config directories can carry persistence across upgrades), factory reset infected KVMs, rotate all credentials/keys/VPN peers stored on the device, and inspect computers attached to infected KVMs.

MITRE ATT&CK techniques by tactic:

Defense Evasion

T1036.004 Masquerade Task or Service; T1070.006 Timestomp; T1564 Hide Artifacts

Persistence

T1037.004 RC Scripts; T1053.003 Cron; T1098.004 SSH Authorized Keys

Execution

T1059.004 Unix Shell; T1059.011 Lua

Discovery

T1082 System Information Discovery

Command and Control

T1095 Non-Application Layer Protocol

Initial Access

T1190 Exploit Public-Facing Application

Remediation

Patches

  • KVM RM10, RM1, RM1V2, RM1PE, RM4PE: firmware 1.10.3 or later
  • KVM RM10RC: 1.10.3 beta or later
  • KVM RMQ1: 1.8.7 or later
  • Routers: latest security firmware for the specific model (stable build scheduled 2026-11-22)

Immediate actions

  • Check routers/KVMs for a process with command line 'crond -i /tmp/.log' (LuCI Status > Processes, or SSH 'ps | grep tmp'; KVM Toolbox > Terminal: 'ps -aux | grep tmp', RMQ1: 'ps -a | grep tmp')
  • Preserve evidence (process list, /tmp/f, /etc/mp_ip_mapping_info) before rebooting or upgrading
  • Block 170.39.226.0/24, 66.245.219.252 and 65.20.71.131 at the perimeter and hunt for historical connections
  • Do not run netstat on suspect devices; verify 'ls -l /bin/netstat' links to busybox
  • Rotate credentials, SSH keys and VPN peers stored on or reachable from affected devices
  • Inspect computers connected to infected KVMs for unfamiliar programs, accounts, extensions, startup items and scheduled tasks

Workarounds

  • Infected KVM: install the security beta (RM-series 1.10.2 beta+, RMQ1 1.8.6 beta+) or factory reset
  • Reinstall firmware with Keep Settings disabled; do not restore possibly infected configurations
  • Community-reported: stop and disable gl-cloud (/etc/init.d/gl-cloud stop; uci set gl-cloud.@cloud[0].enable='0'; uci commit gl-cloud; /etc/init.d/gl-cloud disable)

Longer-term hardening

  • Disable GoodCloud remote management where not required
  • Restrict management-plane exposure and monitor outbound connections from edge devices
  • Use the community scanner at https://gl-i.net/security/csa-2026-01/fix/ and upload the anonymous report as GL.iNet requested

Affected and fixed versions

  • GL.iNet — GoodCloud cloud remote management service
    Vulnerable versions: Cloud service prior to 2026-11-20 fix
    Fixed in: Server-side fix applied by vendor; existing infections not removed
  • GL.iNet — KVM devices (RM10, RM10RC, RM1, RM1V2, RM1PE, RM4PE, RMQ1)
    Vulnerable versions: Devices infected via GoodCloud; RM1 1.10.2 without boot-time cleanup
    Fixed in: RM10/RM1/RM1V2/RM1PE/RM4PE 1.10.3+; RM10RC 1.10.3 beta+; RMQ1 1.8.7+
  • GL.iNet — Routers (reported: GL-AXT1800, GL-AX1800, GL-MT2500, GL-MT3000, GL-MT5000, GL-MT6000, GL-MT3600BE)
    Vulnerable versions: Community-reported unchecked GoodCloud client code in firmware from 4.7.0 (GL-MT3000, 2024-12-05) through 4.11.0
    Fixed in: Latest model-specific security firmware (scheduled 2026-11-22)

Timeline

  • GL-MT3000 firmware 4.7.0 released; earliest firmware RemoteToHome found containing the unvalidated GoodCloud client iptables command construction (absent in 4.6.9)
  • Earliest file date of an older persistent router backdoor (monitord/ujaild, locked-ioc-14) found on RemoteToHome routers; link to the November attack unconfirmed
  • Older backdoor reached 11 routers on 11 networks, six within 14 minutes, suggesting batch installation (BleepingComputer also notes December 2025 file timestamps of unclear relation)
  • A compromised GL-RM1 KVM owner's logs show download of malicious locked-ioc-16 and additional executables (gl-helper, gb) from attacker servers
  • GL.iNet publishes security notice identifying a cloud remote management vulnerability, states the access path was blocked, and publishes the 'crond -i /tmp/.log' indicator and KVM security beta firmware
  • From about 20:46 UTC the injected GoodCloud command ran on routers; reverse shells to locked-ioc-10 started on AXT1800 and MT6000 devices (about 20:46 to 21:40 UTC)
  • GL.iNet notice last updated; forum reports describe the router remote-shell behavior
  • RemoteToHome reports abuse to the hosting provider of locked-ioc-10 (17:24 UTC); provider suspends the server around 20:54 UTC and preserves data
  • GL.iNet schedules stable router and KVM firmware with security fixes (KVM 1.10.3+/1.8.7+); BleepingComputer publishes coverage

Sources cited

Drafted by the Threadlinqs research pipeline from 10 sources; published ; last updated —.

Threadlinqs Intelligence — Real-Time Threat Detection Platform

// threat_feed
$ sort --newest
Showing all threats

Live intelligence console

Threat level

Latest Threats