let dyndns = dynamic(['noip.com', 'dynu.com', 'dyn.com', 'dynv6.com']);
GCPCloudDNS
| where Query in~ (dyndns)
| extend DNSCustomEntity = Query, IPCustomEntity = SrcIpAddr
severity: Medium
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/GoogleCloudPlatformDNS/Analytic Rules/GCPDNSIpDynDns.yaml
description: |
'Detects requests to ip lookup resources.'
triggerOperator: gt
queryPeriod: 1h
requiredDataConnectors:
- dataTypes:
- GCPCloudDNS
connectorId: GCPDNSDataConnector
queryFrequency: 1h
triggerThreshold: 0
tactics:
- CommandAndControl
query: |
let dyndns = dynamic(['noip.com', 'dynu.com', 'dyn.com', 'dynv6.com']);
GCPCloudDNS
| where Query in~ (dyndns)
| extend DNSCustomEntity = Query, IPCustomEntity = SrcIpAddr
kind: Scheduled
relevantTechniques:
- T1095
version: 1.0.0
id: 09fc03e0-daec-4b22-8afa-4bba30d7e909
entityMappings:
- fieldMappings:
- columnName: DNSCustomEntity
identifier: DomainName
entityType: DNS
- fieldMappings:
- columnName: IPCustomEntity
identifier: Address
entityType: IP
name: Google DNS - Request to dynamic DNS service
{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"workspace": {
"type": "String"
}
},
"resources": [
{
"id": "[concat(resourceId('Microsoft.OperationalInsights/workspaces/providers', parameters('workspace'), 'Microsoft.SecurityInsights'),'/alertRules/09fc03e0-daec-4b22-8afa-4bba30d7e909')]",
"name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/09fc03e0-daec-4b22-8afa-4bba30d7e909')]",
"type": "Microsoft.OperationalInsights/workspaces/providers/alertRules",
"kind": "Scheduled",
"apiVersion": "2022-11-01-preview",
"properties": {
"displayName": "Google DNS - Request to dynamic DNS service",
"description": "'Detects requests to ip lookup resources.'\n",
"severity": "Medium",
"enabled": true,
"query": "let dyndns = dynamic(['noip.com', 'dynu.com', 'dyn.com', 'dynv6.com']);\nGCPCloudDNS\n| where Query in~ (dyndns)\n| extend DNSCustomEntity = Query, IPCustomEntity = SrcIpAddr\n",
"queryFrequency": "PT1H",
"queryPeriod": "PT1H",
"triggerOperator": "GreaterThan",
"triggerThreshold": 0,
"suppressionDuration": "PT1H",
"suppressionEnabled": false,
"tactics": [
"CommandAndControl"
],
"techniques": [
"T1095"
],
"alertRuleTemplateName": "09fc03e0-daec-4b22-8afa-4bba30d7e909",
"customDetails": null,
"entityMappings": [
{
"entityType": "DNS",
"fieldMappings": [
{
"columnName": "DNSCustomEntity",
"identifier": "DomainName"
}
]
},
{
"entityType": "IP",
"fieldMappings": [
{
"columnName": "IPCustomEntity",
"identifier": "Address"
}
]
}
],
"templateVersion": "1.0.0",
"OriginalUri": "https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/GoogleCloudPlatformDNS/Analytic Rules/GCPDNSIpDynDns.yaml"
}
}
]
}