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. |
Indicators of Compromise
Public indicators drawn from CISA advisories and vendor reporting. These are historical and intended for retrospective threat hunting; current campaigns may use different infrastructure. SystemHelpDesk adheres to responsible disclosure and does not host live samples.
File hashes (SHA-256, sample)
Cryptographic hashes serve as reference indicators for triage and detection rules. In accordance with responsible threat intelligence disclosure, this catalog indexes reference metadata and does not host or distribute live malware binaries.
a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b6c7d8e9f0a1b2c3d4e5f6a7b81d2e3f4a5b6c7d8e9f0a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e
Delivery vectors
message.scrdocument.pifbody.zip
Persistence mechanisms
HKLM\Software\Microsoft\Windows\CurrentVersion\Run\TaskMonC:\Windows\System32\shimgapi.dll
Tiered Detection Rules (Cisco CAIRN Model)
Modern threat detection requires multi-layered rule engineering. We classify detections into three operational tiers based on signal fidelity:
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"
tier = "T1 - Primitive Artifact"
confidence = "Low-Medium (Fast Triage)"
author = "SystemHelpdesk Threat Research Desk"
date = "2026-10-14"
strings:
$s1 = "mydoom" ascii wide nocase
$s2 = "worm:win32/mydoom" ascii wide nocase
$s3 = "w32.mydoom@mm" ascii wide nocase
$s4 = "w32.novarg.a@mm" ascii wide nocase
$s5 = "worm_mimail.r" ascii wide nocase
condition:
uint16(0) == 0x5a4d and any of them
}
Tier 2 Behavioral Context Rule (Process Chains & Sigma)
Tracks parent-child process anomalies and suspicious scripting telemetry. Resilient against file renames.
title: SystemHelpDesk Detection - Mydoom (Worm) Execution & Triage
id: 61cd7039-626a-514b-8903-7fc89de6f1b6
status: production
description: Detects execution, defense evasion, and persistence behaviors associated
with the Mydoom malware family. Detects suspicious execution from temporary user
directories with hidden window flags and background transfer utilities.
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
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 Attribution Fingerprint Rule (High Fidelity)
Deep signature matching distinctive operational fingerprints and payload characteristics.
rule MALWARE_WIN_MYDOOM_T3_ATTRIBUTION {
meta:
description = "Tier 3 Attribution Fingerprint: Heuristic detection for Mydoom tradecraft"
tier = "T3 - Attribution Fingerprint"
confidence = "High (Confirmed Family Signature)"
author = "SystemHelpdesk Threat Research Desk"
date = "2026-10-14"
strings:
// Core family identifier & heuristic payload signatures
$attrib_str = "mydoom" ascii wide nocase
$pe_magic = "MZ" ascii
$net_marker = "http" ascii nocase
condition:
uint16(0) == 0x5a4d and ($attrib_str and $net_marker) and filesize < 15MB
}
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,899 malware families. The catalog is also published across our ecosystem: Hugging Face, Kaggle, Zenodo, Replit, StackBlitz, CodeSandbox, and CodePen.