CiscoDuo
| where DvcAction =~ "user_delete"
| summarize count() by DstUserName, bin(TimeGenerated, 10m)
| where count_ > 1
| extend AccountCustomEntity = DstUserName
severity: Medium
id: 6e4f9031-91d3-4fa1-8baf-624935f04ad8
queryFrequency: 1h
queryPeriod: 1h
relevantTechniques:
- T1531
triggerOperator: gt
status: Available
tactics:
- Impact
kind: Scheduled
description: |
'Detects when multiple users were deleted.'
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/CiscoDuoSecurity/Analytic Rules/CiscoDuoMultipleUsersDeleted.yaml
requiredDataConnectors:
- dataTypes:
- CiscoDuo
connectorId: CiscoDuoSecurity
entityMappings:
- entityType: Account
fieldMappings:
- columnName: AccountCustomEntity
identifier: Name
query: |
CiscoDuo
| where DvcAction =~ "user_delete"
| summarize count() by DstUserName, bin(TimeGenerated, 10m)
| where count_ > 1
| extend AccountCustomEntity = DstUserName
version: 1.0.0
name: Cisco Duo - Multiple users deleted
triggerThreshold: 0
{
"$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/6e4f9031-91d3-4fa1-8baf-624935f04ad8')]",
"kind": "Scheduled",
"name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/6e4f9031-91d3-4fa1-8baf-624935f04ad8')]",
"properties": {
"alertRuleTemplateName": "6e4f9031-91d3-4fa1-8baf-624935f04ad8",
"customDetails": null,
"description": "'Detects when multiple users were deleted.'\n",
"displayName": "Cisco Duo - Multiple users deleted",
"enabled": true,
"entityMappings": [
{
"entityType": "Account",
"fieldMappings": [
{
"columnName": "AccountCustomEntity",
"identifier": "Name"
}
]
}
],
"OriginalUri": "https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/CiscoDuoSecurity/Analytic Rules/CiscoDuoMultipleUsersDeleted.yaml",
"query": "CiscoDuo\n| where DvcAction =~ \"user_delete\"\n| summarize count() by DstUserName, bin(TimeGenerated, 10m)\n| where count_ > 1\n| extend AccountCustomEntity = DstUserName\n",
"queryFrequency": "PT1H",
"queryPeriod": "PT1H",
"severity": "Medium",
"status": "Available",
"subTechniques": [],
"suppressionDuration": "PT1H",
"suppressionEnabled": false,
"tactics": [
"Impact"
],
"techniques": [
"T1531"
],
"templateVersion": "1.0.0",
"triggerOperator": "GreaterThan",
"triggerThreshold": 0
},
"type": "Microsoft.OperationalInsights/workspaces/providers/alertRules"
}
]
}