let threshold = 10;
Snowflake
| where EventType =~ 'LOGIN'
| where LoginIsSuccess =~ 'No'
| summarize count() by TargetUsername, bin(TimeGenerated, 5m)
| where count_ > threshold
| extend AccountCustomEntity = TargetUsername
status: Available
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Snowflake/Analytic Rules/SnowflakeMultipleLoginFailure.yaml
query: |
let threshold = 10;
Snowflake
| where EventType =~ 'LOGIN'
| where LoginIsSuccess =~ 'No'
| summarize count() by TargetUsername, bin(TimeGenerated, 5m)
| where count_ > threshold
| extend AccountCustomEntity = TargetUsername
requiredDataConnectors:
- dataTypes:
- Snowflake
connectorId: Snowflake
tactics:
- InitialAccess
name: Snowflake - Multiple login failures by user
relevantTechniques:
- T1078
severity: High
entityMappings:
- fieldMappings:
- identifier: Name
columnName: AccountCustomEntity
entityType: Account
kind: Scheduled
queryFrequency: 1h
description: |
'Detects multiple login failures by user.'
triggerThreshold: 0
triggerOperator: gt
version: 1.0.2
queryPeriod: 1h
id: e05cc333-d499-430f-907c-7f28a9e4d1b5