Detection rules › Kusto
Cisco Duo - Authentication device new location
'Detects new location of authentication device.'
MITRE ATT&CK coverage
| Tactic | Techniques |
|---|---|
| Initial Access | T1078 Valid Accounts |
Rule body kusto
id: 01df3abe-3dc7-40e2-8aa7-f00b402df6f0
name: Cisco Duo - Authentication device new location
description: |
'Detects new location of authentication device.'
severity: Medium
status: Available
requiredDataConnectors:
- connectorId: CiscoDuoSecurity
dataTypes:
- CiscoDuo
queryFrequency: 1h
queryPeriod: 14d
triggerOperator: gt
triggerThreshold: 0
tactics:
- InitialAccess
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
entityMappings:
- entityType: IP
fieldMappings:
- identifier: Address
columnName: IPCustomEntity
- entityType: Account
fieldMappings:
- identifier: Name
columnName: AccountCustomEntity
version: 1.0.0
kind: Scheduled
Stages and Predicates
Stage 1: source
CiscoDuo
Stage 2: where
| where EventType =~ 'authentication'
Stage 3: where
| where EventResult =~ 'success'
Stage 4: where
| where isnotempty(AuthDeviceCountry)
Stage 5: summarize
| summarize src_c = makeset(AuthDeviceCountry) by SrcIpAddr
Stage 6: join
| join (CiscoDuo
| where EventType =~ 'authentication'
| where EventResult =~ 'success') on SrcIpAddr
Stage 7: where
| where src_c !has AuthDeviceCountry
Stage 8: extend
| extend IPCustomEntity = SrcIpAddr, AccountCustomEntity = DstUserName
Exclusions
Top-level NOT(...) conjuncts: predicates this rule actively suppresses.
| Field | Kind | Excluded values |
|---|---|---|
src_c | match | AuthDeviceCountry |
Indicators
Each row is a field, operator, and value that the rule matches. The corpus column counts how many other rules in the catalog look for the same combination: high numbers point to widely-used, community-vetted indicators. Blank or 1 shows that the indicator is specific to this rule.
| Field | Kind | Values |
|---|---|---|
AuthDeviceCountry | is_not_null | |
EventResult | eq |
|
EventType | eq |
|
Output fields
Fields the rule emits when it matches. Chronicle authors list these in the outcome block; they appear on the detection and $risk_score drives alerting. Sentinel / Defender XDR rules build them up through project / summarize / extend stages. Sentinel maps these into alert fields via entityMappings and customDetails; Defender XDR custom detections surface them as alert fields directly.
| Field | Source |
|---|---|
SrcIpAddr | summarize |
src_c | summarize |
AccountCustomEntity | extend |
IPCustomEntity | extend |