VMware ESXi - Root impersonation
Id | 23a3cf72-9497-408e-8144-87958a60d31a |
Rulename | VMware ESXi - Root impersonation |
Description | Detects when root impersonation occurs. |
Severity | Medium |
Tactics | PrivilegeEscalation |
Techniques | T1078 |
Required data connectors | SyslogAma VMwareESXi |
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/VMWareESXi/Analytic Rules/ESXiRootImpersonation.yaml |
Version | 1.0.1 |
Arm template | 23a3cf72-9497-408e-8144-87958a60d31a.json |
VMwareESXi
| where SyslogMessage has_all ('ImpersonateUser', 'VcIntegrity', 'root')
| extend user = 'root'
| extend AccountCustomEntity = user
relevantTechniques:
- T1078
name: VMware ESXi - Root impersonation
requiredDataConnectors:
- dataTypes:
- VMwareESXi
connectorId: VMwareESXi
- datatypes:
- Syslog
connectorId: SyslogAma
entityMappings:
- fieldMappings:
- identifier: Name
columnName: AccountCustomEntity
entityType: Account
triggerThreshold: 0
id: 23a3cf72-9497-408e-8144-87958a60d31a
tactics:
- PrivilegeEscalation
version: 1.0.1
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/VMWareESXi/Analytic Rules/ESXiRootImpersonation.yaml
queryPeriod: 1h
kind: Scheduled
queryFrequency: 1h
severity: Medium
status: Available
description: |
'Detects when root impersonation occurs.'
query: |
VMwareESXi
| where SyslogMessage has_all ('ImpersonateUser', 'VcIntegrity', 'root')
| extend user = 'root'
| extend AccountCustomEntity = user
triggerOperator: gt
{
"$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.1",
"triggerOperator": "GreaterThan",
"triggerThreshold": 0
},
"type": "Microsoft.OperationalInsights/workspaces/providers/alertRules"
}
]
}