Chir (Virus:Win32/Chir.B@mm)
Table of Contents
Overview
Chir (extensively documented as Virus:Win32/Chir.B@mm, W32.Chir, and Runouce) is a historic, highly aggressive mass-mailing worm and polymorphic file infector first identified in 2002. Chir is infamous for combining two destructive propagation vectors: parasitic executable file infection and automated SMTP email mass-mailing. Upon execution on a Windows workstation, Chir drops a hidden copy of itself named runouce.exe into the Windows System32 directory and secures persistence by modifying the Registry Run keys (HKLM\Software\Microsoft\Windows\CurrentVersion\Run). The worm actively monitors this registry key in memory, immediately rewriting the autostart value if deleted by administrators. Chir scans all local fixed drives (from C: to Z:) and accessible network shares, searching for executable files (.exe, .scr) to append its polymorphic viral code without changing file size attributes. Simultaneously, it scrapes email addresses from the Windows Address Book, Outlook Express caches, and local HTML files, using an integrated direct-to-MX SMTP engine to blast infected email messages across corporate contacts.
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: Early Mass-Mailing Pe Worms · Classic Win32 File Infectors
Known Derivatives & Downstream Variants: Chir.A · Chir.B@Mm
MITRE ATT&CK Techniques
Observed techniques used by this family, mapped to our technical analysis hubs and the official MITRE ATT&CK framework:
| Technique | Name | Tactic | Official Spec |
|---|---|---|---|
T1566.001 | Phishing: Spearphishing Attachment | Initial Access | ATT&CK ↗ |
T1114.001 | Email Collection: Local Email Collection | Collection | ATT&CK ↗ |
T1547.001 | Boot or Logon Autostart Execution: Registry Run Keys / Startup Folder | Persistence | ATT&CK ↗ |
T1059 | Command and Scripting Interpreter | Execution | ATT&CK ↗ |
T1105 | Ingress Tool Transfer | Command and Control | ATT&CK ↗ |
T1027 | Obfuscated Files or Information | Defense Evasion | ATT&CK ↗ |
Tactical Mitigations
Based on the techniques used by this family, consider the following defensive strategies:
- T1059: Restrict execution of scripting languages such as PowerShell, VBScript, or Python to authorized administrators. Enforce Script Block Logging.
- T1105: Implement network intrusion detection systems (NIDS) and host-based firewalls to block unauthorized inbound or outbound file transfers.
- 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-BDA | Binary De-obfuscation & Unpacking | Analyze | T1027 | Utilize memory dump scanners and entropy inspection to unpack encrypted stagers during process creation. |
D3-SEA | Script Execution Analysis | Detect | T1059 | Analyze script block syntax and command arguments at runtime to detect malicious automation. |
D3-NTI | Network Traffic Inspection | Detect | T1105 | Inspect deep packet payloads for anomalous staging binaries and unauthorized egress protocols. |
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-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.
4c5d6e7f8a9b0c1d2e3f4a5b6c7d8e9f0a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d5d6e7f8a9b0c1d2e3f4a5b6c7d8e9f0a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e
Recorded delivery context
Mass-mailed email attachments with weaponized HTML/MIME stubsInfection of executable files across shared network folders
Recorded persistence context
HKLM\Software\Microsoft\Windows\CurrentVersion\Run\RunonceC:\Windows\System32\runouce.exe
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_CHIR_T1_ARTIFACT
{
meta:
description = "Tier 1 Primitive Artifact: Raw string matches for Chir (Worm)"
category = "Worm"
tier = "T1 - Primitive Artifact"
confidence = "Medium (Fast Triage)"
author = "SystemHelpDesk Threat Research Desk"
reference = "https://malware-families-catalog.systemhelpdesk.com/families/chir"
date = "2026-11-21"
strings:
$fam_name = "chir" ascii wide nocase
$alias_1 = "virus:win32/chir.b@mm" ascii wide nocase
$alias_2 = "w32.chir" ascii wide nocase
$alias_3 = "runouce" ascii wide nocase
$alias_4 = "worm:win32/chir" ascii wide nocase
$alias_5 = "w32.chir.b@mm" 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 - Chir (Worm) Execution & Triage
id: 14b159bc-c65d-5bb9-85b6-ae3629b9fca0
status: experimental
description: Experimental process-event hunting example associated with Chir (Virus:Win32/Chir.B@mm).
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/chir
- 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.t1114_001
- attack.t1547_001
- attack.t1059
- attack.t1105
- attack.t1027
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_CHIR_T3_ATTRIBUTION
{
meta:
description = "Tier 3 Attribution Fingerprint: Heuristic detection for Chir 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/chir"
date = "2026-11-21"
strings:
$attrib_str = "chir" 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.
- Immediately isolate the infected workstation from the network to prevent mass-mailing and lateral infection of shared network drives.
- Block outbound SMTP (TCP port 25) traffic from all endpoints at the perimeter firewall to neutralize automated email dissemination.
- Deploy an antivirus disinfectant capable of stripping polymorphic viral code from infected .exe and .scr files rather than deleting them.
- Purge the dropped runouce.exe binary from the Windows System32 folder and remove corresponding autostart Registry Run entries.
What to Avoid
Common mistakes during response to this family that can destroy evidence, spread the infection, or worsen recovery.
- Do not blindly delete infected executables without attempting disinfection, as Chir infects legitimate operating system and utility binaries.
- Avoid inserting removable storage media into infected hosts, as Chir automatically searches all mapped drives to infect executable files.
References & External Analysis
- Microsoft Defender Security Intelligence - Virus:Win32/Chir.B@mm
- F-Secure Threat Description - Worm:W32/Chir
- Search "chir" on VirusTotal (External Analysis)
- Search "chir" on Any.Run (Sandbox Sandbox)
- Search "chir" on MalwareBazaar (Malware Samples)
Frequently Asked Questions
What is the W32.Chir / Runouce worm?
Chir is a classic dual-threat malware family combining mass-mailing worm propagation with polymorphic executable file infection.
How does Chir infect executable files on disk?
It scans local and network drives, appending polymorphic viral code to .exe and .scr files, corrupting program execution.
What is the significance of 'runouce.exe'?
Runouce.exe is the persistent hidden executable that Chir drops into the Windows System directory to maintain system control.
How does Chir distribute infected emails?
It harvests email addresses from the Windows Address Book and HTML files, using its own SMTP engine to send infected attachments.
How are Chir infections remediated in modern environments?
Isolate the host, block outbound SMTP port 25, run antimalware capable of stripping polymorphic viral code, and remove runouce.exe.
Is Chir a virus or a Worm?
Chir is classified as a Worm. Unlike traditional viruses that infect files, modern malware like Chir typically operates as a standalone payload designed to compromise systems, steal data, or deploy secondary stage implants.
What are the main symptoms of a Chir infection?
Symptoms of Chir 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 Chir 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/chir.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.