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

Cisco Duo - Unexpected authentication factor

Back
Id16c91a2c-17ad-4985-a9ad-4a4f1cb11830
RulenameCisco Duo - Unexpected authentication factor
DescriptionDetects when unexpected authentication factor used.
SeverityMedium
TacticsInitialAccess
TechniquesT1078
Required data connectorsCiscoDuoSecurity
KindScheduled
Query frequency1h
Query period1h
Trigger threshold0
Trigger operatorgt
Source Urihttps://github.com/Azure/Azure-Sentinel/blob/master/Solutions/CiscoDuoSecurity/Analytic Rules/CiscoDuoUnexpectedAuthFactor.yaml
Version1.0.0
Arm template16c91a2c-17ad-4985-a9ad-4a4f1cb11830.json
Deploy To Azure
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
queryPeriod: 1h
description: |
    'Detects when unexpected authentication factor used.'
tactics:
- InitialAccess
id: 16c91a2c-17ad-4985-a9ad-4a4f1cb11830
requiredDataConnectors:
- connectorId: CiscoDuoSecurity
  dataTypes:
  - CiscoDuo
relevantTechniques:
- T1078
severity: Medium
version: 1.0.0
status: Available
entityMappings:
- entityType: IP
  fieldMappings:
  - identifier: Address
    columnName: IPCustomEntity
- entityType: Account
  fieldMappings:
  - identifier: Name
    columnName: AccountCustomEntity
name: Cisco Duo - Unexpected authentication factor
triggerOperator: gt
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  
queryFrequency: 1h
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/CiscoDuoSecurity/Analytic Rules/CiscoDuoUnexpectedAuthFactor.yaml
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": "2023-02-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",
        "suppressionDuration": "PT1H",
        "suppressionEnabled": false,
        "tactics": [
          "InitialAccess"
        ],
        "techniques": [
          "T1078"
        ],
        "templateVersion": "1.0.0",
        "triggerOperator": "GreaterThan",
        "triggerThreshold": 0
      },
      "type": "Microsoft.OperationalInsights/workspaces/providers/alertRules"
    }
  ]
}