let threshold = 10;
Snowflake
| where EventType =~ 'LOGIN'
| where IS_SUCCESS_s =~ 'No'
| summarize count() by SrcDvcIpAddr, bin(TimeGenerated, 5m)
| where count_ > threshold
| extend IPCustomEntity = SrcDvcIpAddr
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Snowflake/Analytic Rules/SnowflakeMultipleLoginFailureFromIP.yaml
status: Available
name: Snowflake - Multiple login failures from single IP
entityMappings:
- fieldMappings:
- identifier: Address
columnName: IPCustomEntity
entityType: IP
queryFrequency: 1h
kind: Scheduled
triggerThreshold: 0
severity: High
triggerOperator: gt
id: b7d22407-1391-4256-b09a-414a9719443c
requiredDataConnectors:
- dataTypes:
- Snowflake
connectorId: Snowflake
queryPeriod: 1h
description: |
'Detects Mmltiple login failures from single IP.'
tactics:
- InitialAccess
query: |
let threshold = 10;
Snowflake
| where EventType =~ 'LOGIN'
| where IS_SUCCESS_s =~ 'No'
| summarize count() by SrcDvcIpAddr, bin(TimeGenerated, 5m)
| where count_ > threshold
| extend IPCustomEntity = SrcDvcIpAddr
relevantTechniques:
- T1078
version: 1.0.1
{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"workspace": {
"type": "String"
}
},
"resources": [
{
"apiVersion": "2024-01-01-preview",
"id": "[concat(resourceId('Microsoft.OperationalInsights/workspaces/providers', parameters('workspace'), 'Microsoft.SecurityInsights'),'/alertRules/b7d22407-1391-4256-b09a-414a9719443c')]",
"kind": "Scheduled",
"name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/b7d22407-1391-4256-b09a-414a9719443c')]",
"properties": {
"alertRuleTemplateName": "b7d22407-1391-4256-b09a-414a9719443c",
"customDetails": null,
"description": "'Detects Mmltiple login failures from single IP.'\n",
"displayName": "Snowflake - Multiple login failures from single IP",
"enabled": true,
"entityMappings": [
{
"entityType": "IP",
"fieldMappings": [
{
"columnName": "IPCustomEntity",
"identifier": "Address"
}
]
}
],
"OriginalUri": "https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Snowflake/Analytic Rules/SnowflakeMultipleLoginFailureFromIP.yaml",
"query": "let threshold = 10;\nSnowflake\n| where EventType =~ 'LOGIN'\n| where IS_SUCCESS_s =~ 'No'\n| summarize count() by SrcDvcIpAddr, bin(TimeGenerated, 5m)\n| where count_ > threshold\n| extend IPCustomEntity = SrcDvcIpAddr\n",
"queryFrequency": "PT1H",
"queryPeriod": "PT1H",
"severity": "High",
"status": "Available",
"subTechniques": [],
"suppressionDuration": "PT1H",
"suppressionEnabled": false,
"tactics": [
"InitialAccess"
],
"techniques": [
"T1078"
],
"templateVersion": "1.0.1",
"triggerOperator": "GreaterThan",
"triggerThreshold": 0
},
"type": "Microsoft.OperationalInsights/workspaces/providers/alertRules"
}
]
}