Back
Idf05271b6-26a5-49cf-ad73-4a202fba6eb6
RulenameCisco Duo - New access device
DescriptionDetects new access device.
SeverityMedium
TacticsInitialAccess
TechniquesT1078
Required data connectorsCiscoDuoAuthConnectorDefinition
KindScheduled
Query frequency1h
Query period14d
Trigger threshold0
Trigger operatorgt
Source Urihttps://github.com/Azure/Azure-Sentinel/blob/master/Solutions/CiscoDuoSecurity/Analytic%20Rules/CiscoDuoNewAccessDevice.yaml
Version1.0.1
Arm templatef05271b6-26a5-49cf-ad73-4a202fba6eb6.json
Deploy To Azure
DuoAuthentication_CL
| where Result =~ 'success'
| where isnotempty(AccessDeviceIp)
| summarize dvc_ip = make_set(AccessDeviceIp) by UserName
| join (DuoAuthentication_CL
        | where Result =~ 'success') on UserName
| where dvc_ip !has AccessDeviceIp
| extend IPCustomEntity = AccessDeviceIp, AccountCustomEntity = UserName
name: Cisco Duo - New access device
triggerOperator: gt
query: |
  DuoAuthentication_CL
  | where Result =~ 'success'
  | where isnotempty(AccessDeviceIp)
  | summarize dvc_ip = make_set(AccessDeviceIp) by UserName
  | join (DuoAuthentication_CL
          | where Result =~ 'success') on UserName
  | where dvc_ip !has AccessDeviceIp
  | extend IPCustomEntity = AccessDeviceIp, AccountCustomEntity = UserName
queryFrequency: 1h
description: |
  'Detects new access device.'
id: f05271b6-26a5-49cf-ad73-4a202fba6eb6
triggerThreshold: 0
queryPeriod: 14d
version: 1.0.1
kind: Scheduled
status: Available
severity: Medium
requiredDataConnectors:
- connectorId: CiscoDuoAuthConnectorDefinition
  dataTypes:
  - DuoAuthentication_CL
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/CiscoDuoSecurity/Analytic%20Rules/CiscoDuoNewAccessDevice.yaml
relevantTechniques:
- T1078
tactics:
- InitialAccess
entityMappings:
- fieldMappings:
  - identifier: Address
    columnName: IPCustomEntity
  entityType: IP
- fieldMappings:
  - identifier: Name
    columnName: AccountCustomEntity
  entityType: Account
{
  "$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/f05271b6-26a5-49cf-ad73-4a202fba6eb6')]",
      "kind": "Scheduled",
      "name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/f05271b6-26a5-49cf-ad73-4a202fba6eb6')]",
      "properties": {
        "alertRuleTemplateName": "f05271b6-26a5-49cf-ad73-4a202fba6eb6",
        "customDetails": null,
        "description": "'Detects new access device.'\n",
        "displayName": "Cisco Duo - New access device",
        "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%20Rules/CiscoDuoNewAccessDevice.yaml",
        "query": "DuoAuthentication_CL\n| where Result =~ 'success'\n| where isnotempty(AccessDeviceIp)\n| summarize dvc_ip = make_set(AccessDeviceIp) by UserName\n| join (DuoAuthentication_CL\n        | where Result =~ 'success') on UserName\n| where dvc_ip !has AccessDeviceIp\n| extend IPCustomEntity = AccessDeviceIp, AccountCustomEntity = UserName\n",
        "queryFrequency": "PT1H",
        "queryPeriod": "P14D",
        "severity": "Medium",
        "status": "Available",
        "subTechniques": [],
        "suppressionDuration": "PT1H",
        "suppressionEnabled": false,
        "tactics": [
          "InitialAccess"
        ],
        "techniques": [
          "T1078"
        ],
        "templateVersion": "1.0.1",
        "triggerOperator": "GreaterThan",
        "triggerThreshold": 0
      },
      "type": "Microsoft.OperationalInsights/workspaces/providers/alertRules"
    }
  ]
}