What Is a Botnet? How It Works, Warning Signs and Removal

82,814 views

Botnets have become one of the biggest threats to security systems today. But what are they exactly? And how can you protect your personal information and devices?

Panda SecurityNov 29, 202613 min read
  • A botnet is a network of internet-connected devices that criminals infect with malware and control remotely, usually without the owners knowing.
  • Almost any connected device can be recruited, even a smart TV or a cheap streaming box.
  • Botnets can knock websites offline in DDoS attacks or steal personal information.
  • Software updates and trusted antivirus software can help keep your devices out of a botnet.

The streaming box under your TV could be working for a criminal right now. Once a device is pulled into a botnet, it can help attack websites or steal data while it keeps running normally, so most owners never notice.

A botnet is a group of hijacked devices that one criminal controls from afar, often thousands at a time. In June 2025, the FBI warned that a single botnet, BadBox 2.0, had infected millions of devices, many of them TV streaming boxes on home networks. 

Below, we’ll explain how botnets work, the warning signs to watch for and how to protect your personal information and devices.

What Is a Botnet?

In simple terms, a botnet is a group of internet-connected devices infected with malware and controlled remotely by a cybercriminal. Each hijacked device is called a bot or “zombie,” and its owner usually has no idea it’s being used.

That’s the textbook botnet definition, but the real danger is scale. On its own, one infected computer or smart camera can’t do much damage. But link thousands or even millions of devices together, and a criminal can knock websites offline or send floods of spam. In cybersecurity, botnets count among the most flexible tools criminals have.

How Do Botnets Work?

To better understand how botnets function, it helps to know that the name itself is a blend of the words “robot” and “network.” The cybercriminals controlling them are called botmasters (or bot herders). Most botnets follow the same basic life cycle, which we’ve broken into five steps below.

Step 1: A Botmaster Infects a Device

Botmasters often install botnet malware on computers via a Trojan horse. The strategy requires users to infect their own systems, usually by opening email attachments or downloading dangerous software from a website. Installing malicious browser extensions or clicking pop-up ads can do the same damage. 

Once a device is infected, the botmaster can access the personal information stored on it or use it to attack other computers.

Step 2: The Infection Spreads to Other Devices

More complex botnets can self-propagate, finding and infecting devices automatically. Such autonomous bots constantly search the internet for vulnerable devices lacking operating system updates or antivirus software.
Some botnets scan for routers and smart cameras that still use their factory logins, while others send infected emails to everyone in the victim’s contact list.

Step 3: The Device Quietly Joins the Botnet

After infection, the device connects to the botmaster’s systems in the background and waits for instructions. From the outside, everything looks normal. Your laptop still opens email, and your smart TV still streams your favorite shows. 

At this stage, botnets are difficult to detect. They use only small amounts of computing power to avoid disrupting normal device functions and alerting the user. More advanced botnets are even designed to update their behavior so as to thwart detection by cybersecurity software. 

Botnets take time to grow, and many will lie dormant within devices waiting for the botmaster to call them to action for a DDoS attack or for spam dissemination.

Step 4: The Botmaster Sends Commands

To control the bots, the botmaster sends instructions to every infected device at once, such as “send this spam email” or “flood this website with traffic.” There are two main types of botnets, client-server and peer-to-peer, and each is designed to give the botmaster as much control as possible.

Client-server model

The client-server botnet structure is set up like a basic network with one main server controlling the transmission of information from each client. The botmaster uses special software to establish command and control (C&C) servers to relay instructions to each client device.

While the client-server model works well for taking and maintaining control over the botnet, it has two downsides. It’s relatively easy for law enforcement officials to locate the C&C server, and it has only one control point. Destroy the server, and the botnet is dead.

Diagram of a client-server botnet where a botmaster sends commands through one C&C server to infected home devices

Peer-to-peer

Newer botnets have evolved to use the more interconnected peer-to-peer (P2P) structure. In a P2P botnet, each infected device functions as a client and a server. Individual bots maintain a list of other infected devices and will seek them out to update them and transmit information between them.

P2P botnet structures make it harder for law enforcement to locate any centralized source. The lack of a single C&C server also makes P2P botnets harder to disrupt. Like the mythological Hydra, a P2P botnet survives losing a head because it has many others to keep it alive.

Diagram of a peer-to-peer botnet where infected home devices pass commands to each other, so the network keeps running when one bot is removed

Step 5: The Botnet Attacks

Once a botnet is large enough, the botmaster can use it to cause damage or make money. DDoS attacks are the best-known example, but spam, ad fraud, data theft and botnet rentals are common too.

DDoS Attacks

If 100 people called the Department of Motor Vehicles at the same time, the phone system would jam, and no one else could get through. 

Botmasters use botnets to cause the same kind of jam online. They direct thousands of infected devices to flood a website with traffic until it slows down or stops working. These are called distributed denial-of-service (DDoS) attacks.

Spam and Fake Accounts

Botmasters also use botnets to send huge volumes of spam email and to run the fake accounts behind many social media threats. These messages come from thousands of real devices and are harder for email providers and social platforms to block.

Ad Fraud

Botmasters can use the combined processing power of botnets to run fraudulent schemes. For example, botmasters build ad fraud schemes by commanding thousands of infected devices to visit fraudulent websites and “click” on ads placed there.  For every click, the botmaster then gets a percentage of the advertising fees.

Selling and Renting Botnets

Some botmasters make money by selling or renting out access to their botnets. Once a botnet controls thousands of devices, its owner can lease it to other cybercriminals, who may use it to spread ransomware or steal personal information. 

Botnets are built from everyday devices, so keeping your own devices protected helps everyone, not just you. 

Which Devices Can Become Part of a Botnet?

Almost any device connected to the internet, by cable or Wi-Fi, can be infected. Laptops and phones are obvious targets, but smart TVs and security cameras can also fall within a botnet’s web. 

It may seem strange to think of a digital picture frame or car entertainment system taking part in a cybercrime, but the FBI has found botnet malware on both. Appliance manufacturers use insecure passwords to protect access to their devices, making them easy for autonomous bots scouring the internet to find and exploit.

As the never-ending growth of the Internet of Things brings more devices online, cybercriminals have greater opportunities to expand their botnets and, with them, the impact.

In October 2016, a large DDoS attack hit the internet infrastructure company Dyn. The attack used a botnet called Mirai, made up of security cameras and DVRs. The DDoS attack disrupted internet service across much of the U.S. and parts of Europe, causing problems for many popular websites, like Twitter and Amazon.

Real-World Botnet Examples

Each of these well-known botnet attacks affected everyday people. In most cases, victims had no idea their computers or TV boxes were involved until law enforcement stepped in. 

Emotet

Emotet first appeared in 2014 as a banking trojan before criminals turned it into a delivery service for other malware. It spread via email attachments disguised as invoices, opening the door for criminals to install additional malware, including ransomware. In January 2021, an international operation coordinated by Europol and Eurojust took control of Emotet’s infrastructure, though the botnet resurfaced later that year. 

GameOver Zeus

GameOver Zeus infected up to 1 million computers to steal online banking passwords and spread CryptoLocker ransomware. In 2014, the FBI and international partners disrupted GameOver Zeus. U.S. prosecutors also charged Russian hacker Evgeniy Bogachev as the botnet’s alleged administrator. 

3ve 

3ve (pronounced “Eve”) used about 1.7 million infected home and business computers to load ads on fake websites, costing advertisers more than $29 million. In 2018, the U.S. Department of Justice charged eight people tied to the scheme. The FBI worked with Google and private security firms to take the botnet offline. 

BadBox 2.0

BadBox 2.0 hides in cheap, off-brand Android TV boxes and other gadgets, sometimes before they’re even sold. According to the FBI, this malware can be preinstalled or delivered via apps from unofficial marketplaces.  

The FBI says the malware has also turned up on digital projectors, aftermarket car infotainment systems and digital picture frames. Once one of these devices joins a home network, criminals can use it as a residential proxy, routing their own internet traffic through the owner’s connection to hide what they’re doing. Warning signs include a device that asks you to turn off Google Play Protect or pushes you toward an app store you don’t recognize.

In July 2025, Google sued the people it says are behind BadBox 2.0, alleging the botnet had infected more than 10 million devices worldwide.  

Signs Your Device Is Part of a Botnet

Botnet malware is designed to stay hidden, so a single sign rarely means much. Several at once are a stronger warning: 

  • Device runs slower than usual. Hidden software may be using your device’s processor in the background.
  • Fans run constantly or the device overheats. A device working for a botnet produces extra heat, even when you’re not doing much.
  • Battery drains quickly. On phones and laptops, background botnet activity can drain your charge faster than normal. 
  • Unexplained spikes in data use. Check your phone or router app for devices sending far more data than usual. 
  • Home Wi-Fi slows down. An infected device that sends a lot of traffic can slow the connection for everyone at home. 

How to Remove a Botnet Infection

Many infections can be cleaned up at home with the right steps. If you suspect a device is part of a botnet, follow these steps to take back control: 

  1. Disconnect from the internet. This cuts the device off from the botmaster’s commands.
  2. Run a full antivirus scan. Security software like Panda Dome Complete can help detect and remove the malware.
  3. Update the device’s software and firmware. Updates often patch the security holes botnets use.
  4. Factory reset infected smart devices or routers. Then set a new, strong password before reconnecting.
  5. Change your passwords and turn on two-factor authentication. Start with email and banking, and use a clean device.
  6. Unplug and replace no-name streaming boxes. Some come with malware preinstalled, so a reset won’t fix them.

How to Protect Your Devices From Botnets

These habits make your devices much harder to recruit, especially when you pair them with antivirus protection. Here’s how to prevent botnet attacks on your home devices. 

Update Your Operating System

One of the tips always topping the list of malware preventative measures is keeping your OS updated. Set your OS to update automatically and make sure you’re running the latest version. The same goes for your router and smart TV, which often need firmware updates of their own. 

Change Default Passwords

Routers, security cameras and other smart devices often ship with simple factory passwords like “admin,” and some botnets scan the internet for exactly those devices. Change the default password as soon as you set up a new device, and use a strong, unique password for each one.

Buy Devices From Brands You Know

Cheap, off-brand gadgets are more likely to come with malware already installed. As the BadBox 2.0 example above shows, these devices can be compromised before you open the box, so stick with well-known brands and buy from reputable retailers.

Avoid Email Attachments From Suspicious or Unknown Sources

Email attachments are a favorite source of infection for many types of viruses. Don’t open an attachment from an unknown source. Even scrutinize emails sent from friends and family. Bots regularly use contact lists to compose and send spam and infected emails. That email from your mother may actually have been sent by a bot.

Avoid Downloads From P2P and File-Sharing Networks

Botnet malware often spreads through P2P networks and file-sharing services. Pirated software and free movie downloads are common hiding spots for malware. Scan any downloads before executing the files or find safer alternatives for transferring files.

Don’t Click on Suspicious Links

Links to malicious websites are common infection points, so avoid clicking them without a thorough examination. Hover your cursor over the hypertext and check to see where the URL actually goes. Malicious links like to live in message boards and YouTube comments. 

Get Antivirus Software

Antivirus software is one of the most effective ways to help prevent and remove botnets. Look for antivirus protection that’s designed to cover all of your devices. If you’re not sure whether your computer’s built-in protection is enough, here’s a closer look at whether you need antivirus for Mac.

Preventative action now can help protect your identity and devices. A few minutes spent on updates and settings can save you a much bigger cleanup later. 

Keep Your Devices Safer With Panda Security

A botnet can turn an everyday gadget like your router or smart TV into a tool for criminals without you ever noticing because botnets are built to stay hidden. To learn more about the automated programs behind these attacks, read our guide on how bots work for and against cybercriminals.

Panda Dome Premium gives you real-time antivirus protection plus an automatic update manager that keeps your apps patched. It also comes with 24/7 support and an unlimited VPN, which brings one of the biggest benefits of using a VPN: safer browsing on public Wi-Fi. 

Frequently Asked Questions

Are Botnets Illegal?

Yes. In most countries, it’s a crime to build or rent out a botnet, and in the U.S. it can be prosecuted under the Computer Fraud and Abuse Act. People whose devices are infected are generally treated as victims. Still, it’s worth cleaning up an infected device quickly so it stops being used in attacks.

What Is the Difference Between a Botnet and a DDoS Attack?

A botnet is a network of infected devices, while a DDoS attack is one way to use it. During a DDoS attack, the botmaster orders every bot to send traffic to the same website at once. The flood overwhelms the site’s servers, knocking it offline for real visitors. 

What Is a Zombie Computer?

A zombie computer is a single infected device that a botmaster secretly controls as part of a botnet. The name comes from the way it follows orders without its owner knowing. Many zombie computers continue to function normally, so an infection can go unnoticed for a long time.

Can My Phone Be Part of a Botnet?

Yes. Android phones are at the highest risk, usually after installing apps from outside official app stores. To lower the risk, download apps only from Google Play and keep Play Protect turned on. iPhones are harder to infect, but keeping iOS updated still matters. 

Can My Smart TV or Router Be Part of a Botnet?

Yes. They’re common targets because they’re always online and often use default passwords. A firmware update and a new password make them much harder to hijack. If your router still uses the password printed on its sticker, change that first.