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