Skip to content
CNCERT and NSFOCUS Fuying Security Lab flagged

CNCERT and NSFOCUS Fuying Security Lab flagged

nsfocusglobal.com • December 2, 2026

In September, CNCERT and NSFOCUS Fuying Security Lab identified, through joint monitoring, the continued spread of a new botnet family named FlyLegit, which targets Linux servers and IoT devices and remotely controls compromised devices to launch DDoS attacks. Since first coming to the attention of security monitors in late 2025, the family has undergone continuous version updates and now poses a significant security threat to the affected devices.

The name FlyLegit comes from the Telegram group established by the attackers: t.me/flylegit. The attackers use this group for promotion and to attract potential customers or users. Unlike traditional botnets primarily designed for DDoS attacks, FlyLegit supports multiple types of DDoS attacks and also provides self-update, bind shell, and reverse shell capabilities. It can use infected devices as footholds for subsequent attacks and deliver additional malicious components as needed.

As of September, monitoring has identified 68 payload-hosting addresses and 900 URLs used to download malware for different architectures. The downloads cover seven architectures: x86, x64, ARM, MIPS, MIPSEL, SH4, and PPC. These are associated with 40 C2 nodes, and the attackers replace an average of approximately five C2 nodes per month. From September 3 to 8, 2026, approximately 2,015 active bots in mainland China were confirmed, with the daily number of bots coming online reaching a peak of 427.

(1) Propagation Methods and Infrastructure

1.Propagation and Payload Delivery

The FlyLegit botnet spreads mainly through two methods: scanning for weak Telnet credentials and exploiting vulnerabilities (including Realtek CVE-2018-10561). The dropped malware binaries follow a consistent naming convention consisting of the prefix iran and an architecture identifier, such as iran.x86_64. The download script is commonly named cat.sh.

The download script contains architecture-specific logic for x86_64, MIPS, ARM, and other platforms. It uses wget or curl to automatically download the corresponding malware binary to the victim host. The malware requires runtime arguments for execution. Previously observed arguments include telnet, catloader, an empty string (“”), $@, “$@”, and Default (execution without arguments). These arguments were later used to construct bot check-in packages.

Figure 1. FlyLegit Botnet Capabilities and Attack Chain

2.Propagation Infrastructure

Since late December 2025, monitoring has identified 68 payload-hosting addresses and 900 URLs used to download malware for different architectures. The attackers replace the payload-hosting addresses approximately once a week. The delivered files generally follow the naming convention of iran plus an architecture identifier. Current monitoring data indicates that the attackers continue to maintain and expand the botnet.

Figure 2. Newly Identified FlyLegit Payload-Hosting Addresses by Month

Since late December 2025, a total of 40 FlyLegit C2 nodes have been identified. These nodes are distributed across nearly 10 countries, including Germany, the Netherlands, and France. Germany and the Netherlands account for 43% and 28%, respectively. The attackers change C2 nodes frequently, replacing an average of approximately five nodes per month. After replacement, they tend to reuse existing ports; ports such as 7080, 8060, and 7777 have been observed repeatedly. The operational infrastructure relies heavily on small and mid-sized hosting providers in Europe.

Figure 3. Geographic Distribution of FlyLegit C2 Nodes

(2) Technical Characteristics of the Samples

The control commands supported by FlyLegit vary across versions. The initial version supported six types of DDoS attacks. Between January and June 2026, some versions reduced the number of control commands and attack methods. Starting in July 2026, samples added multiple DDoS attack commands again, along with Telnet scanning and scanning for Realtek-related vulnerabilities. Excluding the ping command, the evolution of the control commands is shown below:

2.Persistence and Evasion

FlyLegit establishes persistence through mechanisms such as /etc/init.d and /etc/rc.local, allowing it to resume automatically after a system reboot. It also terminates competing processes to monopolize the resources of compromised hosts. Some early versions used the ChaCha20 algorithm to encrypt C2 communications, while the latest version has switched to plaintext communication.

3.Communication Mechanism and Command-and-Control Framework

The FlyLegit command-and-control framework consists primarily of three stages: initial check-in and authentication, heartbeat response, and command delivery. The check-in packet follows the format . The group field distinguishes different campaign batches and defaults to default. If an argument is supplied to the startup script, the malware writes that argument to the group field.

The family uses a ping-pong command mechanism for heartbeat responses: the attacker sends a ping command, and the malware replies with pong together with information the host architecture. C2 commands are transmitted as strings in key=value format and support parameters such as attack-packet size, source IP address, and port. In some versions, C2 commands are encrypted using ChaCha20. The malware contains an embedded initial key, and the beginning of the delivered data includes the nonce required for decryption.

4.Core Attack Capabilities

FlyLegit’s core capabilities include self-updating, DDoS attacks, and Shell command execution. The !update command triggers a malware update: the malware connects to a hard-coded IP address and port, sends an HTTP GET request to download a new version, and attempts to save it to /tmp/ first. If that directory is not writable, it tries /var/, /dev/shm/, and then the current directory in sequence. After the download, it sets the executable permission on the file.

The attacker can use commands to instruct the malware to send attack payloads to a target during a specified time window. The DDoS attack commands identified to date are listed below:

The family also supports bind shell and reverse shell functionality, allowing the attacker to obtain remote Shell access to a compromised host and execute commands:

III. Scale of Botnet Infection

Monitoring and analysis show that, from September 3 to 8, 2026, approximately 2,015 active FlyLegit bots were confirmed in mainland China. The daily number of bots coming online in mainland China reached a maximum of 427.

Figure 4. Daily Number of FlyLegit Bots Coming Online in Mainland China

IV. Recommendations for Protection

Internet users are advised to strengthen their risk awareness and security measures to avoid unnecessary financial losses. The main recommendations are as follows:

(1) Disable unnecessary Telnet, SSH, and device remote-management interfaces. Do not expose management ports directly to the public internet.

(2) Change default device passwords, use strong passwords, and avoid reusing the same password across multiple devices.

(3) Identify and remediate the vulnerabilities covered in this report, and promptly update device firmware and Linux system components.

(4) Monitor network traffic for abnormal scanning, payload-download requests, C2 connections, and anomalous DDoS traffic.

(5) If an infection is detected, immediately isolate the affected device, preserve necessary logs and samples, and investigate the initial access vector. Restore services only after vulnerabilities have been remediated and credentials have been changed.

(6) For IoT devices that cannot run endpoint protection software, reduce risk through access controls, network segmentation, and egress restrictions.

V. Related Indicators of Compromise (IoCs)

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

Attack Types (2)

Companies (1)

Malware (1)

Platforms (1)

Tools (2)