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

Google DNS - CVE-2021-34527 PrintNightmare external exploit

Back
Ide632e73a-06c4-47f6-8bed-b2498aa6e30f
RulenameGoogle DNS - CVE-2021-34527 (PrintNightmare) external exploit
DescriptionDetects CVE-2021-34527 (PrintNightmare) external exploit
SeverityHigh
TacticsPrivilegeEscalation
TechniquesT1068
Required data connectorsGCPDNSDataConnector
KindScheduled
Query frequency15m
Query period15m
Trigger threshold0
Trigger operatorgt
Source Urihttps://github.com/Azure/Azure-Sentinel/blob/master/Solutions/GoogleCloudPlatformDNS/Analytic Rules/GCPDNSPrintNightmare.yaml
Version1.0.0
Arm templatee632e73a-06c4-47f6-8bed-b2498aa6e30f.json
Deploy To Azure
GCPCloudDNS
| where Query has 'gentilkiwi'
| extend DNSCustomEntity = Query, IPCustomEntity = SrcIpAddr
kind: Scheduled
relevantTechniques:
- T1068
description: |
    'Detects CVE-2021-34527 (PrintNightmare) external exploit'
queryPeriod: 15m
queryFrequency: 15m
tactics:
- PrivilegeEscalation
name: Google DNS - CVE-2021-34527 (PrintNightmare) external exploit
requiredDataConnectors:
- connectorId: GCPDNSDataConnector
  dataTypes:
  - GCPCloudDNS
entityMappings:
- entityType: DNS
  fieldMappings:
  - identifier: DomainName
    columnName: DNSCustomEntity
- entityType: IP
  fieldMappings:
  - identifier: Address
    columnName: IPCustomEntity
triggerThreshold: 0
version: 1.0.0
id: e632e73a-06c4-47f6-8bed-b2498aa6e30f
query: |
  GCPCloudDNS
  | where Query has 'gentilkiwi'
  | extend DNSCustomEntity = Query, IPCustomEntity = SrcIpAddr  
triggerOperator: gt
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/GoogleCloudPlatformDNS/Analytic Rules/GCPDNSPrintNightmare.yaml
severity: High
{
  "$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/e632e73a-06c4-47f6-8bed-b2498aa6e30f')]",
      "kind": "Scheduled",
      "name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/e632e73a-06c4-47f6-8bed-b2498aa6e30f')]",
      "properties": {
        "alertRuleTemplateName": "e632e73a-06c4-47f6-8bed-b2498aa6e30f",
        "customDetails": null,
        "description": "'Detects CVE-2021-34527 (PrintNightmare) external exploit'\n",
        "displayName": "Google DNS - CVE-2021-34527 (PrintNightmare) external exploit",
        "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/GCPDNSPrintNightmare.yaml",
        "query": "GCPCloudDNS\n| where Query has 'gentilkiwi'\n| extend DNSCustomEntity = Query, IPCustomEntity = SrcIpAddr\n",
        "queryFrequency": "PT15M",
        "queryPeriod": "PT15M",
        "severity": "High",
        "subTechniques": [],
        "suppressionDuration": "PT1H",
        "suppressionEnabled": false,
        "tactics": [
          "PrivilegeEscalation"
        ],
        "techniques": [
          "T1068"
        ],
        "templateVersion": "1.0.0",
        "triggerOperator": "GreaterThan",
        "triggerThreshold": 0
      },
      "type": "Microsoft.OperationalInsights/workspaces/providers/alertRules"
    }
  ]
}