Analytic rule catalog
PROD TM0181 - DOMAIN - Child Domain promoted within the Forest
Back
| Id | ff1bec81-e241-44bf-98ed-c6e37805a2e3 |
| Rulename | PROD (TM018.1) - DOMAIN - Child Domain promoted within the Forest |
| Description | New child domain has been promoted within the Forest and should have the Tier Model deployed. |
| Severity | High |
| Tactics | PrivilegeEscalation |
| Techniques | T1484.002 |
| Required data connectors | SecurityEvents WindowsSecurityEvents |
| Kind | Scheduled |
| Query frequency | 1h |
| Query period | 1h |
| Trigger threshold | 0 |
| Trigger operator | gt |
| Source Uri | https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Microsoft%20Active%20Directory%20Tier%20Model/Analytic%20Rules/TM018_DOMAINChildDomainPromotedWithinTheForest.yaml |
| Version | 1.0.0 |
| Arm template | ff1bec81-e241-44bf-98ed-c6e37805a2e3.json |
SecurityEvent
| where EventID == 5137 and EventData has '"ObjectClass">crossRef' and EventData has 'CN=Partitions,CN=Configuration'
| extend ObjectName = extract("(?i)CN=([^,]+),(?i)CN=Partitions,(?i)CN=Configuration", 1, EventData)
| extend ActivityType = extract("([a-zA-Z]+)\\.$", 1, Activity)
| extend Domain = extract("([^.]+\\.[^.]+)$", 1, Computer)
| project TimeGenerated
, ObjectName
, ActivityType
, Account
, Domain
, Computer
, Channel
, EventID
, EventData
relevantTechniques:
- T1484.002
triggerThreshold: 0
id: ff1bec81-e241-44bf-98ed-c6e37805a2e3
eventGroupingSettings:
aggregationKind: AlertPerResult
alertDetailsOverride:
alertDisplayNameFormat: (TM018.1) A new Child Domain has been promoted and requires the Tier Model to be deployed
alertDescriptionFormat: New child domains do not have a Tier Model by default. Deploy and configure the Tier Model within the new child domain.
queryPeriod: 1h
triggerOperator: gt
incidentConfiguration:
createIncident: true
groupingConfiguration:
matchingMethod: AllEntities
enabled: false
reopenClosedIncident: false
lookbackDuration: PT5H
status: Available
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Microsoft%20Active%20Directory%20Tier%20Model/Analytic%20Rules/TM018_DOMAINChildDomainPromotedWithinTheForest.yaml
queryFrequency: 1h
requiredDataConnectors:
- dataTypes:
- SecurityEvent
connectorId: SecurityEvents
- dataTypes:
- SecurityEvent
connectorId: WindowsSecurityEvents
version: 1.0.0
tactics:
- PrivilegeEscalation
query: |
SecurityEvent
| where EventID == 5137 and EventData has '"ObjectClass">crossRef' and EventData has 'CN=Partitions,CN=Configuration'
| extend ObjectName = extract("(?i)CN=([^,]+),(?i)CN=Partitions,(?i)CN=Configuration", 1, EventData)
| extend ActivityType = extract("([a-zA-Z]+)\\.$", 1, Activity)
| extend Domain = extract("([^.]+\\.[^.]+)$", 1, Computer)
| project TimeGenerated
, ObjectName
, ActivityType
, Account
, Domain
, Computer
, Channel
, EventID
, EventData
name: PROD (TM018.1) - DOMAIN - Child Domain promoted within the Forest
severity: High
entityMappings:
- entityType: Account
fieldMappings:
- identifier: FullName
columnName: ObjectName
- entityType: Host
fieldMappings:
- identifier: HostName
columnName: Computer
- entityType: Account
fieldMappings:
- identifier: FullName
columnName: Account
customDetails:
ObjectName: ObjectName
ActivityType: ActivityType
EventID: EventID
Account: Account
EventData: EventData
Domain: Domain
Computer: Computer
Channel: Channel
description: |
New child domain has been promoted within the Forest and should have the Tier Model deployed.
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": "2024-01-01-preview",
"id": "[concat(resourceId('Microsoft.OperationalInsights/workspaces/providers', parameters('workspace'), 'Microsoft.SecurityInsights'),'/alertRules/ff1bec81-e241-44bf-98ed-c6e37805a2e3')]",
"kind": "Scheduled",
"name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/ff1bec81-e241-44bf-98ed-c6e37805a2e3')]",
"properties": {
"alertDetailsOverride": {
"alertDescriptionFormat": "New child domains do not have a Tier Model by default. Deploy and configure the Tier Model within the new child domain.",
"alertDisplayNameFormat": "(TM018.1) A new Child Domain has been promoted and requires the Tier Model to be deployed"
},
"alertRuleTemplateName": "ff1bec81-e241-44bf-98ed-c6e37805a2e3",
"customDetails": {
"Account": "Account",
"ActivityType": "ActivityType",
"Channel": "Channel",
"Computer": "Computer",
"Domain": "Domain",
"EventData": "EventData",
"EventID": "EventID",
"ObjectName": "ObjectName"
},
"description": "New child domain has been promoted within the Forest and should have the Tier Model deployed.\n",
"displayName": "PROD (TM018.1) - DOMAIN - Child Domain promoted within the Forest",
"enabled": true,
"entityMappings": [
{
"entityType": "Account",
"fieldMappings": [
{
"columnName": "ObjectName",
"identifier": "FullName"
}
]
},
{
"entityType": "Host",
"fieldMappings": [
{
"columnName": "Computer",
"identifier": "HostName"
}
]
},
{
"entityType": "Account",
"fieldMappings": [
{
"columnName": "Account",
"identifier": "FullName"
}
]
}
],
"eventGroupingSettings": {
"aggregationKind": "AlertPerResult"
},
"incidentConfiguration": {
"createIncident": true,
"groupingConfiguration": {
"enabled": false,
"lookbackDuration": "PT5H",
"matchingMethod": "AllEntities",
"reopenClosedIncident": false
}
},
"OriginalUri": "https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Microsoft%20Active%20Directory%20Tier%20Model/Analytic%20Rules/TM018_DOMAINChildDomainPromotedWithinTheForest.yaml",
"query": "SecurityEvent \n| where EventID == 5137 and EventData has '\"ObjectClass\">crossRef' and EventData has 'CN=Partitions,CN=Configuration'\n| extend ObjectName = extract(\"(?i)CN=([^,]+),(?i)CN=Partitions,(?i)CN=Configuration\", 1, EventData)\n| extend ActivityType = extract(\"([a-zA-Z]+)\\\\.$\", 1, Activity)\n| extend Domain = extract(\"([^.]+\\\\.[^.]+)$\", 1, Computer)\n| project TimeGenerated\n , ObjectName\n , ActivityType\n , Account\n , Domain\n , Computer\n , Channel\n , EventID\n , EventData\n",
"queryFrequency": "PT1H",
"queryPeriod": "PT1H",
"severity": "High",
"status": "Available",
"subTechniques": [
"T1484.002"
],
"suppressionDuration": "PT1H",
"suppressionEnabled": false,
"tactics": [
"PrivilegeEscalation"
],
"techniques": [
"T1484"
],
"templateVersion": "1.0.0",
"triggerOperator": "GreaterThan",
"triggerThreshold": 0
},
"type": "Microsoft.OperationalInsights/workspaces/providers/alertRules"
}
]
}