vCenter
| where Message has_all ('ImpersonateUser', 'VcIntegrity', 'root')
| extend user = 'root'
entityMappings:
- entityType: Account
fieldMappings:
- identifier: Name
columnName: user
queryFrequency: 1h
name: vCenter - Root impersonation
kind: Scheduled
tactics:
- PrivilegeEscalation
triggerThreshold: 0
query: |
vCenter
| where Message has_all ('ImpersonateUser', 'VcIntegrity', 'root')
| extend user = 'root'
relevantTechniques:
- T1078
triggerOperator: gt
queryPeriod: 1h
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/VMware vCenter/Analytic Rules/vCenter-Root impersonation.yaml
severity: Medium
status: Available
id: f1fcb22c-b459-42f2-a7ee-7276b5f1309c
requiredDataConnectors:
- connectorId: CustomLogsAma
dataTypes:
- vcenter_CL
version: 1.0.2
description: |
'Detects when root impersonation occurs.'
{
"$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/f1fcb22c-b459-42f2-a7ee-7276b5f1309c')]",
"kind": "Scheduled",
"name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/f1fcb22c-b459-42f2-a7ee-7276b5f1309c')]",
"properties": {
"alertRuleTemplateName": "f1fcb22c-b459-42f2-a7ee-7276b5f1309c",
"customDetails": null,
"description": "'Detects when root impersonation occurs.'\n",
"displayName": "vCenter - Root impersonation",
"enabled": true,
"entityMappings": [
{
"entityType": "Account",
"fieldMappings": [
{
"columnName": "user",
"identifier": "Name"
}
]
}
],
"OriginalUri": "https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/VMware vCenter/Analytic Rules/vCenter-Root impersonation.yaml",
"query": "vCenter\n | where Message has_all ('ImpersonateUser', 'VcIntegrity', 'root')\n | extend user = 'root'\n",
"queryFrequency": "PT1H",
"queryPeriod": "PT1H",
"severity": "Medium",
"status": "Available",
"subTechniques": [],
"suppressionDuration": "PT1H",
"suppressionEnabled": false,
"tactics": [
"PrivilegeEscalation"
],
"techniques": [
"T1078"
],
"templateVersion": "1.0.2",
"triggerOperator": "GreaterThan",
"triggerThreshold": 0
},
"type": "Microsoft.OperationalInsights/workspaces/providers/alertRules"
}
]
}