let allowed_auth_f = dynamic(['duo_push', 'duo_mobile_passcode']);
CiscoDuo
| where EventType =~ 'authentication'
| where EventResult =~ 'success'
| where AuthFactor !in~ (allowed_auth_f)
| extend IPCustomEntity = SrcIpAddr, AccountCustomEntity = DstUserName
triggerThreshold: 0
entityMappings:
- entityType: IP
fieldMappings:
- identifier: Address
columnName: IPCustomEntity
- entityType: Account
fieldMappings:
- identifier: Name
columnName: AccountCustomEntity
requiredDataConnectors:
- dataTypes:
- CiscoDuo
connectorId: CiscoDuoSecurity
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/CiscoDuoSecurity/Analytic Rules/CiscoDuoUnexpectedAuthFactor.yaml
name: Cisco Duo - Unexpected authentication factor
relevantTechniques:
- T1078
status: Available
version: 1.0.0
queryPeriod: 1h
kind: Scheduled
id: 16c91a2c-17ad-4985-a9ad-4a4f1cb11830
query: |
let allowed_auth_f = dynamic(['duo_push', 'duo_mobile_passcode']);
CiscoDuo
| where EventType =~ 'authentication'
| where EventResult =~ 'success'
| where AuthFactor !in~ (allowed_auth_f)
| extend IPCustomEntity = SrcIpAddr, AccountCustomEntity = DstUserName
description: |
'Detects when unexpected authentication factor used.'
queryFrequency: 1h
severity: Medium
triggerOperator: gt
tactics:
- InitialAccess