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

Google DNS - Multiple errors to same domain

Back
Idda04a5d6-e2be-4cba-8cdb-a3f2efa87e9e
RulenameGoogle DNS - Multiple errors to same domain
DescriptionDetects multiple errors to same domain.
SeverityMedium
TacticsCommandAndControl
TechniquesT1095
Required data connectorsGCPDNSDataConnector
KindScheduled
Query frequency1h
Query period1h
Trigger threshold0
Trigger operatorgt
Source Urihttps://github.com/Azure/Azure-Sentinel/blob/master/Solutions/GoogleCloudPlatformDNS/Analytic Rules/GCPDNSMultipleErrorsQuery.yaml
Version1.0.0
Arm templateda04a5d6-e2be-4cba-8cdb-a3f2efa87e9e.json
Deploy To Azure
let threshold = 2;
let err = dynamic(['NXDOMAIN', 'SERVFAIL', 'REFUSED']);
GCPCloudDNS
| where EventResultDetails in~ (err)
| summarize ips = makeset(SrcIpAddr) by Query, bin(TimeGenerated, 10m)
| where array_length(ips) >= threshold
| extend DNSCustomEntity = Query, IPCustomEntity = ips
description: |
    'Detects multiple errors to same domain.'
version: 1.0.0
tactics:
- CommandAndControl
query: |
  let threshold = 2;
  let err = dynamic(['NXDOMAIN', 'SERVFAIL', 'REFUSED']);
  GCPCloudDNS
  | where EventResultDetails in~ (err)
  | summarize ips = makeset(SrcIpAddr) by Query, bin(TimeGenerated, 10m)
  | where array_length(ips) >= threshold
  | extend DNSCustomEntity = Query, IPCustomEntity = ips  
triggerOperator: gt
kind: Scheduled
queryFrequency: 1h
triggerThreshold: 0
relevantTechniques:
- T1095
id: da04a5d6-e2be-4cba-8cdb-a3f2efa87e9e
queryPeriod: 1h
entityMappings:
- fieldMappings:
  - identifier: DomainName
    columnName: DNSCustomEntity
  entityType: DNS
- fieldMappings:
  - identifier: Address
    columnName: IPCustomEntity
  entityType: IP
severity: Medium
name: Google DNS - Multiple errors to same domain
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/GoogleCloudPlatformDNS/Analytic Rules/GCPDNSMultipleErrorsQuery.yaml
requiredDataConnectors:
- dataTypes:
  - GCPCloudDNS
  connectorId: GCPDNSDataConnector