VMware vCenter - Root login
Id | 03e8a895-b5ba-49a0-aed3-f9a997d92fbe |
Rulename | VMware vCenter - Root login |
Description | Detects when root user login from uncommon IP address. |
Severity | High |
Tactics | InitialAccess PrivilegeEscalation |
Techniques | T1078 |
Required data connectors | CustomLogsAma |
Kind | Scheduled |
Query frequency | 1h |
Query period | 14d |
Trigger threshold | 0 |
Trigger operator | gt |
Source Uri | https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/VMware vCenter/Analytic Rules/vCenterRootLogin.yaml |
Version | 1.0.2 |
Arm template | 03e8a895-b5ba-49a0-aed3-f9a997d92fbe.json |
let p_lookback = 14d;
let t_lookback = 1h;
let root_ips = vCenter
| where TimeGenerated between (ago(p_lookback) .. ago(t_lookback))
| where EventType has_all ('UserLoginSessionEvent', 'root', 'logged in')
| summarize make_set(SourceIP,128);
vCenter
| where TimeGenerated > ago(t_lookback)
| where EventType has_all ('UserLoginSessionEvent', 'root', 'logged in')
| where SourceIP !in (root_ips)
queryPeriod: 14d
id: 03e8a895-b5ba-49a0-aed3-f9a997d92fbe
relevantTechniques:
- T1078
triggerOperator: gt
entityMappings:
- fieldMappings:
- columnName: SourceIP
identifier: Address
entityType: IP
query: |
let p_lookback = 14d;
let t_lookback = 1h;
let root_ips = vCenter
| where TimeGenerated between (ago(p_lookback) .. ago(t_lookback))
| where EventType has_all ('UserLoginSessionEvent', 'root', 'logged in')
| summarize make_set(SourceIP,128);
vCenter
| where TimeGenerated > ago(t_lookback)
| where EventType has_all ('UserLoginSessionEvent', 'root', 'logged in')
| where SourceIP !in (root_ips)
kind: Scheduled
triggerThreshold: 0
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/VMware vCenter/Analytic Rules/vCenterRootLogin.yaml
queryFrequency: 1h
requiredDataConnectors:
- dataTypes:
- vcenter_CL
connectorId: CustomLogsAma
name: VMware vCenter - Root login
version: 1.0.2
description: |
'Detects when root user login from uncommon IP address.'
tactics:
- InitialAccess
- PrivilegeEscalation
severity: High
status: Available
{
"$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/03e8a895-b5ba-49a0-aed3-f9a997d92fbe')]",
"kind": "Scheduled",
"name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/03e8a895-b5ba-49a0-aed3-f9a997d92fbe')]",
"properties": {
"alertRuleTemplateName": "03e8a895-b5ba-49a0-aed3-f9a997d92fbe",
"customDetails": null,
"description": "'Detects when root user login from uncommon IP address.'\n",
"displayName": "VMware vCenter - Root login",
"enabled": true,
"entityMappings": [
{
"entityType": "IP",
"fieldMappings": [
{
"columnName": "SourceIP",
"identifier": "Address"
}
]
}
],
"OriginalUri": "https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/VMware vCenter/Analytic Rules/vCenterRootLogin.yaml",
"query": "let p_lookback = 14d;\nlet t_lookback = 1h;\nlet root_ips = vCenter\n| where TimeGenerated between (ago(p_lookback) .. ago(t_lookback))\n| where EventType has_all ('UserLoginSessionEvent', 'root', 'logged in')\n| summarize make_set(SourceIP,128);\nvCenter\n| where TimeGenerated > ago(t_lookback)\n| where EventType has_all ('UserLoginSessionEvent', 'root', 'logged in')\n| where SourceIP !in (root_ips)\n",
"queryFrequency": "PT1H",
"queryPeriod": "P14D",
"severity": "High",
"status": "Available",
"subTechniques": [],
"suppressionDuration": "PT1H",
"suppressionEnabled": false,
"tactics": [
"InitialAccess",
"PrivilegeEscalation"
],
"techniques": [
"T1078"
],
"templateVersion": "1.0.2",
"triggerOperator": "GreaterThan",
"triggerThreshold": 0
},
"type": "Microsoft.OperationalInsights/workspaces/providers/alertRules"
}
]
}