Microsoft Entra ID Guest Account Promoted to Member
A sophisticated threat actor, having compromised an existing guest account in Microsoft Entra ID, can establish persistent access and elevate privileges by performing a Guest-to-Member account conversion, which grants full directory read access and bypasses Conditional Access restrictions, enabling stealthy long-term access and reconnaissance.
A sophisticated threat actor, having already established initial access to an organization's Microsoft Entra ID tenant through the compromise of a guest account, can achieve persistent access and elevate privileges by converting the compromised guest account to a member account. This high-impact technique, observed in campaigns targeting cloud environments, leverages the "Update user" operation to modify the UserType attribute. By changing an account from 'Guest' to 'Member', attackers gain full directory read access, bypass external-identity Conditional Access policies, and make the account appear as a standard internal employee, effectively masking their continued presence. This method of persistence is particularly insidious as it often avoids detection mechanisms designed for explicit role assignments, offering a stealthier way to maintain control and facilitate further malicious activities such as reconnaissance and data exfiltration. Defenders must monitor for these specific user attribute changes to detect such advanced persistence.
Attack Chain
- Initial Access: An attacker compromises an existing legitimate guest account within an Entra ID tenant, typically through methods like phishing, credential stuffing, or supply chain compromise targeting an external partner.
- Privilege Escalation/Compromise: The attacker subsequently compromises an administrator account or gains sufficient permissions within the Entra ID tenant to modify user properties.
- UserType Modification: Using the compromised administrative privileges, the attacker executes an "Update user" operation within Entra ID, specifically targeting the previously compromised guest account.
- Property Update: During this "Update user" operation, the
UserTypeattribute of the guest account is changed fromGuesttoMember. - Enhanced Permissions: This conversion automatically grants the now-modified account full directory read access, which is typically restricted for external guest accounts.
- Conditional Access Bypass: The conversion also removes external-identity-specific Conditional Access restrictions, allowing the account to operate with fewer security constraints.
- Stealthy Persistence: The newly converted "Member" account is virtually indistinguishable from a standard internal employee account, establishing persistent access that often bypasses detection mechanisms for explicit role assignments.
- Post-Exploitation: The attacker leverages the "Member" account for broader reconnaissance, directory enumeration (e.g., via Graph API
/users,/groups,/applications), data exfiltration, or further lateral movement within the organization's cloud environment.
Impact
Successful exploitation results in an attacker maintaining stealthy, persistent access to the victim organization's Microsoft Entra ID environment. The compromised account gains full directory read access, enabling extensive reconnaissance and mapping of cloud resources and user identities. Furthermore, the bypass of external-identity Conditional Access policies allows the attacker to operate with fewer restrictions, potentially facilitating data exfiltration, further privilege escalation, and lateral movement into integrated cloud applications. This technique leads to long-term compromise, making detection and remediation challenging as the account appears benign.
Recommendation
- Deploy the Sigma rules in this brief to your SIEM and tune for your environment.
- Ensure comprehensive logging for
azure.auditlogsevents is enabled and ingested into your security monitoring platform. - Investigate all
Update useroperations whereUserTypechanges fromGuesttoMemberby examining theinitiated_byfield for authorization. - Proactively review
azure.signinlogs.*for any directory enumeration patterns (e.g., access to Graph API/users,/groups,/applications) originating from recently converted accounts. - Implement strict change management processes for all B2B collaboration migrations or organizational restructuring that involves legitimate Guest-to-Member conversions, ensuring proper documentation and approval.
Detection coverage 1
Detect Entra ID Guest Account Promoted to Member
mediumIdentifies Microsoft Entra ID user accounts converted from Guest to Member type via an 'Update user' operation. This conversion removes external-identity Conditional Access restrictions and grants full directory read access, which can be leveraged by attackers for persistence.
Detection queries are available on the platform. Get full rules →