let allowed_auth_f = dynamic(['duo_push', 'duo_mobile_passcode']);
CiscoDuo
| where EventType =~ 'authentication'
| where EventResult =~ 'success'
| where AuthFactor !in~ (allowed_auth_f)
| extend IPCustomEntity = SrcIpAddr, AccountCustomEntity = DstUserName
kind: Scheduled
relevantTechniques:
- T1078
description: |
'Detects when unexpected authentication factor used.'
queryPeriod: 1h
queryFrequency: 1h
tactics:
- InitialAccess
name: Cisco Duo - Unexpected authentication factor
requiredDataConnectors:
- connectorId: CiscoDuoSecurity
dataTypes:
- CiscoDuo
entityMappings:
- entityType: IP
fieldMappings:
- identifier: Address
columnName: IPCustomEntity
- entityType: Account
fieldMappings:
- identifier: Name
columnName: AccountCustomEntity
triggerThreshold: 0
version: 1.0.0
id: 16c91a2c-17ad-4985-a9ad-4a4f1cb11830
query: |
let allowed_auth_f = dynamic(['duo_push', 'duo_mobile_passcode']);
CiscoDuo
| where EventType =~ 'authentication'
| where EventResult =~ 'success'
| where AuthFactor !in~ (allowed_auth_f)
| extend IPCustomEntity = SrcIpAddr, AccountCustomEntity = DstUserName
status: Available
triggerOperator: gt
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/CiscoDuoSecurity/Analytic Rules/CiscoDuoUnexpectedAuthFactor.yaml
severity: Medium
{
"$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/16c91a2c-17ad-4985-a9ad-4a4f1cb11830')]",
"kind": "Scheduled",
"name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/16c91a2c-17ad-4985-a9ad-4a4f1cb11830')]",
"properties": {
"alertRuleTemplateName": "16c91a2c-17ad-4985-a9ad-4a4f1cb11830",
"customDetails": null,
"description": "'Detects when unexpected authentication factor used.'\n",
"displayName": "Cisco Duo - Unexpected authentication factor",
"enabled": true,
"entityMappings": [
{
"entityType": "IP",
"fieldMappings": [
{
"columnName": "IPCustomEntity",
"identifier": "Address"
}
]
},
{
"entityType": "Account",
"fieldMappings": [
{
"columnName": "AccountCustomEntity",
"identifier": "Name"
}
]
}
],
"OriginalUri": "https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/CiscoDuoSecurity/Analytic Rules/CiscoDuoUnexpectedAuthFactor.yaml",
"query": "let allowed_auth_f = dynamic(['duo_push', 'duo_mobile_passcode']);\nCiscoDuo\n| where EventType =~ 'authentication'\n| where EventResult =~ 'success'\n| where AuthFactor !in~ (allowed_auth_f)\n| extend IPCustomEntity = SrcIpAddr, AccountCustomEntity = DstUserName\n",
"queryFrequency": "PT1H",
"queryPeriod": "PT1H",
"severity": "Medium",
"status": "Available",
"subTechniques": [],
"suppressionDuration": "PT1H",
"suppressionEnabled": false,
"tactics": [
"InitialAccess"
],
"techniques": [
"T1078"
],
"templateVersion": "1.0.0",
"triggerOperator": "GreaterThan",
"triggerThreshold": 0
},
"type": "Microsoft.OperationalInsights/workspaces/providers/alertRules"
}
]
}