VMwareESXi
| where SyslogMessage has_all ('ImpersonateUser', 'VcIntegrity', 'root')
| extend user = 'root'
| extend AccountCustomEntity = user
entityMappings:
- entityType: Account
fieldMappings:
- identifier: Name
columnName: AccountCustomEntity
queryFrequency: 1h
name: VMware ESXi - Root impersonation
kind: Scheduled
tactics:
- PrivilegeEscalation
triggerThreshold: 0
query: |
VMwareESXi
| where SyslogMessage has_all ('ImpersonateUser', 'VcIntegrity', 'root')
| extend user = 'root'
| extend AccountCustomEntity = user
relevantTechniques:
- T1078
triggerOperator: gt
queryPeriod: 1h
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/VMWareESXi/Analytic Rules/ESXiRootImpersonation.yaml
severity: Medium
status: Available
id: 23a3cf72-9497-408e-8144-87958a60d31a
requiredDataConnectors:
- connectorId: SyslogAma
datatypes:
- Syslog
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/23a3cf72-9497-408e-8144-87958a60d31a')]",
"kind": "Scheduled",
"name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/23a3cf72-9497-408e-8144-87958a60d31a')]",
"properties": {
"alertRuleTemplateName": "23a3cf72-9497-408e-8144-87958a60d31a",
"customDetails": null,
"description": "'Detects when root impersonation occurs.'\n",
"displayName": "VMware ESXi - Root impersonation",
"enabled": true,
"entityMappings": [
{
"entityType": "Account",
"fieldMappings": [
{
"columnName": "AccountCustomEntity",
"identifier": "Name"
}
]
}
],
"OriginalUri": "https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/VMWareESXi/Analytic Rules/ESXiRootImpersonation.yaml",
"query": "VMwareESXi\n| where SyslogMessage has_all ('ImpersonateUser', 'VcIntegrity', 'root')\n| extend user = 'root'\n| extend AccountCustomEntity = user\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"
}
]
}