Valimail Enforce - High-Value User Management Event
| 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 Rules/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])
relevantTechniques:
- T1531
- T1078
entityMappings:
- entityType: Account
fieldMappings:
- columnName: AccountName
identifier: Name
- columnName: AccountDomain
identifier: UPNSuffix
version: 1.0.0
id: e960f5b0-cd80-474a-996a-013ff3989772
severity: High
kind: Scheduled
queryFrequency: 1h
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.
requiredDataConnectors:
- connectorId: ValimailEnforce
dataTypes:
- ValimailEnforceEvents_CL
triggerOperator: gt
name: Valimail Enforce - High-Value User Management Event
tactics:
- Impact
- PrivilegeEscalation
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}}
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/ValimailEnforce/Analytic Rules/ValimailEnforce_UserManagementHighValue.yaml
triggerThreshold: 0
queryPeriod: 1h
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])
status: Available
incidentConfiguration:
createIncident: true
groupingConfiguration:
matchingMethod: Selected
groupByEntities:
- Account
reopenClosedIncident: false
enabled: true
lookbackDuration: 1d