Benjamin (Worm:Win32/Benjamin.A)

Category: worm · Aliases: Worm:Win32/Benjamin.A, W32.Benjamin.Worm, P2P-Worm.Win32.Benjamin, I-Worm.Benjamin, W32/Benjamin.worm · Sample count (EMBER 2018): 153 · Enrichment: curated_sourced · Updated: 2026-10-15
Category: WormStatus: Automated SignaturePlatform: WINDOWS_PEStage: Propagation, Execution, Persistence, Denial Of ServiceFirst seen: 2002Actor: Unknown / Historical CybercriminalIndustry: Global / OpportunisticMotivation: Propagation🕸 Explore Relationship Graph⚙ API JSON⚡ Sigma Rule💾 YARA RuleOS: Windows 10, Windows 7, Windows XP
Executive Summary
Benjamin (cataloged across antivirus vendors as Worm:Win32/Benjamin.A, W32.Benjamin.Worm, and P2P-Worm.Win32.Benjamin) is an infamous legacy peer-to-peer (P2P) network worm first identified in 2002.

Table of Contents

Overview

Benjamin (cataloged across antivirus vendors as Worm:Win32/Benjamin.A, W32.Benjamin.Worm, and P2P-Worm.Win32.Benjamin) is an infamous legacy peer-to-peer (P2P) network worm first identified in 2002. Specifically engineered to exploit decentralized file-sharing ecosystems—most notably KaZaA, Grokster, and the FastTrack network—Benjamin propagates by turning infected endpoints into high-volume distribution hubs for the worm. Upon initial execution, typically disguised as a cracked software utility, popular game patch, or multimedia archive, Benjamin copies its core executable into the Windows System folder and secures persistence through the Windows Registry Run key. It then scans local storage for designated P2P shared folders (such as 'My Shared Folder'). Once identified, the worm duplicates itself thousands of times into the shared directory, dynamically forging enticing filenames that match the most frequently queried search terms across the P2P network, exhausting local disk storage and launching distributed denial-of-service (DoS) traffic against targeted Spanish commercial servers.

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: P2P Network Worm Architecture · Fasttrack Shared Folder Flooder

Known Derivatives & Downstream Variants: Benjamin.A · Benjamin.B · Benjamin!Rfn

MITRE ATT&CK Techniques

Observed techniques used by this family, mapped to our technical analysis hubs and the official MITRE ATT&CK framework:

→ Explore the complete 226-Technique ATT&CK Threat Matrix

Tactical Mitigations

Based on the techniques used by this family, consider the following defensive strategies:

MITRE D3FEND™ Defensive Countermeasures

Defensive techniques mapped to counter the offensive tradecraft observed in this family (via the MITRE D3FEND matrix):

D3FEND IDCountermeasure NameTacticCountered ATT&CKDefensive Guidance
D3-PMAProcess Lineage & Masquerade AnalysisDetectT1036.004Verify digital code-signing signatures and compare executable paths against known Windows binaries.
D3-FDAFile Directory Access AuditingDetectT1083Audit and alert on high-frequency recursive directory queries executed by non-system and unclassified binaries.
D3-FEAFile Execution AnalysisHardenT1204.002Enforce AppLocker and Windows Defender Application Control (WDAC) to block executable launches from temporary and user-writable directories.
D3-TRTraffic Rate LimitingIsolateT1498Deploy BGP Flowspec and edge scrubbing proxies to automatically throttle volumetric SYN and UDP reflection attacks.
D3-RPMRegistry Persistence MonitoringDetectT1547.001Audit and restrict write privileges to user and machine-level Registry Run/RunOnce keys using Endpoint Privilege Management.

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.

Recorded delivery context

Recorded persistence context

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_BENJAMIN_T1_ARTIFACT
{
    meta:
        description = "Tier 1 Primitive Artifact: Raw string matches for Benjamin (Worm)"
        category = "Worm"
        tier = "T1 - Primitive Artifact"
        confidence = "Medium (Fast Triage)"
        author = "SystemHelpDesk Threat Research Desk"
        reference = "https://malware-families-catalog.systemhelpdesk.com/families/benjamin"
        date = "2026-11-21"
    strings:
        $fam_name = "benjamin" ascii wide nocase
        $alias_1 = "worm:win32/benjamin.a" ascii wide nocase
        $alias_2 = "w32.benjamin.worm" ascii wide nocase
        $alias_3 = "p2p-worm.win32.benjamin" ascii wide nocase
        $alias_4 = "i-worm.benjamin" ascii wide nocase
        $alias_5 = "w32/benjamin.worm" 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 - Benjamin (Worm) Execution & Triage
id: ba74af47-4fc7-515e-99a7-362f20ae25f9
status: experimental
description: Experimental process-event hunting example associated with Benjamin (Worm:Win32/Benjamin.A).
  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/benjamin
- 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.t1204_002
- attack.t1547_001
- attack.t1036_004
- attack.t1083
- attack.t1498
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_BENJAMIN_T3_ATTRIBUTION
{
    meta:
        description = "Tier 3 Attribution Fingerprint: Heuristic detection for Benjamin 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/benjamin"
        date = "2026-11-21"
    strings:
        $attrib_str = "benjamin" ascii wide nocase
        $generic_marker1 = "CreateProcess" ascii
        $generic_marker2 = "VirtualAlloc" ascii
    condition:
        uint16(0) == 0x5a4d and $attrib_str and 1 of ($generic_marker*)
}
SOC & SIEM Rule Downloads: ⬇ Download YARA Rule (.yar) ⬇ Download Sigma Rule (YAML) ⬇ Download Sigma Rule (JSON) ⚙ Threat Profile API (JSON)

Containment & Response Steps

Choose a response for the evidence you have. Start with the suspected-infection triage guide. Record what is suspected, what is confirmed and who can approve containment or recovery before taking disruptive action. Adapt the technical steps below to your devices, accounts and incident scope.

Ordered checklist for responders. Adapt to your environment and engage professional support for active incidents.

  1. Terminate active P2P client software (KaZaA, eMule, torrent clients) immediately to halt worm distribution.
  2. Inspect designated P2P shared folders and delete thousands of identically sized generated executable files.
  3. Audit HKCU and HKLM Registry Run keys to remove unauthorized worm startup keys (e.g., explorer32).
  4. Execute a full endpoint antivirus scan to detect and remove the root worm dropper from the Windows directory.

What to Avoid

Common mistakes during response to this family that can destroy evidence, spread the infection, or worsen recovery.

  1. Do not execute software setups, cracks, or media files downloaded from unverified peer-to-peer file-sharing networks.
  2. Avoid sharing root directories or unmonitored folders on peer-to-peer file-sharing applications.

References & External Analysis

Frequently Asked Questions

What is the Benjamin worm family?

Benjamin is a historic Windows P2P worm that propagates by flooding file-sharing shared folders with thousands of disguised copies.

Which file-sharing networks did Benjamin target?

It targeted decentralized FastTrack P2P clients, predominantly KaZaA, Grokster, and Morpheus.

How did Benjamin lure users into downloading it?

It dynamically generated fake filenames mimicking popular games, movie titles, and pirated software cracks.

What system damage was caused by Benjamin?

It consumed gigabytes of local storage with duplicate files and degraded network bandwidth with P2P uploads.

How can a Benjamin worm infection be remediated?

Purge all duplicate executables in P2P shared folders, remove registry run entries, and run a complete antivirus scan.

What are the main symptoms of a Benjamin infection?

Symptoms of Benjamin 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 Benjamin 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.

Need help with an active incident? Published by the SystemHelpdesk Threat Intelligence Team.

Machine-readable

Get this profile as JSON: https://malware-families-catalog.systemhelpdesk.com/api/benjamin.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.