Bitglass
| where EventType =~ 'admin'
| where EventResultDetails has_all ('User', 'Promoted to administrator')
| extend AccountCustomEntity = User
name: Bitglass - New admin user
version: 1.0.0
severity: Medium
queryFrequency: 1h
triggerOperator: gt
relevantTechniques:
- T1078
status: Available
description: |
'Detects new admin user.'
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Bitglass/Analytic Rules/BitglassNewAdminUser.yaml
requiredDataConnectors:
- connectorId: Bitglass
dataTypes:
- Bitglass
entityMappings:
- fieldMappings:
- identifier: Name
columnName: AccountCustomEntity
entityType: Account
tactics:
- PrivilegeEscalation
queryPeriod: 1h
query: |
Bitglass
| where EventType =~ 'admin'
| where EventResultDetails has_all ('User', 'Promoted to administrator')
| extend AccountCustomEntity = User
kind: Scheduled
triggerThreshold: 0
id: 8c8602e6-315d-400f-9d1e-23bbdee1dbfe
{
"$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/8c8602e6-315d-400f-9d1e-23bbdee1dbfe')]",
"kind": "Scheduled",
"name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/8c8602e6-315d-400f-9d1e-23bbdee1dbfe')]",
"properties": {
"alertRuleTemplateName": "8c8602e6-315d-400f-9d1e-23bbdee1dbfe",
"customDetails": null,
"description": "'Detects new admin user.'\n",
"displayName": "Bitglass - New admin user",
"enabled": true,
"entityMappings": [
{
"entityType": "Account",
"fieldMappings": [
{
"columnName": "AccountCustomEntity",
"identifier": "Name"
}
]
}
],
"OriginalUri": "https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Bitglass/Analytic Rules/BitglassNewAdminUser.yaml",
"query": "Bitglass\n| where EventType =~ 'admin'\n| where EventResultDetails has_all ('User', 'Promoted to administrator')\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.0",
"triggerOperator": "GreaterThan",
"triggerThreshold": 0
},
"type": "Microsoft.OperationalInsights/workspaces/providers/alertRules"
}
]
}