let threshold = 10;
CiscoDuo
| where EventType =~ 'authentication'
| where EventResult in~ ('denied', 'failure')
| summarize count() by DstUserName, bin(TimeGenerated, 10m)
| where count_ > threshold
| extend AccountCustomEntity = DstUserName
name: Cisco Duo - Multiple user login failures
version: 1.0.1
severity: High
queryFrequency: 1h
triggerOperator: gt
relevantTechniques:
- T1078
status: Available
description: |
'Detects when multiple user login failures occurs.'
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/CiscoDuoSecurity/Analytic Rules/CiscoDuoMultipleUserLoginFailures.yaml
requiredDataConnectors:
- connectorId: CiscoDuoSecurity
dataTypes:
- CiscoDuo
entityMappings:
- fieldMappings:
- identifier: Name
columnName: AccountCustomEntity
entityType: Account
tactics:
- InitialAccess
queryPeriod: 1h
query: |
let threshold = 10;
CiscoDuo
| where EventType =~ 'authentication'
| where EventResult in~ ('denied', 'failure')
| summarize count() by DstUserName, bin(TimeGenerated, 10m)
| where count_ > threshold
| extend AccountCustomEntity = DstUserName
kind: Scheduled
triggerThreshold: 0
id: 034f62b6-df51-49f3-831f-1e4cfd3c40d2
{
"$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/034f62b6-df51-49f3-831f-1e4cfd3c40d2')]",
"kind": "Scheduled",
"name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/034f62b6-df51-49f3-831f-1e4cfd3c40d2')]",
"properties": {
"alertRuleTemplateName": "034f62b6-df51-49f3-831f-1e4cfd3c40d2",
"customDetails": null,
"description": "'Detects when multiple user login failures occurs.'\n",
"displayName": "Cisco Duo - Multiple user login failures",
"enabled": true,
"entityMappings": [
{
"entityType": "Account",
"fieldMappings": [
{
"columnName": "AccountCustomEntity",
"identifier": "Name"
}
]
}
],
"OriginalUri": "https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/CiscoDuoSecurity/Analytic Rules/CiscoDuoMultipleUserLoginFailures.yaml",
"query": "let threshold = 10;\nCiscoDuo\n| where EventType =~ 'authentication'\n| where EventResult in~ ('denied', 'failure')\n| summarize count() by DstUserName, bin(TimeGenerated, 10m)\n| where count_ > threshold\n| extend AccountCustomEntity = DstUserName\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"
}
]
}