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.
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, from floods to credential stuffing and click fraud.
How a botnet works
- Devices are infected. Through default passwords, unpatched software or malicious downloads.
- They report to a controller. A command-and-control server, or each other in a peer-to-peer design.
- The operator sends instructions. Which target, which technique, for how long.
- 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. Rented home connections are covered under residential proxies.
Command and control (C2) in a botnet
The command-and-control channel, or C2, is how an operator talks to infected devices. In a centralised design the bots ask one server, or a small set of them, for instructions. In a peer-to-peer design the bots pass instructions to each other, so there is no central server to seize. MITRE ATT&CK describes C2 as communication with compromised systems in order to control them, and notes that adversaries may mimic normal, expected traffic to avoid detection.
Internet of things botnets
An internet of things botnet is built from connected consumer hardware instead of computers: routers, security cameras, digital video recorders and similar devices. They are recruited when they run insecure or outdated firmware, or keep factory-default settings. In June 2025 the FBI warned about the BADBOX 2.0 botnet, which reached home-network devices such as TV streaming boxes and digital picture frames, in some cases because the product was configured with malicious software before the buyer received it.
What botnets are used for
- DDoS attacks. Floods at every layer; see what is a DDoS attack and DDoS attack types.
- Credential stuffing and brute force. Sign-in attempts spread across thousands of addresses; see credential stuffing.
- Scraping. Copying content or prices from addresses that look like ordinary visitors; see data scraping bots.
- Spam and fraud. Form submissions, fake sign-ups and fake clicks; see spam bots.
Botnets in the context of cybercrime
What is meant by botnet in the context of cyber crime? A botnet is criminal infrastructure: compromised devices that an operator uses to commit other offences, or rents to someone who will. To define botnet in one line: devices, a control channel and an operator. The definition of a botnet therefore describes the network, not the attack. Botnets attack through whatever job the operator picks, which is why the same network can serve a flood on Monday and credential stuffing on Friday, and why the cybercrime market sells access to it.
Social botnets are a different thing
Social bots are software agents that communicate on social media, and a social botnet is a coordinated set of them: fake or hijacked accounts posting, liking or following together. The word is shared with the device kind, but the problem is not. The defences on this page are for botnets that send traffic to your site; accounts on a social platform are for that platform to police.
What a botnet DDoS attack looks like
Traffic from a botnet arrives from many addresses at once, often spread across countries and networks, with no single source large enough to stand out. Floods aimed at the network fill links with packets; floods aimed at the application send ordinary-looking requests, sometimes from real browsers on infected devices.
Because each address sends little, blocking addresses one by one rarely helps. What works depends on the layer: capacity and filtering upstream for network floods, and limits and request inspection for application floods. The families are compared on attack layers, and the best-known IoT botnet on Mirai.
Aisuru: an IoT botnet behind record floods
Aisuru is an IoT botnet drawn mostly from consumer routers, security cameras and video recorders with outdated firmware or factory-default settings. KrebsOnSecurity reported in October 2025 that an Aisuru flood reached nearly 30 terabits per second, a record at the time, and that the botnet took most of its capacity from devices hosted on US internet providers. Experts told Krebs that this concentration made collateral damage harder to limit, because attacks aimed at one target disrupted other networks too. For a site owner the lesson is the one above: a flood of that size has to be absorbed or filtered upstream, before requests reach any rule you set.
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.
Guessing passwords from many addresses at once is the job covered under brute force attacks.
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.
Botnet trackers and honeypots
A botnet tracker is a public list of what researchers have learned about botnets. The abuse.ch project runs Feodo Tracker, which shares the addresses of botnet C&C servers tied to malware such as Dridex and Emotet, so network owners can block them. A malware honeypot is a decoy that imitates a vulnerable system to attract malicious software, which lets researchers watch how it behaves. Tracker data says which control servers are known; it does not show whether the traffic reaching your site comes from a botnet, so it does not replace the behavioural signals above. Bridge WAF matches on rate and request shape, not on tracker lists.
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.
How botnets are taken down
Botnets depend on their control channel, so takedowns aim there. Seizing or disabling command-and-control servers cuts the bots off; taking over the domain names they contact, known as sinkholing, redirects them to servers run by defenders, who can then count infections and notify the owners.
Peer-to-peer botnets are harder, because there is no central server to seize. And a takedown leaves the infected devices infected; until they are cleaned or replaced, a new operator can recruit them again. That is why takedowns are usually paired with notices to network providers and device owners.
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.