A botnet is a network of compromised computers or IoT devices controlled by a central command and control (C2) infrastructure. These infected systems, known as "bots" or "zombies," execute commands without the owners' knowledge, enabling threat actors to conduct distributed attacks, cryptocurrency mining, credential theft, and spam distribution at scale.