What is a botnet, and what does it do to your site?

A botnet is a group of internet-connected devices infected with malware and controlled together by one operator, usually without their owners knowing. It turns many small machines into one large tool: for floods that take sites offline, for trying stolen passwords from thousands of addresses, for scraping and for spam.

Section Bots Updated Used for DDoS, stuffing, scraping

Quick facts

Made of
Infected computers, servers, routers, cameras and other connected devices
Controlled by
An operator, often called a bot herder, through command-and-control servers or peer-to-peer messages
Used for
DDoS attacks, credential stuffing, scraping, spam and click fraud
Why it is hard to block
Traffic comes from many real addresses, each sending little
Well-known example
Mirai, which spread through devices with default passwords; see CISA alert TA16-288A

A botnet is infrastructure, not an attack: the same network can be pointed at different targets and jobs.

How a botnet works

  1. Devices are infected. Through default passwords, unpatched software or malicious downloads.
  2. They report to a controller. A command-and-control server, or each other in a peer-to-peer design.
  3. The operator sends instructions. Which target, which technique, for how long.
  4. The bots act together. Each sends a share of the traffic, so the total is large and every single source looks small.

Access to a botnet is often rented. That is why attacks that once needed a large organisation can now be started by anyone willing to pay.

WHAT A BOTNET CHANGES ABOUT EACH ATTACK MANY REAL ADDRESSES LOW RATE PER SOURCE VISIBLE IN TOTALS ONLY DDOS FLOODS CREDENTIAL STUFFING SCRAPING FORM SPAM // per-address defences see little in any row
// four jobs a botnet does, and why each is hard to block by address

What botnets are used for

Who runs botnets: bot herders and rented access

The person who controls a botnet is often called a bot herder. Some build their own networks by spreading malware; others buy or rent access from someone who did. A rented botnet comes with a simple interface: pick a target, a method and a duration.

This changes who attacks. A flood or a credential stuffing run no longer needs technical skill, only payment, so small sites are targets too. It also means the same devices turn up in unrelated attacks, against different victims, within days.

How to detect botnet traffic

A single bot is hard to spot; the botnet shows in patterns across many requests. Look for the same behaviour repeated from many addresses at once: identical request sequences, the same unusual header set, the same timing, or a sudden spread of sources hitting one endpoint.

Address reputation helps a little, because some infected devices appear on lists, and hurts a little, because the addresses belong to real people who may also be your customers. The useful signals are behavioural and aggregate, which is the subject of bot detection.

Defending against botnet attacks

Because the sources are many and real, defences that count per address miss most of it. What works is limiting by what the request does, such as attempts per account or cost per endpoint, absorbing floods with capacity in front of the site, and making the targeted action expensive to repeat. DDoS protection covers the flood side; rate limiting covers per-endpoint limits.

Keeping your own devices out of botnets is part of the same problem: change default passwords, patch exposed devices, and do not leave management interfaces open to the internet.

Questions

What is a botnet?

A botnet is a network of internet-connected devices infected with malware and controlled together by one operator, used for DDoS attacks, credential stuffing, scraping and spam.

How do botnets work?

Devices are infected, report to a command-and-control server or to each other, and carry out the operator's instructions together, each sending a share of the traffic.

How can I tell if my device is part of a botnet?

Signs include unexplained network traffic, slowness, and your address appearing on block lists. Changing default passwords, updating firmware and scanning for malware are the first steps.

Why is botnet traffic hard to block?

It comes from many real addresses, each sending little, so blocking by address removes a tiny share and risks blocking real customers who share those addresses.