vCenter
| where Message has_all ('ImpersonateUser', 'VcIntegrity', 'root')
| extend user = 'root'
queryFrequency: 1h
triggerOperator: gt
tactics:
- PrivilegeEscalation
description: |
'Detects when root impersonation occurs.'
status: Available
relevantTechniques:
- T1078
name: vCenter - Root impersonation
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/VMware vCenter/Analytic Rules/vCenter-Root impersonation.yaml
severity: Medium
triggerThreshold: 0
version: 1.0.0
entityMappings:
- entityType: Account
fieldMappings:
- identifier: Name
columnName: user
query: |
vCenter
| where Message has_all ('ImpersonateUser', 'VcIntegrity', 'root')
| extend user = 'root'
id: f1fcb22c-b459-42f2-a7ee-7276b5f1309c
requiredDataConnectors:
- connectorId: vCenter
dataTypes:
- vCenter
kind: Scheduled
queryPeriod: 1h
{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"workspace": {
"type": "String"
}
},
"resources": [
{
"id": "[concat(resourceId('Microsoft.OperationalInsights/workspaces/providers', parameters('workspace'), 'Microsoft.SecurityInsights'),'/alertRules/f1fcb22c-b459-42f2-a7ee-7276b5f1309c')]",
"name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/f1fcb22c-b459-42f2-a7ee-7276b5f1309c')]",
"type": "Microsoft.OperationalInsights/workspaces/providers/alertRules",
"kind": "Scheduled",
"apiVersion": "2022-11-01",
"properties": {
"displayName": "vCenter - Root impersonation",
"description": "'Detects when root impersonation occurs.'\n",
"severity": "Medium",
"enabled": true,
"query": "vCenter\n | where Message has_all ('ImpersonateUser', 'VcIntegrity', 'root')\n | extend user = 'root'\n",
"queryFrequency": "PT1H",
"queryPeriod": "PT1H",
"triggerOperator": "GreaterThan",
"triggerThreshold": 0,
"suppressionDuration": "PT1H",
"suppressionEnabled": false,
"tactics": [
"PrivilegeEscalation"
],
"techniques": [
"T1078"
],
"alertRuleTemplateName": "f1fcb22c-b459-42f2-a7ee-7276b5f1309c",
"customDetails": null,
"entityMappings": [
{
"entityType": "Account",
"fieldMappings": [
{
"identifier": "Name",
"columnName": "user"
}
]
}
],
"OriginalUri": "https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/VMware vCenter/Analytic Rules/vCenter-Root impersonation.yaml",
"status": "Available",
"templateVersion": "1.0.0"
}
}
]
}