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

Google DNS - Request to dynamic DNS service

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