vCenter
| where Message has_all ('ImpersonateUser', 'VcIntegrity', 'root')
| extend user = 'root'
version: 1.0.0
name: vCenter - Root impersonation
severity: Medium
queryFrequency: 1h
kind: Scheduled
queryPeriod: 1h
description: |
'Detects when root impersonation occurs.'
query: |
vCenter
| where Message has_all ('ImpersonateUser', 'VcIntegrity', 'root')
| extend user = 'root'
tactics:
- PrivilegeEscalation
triggerOperator: gt
entityMappings:
- entityType: Account
fieldMappings:
- columnName: user
identifier: Name
triggerThreshold: 0
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/VMware vCenter/Analytic Rules/vCenter-Root impersonation.yaml
requiredDataConnectors:
- connectorId: vCenter
dataTypes:
- vCenter
status: Available
relevantTechniques:
- T1078
id: f1fcb22c-b459-42f2-a7ee-7276b5f1309c
{
"$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-preview",
"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": [
{
"fieldMappings": [
{
"columnName": "user",
"identifier": "Name"
}
],
"entityType": "Account"
}
],
"OriginalUri": "https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/VMware vCenter/Analytic Rules/vCenter-Root impersonation.yaml",
"templateVersion": "1.0.0",
"status": "Available"
}
}
]
}