Ubiquiti - connection to non-corporate DNS server
| Id | fe232837-9bdc-4e2b-8c08-cdac2610eed3 |
| Rulename | Ubiquiti - connection to non-corporate DNS server |
| Description | Detects connections to non-corporate DNS servers. |
| Severity | Medium |
| Tactics | CommandAndControl Exfiltration |
| Techniques | T1572 T1041 |
| Required data connectors | CustomLogsAma |
| Kind | Scheduled |
| Query frequency | 1h |
| Query period | 1h |
| Trigger threshold | 0 |
| Trigger operator | gt |
| Source Uri | https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Ubiquiti UniFi/Analytic Rules/UbiquitiNonCorpDns.yaml |
| Version | 1.0.2 |
| Arm template | fe232837-9bdc-4e2b-8c08-cdac2610eed3.json |
let corp_dns = dynamic(['127.0.0.2']);
UbiquitiAuditEvent
| where DstPortNumber == '53'
| where DstIpAddr !in (corp_dns)
| extend IPCustomEntity = SrcIpAddr
queryPeriod: 1h
query: |
let corp_dns = dynamic(['127.0.0.2']);
UbiquitiAuditEvent
| where DstPortNumber == '53'
| where DstIpAddr !in (corp_dns)
| extend IPCustomEntity = SrcIpAddr
name: Ubiquiti - connection to non-corporate DNS server
entityMappings:
- fieldMappings:
- columnName: IPCustomEntity
identifier: Address
entityType: IP
queryFrequency: 1h
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Ubiquiti UniFi/Analytic Rules/UbiquitiNonCorpDns.yaml
requiredDataConnectors:
- connectorId: CustomLogsAma
dataTypes:
- Ubiquiti_CL
description: |
'Detects connections to non-corporate DNS servers.'
kind: Scheduled
version: 1.0.2
status: Available
severity: Medium
relevantTechniques:
- T1572
- T1041
triggerOperator: gt
triggerThreshold: 0
tactics:
- CommandAndControl
- Exfiltration
id: fe232837-9bdc-4e2b-8c08-cdac2610eed3