ByteRay CQL Hub
← All queries

Credential Dumping Detection

This query detects potential credential dumping activities by monitoring process access to LSASS and suspicious memory operations.

CQL · Falcon Next-Gen SIEMCopy query
#event_simpleName=ProcessRollup2 
| (CommandLine=/mimikatz|procdump|lsass|sekurlsa/i OR ImageFileName=/\\(mimikatz|procdump|pwdump)\.exe$/i)
| ParentImageFileName!=/\\(powershell|cmd)\.exe$/i
| join({#event_simpleName=UserIdentity}, field=AuthenticationID, include=[UserName])
| join({#event_simpleName=SyntheticProcessRollup2}, field=[aid, RawProcessId], include=[SHA256HashData], suffix="Parent")
| table([aid, UserName, ImageFileName, CommandLine, ParentImageFileName, SHA256HashData])

This query uses CrowdStrike Query Language (CQL) to detect credential dumping activities:

  1. Process Monitoring: #event_simpleName=ProcessRollup2 - Monitors process execution events across endpoints

  2. Suspicious Indicators: (CommandLine=/mimikatz|procdump|lsass|sekurlsa/i OR ImageFileName=/\\(mimikatz|procdump|pwdump)\.exe$/i) - Detects known credential dumping tools and LSASS access patterns

  3. Parent Process Filter: ParentImageFileName!=/\\(powershell|cmd)\.exe$/i - Excludes common legitimate parent processes to reduce noise

  4. User Context: join({#event_simpleName=UserIdentity}, field=AuthenticationID, include=[UserName]) - Adds user account information for attribution

  5. Process Hash: join({#event_simpleName=SyntheticProcessRollup2}, field=[aid, RawProcessId], include=[SHA256HashData], suffix="Parent") - Includes file hash for threat intelligence correlation

  6. Output: table([aid, UserName, ImageFileName, CommandLine, ParentImageFileName, SHA256HashData]) - Displays process details, user context, and file hash information

Credential_Dumping_Detection.yml
T1003.001, T1003.002, T1558.003
ByteRay GmbH
Hunting
Endpoint
Insight
2025-08-04
2025-08-26

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