Detection rules › Sigma

User State Changed From Guest To Member

Status
test
Severity
medium
Log source
product azure, service auditlogs
Author
MikeDuddington, '@dudders1'
Source
github.com/SigmaHQ/sigma

Detects the change of user type from "Guest" to "Member" for potential elevation of privilege.

MITRE ATT&CK coverage

Event coverage

Rules detecting the same action

Other rules on this platform that filter on the same API call or operation.

Rule body yaml

title: User State Changed From Guest To Member
id: 8dee7a0d-43fd-4b3c-8cd1-605e189d195e
status: test
description: Detects the change of user type from "Guest" to "Member" for potential elevation of privilege.
references:
    - https://learn.microsoft.com/en-gb/entra/architecture/security-operations-user-accounts#monitoring-external-user-sign-ins
author: MikeDuddington, '@dudders1'
date: 2022-06-30
tags:
    - attack.persistence
    - attack.privilege-escalation
    - attack.initial-access
    - attack.stealth
    - attack.t1078.004
logsource:
    product: azure
    service: auditlogs
detection:
    selection:
        Category: 'UserManagement'
        OperationName: 'Update user'
        properties.message: '"displayName":"UserType","oldValue":"[\"Guest\"]","newValue":"[\"Member\"]"'
    condition: selection
falsepositives:
    - If this was approved by System Administrator.
level: medium

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    Category: 'UserManagement'
    OperationName: 'Update user'
    properties.message: '"displayName":"UserType","oldValue":"[\"Guest\"]","newValue":"[\"Member\"]"'

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
Categoryeq
  • UserManagement
OperationNameeq
  • Update user
properties.messageeq
  • "displayName":"UserType","oldValue":"[\"Guest\"]","newValue":"[\"Member\"]"