Detection rules › Sigma

User Added to an Administrator's Azure AD Role

Status
test
Severity
medium
Log source
product azure, service activitylogs
Author
Raphaël CALVET, @MetallicHack
Source
github.com/SigmaHQ/sigma

User Added to an Administrator's Azure AD Role

MITRE ATT&CK coverage

Rule body yaml

title: User Added to an Administrator's Azure AD Role
id: ebbeb024-5b1d-4e16-9c0c-917f86c708a7
status: test
description: User Added to an Administrator's Azure AD Role
references:
    - https://m365internals.com/2021/07/13/what-ive-learned-from-doing-a-year-of-cloud-forensics-in-azure-ad/
author: Raphaël CALVET, @MetallicHack
date: 2021-10-04
modified: 2022-10-09
tags:
    - attack.initial-access
    - attack.persistence
    - attack.privilege-escalation
    - attack.stealth
    - attack.t1098.003
    - attack.t1078
logsource:
    product: azure
    service: activitylogs
detection:
    selection:
        Operation: 'Add member to role.'
        Workload: 'AzureActiveDirectory'
        ModifiedProperties{}.NewValue|endswith:
            - 'Admins'
            - 'Administrator'
    condition: selection
falsepositives:
    - PIM (Privileged Identity Management) generates this event each time 'eligible role' is enabled.
level: medium

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    Operation: 'Add member to role.'
    Workload: 'AzureActiveDirectory'
    ModifiedProperties{}.NewValue|endswith:
        - 'Admins'
        - 'Administrator'

Indicators

Each row is a field, operator, and value that the rule matches. The corpus column counts how many other rules in the catalog look for the same combination: high numbers point to widely-used, community-vetted indicators. Blank or 1 shows that the indicator is specific to this rule.

FieldKindValues
ModifiedProperties{}.NewValueends_with
  • Administrator
  • Admins
Operationeq
  • Add member to role.
Workloadeq
  • AzureActiveDirectory