What Is a Botnet? How Infected Devices Attack Others

A botnet is a network of infected devices controlled remotely by one operator. Learn how botnets form, what they do, and how to keep your devices out of one.

By Galactic News Editorial · Published 2026-11-19T01:44:57+00:00 · Updated 2026-11-19T01:44:57+00:00

What is a botnet: illustration of infected devices controlled remotely by an operator

A botnet is a network of internet-connected devices infected with malware and controlled remotely by one operator. The infected devices are called bots or zombies. The operator is often called a botmaster. Together, the devices act as one coordinated force. They can flood websites, send spam, steal passwords, or mine cryptocurrency. Your own laptop, router, or camera could be part of one without showing any obvious sign.

What Is a Botnet?

A botnet starts with infection. Malware lands on a device through a phishing email, a malicious download, an unpatched flaw, or a login using a default password. Once installed, the malware connects quietly to a command and control channel. That channel is how the operator sends orders. The device then waits for instructions. It may sit idle for weeks before it is used.

Almost any connected device can become a bot. Computers and servers are common targets. So are home routers, security cameras, digital video recorders, and smart home gadgets. Devices with weak or factory-default passwords are the easiest to recruit. The Mirai botnet of 2016 showed the scale of the risk. It swept the internet for cameras and routers still using default credentials and logged straight in. The US Cybersecurity and Infrastructure Security Agency documented Mirai in its alert on the heightened distributed denial of service threat the botnet posed.

How a Botnet Works

Every botnet follows the same basic cycle. First, devices are infected. Second, they report to the operator's control channel. Third, they receive orders. Fourth, they act together at the same moment. The power of a botnet comes from numbers. One infected computer is a nuisance. Ten thousand acting at once can overwhelm a target.

Botnets use two main designs for their control channel.

DesignHow it worksWeakness
Centralised (client-server)Each bot connects to a command and control server run by the operatorShutting down the server can disable the whole network
Peer-to-peerBots pass instructions to each other with no single central serverHarder to take down, but harder for the operator to control

Centralised botnets are the most common design. Each bot connects to a criminal server using web or chat protocols. The operator issues one command, and the server fans it out to every bot. Peer-to-peer botnets are decentralised. Each infected device can pass instructions to other bots. That makes them harder to dismantle, because there is no single server to seize.

What Botnets Are Used For

Botnets are rented and sold as a service. The operator does not always run the attack. Often, a customer pays to use the network for a job. Common uses include distributed denial of service attacks that flood a website with traffic until it stops responding. They also send bulk spam and phishing emails. They try stolen passwords against many accounts at once. They mine cryptocurrency using the victims' electricity and hardware. They also act as proxy networks, routing other attacks through home connections so the traffic looks residential.

That last use has drawn recent attention from defenders. A 2025 advisory from the Cybersecurity and Infrastructure Security Agency focused on botnets built from compromised consumer and small-office routers. Attackers use those routers as proxy infrastructure. Traffic then appears to come from ordinary homes. That hides the attacker's origin and makes blocking harder.

Signs Your Device May Be Part of a Botnet

Bot malware is built to stay quiet. It often does nothing visible until it receives an order. Still, several clues can point to an infection.

No single sign proves an infection. Several together are worth investigating. Run a full scan with updated security software. Check your router's admin page for unfamiliar devices. If a device stays suspicious after a scan, back up your files and reset it to factory settings.

How to Protect Your Devices From Botnets

Prevention is mostly basic hygiene, done consistently.

  1. Change every default password on routers, cameras, and smart devices. Use a long, unique password for each one.
  2. Install firmware and software updates promptly. Many botnets exploit flaws that already have fixes.
  3. Turn off remote administration on your router unless you truly need it.
  4. Do not click links or open attachments in unexpected emails, even from familiar names.
  5. Use reputable security software and keep it updated.
  6. Replace devices that no longer receive security updates from the maker.

Routers deserve special care. They sit between your home and the internet, and they are a favourite target. Check for firmware updates at least every few months. Rebooting a router can also clear some infections that live only in memory, though it is not a cure for malware stored in firmware.

Bottom Line

A botnet is a stolen workforce of infected devices, controlled remotely and used for attacks, spam, and fraud. Most infections happen through phishing, unpatched software, or default passwords. Strong unique passwords, prompt updates, and a healthy suspicion of unexpected messages keep most devices out of the net. If your device shows several warning signs, scan it, check your router, and reset anything you cannot clean.