{
  "family": "grenam",
  "sample_count": 7,
  "category": "advanced_threat",
  "description": "Worm:Win32/Grenam (also known as a generic network worm or **File Infector**) is a self-replicating malware family that aggressively spreads across network shares and removable media. While older, its mechanics are highly destructive. Beyond propagation, Grenam acts as a polymorphic File Infector (`.exe` and `.dll` files), physically altering legitimate binaries to embed its malicious code, ensuring maximum persistence and complicating remediation.<br><br><b>Understanding the Grenam Worm</b><br>To an infected user, the computer might become highly unstable, and antivirus engines will suddenly start quarantining hundreds of previously safe programs. For security analysts, Grenam represents a severe incident. Because it alters legitimate system files, manually deleting the 'infected' files will destroy the operating system or the user's installed applications. The network worm aspect means the infection will rapidly spread to any unprotected node on the LAN.<br><br><b>Propagation and File Infection Mechanics</b><br>The infection cycle often begins via an infected USB drive (`T1091`) or an open network share (`T1080`). Upon execution (`T1204.002`), Grenam establishes persistence via multiple Registry Run keys. It begins scanning the local network for vulnerable SMB shares to copy itself into. Concurrently, it acts as a File Infector (`T1055.001`), searching the hard drive for executable files (`.exe`, `.scr`). It opens the target file, modifies the PE header, and appends its malicious, often polymorphically packed code. It then alters the entry point of the executable to point to the viral code. When the user later runs the 'infected' legitimate application, the worm code executes first, infects more files, and then passes control back to the legitimate application.<br><br><b>Indicators of Compromise & Impact</b><br>The primary impact is the widespread corruption of executable files, severe system instability, and network congestion. The most glaring IoC is an avalanche of EDR alerts indicating that hundreds of distinct, legitimate executables across the `C:\\` drive have changed their file hashes and sizes. Network logs will show a massive spike in SMB (Port 445) traffic as the worm attempts lateral movement.",
  "cta": "Published by the SystemHelpdesk team.",
  "aliases": [],
  "enrichment_level": "expert-seo",
  "faq": [],
  "faq_count": 0,
  "mitre_attack": [
    "T1055.001",
    "T1091",
    "T1083",
    "T1080"
  ],
  "cisa_advisory": null,
  "last_updated": "2026-06-09",
  "mitre_attack_detail": [
    {
      "id": "T1055.001",
      "name": "Process Injection: Dynamic-link Library Injection (File Infection logic)",
      "tactic": "Defense Evasion"
    },
    {
      "id": "T1091",
      "name": "Replication Through Removable Media (USB worm propagation)",
      "tactic": "Lateral Movement"
    },
    {
      "id": "T1080",
      "name": "Taint Shared Content (Spreading via SMB shares)",
      "tactic": "Lateral Movement"
    },
    {
      "id": "T1083",
      "name": "File and Directory Discovery (Searching for executables to infect)",
      "tactic": "Discovery"
    }
  ],
  "containment_steps": [
    "Isolate the endpoint from the network instantly to halt the SMB propagation engine and stop it from infecting other workstations.",
    "Disable AutoRun and AutoPlay enterprise-wide via Group Policy for all removable media.",
    "Because Grenam is a file infector, you must use an enterprise antivirus solution capable of 'cleaning' (disinfecting) the appended malicious code from legitimate `.exe` files.",
    "If disinfection fails or the system is heavily corrupted, a complete OS rebuild from secure backups is required."
  ],
  "what_to_avoid": [
    "Do not blindly delete all files flagged by the AV; if they are infected system files, deleting them will render Windows unbootable.",
    "Avoid plugging a clean USB drive into the infected machine to transfer data, as the worm will immediately infect the drive."
  ],
  "target_industries": [
    "Global / Opportunistic"
  ],
  "motivation": "Opportunistic",
  "threat_actors": [
    "Unknown / Cybercriminal"
  ],
  "target_geographies": [
    "Global"
  ]
}