CVE-2025-24054 CrowdStrike LogScale · LogScale

Detect Windows NTLM Credential Leak via File Download Interaction in CrowdStrike LogScale

CVE-2025-24054 is a Windows NTLM hash disclosure vulnerability triggered when a user interacts with a specially crafted file (e.g., .library-ms, .url, .lnk) that forces an outbound NTLM authentication attempt to an attacker-controlled server. Exploitation requires minimal user interaction — simply downloading or viewing a malicious file in Explorer can suffice. The leaked Net-NTLMv2 hash can be cracked offline or relayed for lateral movement. This vulnerability is actively exploited in the wild and listed in CISA's KEV catalog.

MITRE ATT&CK

Tactic
Credential Access Lateral Movement

LogScale Detection Query

CrowdStrike LogScale (LogScale)
cql
#event_simpleName=NetworkConnectIP4
| event_platform=Win
| RemotePort IN (445, 139)
| NOT RemoteAddressIP4 IN ("10.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16", "127.0.0.1")
| FileName IN ("explorer.exe", "svchost.exe")
| join type=inner (
    #event_simpleName=FileOpenInfo
    | event_platform=Win
    | TargetFileName=/(?i)\.(library-ms|url|lnk|scf)$/
    | fields aid, ContextTimeStamp, TargetFileName, UserName
  ) by aid
| eval time_delta = NetworkConnectTimestamp - ContextTimeStamp
| where time_delta >= 0 AND time_delta <= 30
| stats count() as connection_count, values(RemoteAddressIP4) as remote_ips, values(TargetFileName) as trigger_files, values(UserName) as affected_users by aid, ComputerName, bin(NetworkConnectTimestamp, 5m)
| where connection_count >= 1
| sort -NetworkConnectTimestamp
high severity medium confidence

CrowdStrike Falcon LogScale query correlating file open events for NTLM-triggering file types (.library-ms, .url, .lnk, .scf) with outbound SMB connections to external IPs within 30 seconds on the same agent, identifying CVE-2025-24054 exploitation.

Data Sources

CrowdStrike Falcon EDRFalcon LogScale

Required Tables

NetworkConnectIP4FileOpenInfo

False Positives & Tuning

  • Legitimate .lnk shortcuts used daily by employees to access SMB file shares
  • Software distribution tools creating .url files pointing to update servers via SMB
  • Windows Search indexer accessing .library-ms files during catalog operations
  • Remote work scenarios where users access corporate SMB shares via VPN with split tunneling

Other platforms for CVE-2025-24054


Testing Methodology

Validate this detection against 4 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.

  1. Test 1NTLM Credential Leak via Malicious .library-ms File

    Expected signal: Sysmon Event ID 11 (FileCreate) for TestLib.library-ms; Sysmon Event ID 3 (NetworkConnect) from explorer.exe to ATTACKER_IP:445; Windows Security Event ID 4648 showing NTLM authentication attempt to ATTACKER_IP

  2. Test 2NTLM Credential Leak via Crafted .url Shortcut File

    Expected signal: Sysmon Event ID 11 (FileCreate) for Important-Document.url on Desktop; Sysmon Event ID 3 (NetworkConnect) from explorer.exe to ATTACKER_IP:445; Windows Security Event ID 4625 if auth fails (Responder returns failure after capture)

  3. Test 3Net-NTLMv2 Hash Offline Cracking Simulation Post-Capture

    Expected signal: On Windows DC (if auth attempted with cracked hash): Windows Security Event ID 4624 (successful logon) or 4625 (failed logon) with NTLM authentication from unexpected source IP; Kerberos fallback to NTLM is itself anomalous for modern AD environments

  4. Test 4NTLM Credential Leak via Crafted .scf File in Shared Folder

    Expected signal: Sysmon Event ID 11 (FileCreate) for @trigger.scf; Sysmon Event ID 3 (NetworkConnect) from explorer.exe to ATTACKER_IP:445 triggered by shell icon resolution; Windows Security audit log showing NTLM authentication to external host

Unlock Pro Content

Get the full detection package for CVE-2025-24054 including response playbook, investigation guide, and atomic red team tests.

Response PlaybookInvestigation GuideHunting QueriesAtomic Red Team TestsTuning Guidance

Related Detections