Response playbooks, investigation guides, and Atomic Red Team tests are Pro-only. Upgrade to unlock the full detection package for CVE-2024-43451.
Upgrade to ProDetect CVE-2024-43451: Windows NTLM Hash Disclosure via File Interaction in Microsoft Sentinel
CVE-2024-43451 is a Windows NTLM hash disclosure vulnerability (NTLMv2 spoofing) affecting Windows 10, Windows 11, and Windows Server 2008-2025. Minimal user interaction with a malicious file (right-click, open, or preview) triggers an outbound NTLM authentication request to an attacker-controlled server, leaking the victim's NTLMv2 hash. The hash can be cracked offline or used in relay attacks. This vulnerability is listed in CISA's Known Exploited Vulnerabilities catalog.
MITRE ATT&CK
KQL Detection Query
let suspiciousExtensions = dynamic(['.url', '.lnk', '.scf', '.library-ms', '.searchConnector-ms']);
let internalSubnets = dynamic(['10.0.0.0/8', '172.16.0.0/12', '192.168.0.0/16']);
union DeviceNetworkEvents, imNetworkSession
| where TimeGenerated >= ago(24h)
| where RemotePort == 445 or RemotePort == 139
| where not(ipv4_is_private(RemoteIPv4))
| join kind=inner (
DeviceFileEvents
| where TimeGenerated >= ago(24h)
| where FileName has_any (suspiciousExtensions)
| project DeviceId, FileEventTime=TimeGenerated, FileName, FolderPath, InitiatingProcessFileName
) on DeviceId
| where abs(datetime_diff('second', TimeGenerated, FileEventTime)) < 30
| project TimeGenerated, DeviceId, DeviceName, RemoteIPv4, RemotePort, FileName, FolderPath, InitiatingProcessFileName
| summarize EventCount=count(), Files=make_set(FileName), RemoteIPs=make_set(RemoteIPv4) by bin(TimeGenerated, 5m), DeviceName, InitiatingProcessFileName Detects outbound SMB connections to non-private IP addresses within 30 seconds of a user interacting with suspicious file types known to trigger NTLM authentication (e.g., .url, .lnk, .scf). Correlates DeviceFileEvents with DeviceNetworkEvents to surface likely CVE-2024-43451 exploitation attempts.
Data Sources
Required Tables
False Positives & Tuning
- Legitimate remote shares accessed via .lnk shortcuts pointing to external partners
- Network scanners or vulnerability assessment tools generating outbound SMB traffic
- Developer tools or CI/CD pipelines accessing remote UNC paths during build processes
- Roaming profiles or folder redirection configured to external SMB endpoints
Other platforms for CVE-2024-43451
Testing Methodology
Validate this detection against 3 adversary techniques from Atomic Red Team. Each test below lists the behaviour to exercise and the telemetry you should expect to see. Executable commands and cleanup steps are available with Pro.
- Test 1NTLM Hash Disclosure via Malicious .url File
Expected signal: Sysmon EventID 11 (file creation for .url file), Sysmon EventID 3 (network connection from explorer.exe to ATTACKER_IP:445), Windows Security EventID 4648 (explicit credential use targeting ATTACKER_IP), Responder captures NTLMv2 hash
- Test 2NTLM Hash Disclosure via Malicious .lnk Shortcut
Expected signal: Sysmon EventID 11 (LNK creation), Sysmon EventID 3 (explorer.exe → ATTACKER_IP:445), Windows Security EventID 4648 with LogonType=3 and TargetServerName=ATTACKER_IP
- Test 3NTLM Hash Disclosure via Malicious .scf (Shell Command File)
Expected signal: Sysmon EventID 3 from explorer.exe to ATTACKER_IP:445 without any explicit user action beyond folder view, Windows Security EventID 4648 capturing NTLMv2 exchange, network PCAP showing full NTLM handshake
Unlock playbooks & atomic tests with Pro
Get the full detection package for CVE-2024-43451 — response playbook and atomic red team tests, plus investigation guidance and hunting queries.
df00tech Pro — £29/user/month