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

Cisco Duo - Authentication device new location

Back
Id01df3abe-3dc7-40e2-8aa7-f00b402df6f0
RulenameCisco Duo - Authentication device new location
DescriptionDetects new location of authentication device.
SeverityMedium
TacticsInitialAccess
TechniquesT1078
Required data connectorsCiscoDuoSecurity
KindScheduled
Query frequency1h
Query period14d
Trigger threshold0
Trigger operatorgt
Source Urihttps://github.com/Azure/Azure-Sentinel/blob/master/Solutions/CiscoDuoSecurity/Analytic Rules/CiscoDuoNewAuthDeviceLocation.yaml
Version1.0.0
Arm template01df3abe-3dc7-40e2-8aa7-f00b402df6f0.json
Deploy To Azure
CiscoDuo
| where EventType =~ 'authentication'
| where EventResult =~ 'success'
| where isnotempty(AuthDeviceCountry)
| summarize src_c = makeset(AuthDeviceCountry) by SrcIpAddr
| join (CiscoDuo
        | where EventType =~ 'authentication'
        | where EventResult =~ 'success') on SrcIpAddr
| where src_c !has AuthDeviceCountry
| extend IPCustomEntity = SrcIpAddr, AccountCustomEntity = DstUserName
kind: Scheduled
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/CiscoDuoSecurity/Analytic Rules/CiscoDuoNewAuthDeviceLocation.yaml
queryPeriod: 14d
description: |
    'Detects new location of authentication device.'
requiredDataConnectors:
- connectorId: CiscoDuoSecurity
  dataTypes:
  - CiscoDuo
version: 1.0.0
triggerThreshold: 0
entityMappings:
- entityType: IP
  fieldMappings:
  - identifier: Address
    columnName: IPCustomEntity
- entityType: Account
  fieldMappings:
  - identifier: Name
    columnName: AccountCustomEntity
status: Available
id: 01df3abe-3dc7-40e2-8aa7-f00b402df6f0
tactics:
- InitialAccess
queryFrequency: 1h
triggerOperator: gt
name: Cisco Duo - Authentication device new location
relevantTechniques:
- T1078
query: |
  CiscoDuo
  | where EventType =~ 'authentication'
  | where EventResult =~ 'success'
  | where isnotempty(AuthDeviceCountry)
  | summarize src_c = makeset(AuthDeviceCountry) by SrcIpAddr
  | join (CiscoDuo
          | where EventType =~ 'authentication'
          | where EventResult =~ 'success') on SrcIpAddr
  | where src_c !has AuthDeviceCountry
  | extend IPCustomEntity = SrcIpAddr, AccountCustomEntity = DstUserName  
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": "2023-02-01-preview",
      "id": "[concat(resourceId('Microsoft.OperationalInsights/workspaces/providers', parameters('workspace'), 'Microsoft.SecurityInsights'),'/alertRules/01df3abe-3dc7-40e2-8aa7-f00b402df6f0')]",
      "kind": "Scheduled",
      "name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/01df3abe-3dc7-40e2-8aa7-f00b402df6f0')]",
      "properties": {
        "alertRuleTemplateName": "01df3abe-3dc7-40e2-8aa7-f00b402df6f0",
        "customDetails": null,
        "description": "'Detects new location of authentication device.'\n",
        "displayName": "Cisco Duo - Authentication device new location",
        "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/CiscoDuoNewAuthDeviceLocation.yaml",
        "query": "CiscoDuo\n| where EventType =~ 'authentication'\n| where EventResult =~ 'success'\n| where isnotempty(AuthDeviceCountry)\n| summarize src_c = makeset(AuthDeviceCountry) by SrcIpAddr\n| join (CiscoDuo\n        | where EventType =~ 'authentication'\n        | where EventResult =~ 'success') on SrcIpAddr\n| where src_c !has AuthDeviceCountry\n| extend IPCustomEntity = SrcIpAddr, AccountCustomEntity = DstUserName\n",
        "queryFrequency": "PT1H",
        "queryPeriod": "P14D",
        "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"
    }
  ]
}