ClingSTUN Linux Backdoor Turns IoT Devices Into STUN Proxies
ClingSTUN is a Linux backdoor that turns vulnerable internet-facing equipment into remotely controlled proxy nodes. Available reporting does not identify AI as part of its operation. The backdoor illustrates a durable security problem: attackers can exploit known flaws and repurpose ordinary devices at scale. A compromised router or camera may have little valuable data yet still provide access, command execution, or a relay point for someone else’s traffic.
FortiGuard Labs describes ClingSTUN as a back-connect proxy backdoor that uses public Session Traversal Utilities for NAT (STUN) infrastructure to learn externally mapped network addresses and ports and improve connectivity through NAT. Legitimate STUN services may also support normal VoIP and WebRTC, so a destination’s reputation alone cannot establish whether a connection is benign. The technical details below are attributed to FortiGuard Labs’ analysis, “ClingSTUN Linux Backdoor Abuses Public STUN Infrastructure”; HackRead’s account of the findings provides additional context.
What is reported about the campaign
The reporting attributes the technical analysis to FortiGuard Labs. The researchers say the actors used known, unpatched vulnerabilities in internet-facing devices and changed download infrastructure and entry points over time. The initially observed delivery involved CVE-2022-36553 in Hytec Inter HWL-2511-SS routers. Later activity included command injection in EnGenius Enshare IoT cloud service (CVE-2025-34035) and code injection involving D-Link UPnP SUBSCRIBE messages (CVE-2024-23625). FortiGuard’s published table lists additional flaws and products, including Linear, Realtek, TP-Link, Sunhillo, Ivanti, Tenda, Hytec, AVTECH, D-Link, MeiG, and Lantronix. This is a list reported by the researchers, not a claim that every product is affected by every listed CVE or that every vulnerable device is infected. (FortiGuard Labs; HackRead)
Examples in the FortiGuard table include Realtek SDK UDPServer (CVE-2021-35394), TP-Link Archer AX21 (CVE-2023-1389), AVTECH AVM1203 (CVE-2024-7029), D-Link account_mgr.cgi (CVE-2024-10915), and Lantronix EDS5000 (CVE-2025-67038). Other entries include CVE-2024-21887 and CVE-2023-46805 associated with Ivanti Connect Secure/Policy Secure, and several Linear and Hytec vulnerabilities. Product owners should consult the original advisory and their vendor’s current guidance to confirm applicability, firmware versions, and remediation. FortiGuard says its list reflects vulnerabilities known at the time of publication and that collection continued; a list of 24 should not be treated as a permanent ceiling. (FortiGuard Labs)
HackRead reports that FortiGuard found seven hardcoded exploits for propagation affecting products associated with China Mobile, KGUARD, Linksys, LB-LINK, MVPower, Realtek, and TBK. Exploit capability does not prove successful compromise of each product. Nor does reporting disclose the campaign’s total infection count, operator identity, or named victims. Those limits matter: defenders should use the technical indicators as leads, not infer a particular organization has been targeted solely because it owns a listed device. (HackRead)
STUN behavior: ordinary protocol, suspicious context
FortiGuard’s analysis says ClingSTUN opens a UDP socket on a randomly selected local port and sends standard 20-byte STUN binding requests. In the described versions, it contacts 24 public endpoints and requires at least half to succeed; a later evolution contacts 13 and requires every endpoint connection to succeed. After the binding exchange, it periodically sends a group identifier and mapped-port list to the same endpoints. The report says researchers did not find a separate registration server handling this part of the communication. These details are specifically attributed to FortiGuard’s analysis, not independently established measurements of every infection. (FortiGuard Labs)
STUN’s normal purpose is to help applications discover public address and port mappings across NAT. Its use by malware does not make the public servers malicious or mean that those services have been compromised. Instead, the defensive signal is behavioral and contextual: an embedded Linux device that has no business making recurring STUN requests, especially alongside unknown processes, unexplained outbound UDP, or altered boot files, deserves investigation. Network teams can establish a baseline for each device class and correlate DNS, destination, port, timing, and process telemetry where available. Avoid blanket blocking without understanding operational dependencies, since doing so may disrupt legitimate voice or video services.
Persistence, evasion, and device impact
FortiGuard reports that ClingSTUN copies itself to /root/.cling and /usr/local/bin/.cling, marks the copies executable, and appends launch commands to /etc/inittab, /etc/init.d/rcS, and /etc/rc.d/rc.boot. Those changes are intended to run the backdoor at startup, so a simple reboot is not a cleanup method. The same analysis describes interference with watchdog timers through /dev/watchdog or /dev/misc/watchdog, and process enumeration intended to find and kill competing malware. A later downloader also examines mounted filesystems and processes, according to the report. (FortiGuard Labs)
For evasion, FortiGuard says the malware clears its original command-line arguments so process tools may show an empty command line. When running as root, it can copy selected process information from /proc/1/ and bind-mount that material over its own /proc/<pid> directory, disguising process details as init-related information. Such behavior can make a single familiar tool insufficient for triage. These are technical claims from the FortiGuard report; defenders should preserve evidence and validate them against their device’s operating system and available telemetry rather than assume every variant exhibits every behavior. (FortiGuard Labs)
The malware samples analyzed support multiple Linux architectures, including ARM, Intel 80386, MIPS R3000, PowerPC, and AMD x86-64. That breadth reflects the diversity of Linux-based routers and embedded devices. Remote command execution and proxying can expose the owner to service disruption, further compromise, or abuse of their network reputation, even when the device stores no sensitive information. (FortiGuard Labs)
Practical security practices for IoT and Linux devices
As general defensive advice, inventory internet-facing routers, cameras, appliances, and embedded Linux systems; record their vendor, model, firmware, owner, and support status; and compare applicable products and vulnerabilities with vendor advisories. Apply trusted firmware updates, restrict public access to management interfaces and vulnerable services, and segment devices from business-critical systems. Plan replacement for equipment that is unsupported. These are general security recommendations, not campaign-specific instructions reported by FortiGuard Labs or HackRead.
For ClingSTUN-focused monitoring, FortiGuard reports files named /root/.cling and /usr/local/bin/.cling, startup changes in /etc/inittab, /etc/init.d/rcS, and /etc/rc.d/rc.boot, watchdog interference, and recurring STUN activity. Treat these reported behaviors as investigation leads, not proof of infection; the report describes malware behavior, and a STUN destination alone does not establish compromise. (FortiGuard Labs)
As general incident-response advice, isolate a suspected device, preserve relevant evidence, and rebuild or reflash it from a trusted vendor image before reconnecting it. Patch it first, rotate credentials it could access, and check adjacent systems for suspicious activity. Do not rely on a restart alone as remediation: FortiGuard reports startup persistence mechanisms for ClingSTUN. (FortiGuard Labs)
A measured response
ClingSTUN’s reported use of known vulnerabilities, startup persistence, and STUN-based communications makes device exposure and unexpected behavior useful priorities for investigation. (FortiGuard Labs; HackRead)
Available reporting does not identify AI as part of this operation. Keeping that distinction clear helps teams separate documented malware behavior from broader discussions of AI and cybersecurity threats. For practical preparation, consult trusted guidance such as CISA’s cybersecurity best practices and applicable vendor advisories, then tailor controls to the devices actually deployed.
clingstun linux backdoor turns iot devices into stun