ByteRay CQL Hub
← All queries

Detect NTLMv1 Authentications (Windows Event Logs)

This query detects NTLM v1 authentications using Windows Event Log telemetry.

CQL · Falcon Next-Gen SIEMCopy query
| windows.EventData.AuthenticationPackageName=NTLM
| windows.EventData.LmPackageName!= "NTLM V2" 
| groupBy([windows.EventData.WorkstationName, user.target.name, windows.EventData.KeyLength])
| rename(field="windows.EventData.WorkstationName", as="Hostname")
| rename(field="user.target.name", as="Username")
| rename(field="windows.EventData.KeyLength", as="KeyLength")
| sort(field=KeyLength,type=number,order=desc)
| case{
  KeyLength = 128
  | SSP := "Yes";
  in(field="KeyLength", values=[0,40,56])
  | SSP := "No"
}
| table([Hostname,Username,KeyLength,SSP])
detect_ntlmv1_authentications__windows_event_logs_.yml
ByteRay GmbH
Hunting
Endpoint
Insight
2026-01-17
2026-01-17

Get this query running in your SIEM, with someone on call.

Our Managed SIEM team operates CrowdStrike Falcon Next-Gen SIEM in production, with over 350 battle-tested use cases and 24/7 incident response behind them.

Talk to the SIEM team