{
  "family": "zafi",
  "sample_count": 5,
  "category": "advanced_threat",
  "description": "Worm:Win32/Zafi is a classic, historically significant mass-mailing computer worm that caused widespread disruption in the mid-2000s. Zafi (particularly variants like Zafi.B and Zafi.D) was notorious for its aggressive social engineering tactics, sending localized spam emails in multiple languages (often masquerading as Christmas greeting cards or urgent legal notices) to rapidly infect global networks.<br><br><b>Understanding the Zafi Worm</b><br>To an end-user, a Zafi infection results in immediate system slowdowns, disabled security tools, and the computer silently sending out thousands of spam emails to everyone in their address book. For a network administrator, Zafi represents a massive disruption event capable of crashing internal email servers due to the sheer volume of generated traffic, and causing the organization's IP address to be blacklisted.<br><br><b>Execution and Spreading Mechanics</b><br>Zafi propagates primarily via email (`T1566.001`). When a user executes the malicious attachment (often a `.pif`, `.scr`, or `.zip` file disguised as an image), the worm drops itself into the Windows `System32` directory with a randomized name (`T1204.002`). It establishes persistence via the Registry Run keys (`T1547.001`). To ensure its survival, Zafi aggressively attempts to terminate processes associated with popular antivirus and firewall software (`T1562.001`). The worm then harvests email addresses from the local hard drive (checking `.WAB`, `.HTM`, `.TXT` files) (`T1114.001`). Finally, it utilizes its own internal SMTP engine to blast copies of itself to all harvested addresses, frequently spoofing the 'From' address to make the emails appear legitimate (`T1098.002`).<br><br><b>Indicators of Compromise & Impact</b><br>The impact is severe network congestion, IP blacklisting, and the potential destruction of local security tools. Host-based IoCs include EDR alerts for a standard user process making thousands of outbound connections on port 25 (SMTP). Users may report that they cannot open Task Manager or Registry Editor, as Zafi often disables them. Network IoCs are dominated by massive spikes in outbound SMTP traffic originating from workstations rather than the corporate mail server.",
  "cta": "Published by the SystemHelpdesk team.",
  "aliases": [],
  "enrichment_level": "expert-seo",
  "faq": [],
  "faq_count": 0,
  "mitre_attack": [
    "T1566.001",
    "T1114.001",
    "T1098.002",
    "T1562.001"
  ],
  "cisa_advisory": null,
  "last_updated": "2026-06-09",
  "mitre_attack_detail": [
    {
      "id": "T1566.001",
      "name": "Phishing: Spearphishing Attachment",
      "tactic": "Initial Access"
    },
    {
      "id": "T1114.001",
      "name": "Email Collection: Local Email Collection (Harvesting address books)",
      "tactic": "Collection"
    },
    {
      "id": "T1562.001",
      "name": "Impair Defenses: Disable or Modify Tools (Terminating AV processes)",
      "tactic": "Defense Evasion"
    },
    {
      "id": "T1098.002",
      "name": "Account Manipulation: Additional Email Delegate Permissions (Spoofing emails via internal SMTP)",
      "tactic": "Credential Access"
    }
  ],
  "containment_steps": [
    "Immediately isolate the infected endpoint from the network to stop the massive outbound email flood and prevent the IP from being blacklisted.",
    "Block outbound port 25 (SMTP) traffic from all endpoints at the perimeter firewall, allowing only the designated corporate email servers to send mail.",
    "Run specialized AV removal tools, as Zafi actively monitors and terminates standard Task Manager and AV processes, making manual removal difficult.",
    "Notify email administrators to monitor the corporate mail queues, as internal worms can cause massive backlogs and potential server crashes."
  ],
  "what_to_avoid": [
    "Do not allow standard workstations direct outbound access to the internet on port 25; this is the primary enabler for mass-mailing worms.",
    "Avoid opening unexpected attachments, even if they appear to come from known contacts, as Zafi relies entirely on spoofing sender addresses."
  ],
  "target_industries": [
    "Global / Opportunistic"
  ],
  "motivation": "Opportunistic",
  "threat_actors": [
    "Unknown / Cybercriminal"
  ],
  "target_geographies": [
    "Global"
  ]
}