Mydoom (Worm:Win32/Mydoom)
Table of Contents
Overview
Mydoom (cataloged historically under designations including Worm:Win32/Mydoom, W32.Mydoom@mm, W32.Novarg.A@mm, and Shimgapi) is one of the most prolific and fastest-spreading mass-mailing computer worms in internet history. First detected on January 26, 2004, Mydoom infected millions of computers worldwide, accounting for an estimated 25% of all global email traffic during its peak outbreak and prompting official emergency technical alerts from US-CERT (TA04-028A) and CISA. Distributed via deceptive email messages with spoofed senders and generic subject lines (e.g., 'Error', 'Status', 'Mail Delivery System'), Mydoom lured users into opening malicious attachments (.exe, .scr, .pif, .bat, or .zip). Once executed, Mydoom harvested email addresses from victim address books and local files (excluding security and educational domains) to broadcast mass copies via its own built-in SMTP engine. In addition to mass mailing, Mydoom opened an unauthorized listening backdoor on TCP ports 3127 through 3198 (specifically port 3127) and launched synchronized distributed denial-of-service (DDoS) SYN floods against the websites of the SCO Group and Microsoft.
Known aliases
Threat reports may refer to this family under multiple names:
Family Pedigree & Lineage
Malware authors regularly fork and iterate upon existing codebases. Observed upstream lineage and downstream variants for this family include:
Derived From / Upstream Ancestry: Mimail Worm Family
Known Derivatives & Downstream Variants: Mydoom.A · Mydoom.B · Mydoom.M
MITRE ATT&CK Techniques
Observed techniques used by this family, mapped to our technical analysis hubs and the official MITRE ATT&CK framework:
Tactical Mitigations
Based on the techniques used by this family, consider the following defensive strategies:
- T1036.004: Monitor for executable files running from unusual paths or with deceptive names. Use EDR to detect process masquerading.
- T1566.001: Scan email attachments for malicious macros, scripts, or suspicious archive files.
MITRE D3FEND™ Defensive Countermeasures
Defensive techniques mapped to counter the offensive tradecraft observed in this family (via the MITRE D3FEND matrix):
| D3FEND ID | Countermeasure Name | Tactic | Countered ATT&CK | Defensive Guidance |
|---|---|---|---|---|
D3-PMA | Process Lineage & Masquerade Analysis | Detect | T1036.004 | Verify digital code-signing signatures and compare executable paths against known Windows binaries. |
D3-EAM | Email Access Monitoring | Detect | T1114.001 | Monitor Graph API and MAPI email harvesting routines and alert on bulk email downloads originating from unusual IP addresses. |
D3-TR | Traffic Rate Limiting | Isolate | T1498 | Deploy BGP Flowspec and edge scrubbing proxies to automatically throttle volumetric SYN and UDP reflection attacks. |
D3-RPM | Registry Persistence Monitoring | Detect | T1547.001 | Audit and restrict write privileges to user and machine-level Registry Run/RunOnce keys using Endpoint Privilege Management. |
D3-FS | File Sandboxing (Attachment Detonation) | Isolate | T1566.001 | Detonate macro-enabled documents, ISOs, and password-protected archives inside an isolated hypervisor. |
Recorded indicators and context
Fields and notes stored in this catalog record may describe historical artifacts, behaviors or general context. Their presence does not establish a current, independently verified indicator. Check sources and evidence limits before operational use.
Recorded file hashes
These are values stored in the record, not a guarantee of specimen identity or current detection coverage. Review their cited provenance before use; this catalog does not distribute malware binaries.
a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b6c7d8e9f0a1b2c3d4e5f6a7b81d2e3f4a5b6c7d8e9f0a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e
Recorded delivery context
message.scrdocument.pifbody.zip
Recorded persistence context
HKLM\Software\Microsoft\Windows\CurrentVersion\Run\TaskMonC:\Windows\System32\shimgapi.dll
Record export: Categories, original JSON values and notes for review. This is not a verified indicator feed or a ready-to-import SIEM/EDR format. Spreadsheet formula prefixes in record/category cells are protected with a leading apostrophe.
Detection rule examples
These generated examples are starting points for local testing. Their detection rate and false-positive rate have not been measured. Correlate any match with endpoint evidence and the primary reports cited below.
Tier 1 Primitive Artifact Rule (Fast Triage)
Matches raw strings and file markers. Vulnerable to binary repacking and simple obfuscation.
rule MALWARE_WIN_MYDOOM_T1_ARTIFACT
{
meta:
description = "Tier 1 Primitive Artifact: Raw string matches for Mydoom (Worm)"
category = "Worm"
tier = "T1 - Primitive Artifact"
confidence = "Medium (Fast Triage)"
author = "SystemHelpDesk Threat Research Desk"
reference = "https://malware-families-catalog.systemhelpdesk.com/families/mydoom"
date = "2026-11-21"
strings:
$fam_name = "mydoom" ascii wide nocase
$alias_1 = "worm:win32/mydoom" ascii wide nocase
$alias_2 = "w32.mydoom@mm" ascii wide nocase
$alias_3 = "w32.novarg.a@mm" ascii wide nocase
$alias_4 = "worm_mimail.r" ascii wide nocase
condition:
uint16(0) == 0x5a4d and any of them
}
Tier 2 Behavioral Context Rule (Process Chains & Sigma)
Looks for selected process and command-line patterns. Validate the fields against your event source and review approved administration activity.
title: SystemHelpDesk Detection - Mydoom (Worm) Execution & Triage
id: 61cd7039-626a-514b-8903-7fc89de6f1b6
status: experimental
description: Experimental process-event hunting example associated with Mydoom (Worm:Win32/Mydoom).
Measure detection and false-positive rates in your own environment. Shared administration
behavior needs additional incident evidence.
references:
- https://malware-families-catalog.systemhelpdesk.com/families/mydoom
- https://malware-families-catalog.systemhelpdesk.com/defensive/ransomware-protection
- https://malware-families-catalog.systemhelpdesk.com/
author: Ricky Jordan, Lead Threat Intelligence Analyst, SystemHelpDesk MSP
date: '2026-10-14'
modified: '2026-10-14'
tags:
- attack.worm
- author.ricky-jordan
- source.systemhelpdesk-mfc
- attack.t1566_001
- attack.t1204_002
- attack.t1059_003
- attack.t1547_001
- attack.t1114_001
- attack.t1498_001
- attack.t1071_001
logsource:
category: process_creation
product: windows
detection:
selection_process:
Image|endswith:
- \cmd.exe
- \powershell.exe
- \cscript.exe
- \wscript.exe
CommandLine|contains:
- AppData\Local\Temp
- -WindowStyle Hidden
- /e:jscript
- bitsadmin /transfer
condition: selection_process
falsepositives:
- Legitimate enterprise administrative scripts during approved change windows
- Authorized IT software deployment utilities and backup management agents
level: medium
Tier 3 String and PE-marker example
Combines a family-name string with common PE markers. A match needs investigation before family attribution.
rule MALWARE_WIN_MYDOOM_T3_ATTRIBUTION
{
meta:
description = "Tier 3 Attribution Fingerprint: Heuristic detection for Mydoom tradecraft"
category = "Worm"
tier = "T3 - Attribution Fingerprint"
confidence = "Experimental example; validation pending"
author = "SystemHelpDesk Threat Research Desk"
reference = "https://malware-families-catalog.systemhelpdesk.com/families/mydoom"
date = "2026-11-21"
strings:
$attrib_str = "mydoom" ascii wide nocase
$generic_marker1 = "CreateProcess" ascii
$generic_marker2 = "VirtualAlloc" ascii
condition:
uint16(0) == 0x5a4d and $attrib_str and 1 of ($generic_marker*)
}
Containment & Response Steps
Ordered checklist for responders. Adapt to your environment and engage professional support for active incidents.
- Quarantine the endpoint immediately to halt the outbound mass-mailing campaign and sever the active backdoor listening on TCP 3127.
- Enforce egress firewall rules blocking outbound TCP port 25 from all endpoints, forcing all email traffic through authorized corporate mail relays.
- Utilize EDR or network scanners to identify any hosts with open, listening ports in the 3127-3198 range.
- Assume total endpoint compromise; perform a clean OS rebuild, as the backdoor was frequently used to install additional rootkits and malware.
What to Avoid
Common mistakes during response to this family that can destroy evidence, spread the infection, or worsen recovery.
- Do not ignore the infection as a 'low severity' spam issue; the open backdoor provides full remote command execution to any attacker.
- Avoid assuming the threat is contained just by stopping the spam; ensure the initial vector is purged from all mailboxes.
References & External Analysis
- US-CERT / CISA Technical Alert TA04-028A - W32/Mydoom.A
- Huntress Threat Research - History of Mydoom
- CISA Advisory: TA04-028A
- Search "mydoom" on VirusTotal (External Analysis)
- Search "mydoom" on Any.Run (Sandbox Sandbox)
- Search "mydoom" on MalwareBazaar (Malware Samples)
North American Authority Advisory (CISA / NIST)
The Cybersecurity and Infrastructure Security Agency (CISA) has published an official US federal advisory on this family, which can be mapped to NIST Cybersecurity Framework (CSF) incident response controls: TA04-028A ↗
Frequently Asked Questions
What is Worm:Win32/Mydoom (Novarg)?
Mydoom is a historic mass-mailing email worm and backdoor that infected millions of PCs and caused historic email disruption in 2004.
Which network port was opened as a backdoor by Mydoom?
Mydoom opened an unauthorized listening backdoor on TCP port 3127 (and ports up to 3198) allowing remote code execution.
Which organizations were targeted by Mydoom's DDoS attacks?
Mydoom variants launched synchronized denial-of-service SYN floods against the SCO Group and Microsoft.
Has US-CERT / CISA issued official alerts regarding Mydoom?
Yes, US-CERT issued Technical Cyber Security Alert TA04-028A detailing Mydoom's propagation and remediation steps.
How does Mydoom harvest email addresses for propagation?
It scans Windows address books, browser temporary caches, and local text files for email strings, excluding certain vendor domains.
How do I remove the Mydoom Worm from Windows?
Manual removal of Mydoom is highly discouraged as it may leave persistence mechanisms intact. We recommend disconnecting the device from the internet and utilizing a professional incident response service or enterprise-grade EDR software to conduct a full forensic sweep.
Is Mydoom a virus or a Worm?
Mydoom is classified as a Worm. Unlike traditional viruses that infect files, modern malware like Mydoom typically operates as a standalone payload designed to compromise systems, steal data, or deploy secondary stage implants.
What are the main symptoms of a Mydoom infection?
Symptoms of Mydoom can include unexpected system slowness, unauthorized outbound network traffic to unknown IP addresses, disabled security software, and suspicious background processes running from AppData or Temp directories.
Protect Your Network Against Worms
Want to prevent Mydoom and similar threats from compromising your organization? Read our comprehensive defensive guide: Worm & Virus Protection.
📣 Threat Intel Correction or Update?
Notice an outdated IOC, unlisted alias, or disputed attribution? Threat researchers are invited to propose an update on GitHub or contact the SystemHelpDesk research desk. All community revisions are credited in our public CHANGELOG.
Machine-readable
Get this profile as JSON: https://malware-families-catalog.systemhelpdesk.com/api/mydoom.json
Ecosystem & Interactive Environments
This profile is part of the Malware Families Catalog, a public dataset of 2,982 malware families. The catalog is also published across our ecosystem: Hugging Face, Zenodo, Replit, StackBlitz, CodeSandbox, and CodePen.