Threat actors are actively attempting to exploit a now-patched critical vulnerability in the Realtek Jungle SDK to deploy a new botnet malware family called Cling — and its command-and-control design should concern every defender monitoring network edge devices. Rather than introducing a novel exploit, Cling weaponizes ordinary STUN (Session Traversal Utilities for NAT) traffic — the same protocol used by WebRTC, VoIP, and video conferencing — as a practical, low-noise C2 channel. If your network includes Realtek-based SOHO routers, gateways, or IoT devices, this campaign is directly relevant to you.
Introduction: Old Bug, New Botnet, Dangerous Trick
According to reporting from Nozomi Networks, exploitation attempts targeting the Realtek Jungle SDK are being observed in the wild delivering Cling. The Jungle SDK is embedded in an enormous installed base of consumer and small-office networking hardware — routers, repeaters, and gateways built on Realtek chipsets by dozens of OEMs. Many of these devices are end-of-life, unmanaged, sitting on flat network segments, or — worst of all — serving as the boundary device for small business and home networks.
The vulnerability itself is patched, but patching in the IoT/embedded world is a fiction for much of the installed base. Devices ship with the vulnerable SDK baked into firmware, OEMs stop publishing updates years before the hardware dies, and consumers never apply updates even when they exist. That makes legacy SDK flaws a renewable resource for botnet operators.
What makes Cling worth your attention is not the exploit — it is the C2. As Nozomi put it: "Cling is notable not because it introduces a new propagation technique, but because it repurposes ordinary STUN behavior into a practical command-and-control channel." STUN rides over UDP port 3478 (and frequently high-UDP ephemeral ports), is ubiquitous in modern networks thanks to WebRTC, Teams, Zoom, and SIP, and is almost never inspected or alerted on. That is precisely why the operators chose it.
Technical Analysis
Affected Products and Platforms
- Affected component: Realtek Jungle SDK — the software development kit underpinning firmware for Realtek-based networking SoCs.
- Affected devices: SOHO routers, wireless gateways, repeaters, and embedded devices from multiple OEMs that built firmware on vulnerable Jungle SDK versions. Branding varies widely; the SDK is the common denominator.
- Patch status: The flaw is patched by Realtek, but patched firmware availability depends entirely on each OEM, and many affected models are past end-of-support. Treat the installed base as largely unpatchable.
No CVE identifier was provided in the source reporting for this campaign, and we will not speculate on one. The defensive value here does not depend on the CVE number — it depends on detecting exploitation behavior and C2 traffic, both of which are observable today.
Attack Chain (Defender's View)
- Reconnaissance and exploitation: Internet-facing scanning identifies devices exposing the vulnerable Jungle SDK management components — typically embedded web management interfaces (commonly Boa/httpd-based handlers under
/boaform/) and proprietary UDP management services. Realtek-based devices have historically exposed a UDP management daemon (commonly on UDP 9034) that accepts unauthenticated commands — this class of service is the classic exploitation surface for Jungle SDK flaws. - Payload staging: On successful exploitation, the device is instructed to fetch and execute the Cling payload — typically via
wget,curl, ortftpinvoked through the injected command, writing to a writable filesystem location such as/tmpon the embedded Linux environment. - Persistence: Embedded devices offer limited persistence options; botnets typically rely on reinfection, cron entries, or startup script modification where the filesystem permits.
- Command and control: Cling establishes C2 by abusing STUN — crafting traffic that blends with legitimate NAT-traversal behavior over UDP 3478. Because STUN is expected, bidirectional, and largely uninspected, this channel evades most default egress policies and many IDS signatures.
Exploitation Status
- Confirmed active exploitation attempts in the wild — this is not theoretical. Nozomi Networks observed live exploit attempts delivering Cling.
- The vulnerability is patched upstream but the exploitable installed base remains enormous due to OEM firmware lag and EOL hardware.
- Why STUN-based C2 matters operationally: Egress rules that block unknown ports but permit UDP 3478 (common in organizations supporting VoIP/WebRTC) will silently pass this C2. Network monitoring tuned only for HTTP(S) C2 will miss it entirely.
Detection & Response
This is a technical threat, and the detection surface splits into two layers: (1) exploitation attempts against Realtek devices visible in firewall/IDS/web proxy telemetry, and (2) STUN-based C2 visible in network flow, firewall, and DNS telemetry. Since these are embedded devices without endpoint agents, your detection weight should sit on the network layer — perimeter firewalls, NGFW logs, and NetFlow/Zeek data ingested into your SIEM.
A note on fidelity: STUN is legitimate traffic. A naive "alert on UDP 3478" rule will be disabled within a week. The high-fidelity signals are STUN traffic originating from network segments that have no business doing NAT traversal (IoT/router VLANs, infrastructure subnets, the routers themselves), STUN to non-allowlisted destinations, and management-plane traffic (UDP 9034, /boaform/ requests) arriving from the WAN.
---
title: WAN-Side Exploitation Attempt Against Realtek Jungle SDK Management Interfaces
id: 8f2c1a94-3b6d-4e57-a9c1-7d0e2f5a8b3c
status: experimental
description: Detects inbound requests targeting Realtek Jungle SDK management endpoints (Boa form handlers) or the Realtek UDP management service from external sources, consistent with Cling botnet exploitation attempts observed by Nozomi Networks.
references:
- https://thehackernews.com/2026/10/realtek-jungle-sdk-exploit-attempts.html
- https://attack.mitre.org/techniques/T1190/
author: Security Arsenal
date: 2026/10/20
tags:
- attack.initial_access
- attack.t1190
logsource:
category: webserver
product: zeek
detection:
selection_uri:
uri|contains:
- '/boaform/'
- 'formLogin'
- 'formWsc'
- 'formWlanSetup'
selection_injection:
uri|contains:
- '%3B'
- ';'
- '|'
- '$(('
- 'wget'
- 'curl'
- 'tftp'
- '/tmp/'
condition: selection_uri and selection_injection
falsepositives:
- Legitimate router administration from the LAN side (scope detection to WAN-sourced traffic at the perimeter)
level: high
---
title: STUN Traffic From Non-VoIP Infrastructure or IoT Segments
id: 3d7e5b12-9c4f-4a68-b2d8-6e1f0a3c5d7e
status: experimental
description: Detects outbound STUN (UDP 3478) connections sourced from network infrastructure, IoT, or OT segments where no legitimate WebRTC/VoIP workload exists — consistent with Cling malware abusing STUN as a covert C2 channel.
references:
- https://thehackernews.com/2026/10/realtek-jungle-sdk-exploit-attempts.html
- https://attack.mitre.org/techniques/T1102/
author: Security Arsenal
date: 2026/10/20
tags:
- attack.command_and_control
- attack.t1102
- attack.t1573
logsource:
category: network_connection
detection:
selection:
DestinationPort: 3478
Protocol: udp
filter_legit_segments:
SourceIp|cidr:
- '10.10.50.0/24' # VoIP handset VLAN - adjust to your environment
- '10.10.60.0/24' # User workstation VLAN with WebRTC - adjust
condition: selection and not filter_legit_segments
falsepositives:
- Mis-segmented endpoints; validate source VLAN/segment inventory before tuning
level: medium
---
title: External UDP Probing of Realtek Management Service Port 9034
id: 5b9a2e47-1f8c-4d36-a7e2-4c9d0b6f1a28
status: experimental
description: Detects inbound UDP traffic to port 9034, the Realtek management service historically abused for unauthenticated command execution on Jungle SDK devices. WAN-sourced traffic to this port is anomalous in virtually all environments.
references:
- https://thehackernews.com/2026/10/realtek-jungle-sdk-exploit-attempts.html
- https://attack.mitre.org/techniques/T1046/
author: Security Arsenal
date: 2026/10/20
tags:
- attack.discovery
- attack.t1046
- attack.initial_access
logsource:
category: firewall
detection:
selection:
DestinationPort: 9034
Protocol: udp
Action: allowed
falsepositives:
- ISP-managed CPE where the provider legitimately manages the device (verify and allowlist the provider management range)
level: high
For Microsoft Sentinel environments ingesting firewall and syslog telemetry (CEF via CommonSecurityLog, or raw Syslog), the following hunts cover both the exploitation surface and the STUN C2 anomaly. Adjust the segment filters to your addressing plan.
// Hunt 1: Outbound STUN (UDP 3478) from infrastructure/IoT segments - potential Cling C2
// Tune the excluded prefixes to your known VoIP/WebRTC user segments
let VoipSegments = dynamic(["10.10.50.0/24", "10.10.60.0/24"]);
CommonSecurityLog
| where TimeGenerated > ago(7d)
| where DestinationPort == 3478
| where ipv4_is_private(SourceIP)
| where not (ipv4_is_in_any_range(SourceIP, VoipSegments))
| summarize ConnectionCount = count(),
UniqueDestinations = dcount(DestinationIP),
Destinations = make_set(DestinationIP, 25),
FirstSeen = min(TimeGenerated),
LastSeen = max(TimeGenerated)
by SourceIP, DeviceVendor, DeviceProduct
| order by ConnectionCount desc;
// Hunt 2: Inbound WAN probing of Realtek management surfaces (UDP 9034 / boaform URIs)
CommonSecurityLog
| where TimeGenerated > ago(7d)
| where DestinationPort == 9034 or AdditionalExtensions has_any ("boaform", "formWsc", "formLogin")
| where not (ipv4_is_private(SourceIP))
| summarize AttemptCount = count(),
UniqueSources = dcount(SourceIP),
Sources = make_set(SourceIP, 25),
FirstSeen = min(TimeGenerated),
LastSeen = max(TimeGenerated)
by DestinationIP, DestinationPort
| order by AttemptCount desc;
// Hunt 3: Syslog telemetry from embedded devices showing payload staging commands
Syslog
| where TimeGenerated > ago(7d)
| where SyslogMessage has_any ("wget", "curl", "tftp", "/tmp/", "chmod +x")
| where HostIP has_any ("router", "gw", "cpe") or Computer has_any ("router", "gateway")
| project TimeGenerated, Computer, HostIP, SyslogMessage, ProcessName
| order by TimeGenerated desc;
For any Linux-based gateway or jump host where you can run Velociraptor (and for validating endpoints that may be relaying STUN abnormally), this artifact surfaces processes holding UDP 3478 sessions that have no legitimate NAT-traversal business case.
-- Hunt for processes with active STUN (UDP 3478) connections from unexpected binaries
-- Legitimate: browsers, Teams, Zoom, SIP softphones. Flag anything else.
LET legit_stun = ('chrome.exe', 'msedge.exe', 'firefox.exe', 'Teams.exe', 'ms-teams.exe', 'Zoom.exe', 'lync.exe')
SELECT Pid, Name, CommandLine, Exe, Username,
netstat().LocalAddr AS LocalAddr,
netstat().RemoteAddr AS RemoteAddr,
netstat().RemotePort AS RemotePort,
netstat().Status AS Status
FROM pslist()
WHERE netstat().RemotePort == 3478
AND Name NOT IN legit_stun
Network Hardening and Verification Script
Run this on a management host with access to your perimeter firewall and core infrastructure to audit exposure, inventory Realtek-based devices, and validate egress controls. Adjust object names and API details for your firewall platform.
#!/bin/bash
# Realtek Jungle SDK / Cling Botnet - Exposure Audit and Egress Hardening Checks
set -euo pipefail
echo "=== [1] Check for WAN-exposed Realtek management services (UDP 9034) ==="
# From an external vantage point, probe your own public ranges (replace x.x.x.x/yy)
# nmap -sU -p 9034 --open x.x.x.x/yy -oG realtek_udp9034_scan.txt
# grep "9034/open" realtek_udp9034_scan.txt && echo "[!] EXPOSED: Realtek mgmt service reachable from WAN" || echo "[OK] No WAN exposure on UDP 9034"
echo "=== [2] Check for WAN-reachable embedded web management (Boa/boaform) ==="
# nmap -p 80,443,8080 --open x.x.x.x/yy -oG edge_http_scan.txt
# For any open host: curl -sk --max-time 5 http://TARGET/boaform/admin/formLogin -o /dev/null -w "%{http_code}\n"
# A 200/401 response from WAN = device management plane exposed. Remediate immediately.
echo "=== [3] Egress control: restrict STUN (UDP 3478) to approved segments/destinations ==="
# Policy intent (implement on your NGFW/edge ACL):
# ALLOW udp/3478 from VoIP + workstation VLANs to approved STUN/TURN providers
# DENY udp/3478 from IoT, OT, printer, camera, and infrastructure VLANs
# DENY udp/3478 sourced from network devices themselves (routers/switches/APs)
# LOG all denied udp/3478 for SIEM correlation with Cling C2 hunts
echo "=== [4] Inventory Realtek-based devices via MAC OUI on the LAN ==="
# Realtek Semiconductor OUI prefixes (partial) - sweep ARP/DHCP tables
for oui in "00:e0:4c" "52:54:4c" "e8:4e:06" "c0:06:c3"; do
echo "--- OUI $oui ---"
grep -ri "$oui" /var/lib/dhcp/ /proc/net/arp 2>/dev/null || echo "none found in local tables"
done
echo "=== [5] DNS/flow sanity: flag IoT-segment hosts with sustained UDP 3478 sessions ==="
# If you run Zeek/Suricata, query conn logs for long-lived or high-frequency STUN flows
# zcat /logs/conn.*.gz | zeek-cut id.orig_h id.resp_h id.resp_p duration bytes \
# | awk '$3==3478 && $4>300' | sort -u
echo "=== [6] Firmware posture: identify EOL devices with no available patch ==="
echo "For each Realtek-based model found, check the OEM support page."
echo "If the model is EOL or last firmware predates the Jungle SDK fix: replace or isolate."
echo "Isolation baseline: dedicated IoT VLAN, no inter-VLAN routing to corp, default-deny egress."
Remediation
1. Patch — but verify the patch actually exists. The Jungle SDK flaw is patched by Realtek, but your remediation path runs through the OEM that branded your device. Pull your network device inventory, identify every Realtek-chipset model, and check each OEM's advisory page for current firmware. Apply the latest firmware immediately on supported models.
2. Replace or isolate end-of-life hardware. Any Realtek-based device that no longer receives firmware updates is a standing botnet recruitment target. Replace boundary devices that are EOL. For devices that cannot be immediately replaced, quarantine them on an isolated VLAN with default-deny egress and no route to corporate segments.
3. Kill the exploitation surface at the perimeter.
- Block WAN-sourced traffic to UDP 9034 (Realtek management service) — there is almost no legitimate reason for this to be reachable from the internet.
- Disable remote WAN administration on all SOHO/edge devices. If the management interface answers under
/boaform/from the internet, you are one scan away from compromise. - Audit UPnP exposure — disable it on edge devices unless there is a documented business need.
4. Constrain STUN egress. Permit UDP 3478 only from segments with legitimate VoIP/WebRTC workloads, and ideally only to allowlisted STUN/TURN provider destinations. Deny and log STUN from IoT, OT, infrastructure, and network-device sources. This single control breaks Cling's C2 channel without touching legitimate traffic.
5. Hunt before you assume. Run the Sentinel hunts above against at least 30 days of retained firewall/flow telemetry. A compromised router is quiet by design — you will not find it by waiting for an alert. Look for IoT-segment sources with sustained or periodic UDP 3478 flows to destinations outside your approved provider list.
6. Monitor for reinfection. IoT botnets persist primarily through reinfection of still-vulnerable devices. If you find a compromised unit, factory-reset and re-firmware it — and assume the scanner that found it will return. Long-term, the fix is segmentation and egress control, not cleanup.
The broader lesson here is one we've watched repeat across every major botnet wave: the exploit ages, but the installed base doesn't. Legacy SDK flaws in embedded networking gear remain permanently exploitable for a huge slice of the internet, and operators keep getting better at hiding their C2 in plain sight. Protocol-abuse C2 like STUN tunneling defeats naive egress filtering — your controls need to be context-aware (who is talking STUN, from where, to whom), not just port-aware.
Related Resources
Security Arsenal Incident Response Services AlertMonitor Platform Book a SOC Assessment incident-response Intel Hub
Is your security operations ready?
Get a free SOC assessment or see how AlertMonitor cuts through alert noise with automated triage.