Microsoft Sentinel Analytic Rules
cloudbrothers.infoAzure Sentinel RepoToggle Dark/Light/Auto modeToggle Dark/Light/Auto modeToggle Dark/Light/Auto modeBack to homepage

VMware ESXi - Root impersonation

Back
Id23a3cf72-9497-408e-8144-87958a60d31a
RulenameVMware ESXi - Root impersonation
DescriptionDetects when root impersonation occurs.
SeverityMedium
TacticsPrivilegeEscalation
TechniquesT1078
Required data connectorsVMwareESXi
KindScheduled
Query frequency1h
Query period1h
Trigger threshold0
Trigger operatorgt
Source Urihttps://github.com/Azure/Azure-Sentinel/blob/master/Solutions/VMWareESXi/Analytic Rules/ESXiRootImpersonation.yaml
Version1.0.0
Arm template23a3cf72-9497-408e-8144-87958a60d31a.json
Deploy To Azure
VMwareESXi
| where SyslogMessage has_all ('ImpersonateUser', 'VcIntegrity', 'root')
| extend user = 'root'
| extend AccountCustomEntity = user
status: Available
id: 23a3cf72-9497-408e-8144-87958a60d31a
name: VMware ESXi - Root impersonation
requiredDataConnectors:
- connectorId: VMwareESXi
  dataTypes:
  - VMwareESXi
severity: Medium
triggerThreshold: 0
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/VMWareESXi/Analytic Rules/ESXiRootImpersonation.yaml
kind: Scheduled
description: |
    'Detects when root impersonation occurs.'
relevantTechniques:
- T1078
queryPeriod: 1h
triggerOperator: gt
queryFrequency: 1h
query: |
  VMwareESXi
  | where SyslogMessage has_all ('ImpersonateUser', 'VcIntegrity', 'root')
  | extend user = 'root'
  | extend AccountCustomEntity = user  
version: 1.0.0
tactics:
- PrivilegeEscalation
entityMappings:
- fieldMappings:
  - identifier: Name
    columnName: AccountCustomEntity
  entityType: Account
{
  "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
  "contentVersion": "1.0.0.0",
  "parameters": {
    "workspace": {
      "type": "String"
    }
  },
  "resources": [
    {
      "apiVersion": "2023-02-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",
        "suppressionDuration": "PT1H",
        "suppressionEnabled": false,
        "tactics": [
          "PrivilegeEscalation"
        ],
        "techniques": [
          "T1078"
        ],
        "templateVersion": "1.0.0",
        "triggerOperator": "GreaterThan",
        "triggerThreshold": 0
      },
      "type": "Microsoft.OperationalInsights/workspaces/providers/alertRules"
    }
  ]
}