Use this when malware spreads by itself across the network.
Worm
A worm spreads on its own across networks by exploiting vulnerabilities or weak credentials, without user action, like WannaCry over SMB. Patching and segmentation limit its spread.
1. Worms self-propagate over networks (WannaCry, NotPetya).
2. Patch wormable vulnerabilities urgently.
3. Segment networks.
4. Disable SMB1.
5. Isolate quickly.
infected host → network exploit → next host
Context & applicabilityCommon mistakes · platform/version boundaries
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
Step 2 Common mistakes Narrow the fault
- Flat networks letting worms spread.
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.
- Worms spread by themselves through vulnerabilities or weak credentials.
- Segmentation limits spread.
- Patching closes the hole.
ReferenceWhy it matters1 section · depth on demand
ReferenceImportant terms & boundaries2 sections · depth on demand
In depth
A worm spreads by itself across networks, exploiting vulnerabilities or weak credentials without user interaction. Because each infected system attacks others, worms can spread worldwide in hours — WannaCry and NotPetya (2017) used an SMB vulnerability to cripple organisations.
Defences:
| Control | Effect |
|---|---|
| Fast patching of wormable vulnerabilities | Removes the spreading mechanism |
| Segmentation and internal firewalls | Limits spread between zones |
| Disable unneeded services (SMBv1) | Smaller attack surface |
| Block SMB/RDP from the internet | Prevents initial infection |
| EDR and network detection | Early warning of scanning behaviour |
A sudden spike of connection attempts to the same port across many internal hosts is the network signature of a spreading worm.
Notable worms
| Worm | Year | Spread via |
|---|---|---|
| Morris | 1988 | Unix services, weak passwords |
| Code Red / SQL Slammer | 2001/2003 | IIS / SQL Server UDP 1434 |
| Conficker | 2008 | SMB (MS08-067), weak passwords, USB |
| WannaCry / NotPetya | 2017 | SMBv1 (EternalBlue) |
Lesson: patch exposed services and segment networks so one host cannot reach everything.
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 → Worm. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://attack.mitre.org/techniques/enterprise/ · confidence 94%