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

Ubiquiti - connection to non-corporate DNS server

Back
Idfe232837-9bdc-4e2b-8c08-cdac2610eed3
RulenameUbiquiti - connection to non-corporate DNS server
DescriptionDetects connections to non-corporate DNS servers.
SeverityMedium
TacticsCommandAndControl
Exfiltration
TechniquesT1572
T1041
Required data connectorsCustomLogsAma
KindScheduled
Query frequency1h
Query period1h
Trigger threshold0
Trigger operatorgt
Source Urihttps://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Ubiquiti UniFi/Analytic Rules/UbiquitiNonCorpDns.yaml
Version1.0.2
Arm templatefe232837-9bdc-4e2b-8c08-cdac2610eed3.json
Deploy To Azure
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