The Library

FlyLegit Botnet: Malware Turns Linux Servers and IoT Devices Into DDoS Bots With Remote Shell Access, What Is Confirmed and What to Check This Week

FlyLegit malware turns Linux servers and IoT devices into a botnet that can launch DDoS attacks and give attackers a remote shell. Here is what is confirmed, what is not known, and what to check this week.

Elite Performance Exclusive LLC 7 min read

Where China · Asia, East Asia

FlyLegit Botnet: Malware Turns Linux Servers and IoT Devices Into DDoS Bots With Remote Shell Access, What Is Confirmed and What to Check This Week
On this page 10 sections

A new piece of malware called FlyLegit is taking over Linux servers and internet-connected devices and adding them to a botnet that can launch DDoS attacks and give the attackers a remote command line on each machine. If your business runs a Linux server, a router, a camera or any other connected device that faces the internet, an infected one could be used to attack other organizations and could also let outsiders into your own network.

The alert comes from NSFOCUS, which posted it on November 27, 2026. Below we separate what the researchers confirmed from what has only been reported, say plainly what is still unknown, and set out what to check this week.

What happened with the FlyLegit botnet

NSFOCUS says that in September, CNCERT and NSFOCUS Fuying Security Lab found a new botnet family through joint monitoring. They named it FlyLegit, and they describe it as a botnet "which targets Linux servers and IoT devices". The name comes from a Telegram group the attackers set up, called flylegit.

NSFOCUS reports that from September 3 to 8, 2026, about 2,015 active bots in mainland China were confirmed. Cyber Security News, reporting on the NSFOCUS findings, adds that the number of bots coming online peaked at 427 in a single day.

What is confirmed and what is reported

Point Status Where it comes from
FlyLegit targets Linux servers and IoT devices Confirmed by the researchers NSFOCUS alert
It supports multiple types of DDoS attacks Confirmed by the researchers NSFOCUS alert
It can update itself and open bind shells and reverse shells Confirmed by the researchers NSFOCUS alert
About 2,015 active bots in mainland China, September 3 to 8, 2026 Confirmed by the researchers NSFOCUS alert
40 command servers (C2 nodes) identified Confirmed by the researchers NSFOCUS alert
68 payload-hosting addresses and 900 download URLs Confirmed by the researchers NSFOCUS alert
Peak of 427 bots coming online in one day Reported Cyber Security News
Operators replaced about five command servers per month Reported Cyber Security News

What FlyLegit can do on an infected device

FlyLegit does two jobs at once, which is why it is more serious than a typical DDoS botnet.

It attacks other people. NSFOCUS says FlyLegit supports multiple types of DDoS attacks. Your server's bandwidth and processing power get used to flood someone else's website or service.

It gives the attackers a way in. NSFOCUS says it also offers self-update, bind shell and reverse shell capabilities:

  • A bind shell opens a listening port on your device so the attacker can connect to it and type commands.
  • A reverse shell has your device call out to the attacker, which can get past firewalls that only block incoming traffic.
  • Self-update means the operators can push new code to infected machines whenever they like.

Cyber Security News sums it up this way: remote shell access lets operators issue system commands on the compromised device. A server that someone else can run commands on is no longer just a DDoS problem. It is a foothold inside your network.

Which devices are at risk

NSFOCUS says the operators host builds for seven processor architectures: x86, x64, ARM, MIPS, MIPSEL, SH4 and PPC. That range covers ordinary Linux servers and the kind of embedded chips found in routers, cameras and other network gear. They tracked 68 payload-hosting addresses and 900 URLs used to download the malware for these architectures.

On how it gets in, NSFOCUS says FlyLegit spreads by exploiting vulnerabilities, "including Realtek CVE-2018-10561". Cyber Security News notes that the National Vulnerability Database entry describes CVE-2018-10561 as an authentication bypass in Dasan GPON home routers. The two sources describe the affected product differently, so if you have Realtek-based or Dasan GPON equipment, check both. Either way, this is a flaw with a 2018 identifier, which means unpatched, aging devices are part of the target list.

What is not known

The sources do not say:

  • Which other vulnerabilities FlyLegit uses. NSFOCUS says "including", so CVE-2018-10561 is one of several, but the others are not named in the sources we have.
  • How many bots exist outside mainland China. The 2,015 figure covers mainland China only.
  • Whether FlyLegit survives a reboot or how it hides on a system.
  • Who has been attacked with FlyLegit's DDoS capability, or how large those attacks were.
  • Specific indicators such as file names or the addresses of the 40 command servers, in the material we reviewed.

We will not fill those gaps with guesses. If you need indicators for your security tools, ask your vendor whether it has FlyLegit detections.

Why it matters for a business network

An infected server or router costs you in three ways:

  1. Your network becomes the attacker. Your connection and IP addresses are used against other organizations, which can get your addresses blocked and cause trouble with your provider.
  2. Someone else can run commands inside your network. From a compromised router or server, an attacker can look at traffic and reach other machines.
  3. The operators keep moving. Cyber Security News reports that the operators replaced about five command servers per month on average. Blocking a list of addresses once will not keep up.

NSFOCUS closes its alert with this: "Internet users are advised to strengthen their risk awareness and security measures to avoid unnecessary financial losses."

If you run your own servers, our guide to who is patching your servers covers the ownership question that tends to leave old devices like these unpatched.

What to do this week: FlyLegit checklist

There is no FlyLegit-specific patch, because FlyLegit is malware, not a product flaw. The work is to close the doors it uses and check for signs it is already inside.

Step What to do How to check
1 List every internet-facing Linux server, router, camera and other connected device Your firewall's port forwarding rules and your provider's public IP list
2 Find any Realtek-based or Dasan GPON equipment Model labels and admin pages; check against CVE-2018-10561
3 Patch or replace devices that no longer get updates The vendor's support page for the model
4 Change the passwords on devices you patch Admin and remote access accounts on each device
5 Look for unexpected listening ports (bind shell) On Linux, ss -tulpn lists listening ports and the programs behind them
6 Look for unexpected outbound connections (reverse shell) Firewall logs for devices calling out to addresses you do not recognize
7 Watch for traffic spikes going out A DDoS bot sends far more traffic than it should

How to clean up an infected Linux server or device

NSFOCUS gives one clear rule: restore services only after vulnerabilities have been remediated and credentials have been changed. Putting a device back online before both are done just lets it get reinfected the same way.

Take the device off the network, fix the hole it came through, change every password it holds, and only then reconnect it. For a device that does not get updates any more, replacement is the realistic fix. For why cleanup order matters on Linux network gear, see our post on Evooo1Bot and cron job malware.

FlyLegit botnet questions people are asking

What is FlyLegit malware?

A botnet family that targets Linux servers and IoT devices, able to launch several types of DDoS attacks and giving attackers self-update, bind shell and reverse shell abilities, according to NSFOCUS.

Who found FlyLegit?

CNCERT and NSFOCUS Fuying Security Lab identified it through joint monitoring in September. NSFOCUS posted the alert on November 27, 2026.

How many devices are infected with FlyLegit?

About 2,015 active bots in mainland China from September 3 to 8, 2026, confirmed by NSFOCUS. No figure for other countries has been published in the sources.

Is FlyLegit in the United States?

Not known. The published count covers mainland China only, and the sources do not say whether devices elsewhere are infected.

What vulnerability does FlyLegit exploit?

NSFOCUS names CVE-2018-10561 among its entry points and says it uses other vulnerabilities as well. The others are not named in the sources.

How do I know if my Linux server is part of a botnet?

Look for listening ports you did not open, outbound connections to addresses you do not recognize, and unusual outgoing traffic. If you find any of these, take the machine offline and investigate.

Does rebooting remove FlyLegit?

The sources do not say. Do not rely on a reboot. Fix the vulnerability and change the credentials before bringing the device back.

The bigger lesson

FlyLegit is a new name, but it gets in through old holes: a vulnerability from 2018 and devices nobody has checked in years. Most connected devices are installed once and forgotten, and botnets go looking for exactly those. Knowing what you have on the internet, who keeps it patched, and when it should be replaced is what keeps your hardware from working for someone else.

To harden your servers and network, see security hardening or get a quote.

Get security alerts by email, plus our free checklist, at /security-alerts.

Sources: NSFOCUS: Risk Alert, Widespread Propagation of the FlyLegit Botnet; Cyber Security News: FlyLegit Malware.

Share X LinkedIn Facebook

Was this article helpful?

We only keep the note with this article. No name, no email.

Protected by reCAPTCHA - Privacy and Terms.

Have a question about this article?

Ask it here and we will answer you directly by email. Questions are private, never posted.

Protected by reCAPTCHA - Privacy and Terms.

Security alerts by email

Hear about the next one first.

When attackers start using a flaw in software businesses run on, we email what it is, whether it touches you and what to do that week, with a round-up of our latest security writing. Free, one-click unsubscribe. You get the checklist straight away: 12 things to secure this week.

Protected by reCAPTCHA - Privacy and Terms.

Want a result like this?

Security alerts, breaches and the technology a business runs on: what happened, who it affects and what to do.

Get a Tech Quote

Security alerts by email

The next security hole is already out there. Hear about it from us first.

When attackers start using a flaw in software businesses run on, we email what it is, whether it touches you and what to do that week, with a round-up of our latest security writing. Free, one-click unsubscribe. You get the checklist straight away: 12 things to secure this week.

Protected by reCAPTCHA - Privacy and Terms.