Excessive NXDOMAIN DNS Queries
| Id | b8266f81-2715-41a6-9062-42486cbc9c73 |
| Rulename | Excessive NXDOMAIN DNS Queries |
| Description | This creates an incident in the event a client generates excessive amounts of DNS queries for non-existent domains. |
| Severity | Medium |
| Tactics | CommandAndControl |
| Techniques | T1568 T1008 |
| Required data connectors | SyslogAma |
| 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/Infoblox NIOS/Analytic Rules/ExcessiveNXDOMAINDNSQueries.yaml |
| Version | 1.0.5 |
| Arm template | b8266f81-2715-41a6-9062-42486cbc9c73.json |
let threshold = 200;
Infoblox_dnsclient
| where isnotempty(DnsResponseCode)
| where DnsResponseCode =~ "NXDOMAIN"
| summarize count() by SrcIpAddr, bin(TimeGenerated,15m)
| where count_ > threshold
| join kind=inner (Infoblox_dnsclient
| where isnotempty(DnsResponseCode)
| where DnsResponseCode =~ "NXDOMAIN"
) on SrcIpAddr
description: |
'This creates an incident in the event a client generates excessive amounts of DNS queries for non-existent domains.'
kind: Scheduled
tactics:
- CommandAndControl
requiredDataConnectors:
- connectorId: SyslogAma
datatypes:
- Syslog
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Infoblox NIOS/Analytic Rules/ExcessiveNXDOMAINDNSQueries.yaml
severity: Medium
name: Excessive NXDOMAIN DNS Queries
triggerThreshold: 0
queryPeriod: 1h
query: |
let threshold = 200;
Infoblox_dnsclient
| where isnotempty(DnsResponseCode)
| where DnsResponseCode =~ "NXDOMAIN"
| summarize count() by SrcIpAddr, bin(TimeGenerated,15m)
| where count_ > threshold
| join kind=inner (Infoblox_dnsclient
| where isnotempty(DnsResponseCode)
| where DnsResponseCode =~ "NXDOMAIN"
) on SrcIpAddr
relevantTechniques:
- T1568
- T1008
id: b8266f81-2715-41a6-9062-42486cbc9c73
queryFrequency: 1h
status: Available
triggerOperator: gt
version: 1.0.5
entityMappings:
- entityType: IP
fieldMappings:
- columnName: SrcIpAddr
identifier: Address