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

Alsid DCShadow

Back
Id25e0b2dd-3ad3-4d5b-80dd-720f4ef0f12c
RulenameAlsid DCShadow
DescriptionSearches for DCShadow attacks
SeverityHigh
TacticsDefenseEvasion
TechniquesT1207
Required data connectorsAlsidForAD
KindScheduled
Query frequency2h
Query period2h
Trigger threshold0
Trigger operatorgt
Source Urihttps://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Alsid For AD/Analytic Rules/DCShadow.yaml
Version1.0.1
Arm template25e0b2dd-3ad3-4d5b-80dd-720f4ef0f12c.json
Deploy To Azure
afad_parser
| where MessageType == 2 and Codename == "DCShadow"
| extend HostName = tostring(split(Host, '.', 0)[0]), DnsDomain = tostring(strcat_array(array_slice(split(Host, '.'), 1, -1), '.'))
tactics:
- DefenseEvasion
requiredDataConnectors:
- dataTypes:
  - AlsidForADLog_CL
  connectorId: AlsidForAD
status: Available
queryFrequency: 2h
entityMappings:
- entityType: Host
  fieldMappings:
  - columnName: HostName
    identifier: HostName
  - columnName: DnsDomain
    identifier: DnsDomain
relevantTechniques:
- T1207
query: |
  afad_parser
  | where MessageType == 2 and Codename == "DCShadow"
  | extend HostName = tostring(split(Host, '.', 0)[0]), DnsDomain = tostring(strcat_array(array_slice(split(Host, '.'), 1, -1), '.'))  
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Alsid For AD/Analytic Rules/DCShadow.yaml
description: |
    'Searches for DCShadow attacks'
queryPeriod: 2h
triggerOperator: gt
id: 25e0b2dd-3ad3-4d5b-80dd-720f4ef0f12c
triggerThreshold: 0
severity: High
name: Alsid DCShadow
version: 1.0.1
kind: Scheduled
{
  "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
  "contentVersion": "1.0.0.0",
  "parameters": {
    "workspace": {
      "type": "String"
    }
  },
  "resources": [
    {
      "apiVersion": "2023-02-01-preview",
      "id": "[concat(resourceId('Microsoft.OperationalInsights/workspaces/providers', parameters('workspace'), 'Microsoft.SecurityInsights'),'/alertRules/25e0b2dd-3ad3-4d5b-80dd-720f4ef0f12c')]",
      "kind": "Scheduled",
      "name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/25e0b2dd-3ad3-4d5b-80dd-720f4ef0f12c')]",
      "properties": {
        "alertRuleTemplateName": "25e0b2dd-3ad3-4d5b-80dd-720f4ef0f12c",
        "customDetails": null,
        "description": "'Searches for DCShadow attacks'\n",
        "displayName": "Alsid DCShadow",
        "enabled": true,
        "entityMappings": [
          {
            "entityType": "Host",
            "fieldMappings": [
              {
                "columnName": "HostName",
                "identifier": "HostName"
              },
              {
                "columnName": "DnsDomain",
                "identifier": "DnsDomain"
              }
            ]
          }
        ],
        "OriginalUri": "https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Alsid For AD/Analytic Rules/DCShadow.yaml",
        "query": "afad_parser\n| where MessageType == 2 and Codename == \"DCShadow\"\n| extend HostName = tostring(split(Host, '.', 0)[0]), DnsDomain = tostring(strcat_array(array_slice(split(Host, '.'), 1, -1), '.'))\n",
        "queryFrequency": "PT2H",
        "queryPeriod": "PT2H",
        "severity": "High",
        "status": "Available",
        "suppressionDuration": "PT1H",
        "suppressionEnabled": false,
        "tactics": [
          "DefenseEvasion"
        ],
        "techniques": [
          "T1207"
        ],
        "templateVersion": "1.0.1",
        "triggerOperator": "GreaterThan",
        "triggerThreshold": 0
      },
      "type": "Microsoft.OperationalInsights/workspaces/providers/alertRules"
    }
  ]
}