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
description: |
'Detects new location of authentication device.'
tactics:
- InitialAccess
severity: Medium
entityMappings:
- fieldMappings:
- columnName: IPCustomEntity
identifier: Address
entityType: IP
- fieldMappings:
- columnName: AccountCustomEntity
identifier: Name
entityType: Account
queryFrequency: 1h
triggerOperator: gt
status: Available
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
name: Cisco Duo - Authentication device new location
version: 1.0.0
triggerThreshold: 0
id: 01df3abe-3dc7-40e2-8aa7-f00b402df6f0
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/CiscoDuoSecurity/Analytic Rules/CiscoDuoNewAuthDeviceLocation.yaml
relevantTechniques:
- T1078
queryPeriod: 14d
kind: Scheduled
requiredDataConnectors:
- dataTypes:
- CiscoDuo
connectorId: CiscoDuoSecurity