Detection rules › Sigma

App Granted Privileged Delegated Or App Permissions

Status
test
Severity
high
Log source
product azure, service auditlogs
Author
Bailey Bercik '@baileybercik', Mark Morowczynski '@markmorow'
Source
github.com/SigmaHQ/sigma

Detects when administrator grants either application permissions (app roles) or highly privileged delegated permissions

MITRE ATT&CK coverage

Rule body yaml

title: App Granted Privileged Delegated Or App Permissions
id: 5aecf3d5-f8a0-48e7-99be-3a759df7358f
related:
    - id: ba2a7c80-027b-460f-92e2-57d113897dbc
      type: obsolete
status: test
description: Detects when administrator grants either application permissions (app roles) or highly privileged delegated permissions
references:
    - https://learn.microsoft.com/en-us/entra/architecture/security-operations-applications#application-granted-highly-privileged-permissions
author: Bailey Bercik '@baileybercik', Mark Morowczynski '@markmorow'
date: 2022-07-28
modified: 2023-03-29
tags:
    - attack.persistence
    - attack.privilege-escalation
    - attack.t1098.003
logsource:
    product: azure
    service: auditlogs
detection:
    selection:
        properties.message: Add app role assignment to service principal
    condition: selection
falsepositives:
    - When the permission is legitimately needed for the app
level: high

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    properties.message: Add app role assignment to service principal

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
properties.messageeq
  • Add app role assignment to service principal