Microsoft Sentinel Analytic Rules
cloudbrothers.infoAzure Sentinel RepoToggle Dark/Light/Auto modeToggle Dark/Light/Auto modeToggle Dark/Light/Auto modeBack to homepage

Snowflake - Multiple login failures from single IP

Back
Idb7d22407-1391-4256-b09a-414a9719443c
RulenameSnowflake - Multiple login failures from single IP
DescriptionDetects Mmltiple login failures from single IP.
SeverityHigh
TacticsInitialAccess
TechniquesT1078
Required data connectorsSnowflake
KindScheduled
Query frequency1h
Query period1h
Trigger threshold0
Trigger operatorgt
Source Urihttps://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Snowflake/Analytic Rules/SnowflakeMultipleLoginFailureFromIP.yaml
Version1.0.1
Arm templateb7d22407-1391-4256-b09a-414a9719443c.json
Deploy To Azure
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
requiredDataConnectors:
- connectorId: Snowflake
  dataTypes:
  - Snowflake
triggerOperator: gt
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Snowflake/Analytic Rules/SnowflakeMultipleLoginFailureFromIP.yaml
version: 1.0.1
status: Available
queryPeriod: 1h
severity: High
relevantTechniques:
- T1078
tactics:
- InitialAccess
kind: Scheduled
queryFrequency: 1h
description: |
    'Detects Mmltiple login failures from single IP.'
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  
id: b7d22407-1391-4256-b09a-414a9719443c
triggerThreshold: 0
entityMappings:
- fieldMappings:
  - identifier: Address
    columnName: IPCustomEntity
  entityType: IP
name: Snowflake - Multiple login failures from single IP
{
  "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
  "contentVersion": "1.0.0.0",
  "parameters": {
    "workspace": {
      "type": "String"
    }
  },
  "resources": [
    {
      "apiVersion": "2023-02-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",
        "suppressionDuration": "PT1H",
        "suppressionEnabled": false,
        "tactics": [
          "InitialAccess"
        ],
        "techniques": [
          "T1078"
        ],
        "templateVersion": "1.0.1",
        "triggerOperator": "GreaterThan",
        "triggerThreshold": 0
      },
      "type": "Microsoft.OperationalInsights/workspaces/providers/alertRules"
    }
  ]
}