Botnets: how infected devices are controlled and how takedowns work

A botnet is a set of infected devices controlled centrally or peer-to-peer, used for DDoS, spam, credential stuffing, and proxying. How command-and-control looks on the network, how IoT botnets like Mirai recruit, and what takedowns and sinkholes do.

Lesson 10 of 18 · 10 min read · practice only with authorization

Diagram

A bot checking in

Follow the path. One example at a time.

Step 1 of 4

Infection

A router or camera is infected through default credentials or an old flaw.

Illustration: Infection
# Infection
# A router or camera is infected through default
# credentials or an old flaw.

The example on the open step is one illustration, or the fix you can paste into an application you own.

What this page is made of

3 pieces. Each one says what fails, who is affected, what you would notice, and what you change.

  1. Periodic check-ins

    What fails
    Bots contact controllers at regular intervals.
    Who is affected
    Networks hosting infected devices.
    What you would notice
    Fixed-interval DNS or connections from one device.
    What you change
    Alert on periodic traffic from IoT and server segments.
  2. Residential proxies

    What fails
    Some botnets sell infected devices as proxies.
    Who is affected
    Victims of traffic that appears to come from you.
    What you would notice
    Abuse complaints naming your IP.
    What you change
    Investigate devices on that network and isolate them.
  3. Takedowns

    What fails
    Law enforcement and researchers sinkhole domains or seize servers.
    Who is affected
    Bot operators.
    What you would notice
    Sinkhole notifications from your ISP or CERT.
    What you change
    Act on notifications quickly.

Examples

Mirai (2016) used default Telnet passwords on cameras and routers to launch record DDoS attacks. Emotet was disrupted by an international operation in 2021. The 911 S5 residential proxy botnet was dismantled in 2024. Each shows a different control: defaults, coordinated takedown, and device hygiene.

Check yourself

Recognition and the fix. Nothing here is a procedure.

1 / 3

A camera queries a random-looking domain every 300 seconds. What is likely?

Sibling techniques

Pages at the same depth, plus a lab and a glossary card for this one.

  1. MapMalware fundamentals: families, delivery, persistence, and the responseWhat malware categories describe, how infections usually start, where persistence hides on Windows, Linux, and macOS, and why rebuilding usually beats cleaning.

Practice

  1. LabTerminal labRead the files on a scoped host and name the failure in a finding.