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
relevantTechniques:
- T1078
name: Cisco Duo - Unexpected authentication factor
requiredDataConnectors:
- dataTypes:
  - CiscoDuo
  connectorId: CiscoDuoSecurity
entityMappings:
- fieldMappings:
  - identifier: Address
    columnName: IPCustomEntity
  entityType: IP
- fieldMappings:
  - identifier: Name
    columnName: AccountCustomEntity
  entityType: Account
triggerThreshold: 0
id: 16c91a2c-17ad-4985-a9ad-4a4f1cb11830
tactics:
- InitialAccess
version: 1.0.0
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/CiscoDuoSecurity/Analytic Rules/CiscoDuoUnexpectedAuthFactor.yaml
queryPeriod: 1h
kind: Scheduled
queryFrequency: 1h
severity: Medium
status: Available
description: |
    'Detects when unexpected authentication factor used.'
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  
triggerOperator: gt
{
  "$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"
    }
  ]
}