While analyzing logs from the LACNIC CSIRT honeynet a few weeks ago, we detected millions of infection attempts from Mozi, a botnet that was supposedly deactivated in 2023. For years, it was the world’s largest botnet of IoT devices, until someone shut it down using a ‘kill switch’, a security feature designed to halt a system or lock a device. Even so, its bots continue to knock on our sensors’ doors every day.
In this article, we explain what Mozi is, how it originated, and how it was deactivated. In the second part, we will share our observations from our region and explain why this ‘zombie’ malware continues to infect devices, both globally and across Latin America and the Caribbean.
A Hybrid of Three Families
Mozi did not evolve from Mirai, as is sometimes claimed. It was born in 2019 by combining pieces of three existing IoT malware families:
(Free access, no subscription required)
Because of this hybrid nature, antivirus engines often classified it as Mirai, Gafgyt, or both. To this day, several engines on VirusTotal still label it as Mirai.
The team at 360 Netlab identified it in December 2019 and named it Mozi based on its file names: Mozi.m and Mozi.a (Netlab). It targeted Netgear, D-Link, and Huawei routers, as well as DVRs and other devices with exposed Telnet services.
Because of this hybrid nature, antivirus engines often classified it as Mirai, Gafgyt, or both. To this day, several engines on VirusTotal still label it as Mirai.
The team at 360 Netlab identified it in December 2019 and named it Mozi based on its file names: Mozi.m and Mozi.a (Netlab). It targeted Netgear, D-Link, and Huawei routers, as well as DVRs and other devices with exposed Telnet services.
What set Mozi apart was its architecture. Mirai and Gafgyt relied on a command-and-control (C2) server. If that server was taken down, the botnet was left without instructions.
Instead, Mozi built a peer-to-peer (P2P) network based on an extended version of the DHT protocol, (Mainline DHT), the same one used by BitTorrent clients. This allowed its traffic to blend in with that of millions of legitimate users.
In such a network, there is no C2 server to take down. Instructions are delivered via a configuration file signed with ECDSA-384, and each bot accepts only files that pass verification. This prevents third parties from seizing control of the botnet.
A key detail for understanding the current situation is that every infected device is both a victim and a server. According to Netlab, the bot launches an HTTP service on a random port, which it then uses to deliver the binary to new devices it infects. No dedicated distribution server is needed. The network itself distributes the malware. This concept is worth keeping in mind, as it explains why this botnet remains active as a ‘zombie’ network without an owner.
The 2023 Kill Switch
By 2021, Mozi had infected more than 1.5 million devices. That same year, Chinese authorities arrested its operators (The Hacker News). Although the samples stopped receiving updates, the botnet continued to spread on its own.
This kill switch halted the Mozi process, disabled services such as SSH, blocked ports, and replaced the malware with a harmless version. Most notably, the message was signed with the operators’ original private key. ESET then suggested two possibilities: either the creators themselves sent it, or it was issued by Chinese authorities.
For most, that was the end of the Mozi story.
Why Didn’t It Die Out Completely?
A kill switch affects only the bots that actually receive it. Devices that were powered off, disconnected, or offline that day never received the command. Since each node stores and serves its own copy of the binary, every surviving bot can continue to infect other devices independently.
A study presented at DIMVA 2026 (MoZombie) examined precisely this phenomenon. The authors recorded an average of roughly 12,500 infected devices per day throughout 2025, despite having no maintainers, new configurations, or updates and relying solely on exploits that had been around for years. They also identified long-lived nodes that sustain the network and found that Argentina and Brazil are among the countries with the highest number of such sources.
The binaries that Mozi is distributing to our sensors today were first seen on VirusTotal between August and September 2020. Nothing new has been compiled. They are copies of copies from six years ago that are still traveling from one router to another.
Figure 1: Timeline showing the evolution of the Mozi botnet over the years.
Shutting down a botnet is not the same as cleaning up infected devices. As long as there are routers with exposed Telnet services, default passwords, and old vulnerabilities, the malware has somewhere to live.
In 2026, data from the LACNIC CSIRT sensor network tells a similar story. In the next article, we will analyze what we are seeing in our region: a download URL that leads nowhere and has been circulating for nearly two years, a wave of new infections that appeared overnight in August 2026, and the role that Latin America and the Caribbean play in all of this.