Macri (Ransom:Win32/Macri)
Table of Contents
Overview
Macri (classified in threat databases as Ransom:Win32/Macri and Trojan-Ransom.Win32.Macri) is a targeted corporate crypto-ransomware family that encrypts files on local storage and network shares. Once executed, Macri interrogates the host environment for active debuggers and virtualization hypervisors before deploying its encryption routine. It scans all local fixed disks, removable media, and mapped network drives, identifying high-value files based on an extensive extension list covering documents, databases, spreadsheets, source code, and media archives. It locks targets using AES-256 encryption, appending .macri to filenames and dropping ransom notes titled READ_MACRI_DECRYPT.txt. Macri executes administrative shell commands to delete Volume Shadow Copies and disable startup repair.
Known aliases
Threat reports may refer to this family under multiple names:
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 |
|---|---|---|---|
T1105 | Ingress Tool Transfer | Command and Control | ATT&CK ↗ |
T1055 | Process Injection | Defense Evasion | ATT&CK ↗ |
T1547.001 | Boot or Logon Autostart Execution: Registry Run Keys / Startup Folder | Persistence | ATT&CK ↗ |
T1566.001 | Phishing: Spearphishing Attachment | Initial Access | 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:
- 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-PIAD | Process Injection Analysis & Detection | Detect | T1055 | Monitor cross-process thread creation (CreateRemoteThread) and asynchronous procedure calls (QueueUserAPC). |
D3-NTI | Network Traffic Inspection | Detect | T1105 | Inspect deep packet payloads for anomalous staging binaries and unauthorized egress protocols. |
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. |
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_MACRI_T1_ARTIFACT
{
meta:
description = "Tier 1 Primitive Artifact: Raw string matches for Macri (Ransomware)"
category = "Ransomware"
tier = "T1 - Primitive Artifact"
confidence = "Medium (Fast Triage)"
author = "SystemHelpDesk Threat Research Desk"
reference = "https://malware-families-catalog.systemhelpdesk.com/families/macri"
date = "2026-11-21"
strings:
$fam_name = "macri" ascii wide nocase
$alias_1 = "ransom:win32/macri" ascii wide nocase
$alias_2 = "trojan-ransom.win32.macri" ascii wide nocase
$alias_3 = "win32/macri" ascii wide nocase
$alias_4 = "macri ransomware" ascii wide nocase
$alias_5 = "ransom.macri" 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 - Macri (Ransomware) Execution & Triage
id: 7a5201ba-54d3-5006-aedb-122e6a026b9a
status: experimental
description: Experimental process-event hunting example associated with Macri (Ransom:Win32/Macri).
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/macri
- 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.ransomware
- author.ricky-jordan
- source.systemhelpdesk-mfc
- attack.t1486
- attack.t1490
- attack.t1497_001
- attack.t1083
- attack.t1135
- attack.t1059_003
logsource:
category: process_creation
product: windows
detection:
selection_process:
Image|endswith:
- \vssadmin.exe
- \wmic.exe
- \wbadmin.exe
- \bcdedit.exe
CommandLine|contains:
- delete shadows
- shadowcopy delete
- resize shadowstorage
- recoveryenabled no
- ignoreallfailures
condition: selection_process
falsepositives:
- Legitimate enterprise administrative scripts during approved change windows
- Authorized IT software deployment utilities and backup management agents
level: critical
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_MACRI_T3_ATTRIBUTION
{
meta:
description = "Tier 3 Attribution Fingerprint: Heuristic detection for Macri tradecraft"
category = "Ransomware"
tier = "T3 - Attribution Fingerprint"
confidence = "Experimental example; validation pending"
author = "SystemHelpDesk Threat Research Desk"
reference = "https://malware-families-catalog.systemhelpdesk.com/families/macri"
date = "2026-11-21"
strings:
$attrib_str = "macri" ascii wide nocase
$ransom_marker1 = "vssadmin" ascii wide nocase
$ransom_marker2 = "delete shadows" ascii wide nocase
$crypto_marker = "AES" ascii wide nocase
condition:
uint16(0) == 0x5a4d and $attrib_str and (2 of ($ransom_marker*) or $crypto_marker)
}
Containment & Response Steps
Ordered checklist for responders. Adapt to your environment and engage professional support for active incidents.
- Isolate the endpoint immediately to prevent Macri from downloading and executing its secondary payloads (e.g., ransomware).
- Audit the Windows Task Scheduler and Registry Run keys to identify and remove the Macri persistence mechanisms.
- Review firewall and proxy logs to identify the C2 domains Macri attempted to contact, and block them enterprise-wide.
- Capture a live memory image (RAM dump) to extract the injected Macri modules and identify the secondary payloads.
What to Avoid
Common mistakes during response to this family that can destroy evidence, spread the infection, or worsen recovery.
- Do not close an incident simply because the initial Macri dropper was quarantined; always verify if secondary payloads were downloaded.
- Avoid relying solely on manual file deletion, as the injected processes will likely just recreate the dropped binaries.
References & External Analysis
- Microsoft Defender Threat Encyclopedia - Ransom:Win32/Macri
- Kaspersky Threat Intelligence - Trojan-Ransom Overview
- MITRE ATT&CK - Data Encrypted for Impact (T1486)
- Search "macri" on VirusTotal (External Analysis)
- Search "macri" on Any.Run (Sandbox Sandbox)
- Search "macri" on MalwareBazaar (Malware Samples)
Frequently Asked Questions
What is Ransom:Win32/Macri?
Macri is an enterprise crypto-ransomware family that encrypts corporate files across local and network storage using AES-256.
What evasion checks does Macri perform?
It interrogates debugging APIs and verifies the absence of virtualization hypervisors before executing.
Does Macri encrypt network file shares?
Yes, it aggressively enumerates active SMB network shares and encrypts accessible shared folders.
How does Macri prevent local recovery?
It executes vssadmin delete shadows /all /quiet and disables automatic startup recovery via bcdedit.
How should IT teams respond to a Macri incident?
Disconnect affected systems from the corporate LAN, preserve encrypted samples and notes, and restore from immutable backups.
How do I remove the Macri Ransomware from Windows?
Manual removal of Macri 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 Macri a virus or a Ransomware?
Macri is classified as a Ransomware. Unlike traditional viruses that infect files, modern malware like Macri typically operates as a standalone payload designed to compromise systems, steal data, or deploy secondary stage implants.
What are the main symptoms of a Macri infection?
Symptoms of Macri 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 Ransomwares
Want to prevent Macri and similar threats from compromising your organization? Read our comprehensive defensive guide: Ransomware Containment & Incident Response.
📣 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/macri.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.