Detection rules › Kusto

Bitglass - New admin user

Status
available
Severity
medium
Time window
1h
Source
github.com/Azure/Azure-Sentinel

'Detects new admin user.'

MITRE ATT&CK coverage

TacticTechniques
Privilege Escalation

Rule body

id: 8c8602e6-315d-400f-9d1e-23bbdee1dbfe
name: Bitglass - New admin user
description: |
  'Detects new admin user.'
severity: Medium
status: Available
requiredDataConnectors:
  - connectorId: Bitglass
    dataTypes:
      - Bitglass
queryFrequency: 1h
queryPeriod: 1h
triggerOperator: gt
triggerThreshold: 0
tactics:
  - PrivilegeEscalation
relevantTechniques:
  - T1078
query: |
  Bitglass
  | where EventType =~ 'admin'
  | where EventResultDetails has_all ('User', 'Promoted to administrator')
  | extend AccountCustomEntity = User
entityMappings:
  - entityType: Account
    fieldMappings:
      - identifier: Name
        columnName: AccountCustomEntity
version: 1.0.0
kind: Scheduled

Stages and Predicates

Stage 1: source

Bitglass

Stage 2: where

| where EventType =~ 'admin'

Stage 3: where

| where EventResultDetails has_all ('User', 'Promoted to administrator')

Stage 4: extend

| extend AccountCustomEntity = User

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
EventResultDetailsmatch
  • Promoted to administrator transforms: term
  • User transforms: term
field:"EventResultDetails" kind:match
EventTypeeq
  • admin
field:"EventType" kind:eq value:"admin"

Output fields

These fields are emitted when the rule matches.

FieldSource
AccountCustomEntityextend