VYPR
researchPublished Dec 2, 2026· 1 source

FlyLegit Malware Creates Botnet from Linux Servers and IoT Devices

The FlyLegit malware is actively building a botnet by compromising Linux servers and IoT devices, enabling DDoS attacks and remote command execution.

The FlyLegit malware is transforming compromised Linux servers and internet-connected devices into a potent botnet, capable of launching distributed denial-of-service (DDoS) attacks and granting attackers remote command execution capabilities. This dual functionality elevates the threat beyond simple denial-of-service incidents, as infected devices can be utilized for various malicious purposes even when not actively participating in traffic floods.

FlyLegit propagates by exploiting weak Telnet credentials and known vulnerabilities, such as CVE-2018-10561 affecting Dasan GPON routers. Telnet, an older protocol for remote device management, presents a significant attack vector when left exposed, particularly on devices that might be overlooked in routine security assessments. The malware's ability to support multiple processor architectures, including x86, x64, ARM, MIPS, MIPSEL, SH4, and PPC, allows it to infect a wide range of hardware, from standard Linux servers to embedded systems.

Researchers from NSFOCUS Fuying Security Lab and CNCERT have been jointly monitoring FlyLegit's spread, identifying approximately 2,015 active bots in mainland China during a six-day period in early September 2026. While these figures represent a regional snapshot, they indicate the malware's active deployment. The operators are also agile in maintaining their infrastructure, reportedly changing command-and-control (C2) server addresses approximately once a week, making static blocking lists less effective.

Once a device is infected, it establishes communication with a C2 server, allowing operators to monitor its status and issue commands. FlyLegit's capabilities include launching large-scale DDoS attacks designed to overwhelm target services and providing remote shell access for direct command execution on the compromised machine. The malware has evolved throughout 2026, with later samples exhibiting a broader range of flooding methods and enhanced scanning capabilities to discover new targets.

Persistence is a key feature of FlyLegit, as it can modify Linux startup settings to ensure it reloads after a reboot. This mechanism ensures that a device restart does not eliminate the infection, making it a persistent threat to the network. Defenders are advised to start by identifying devices that expose Telnet, SSH, or web administration interfaces to the public internet.

Mitigation strategies include disabling unnecessary services, restricting access to trusted management networks, and enforcing strong, unique passwords. For devices affected by known vulnerabilities like CVE-2018-10561 in Dasan GPON routers, which are end-of-life, immediate disconnection is recommended. Security teams should monitor for unusual outbound scanning activity, unexpected downloads, and connections to known C2 endpoints.

Detecting and containing a FlyLegit infection involves isolating compromised devices, preserving logs and samples for forensic analysis, and thoroughly investigating the initial entry vector. It is crucial to check for similar exposures on adjacent devices and close any identified attack routes before restoring services. This includes changing compromised credentials and applying necessary firmware or software updates.

For devices that cannot run endpoint security tools, network segmentation is a vital control. Placing such equipment on a separate network segment and strictly limiting its outbound communication can significantly reduce the risk of lateral movement and further compromise. The continuous evolution of botnets like FlyLegit underscores the need for proactive security measures and vigilant monitoring of network infrastructure.

Synthesized by Vypr AI
FlyLegit Malware Creates Botnet from Linux Servers and IoT Devices · VYPR