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

Cisco Duo - New access device

Back
Idf05271b6-26a5-49cf-ad73-4a202fba6eb6
RulenameCisco Duo - New access device
DescriptionDetects new access 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/CiscoDuoNewAccessDevice.yaml
Version1.0.0
Arm templatef05271b6-26a5-49cf-ad73-4a202fba6eb6.json
Deploy To Azure
CiscoDuo
| where EventType =~ 'authentication'
| where EventResult =~ 'success'
| where isnotempty(AccessDvcIpAddr)
| summarize dvc_ip = makeset(AccessDvcIpAddr) by DstUserName
| join (CiscoDuo
        | where EventType =~ 'authentication'
        | where EventResult =~ 'success') on DstUserName
| where dvc_ip !has AccessDvcIpAddr
| extend IPCustomEntity = AccessDvcIpAddr, AccountCustomEntity = DstUserName
severity: Medium
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/CiscoDuoSecurity/Analytic Rules/CiscoDuoNewAccessDevice.yaml
id: f05271b6-26a5-49cf-ad73-4a202fba6eb6
name: Cisco Duo - New access device
query: |
  CiscoDuo
  | where EventType =~ 'authentication'
  | where EventResult =~ 'success'
  | where isnotempty(AccessDvcIpAddr)
  | summarize dvc_ip = makeset(AccessDvcIpAddr) by DstUserName
  | join (CiscoDuo
          | where EventType =~ 'authentication'
          | where EventResult =~ 'success') on DstUserName
  | where dvc_ip !has AccessDvcIpAddr
  | extend IPCustomEntity = AccessDvcIpAddr, AccountCustomEntity = DstUserName  
entityMappings:
- fieldMappings:
  - columnName: IPCustomEntity
    identifier: Address
  entityType: IP
- fieldMappings:
  - columnName: AccountCustomEntity
    identifier: Name
  entityType: Account
queryPeriod: 14d
triggerThreshold: 0
tactics:
- InitialAccess
version: 1.0.0
kind: Scheduled
relevantTechniques:
- T1078
queryFrequency: 1h
status: Available
requiredDataConnectors:
- dataTypes:
  - CiscoDuo
  connectorId: CiscoDuoSecurity
description: |
    'Detects new access device.'
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": "2023-02-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 Rules/CiscoDuoNewAccessDevice.yaml",
        "query": "CiscoDuo\n| where EventType =~ 'authentication'\n| where EventResult =~ 'success'\n| where isnotempty(AccessDvcIpAddr)\n| summarize dvc_ip = makeset(AccessDvcIpAddr) by DstUserName\n| join (CiscoDuo\n        | where EventType =~ 'authentication'\n        | where EventResult =~ 'success') on DstUserName\n| where dvc_ip !has AccessDvcIpAddr\n| extend IPCustomEntity = AccessDvcIpAddr, 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"
    }
  ]
}