Azure Audit Logs: UserType updated from Guest to Member

Alerts when an Azure user’s UserType is updated from Guest to Member, indicating potential privilege elevation.

FreeReviewedSigma · Medium · v5
Product
azure
Service
auditlogs
Author
MikeDuddington, '@dudders1' (SigmaHQ), DRL 1.1
Published
2022-06-30
Updated
2026-07-31
title: "Azure Audit Logs: UserType updated from Guest to Member"
id: 29ce7a7e-14eb-40f6-b594-3e9464e317f8
status: test
description: This rule matches Azure audit log events where a user management operation updates a user’s UserType from "Guest" to "Member". Such a change can enable additional access or privileges, making it relevant for detecting potential elevation of privilege or stealthy permission gains. It relies on UserManagement “Update user” events with a message indicating the old and new UserType values.
references:
  - https://learn.microsoft.com/en-gb/entra/architecture/security-operations-user-accounts#monitoring-external-user-sign-ins
  - https://github.com/SigmaHQ/sigma/blob/master/rules/cloud/azure/audit_logs/azure_guest_to_member.yml
author: MikeDuddington, '@dudders1', Huntrule Team
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
license: DRL-1.1
related:
  - id: 8dee7a0d-43fd-4b3c-8cd1-605e189d195e
    type: derived