Log in Sign up
Back to Discover
💻

Botnet

technology Maturity 11-13

Bad people use many computers.

Stachledraht DDos Attack.svg
Stachledraht DDos Attack.svg
They join them in a group. A person can tell them what to do. They might send too much mail. They might steal things. This can hurt your computer. Do you use a computer?

42 words

A botnet is a group of connected devices.

P2P-network.svg
P2P-network.svg
These can be computers or phones. A bad person uses bad software to take control. They can use the group to steal data. They might also send too much spam.
Server-based-network.svg
Server-based-network.svg
One person can lead the whole group. They send commands to the devices from far away. This is often done through the internet. The owners may not even know it is happening. It is important to keep your devices safe.

80 words

A botnet is a group of internet-connected devices.

Server-based-network.svg
Server-based-network.svg
These devices can be computers or smartphones. They can also be other smart tools. A bad person takes control of them using malware. Malware is bad software that breaks into a device. Once a device is caught, we call it a bot.
P2P-network.svg
P2P-network.svg

The person in charge is called a bot herder. They use a way called command and control, or C&C. This is how they send orders to the bots. Some botnets use a client-server model. In this way, all bots talk to one main server. The herder sends a command to that server. Then, the server tells all the bots what to do.

Other botnets use peer-to-peer networks, or P2P. In a P2P botnet, there is no single main server. Instead, the bots talk directly to each other. They can even find new bots by looking for other devices. This makes the botnet harder to stop. A bot herder can use these groups for many bad things. They might steal data or send spam. They can also start a DDoS attack. This is when many bots flood a website with traffic to crash it.

195 words

A botnet is a group of internet-connected devices.

Server-based-network.svg
Server-based-network.svg
These devices can be computers, smartphones, or even Internet of things (IoT) tools. Each device in the group is called a bot. This happens when a device is broken into by malware, which is bad software. The person in charge is called a bot herder. They take control of these devices without the owners knowing.
CIAJMK1209-en.svg
CIAJMK1209-en.svg
This is often used for bad things like stealing data or sending spam. It can also be used for a DDoS attack to crash websites.

To make a botnet, a hacker uses a Trojan or an exploit kit.

Stachledraht DDos Attack.svg
Stachledraht DDos Attack.svg
The malware tricks a person into downloading it. This might happen through a bad email attachment or a web browser flaw. Once the software is on the device, it installs special modules. These modules allow the bot herder to send orders. The infected computer is sometimes called a zombie computer. This is because the owner does not know it is being used. It is like a zombie that follows orders from a master.

Botnets use different ways to receive orders. This is called command and control, or C&C. In the first way, called the client-server model, all bots talk to one main server. The bot herder sends a command to that central server. Then, the server tells all the bots what to do. Some botnets use Internet Relay Chat, or IRC, to do this. The herder can even set a topic in a chat channel to give orders. If the server is shut down, the bots might just sit still.

Newer botnets use a different way called peer-to-peer, or P2P.

P2P-network.svg
P2P-network.svg
These do not need one central server to work. Instead, the bots talk directly to each other. This makes the botnet harder to stop because there is no single point of failure. A P2P bot can find other infected machines by checking random IP addresses. If it finds a bot with older software, it will send a file to update it. This helps the botnet grow and stay strong.

Using a botnet to control devices without permission is illegal. Most places prosecute this as hacking or fraud. Law enforcement uses special tools to try to take these networks down. Some botnets are even rented out by criminals as a service. They might use domains or even social media sites to hide their messages. They try to stay hidden so they can keep working. Understanding how they work helps people keep their devices safe.

420 words

A botnet is a logical collection of Internet-connected devices. These devices can be computers, smartphones, or Internet of Things (IoT) devices. A botnet forms when the security of these devices is breached. Control is then ceded to a third party. Each compromised device is known as a "bot." The word "botnet" is a portmanteau of the words "robot" and "network." Most people use the term with a negative or malicious connotation.

Server-based-network.svg
Server-based-network.svg

To create a botnet, an originator must first infect devices with malware. This is malicious software designed to cause harm. A hacker might use a Trojan or an exploit kit to start this process. They may lure a user into a drive-by download. They might also exploit web browser vulnerabilities. Another common method is tricking a user into running a Trojan horse via an email attachment. Once the malware is installed, it installs modules. These modules allow the device to be commanded and controlled remotely. The infected computer is often called a "zombie computer." This name is a metaphor because the owner is usually unaware of the intrusion.

CIAJMK1209-en.svg
CIAJMK1209-en.svg

The person in charge of the botnet is called a bot herder or bot master. They manage the group through command and control, often called C&C. The herder uses a covert channel to send instructions to the bots. This process is sometimes called "scrumping," which refers to stealing computing resources. Once a botnet is active, the herder can use it for many tasks. They can perform distributed denial-of-service (DDoS) attacks. They can also steal data, send spam, or access the device's connection. Some criminals even rent these botnets out as commodities. They might offer "booter" or "stresser" services for profit.

Botnet architecture has evolved to avoid detection and disruption. The traditional method is the client–server model. In this setup, bots act as clients that communicate via existing servers. The bot herder sends commands to a central server. The server then relays those commands to all the infected clients. Some botnets use Internet Relay Chat (IRC) for this purpose. The herder creates an IRC channel and sets a topic. For example, a topic message could instruct the bots to begin a DDoS attack on a specific website. The bots then report their results back to the herder through the channel.

Stachledraht DDos Attack.svg
Stachledraht DDos Attack.svg

To make botnets more resilient, many now use peer-to-peer (P2P) networks. In a P2P botnet, there is no single central server to act as a point of failure. Instead, the bots act as both a client and a command distribution server. They communicate directly with one another. To find other infected machines, a P2P bot will discreetly probe random IP addresses. If it identifies another infected machine, it exchanges information. This information includes software versions and lists of known bots. If one bot has an older version, they initiate a file transfer to update. This allows the botnet to grow and update itself automatically.

P2P-network.svg
P2P-network.svg

Other methods of command and control include using web domains. Large botnets, such as the Rustock or Srizbi botnets, often use this approach. These bots access specially designed webpages to receive their commands. This method allows for easy updates with simple code. However, domains can be seized by government agencies. To prevent this, some use "fast-flux DNS." This technique allows control servers to change frequently. Some even use domain generation algorithms to create new names for controller servers. Others use free DNS hosting services to point subdomains toward their control centers.

Operating or building a botnet without authorization is illegal in most jurisdictions. It is regularly prosecuted as hacking, fraud, or other cyber-crimes. Law enforcement and private parties use legal tools to disrupt these networks. However, these takedowns can raise complex legal and constitutional issues. Modern botnets are increasingly sophisticated. Some even use popular sites like GitHub, Twitter, or Reddit to hide their communications. They may also use the Tor hidden services to avoid detection. Understanding these complex systems is vital for maintaining digital security in a connected world.

667 words
🖼️ Images & Media (4)
File:Stachledraht DDos Attack.svg
Stachledraht DDos Attack.svg
File:CIAJMK1209-en.svg
CIAJMK1209-en.svg
File:P2P-network.svg
P2P-network.svg
File:Server-based-network.svg
Server-based-network.svg
Up Next
💻
Spyware
Technology
More to explore

🔗 What's this?

Concepts mentioned in this article

🔬 Go deeper

More advanced topics to explore

🪜 Step back

Simpler topics to build understanding

What is Nepedia?

A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.