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
name: Cisco Duo - Unexpected authentication factor
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
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/CiscoDuoSecurity/Analytic Rules/CiscoDuoUnexpectedAuthFactor.yaml
queryFrequency: 1h
triggerThreshold: 0
requiredDataConnectors:
- dataTypes:
- CiscoDuo
connectorId: CiscoDuoSecurity
version: 1.0.0
status: Available
queryPeriod: 1h
id: 16c91a2c-17ad-4985-a9ad-4a4f1cb11830
triggerOperator: gt
entityMappings:
- fieldMappings:
- identifier: Address
columnName: IPCustomEntity
entityType: IP
- fieldMappings:
- identifier: Name
columnName: AccountCustomEntity
entityType: Account
relevantTechniques:
- T1078
severity: Medium
description: |
'Detects when unexpected authentication factor used.'
kind: Scheduled
tactics:
- InitialAccess
{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"workspace": {
"type": "String"
}
},
"resources": [
{
"id": "[concat(resourceId('Microsoft.OperationalInsights/workspaces/providers', parameters('workspace'), 'Microsoft.SecurityInsights'),'/alertRules/16c91a2c-17ad-4985-a9ad-4a4f1cb11830')]",
"name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/16c91a2c-17ad-4985-a9ad-4a4f1cb11830')]",
"type": "Microsoft.OperationalInsights/workspaces/providers/alertRules",
"kind": "Scheduled",
"apiVersion": "2022-11-01",
"properties": {
"displayName": "Cisco Duo - Unexpected authentication factor",
"description": "'Detects when unexpected authentication factor used.'\n",
"severity": "Medium",
"enabled": true,
"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",
"triggerOperator": "GreaterThan",
"triggerThreshold": 0,
"suppressionDuration": "PT1H",
"suppressionEnabled": false,
"tactics": [
"InitialAccess"
],
"techniques": [
"T1078"
],
"alertRuleTemplateName": "16c91a2c-17ad-4985-a9ad-4a4f1cb11830",
"customDetails": null,
"entityMappings": [
{
"fieldMappings": [
{
"identifier": "Address",
"columnName": "IPCustomEntity"
}
],
"entityType": "IP"
},
{
"fieldMappings": [
{
"identifier": "Name",
"columnName": "AccountCustomEntity"
}
],
"entityType": "Account"
}
],
"status": "Available",
"templateVersion": "1.0.0",
"OriginalUri": "https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/CiscoDuoSecurity/Analytic Rules/CiscoDuoUnexpectedAuthFactor.yaml"
}
}
]
}