Use this when hosts may be part of a botnet.
Botnet
A botnet is a network of infected computers or IoT devices controlled through command-and-control servers, used for DDoS, spam, credential attacks or distributing other malware.
1. Botnets: infected devices controlled remotely (DDoS, spam, proxies).
2. IoT often targeted — change defaults, patch.
3. Egress filtering.
4. Block C2.
5. Clean infected devices.
infected device → C2 → commands
Context & applicabilityCommon mistakes · platform/version boundaries
- IoT devices with default passwords exposed to the internet.
- No outbound filtering, so infected devices reach command-and-control freely.
- Ignoring low-level infections ("just adware") that sell access to others.
- No monitoring of beaconing patterns (regular, periodic connections).
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Detection Verify boundary
- Outbound connections to known C2 domains/IPs (threat intelligence, DNS filtering).
- Regular beaconing patterns in proxy, firewall or NetFlow logs.
- IoT devices with default passwords exposed to the internet.
Change default credentials, keep IoT on separate VLANs and block unneeded outbound traffic.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- Bots call command-and-control servers.
- Infected IoT devices are common bots.
- DNS and flow logs reveal C2 traffic.
- Beaconing/C2 detections — bot traffic
- Outbound traffic to known botnet C2 — threat intel
- DDoS participation (abuse reports) — external signals
ReferenceImportant terms & boundaries2 sections · depth on demand
In depth
A botnet is a network of compromised devices controlled by an attacker through command-and-control (C2) infrastructure. Bots are used for DDoS attacks, spam, credential stuffing, proxying malicious traffic and distributing further malware. IoT devices with default passwords are frequent recruits (Mirai).
Detecting bots in your network:
| Indicator | Source |
|---|---|
| Regular beaconing to rare external hosts | Firewall/proxy/DNS logs |
| DNS lookups of known C2 or DGA-like domains | DNS logs, protective DNS |
| Unexpected outbound traffic from IoT devices | Flow data |
| Participation in scanning or DDoS | Abuse reports, NetFlow |
Prevention: change default credentials, segment IoT devices, restrict their outbound traffic to what they need, and keep firmware updated.
Botnet uses and examples
| Use | Example |
|---|---|
| DDoS | Mirai (IoT, default credentials) |
| Spam/malware delivery | Emotet, QakBot (disrupted by law enforcement) |
| Credential stuffing | Residential proxy botnets |
| Crypto mining | Compromised servers and containers |
Change default credentials on IoT, and block outbound traffic that devices do not need.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Malware → Botnet. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://attack.mitre.org/techniques/enterprise/ · confidence 94%