let threshold = 10;
Snowflake
| where EventType =~ 'LOGIN'
| where LoginIsSuccess =~ 'No'
| summarize count() by SrcDvcIpAddr, bin(TimeGenerated, 5m)
| where count_ > threshold
| extend IPCustomEntity = SrcDvcIpAddr
relevantTechniques:
- T1078
requiredDataConnectors:
- connectorId: Snowflake
dataTypes:
- Snowflake
version: 1.0.2
queryPeriod: 1h
description: |
'Detects Mmltiple login failures from single IP.'
kind: Scheduled
query: |
let threshold = 10;
Snowflake
| where EventType =~ 'LOGIN'
| where LoginIsSuccess =~ 'No'
| summarize count() by SrcDvcIpAddr, bin(TimeGenerated, 5m)
| where count_ > threshold
| extend IPCustomEntity = SrcDvcIpAddr
tactics:
- InitialAccess
severity: High
queryFrequency: 1h
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Snowflake/Analytic Rules/SnowflakeMultipleLoginFailureFromIP.yaml
status: Available
triggerOperator: gt
name: Snowflake - Multiple login failures from single IP
triggerThreshold: 0
entityMappings:
- entityType: IP
fieldMappings:
- columnName: IPCustomEntity
identifier: Address
id: b7d22407-1391-4256-b09a-414a9719443c