Skip to content
FlyLegit Botnet Spreads Through Weak Passwords to Hijack Linux Servers

FlyLegit Botnet Spreads Through Weak Passwords to Hijack Linux Servers

Gbhackers •Mayura Kathir • December 2, 2026

A new DDoS-for-hire botnet called FlyLegit is compromising Linux servers and IoT devices through weak Telnet credentials and flaws in old routers.

The name comes from the attackers’ Telegram group, t.me/flylegit, which they use to promote the service and recruit customers.

Beyond multiple DDoS methods , the malware supports self-update, bind shell, and reverse shell functions. Operators can therefore use infected hosts as footholds for later attacks or deliver extra components.

Between September 3 and 8, 2026, researchers confirmed 2,015 active bots in mainland China, with up to 427 coming online in a single day.

FlyLegit spreads by scanning for weak Telnet passwords and by exploiting flaws, including CVE-2018-10561.

Dropped binaries use the prefix “iran” plus an architecture tag, such as iran.x86_64, and a script usually named cat.sh fetches them with wget or curl.

The script picks the right binary for the host and passes a runtime argument. That argument fills a “group” field in the check-in packet, which separates campaign batches and defaults to “default”.

CNCERT and NSFOCUS Fuying Security Lab flagged , its continued spread in September, and the family has been updated repeatedly since it first appeared in late 2025.

FlyLegit Botnet Targets Linux

The NVD describes CVE-2018-10561 as an authentication bypass in Dasan GPON routers. It carries a CVSS score of 9.8, and CISA lists it as exploited in the wild.

Monitoring has found 68 payload-hosting addresses and 900 download URLs covering x86, x64, ARM, MIPS, MIPSEL, SH4 and PPC. These link to 40 command-and-control nodes.

The CNCERT report attributes the flaw to Realtek, so defenders should check both vendor names when they inventory devices.

C2 nodes sit in nearly 10 countries, with Germany at 43% and the Netherlands at 28%. Operators swap five nodes a month and reuse ports such as 7080, 8060 and 7777.

They rely mostly on small and mid-sized European hosting providers. Payload addresses rotate roughly weekly.

The first version, in December 2025, offered six DDoS commands: TCP, SYN, HTTP, UDP, UDP-plain and ICMP floods.

Versions 2 and 3, from January to June 2026, cut this to SYN and UDP-plain floods, and they dropped the update command.

Version 4, from July 2026, brought back the full set, added a GRE flood, and introduced “selfrep telnet” and “selfrep realtek” scanning commands. Early builds encrypted C2 traffic with ChaCha20, but the latest sends plaintext.

The malware persists through /etc/init.d and /etc/rc.local and kills rival processes to claim the host’s resources. C2 traffic follows three stages: check-in, a ping-pong heartbeat, and command delivery as key=value strings.

The !update command downloads a new build over HTTP from a hard-coded address. It tries /tmp first, then /var/, /dev/shm/ and the current directory.

The !openshell command opens a password-protected bind shell, and !shellcmd runs commands the attacker sends.

Administrators should disable Telnet and SSH where they are not needed. They should also keep management ports off the public internet and replace default or reused passwords.

Patching firmware and Linux components closes the exploited flaws. End-of-life Dasan GPON devices should be disconnected, as CISA’s guidance advises.

Teams should watch for abnormal scanning, payload downloads, C2 connections and DDoS traffic. For IoT gear that cannot run endpoint protection, access controls, segmentation and egress filtering reduce the risk.

Infected devices should be isolated, with logs and samples preserved. Services should come back only after the entry point is fixed and credentials are changed.

Indicators of Compromise

Note: IP addresses and domains are intentionally defanged (e.g., [.] ) to prevent accidental resolution or hyperlinking. Re-fang only within controlled threat intelligence platforms such as MISP, VirusTotal, or your SIEM.

Stops Cyber threats before impact with 21 min faster MTTR. Integrate ANYRUN’s Sandbox in your SOC .

Artificial Intelligence

Cyber security Course

Cyber Security Resources

Cybersecurity

Information Gathering

Information Security Risks

BreachForums Hacked by Rival Forum, Exposing 711,500 Email Addresses, Password Hashes and Private Messages

OpenSSL 4.1.1 Released With Fixes for 16 Vulnerabilities, Including TLS Verification Bypass and Buffer Overflow

OpenAI and AWS Bring GPT-6 Cyber to Amazon Bedrock to Detect and Fix Security Vulnerabilities

CISA Warns of Critical Rejetto HFS Vulnerability Exploited in Attacks Targeting Check Point Servers

Hackers Can Secretly Control Your Browser and Steal Passwords Without You Knowing

Citizen Lab Warns New Windows Spyware Can Secretly Record Audio and Steal Files

The full story

This article is one source in a clustered incident — the cluster page carries the summary, timeline and every other outlet covering it.

FlyLegit Botnet Spreads Via Weak Telnet Passwords and CVE-2018-10561 to Hijack Linux and IoT Devices FlyLegit, a DDoS-for-hire botnet first seen in late 2025, compromises Linux servers and IoT devices through weak Telnet credentials and the CVE-2018-10561 authentication bypass in Dasan GPON routers. CNCERT and NSFOCUS Fuying Security Lab identified its continued spread through joint monitoring, reported in a 27 November risk alert. Between 3 and 8 September 2026, researchers confirmed 2,015 active bots in mainland China, with up to 427 coming online in a single day; these figures cover one region over six days and do not indicate the botnet's global size. Beyond multiple DDoS methods, the malware supports self-update, bind shell and reverse shell functions, allowing operators to use infected hosts as footholds for further attacks. Researchers tracked 68 payload-hosting addresses, 900 download URLs across seven processor architectures, and 40 command-and-control nodes, mostly hosted in Germany and the Netherlands. Operators reportedly replace payload addresses roughly weekly and swap about five C2 nodes per month. The malware changed across versions: early builds offered six DDoS commands, versions 2 and 3 (January to June 2026) reduced them, and version 4 (July 2026) restored them and added a GRE flood and scanning commands. Persistence is achieved through /etc/init.d and /etc/rc.local, and the malware kills rival processes to claim host resources. CVE-2018-10561 carries a CVSS score of 9.8 and was added to CISA KEV on 2022-03-31. The CNCERT report attributes the related flaw to Realtek, so defenders should check both vendor names. The articles do not report a current remediation status beyond recommended hardening steps. 3 sources 73

Extracted Entities