Explore our new Cybersecurity Terms Glossary, explained by our experts.

View the Glossary View the Glossary
PRIVIA

Cybersecurity Terms Glossary

What Is a Botnet?

A botnet is a network of compromised computers, servers, or IoT devices controlled remotely by an attacker and used for DDoS attacks, spam, credential stuffing, and fraud.

Illustration for the cybersecurity term Botnet
Home / Blog / Cybersecurity Terms / What Is a Botnet?
17 November 2026

What Is a Botnet?

What Is a Botnet?

A botnet is a collection of internet-connected devices—PCs, servers, routers, cameras, and other smart devices—that have been infected with malware and can be controlled remotely as a group. Each compromised device is a “bot”, and the person or group in charge is often called the bot herder. Individually, a hijacked webcam is trivial; tens of thousands acting together can knock major services offline, send millions of spam emails, or test stolen passwords at enormous scale.

How a Botnet Is Built

  1. Recruitment: devices are infected through phishing attachments, malicious downloads, exploited vulnerabilities, or—very commonly for IoT devices—default and weak passwords tried automatically across the internet.
  2. Check-in: the malware contacts the operator’s command and control (C2) infrastructure and waits for instructions.
  3. Spread: many bots scan for and infect new victims themselves, so the botnet grows without further effort from its owner.
  4. Monetisation: the operator uses the botnet directly or rents it out, sometimes as a ready-made “booter” or proxy service.

Command-and-Control Architectures

ModelHow it worksWeakness for the operator
CentralisedBots poll one or a few servers, historically over IRC and now usually HTTPSSeize or sinkhole the servers and the botnet goes quiet
Peer-to-peerBots relay commands to one another with no single control serverHarder to build and maintain, but much harder to take down
Domain generation algorithmsBots calculate thousands of possible domain names each day; the operator registers only a fewResearchers who reverse the algorithm can pre-register domains

Conficker, which spread widely from late 2008, made domain generation algorithms famous, while GameOver Zeus used a peer-to-peer design until an international operation disrupted it in 2014.

What Botnets Are Used For

Mirai and the IoT Problem

In 2016, the Mirai botnet showed what insecure IoT devices could do at scale. It scanned the internet for cameras and routers still using a short list of factory-default usernames and passwords, and on 21 October 2016 it was used against the DNS provider Dyn, making major sites including Twitter, Netflix, and Reddit unreachable for many users. Mirai’s source code was published shortly before, and its descendants are still active today, targeting newer device flaws as well as default credentials.

The UK responded to this class of problem with legislation. Under the Product Security and Telecommunications Infrastructure (PSTI) regime, in force since 29 April 2024, manufacturers of consumer connectable products sold in the UK must not use universal default passwords, must publish a way to report vulnerabilities, and must state how long the product will receive security updates.

Takedowns Work, but Not for Ever

Law enforcement has had notable successes. Emotet was disrupted by a Europol and Eurojust-coordinated operation involving UK and other national agencies in January 2021, although it re-emerged later that year. In August 2023, an FBI-led operation took down Qakbot and removed its malware from infected computers. Operation Endgame, coordinated by Europol in May 2024, targeted several malware loaders at once. Each action helps, but the underlying infections and the criminals’ skills tend to survive.

Detection and Prevention

Signs Your Devices Are Part of a Botnet

Keeping Your Estate Off Botnets

Change default credentials on every device, patch internet-facing systems and network equipment promptly, and avoid exposing management interfaces such as Telnet, SSH, or web admin panels to the internet. Filter outbound traffic as well as inbound, use a protective DNS service to block known malicious domains—the NCSC provides one for the UK public sector—and segment IoT devices away from business systems. Endpoint detection and network monitoring catch the beaconing that most bots produce. Our Managed Security Services (MDR) watch for exactly these patterns around the clock, so an infected device is isolated before it is put to work.

FAQ – Frequently Asked Questions

How Do I Know if My Computer Is Part of a Botnet?

Infected machines often show few obvious symptoms. Warning signs include unexplained slowness, unfamiliar processes, network activity when the device should be idle, and security software being disabled. In a business, the clearest evidence usually comes from network monitoring: regular connections to unknown hosts, unusual DNS queries, or abuse reports from your internet provider about traffic from your IP addresses.

Is It Illegal to Be Part of a Botnet?

Owning an infected device is not a crime in itself; you are a victim. Building, controlling, or renting a botnet is an offence under the Computer Misuse Act 1990 in the UK. However, organisations that leave devices insecure may face regulatory questions, particularly if poor security also leads to a personal data breach under UK GDPR.

Why Are IoT Devices So Often Recruited Into Botnets?

Many IoT devices have historically shipped with default passwords, rarely receive security updates, and run continuously with a direct internet connection. Owners seldom monitor them, so infections go unnoticed for long periods. The UK PSTI regime now bans universal default passwords for consumer products, but older devices already in homes and offices remain vulnerable.

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

A botnet is the infrastructure: a network of compromised devices under an attacker’s control. A DDoS attack is one of the things that infrastructure can be used for, sending floods of traffic from many sources to overwhelm a target. Botnets also send spam, steal credentials, deliver other malware, and provide anonymous proxies for criminals.

Related Terms

You May Be Interested In These

What Are SS7 Attacks?

Cybersecurity Terms

17 November 2026

What Are SS7 Attacks?

Read More
What Is a DCSync Attack?

Cybersecurity Terms

17 November 2026

What Is a DCSync Attack?

Read More
What Is Open Policy Agent?

Cybersecurity Terms

17 November 2026

What Is Open Policy Agent?

Read More