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