Analytic rule catalog
Valimail Enforce - High-Value User Management Event
Back
| Id | e960f5b0-cd80-474a-996a-013ff3989772 |
| Rulename | Valimail Enforce - High-Value User Management Event |
| Description | This query searches for high-severity user management events such as user deletion or deactivation in Valimail Enforce, which may indicate unauthorized access or insider threat. |
| Severity | High |
| Tactics | Impact PrivilegeEscalation |
| Techniques | T1531 T1078 |
| Required data connectors | ValimailEnforce |
| 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/ValimailEnforce/Analytic%20Rules/ValimailEnforce_UserManagementHighValue.yaml |
| Version | 1.0.0 |
| Arm template | e960f5b0-cd80-474a-996a-013ff3989772.json |
ValimailEnforceEvents_CL
| where EventCategory == "UserManagement"
| where EventSeverity == "High"
| where IsHighValueEvent == true
| summarize
EventCount = count(),
FirstSeen = min(PerformedAt),
LastSeen = max(PerformedAt),
AffectedUsers = make_set(Subject),
Actions = make_set(EventType)
by User, EventCategory
| extend
AccountName = tostring(split(User, "@")[0]),
AccountDomain = tostring(split(User, "@")[1])
entityMappings:
- entityType: Account
fieldMappings:
- identifier: Name
columnName: AccountName
- identifier: UPNSuffix
columnName: AccountDomain
name: Valimail Enforce - High-Value User Management Event
kind: Scheduled
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/ValimailEnforce/Analytic%20Rules/ValimailEnforce_UserManagementHighValue.yaml
triggerOperator: gt
status: Available
queryPeriod: 1h
requiredDataConnectors:
- connectorId: ValimailEnforce
dataTypes:
- ValimailEnforceEvents_CL
tactics:
- Impact
- PrivilegeEscalation
query: |
ValimailEnforceEvents_CL
| where EventCategory == "UserManagement"
| where EventSeverity == "High"
| where IsHighValueEvent == true
| summarize
EventCount = count(),
FirstSeen = min(PerformedAt),
LastSeen = max(PerformedAt),
AffectedUsers = make_set(Subject),
Actions = make_set(EventType)
by User, EventCategory
| extend
AccountName = tostring(split(User, "@")[0]),
AccountDomain = tostring(split(User, "@")[1])
description: |
This query searches for high-severity user management events such as user deletion or deactivation
in Valimail Enforce, which may indicate unauthorized access or insider threat.
severity: High
incidentConfiguration:
groupingConfiguration:
lookbackDuration: 1d
groupByEntities:
- Account
enabled: true
matchingMethod: Selected
reopenClosedIncident: false
createIncident: true
id: e960f5b0-cd80-474a-996a-013ff3989772
triggerThreshold: 0
queryFrequency: 1h
alertDetailsOverride:
alertDescriptionFormat: |
User '{{User}}' performed {{EventCount}} high-value user management
action(s) in Valimail Enforce. Actions: {{Actions}}
alertDisplayNameFormat: High-value user management action by {{User}}
version: 1.0.0
relevantTechniques:
- T1531
- T1078
{
"$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/e960f5b0-cd80-474a-996a-013ff3989772')]",
"kind": "Scheduled",
"name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/e960f5b0-cd80-474a-996a-013ff3989772')]",
"properties": {
"alertDetailsOverride": {
"alertDescriptionFormat": "User '{{User}}' performed {{EventCount}} high-value user management\naction(s) in Valimail Enforce. Actions: {{Actions}}\n",
"alertDisplayNameFormat": "High-value user management action by {{User}}"
},
"alertRuleTemplateName": "e960f5b0-cd80-474a-996a-013ff3989772",
"customDetails": null,
"description": "This query searches for high-severity user management events such as user deletion or deactivation\nin Valimail Enforce, which may indicate unauthorized access or insider threat.\n",
"displayName": "Valimail Enforce - High-Value User Management Event",
"enabled": true,
"entityMappings": [
{
"entityType": "Account",
"fieldMappings": [
{
"columnName": "AccountName",
"identifier": "Name"
},
{
"columnName": "AccountDomain",
"identifier": "UPNSuffix"
}
]
}
],
"incidentConfiguration": {
"createIncident": true,
"groupingConfiguration": {
"enabled": true,
"groupByEntities": [
"Account"
],
"lookbackDuration": "P1D",
"matchingMethod": "Selected",
"reopenClosedIncident": false
}
},
"OriginalUri": "https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/ValimailEnforce/Analytic%20Rules/ValimailEnforce_UserManagementHighValue.yaml",
"query": "ValimailEnforceEvents_CL\n| where EventCategory == \"UserManagement\"\n| where EventSeverity == \"High\"\n| where IsHighValueEvent == true\n| summarize\n EventCount = count(),\n FirstSeen = min(PerformedAt),\n LastSeen = max(PerformedAt),\n AffectedUsers = make_set(Subject),\n Actions = make_set(EventType)\n by User, EventCategory\n| extend\n AccountName = tostring(split(User, \"@\")[0]),\n AccountDomain = tostring(split(User, \"@\")[1])\n",
"queryFrequency": "PT1H",
"queryPeriod": "PT1H",
"severity": "High",
"status": "Available",
"subTechniques": [],
"suppressionDuration": "PT1H",
"suppressionEnabled": false,
"tactics": [
"Impact",
"PrivilegeEscalation"
],
"techniques": [
"T1078",
"T1531"
],
"templateVersion": "1.0.0",
"triggerOperator": "GreaterThan",
"triggerThreshold": 0
},
"type": "Microsoft.OperationalInsights/workspaces/providers/alertRules"
}
]
}