Introduction of Botnet in Computer Networks (original) (raw)

Last Updated : 13 Jun, 2026

A botnet is a network of compromised computers or devices infected with malware and remotely controlled by an attacker (botmaster) through a Command and Control (C&C) system. These infected devices are called bots or zombies.

botnet_operator

Botnet

Botnet Working and Communication

The process involves infection, connection, communication, execution of commands and expansion of the botnet.

infected_machine_bot_zombie_

Step 1: Identifying Vulnerable Systems

The attacker first scans and identifies devices that can be easily compromised. These systems usually have weak security or outdated protection, making them easy entry points for malware infection.

Step 2: Malware Infection

The attacker spreads malicious software to the identified systems using different delivery methods. Once executed, the malware installs itself silently and turns the device into a bot without the user noticing.

Step 3: Connection to Command and Control (C&C) Server

After infection, the device connects to a Command and Control server. This server acts as the control center where the attacker manages all infected devices remotely.

Step 4: Communication Using Common Protocols

Botnets communicate using standard internet protocols to avoid detection. The traffic is designed to look normal so that it blends with regular network activity.

Step 5: Execution of Commands

The botmaster sends instructions through the C&C system and infected devices carry out tasks automatically. These actions are often large-scale and coordinated.

Step 6: Botnet Expansion (Self-Propagation)

The botnet continues to grow by infecting more vulnerable systems. Each newly infected device becomes part of the network, increasing its strength and reach.

Types of Botnets

Botnets can be classified based on the communication channel used between the bots and the Command and Control (C&C) server.

1. IRC Botnet

This botnet uses Internet Relay Chat (IRC) servers as the Command and Control (C&C) channel through which the botmaster sends instructions to infected devices.

2. Peer-to-Peer (P2P) Botnet

This operates using a decentralized network structure where each infected device communicates directly with other bots instead of relying on a central server.

3. HTTP/HTTPS Botnet

Bots periodically connect to specific URLs to receive instructions, making the traffic appear similar to normal web browsing activity.

Types of Botnet Attacks

Botnet Prevention Methods