- The Threat: Microsoft Threat Intelligence linked six state-sponsored groups (including Salt Typhoon, Storm-0940, Onyx Sleet, and Pearl Sleet) to ARTEX—an open-source AI-driven penetration-testing framework that compresses reconnaissance to privilege escalation into minutes.
- Why Speed Matters: ARTEX chains known misconfigurations rather than zero-days, meaning standing Global/Exchange Admin privileges and weak MFA methods are exploited before manual SOC triage begins.
- Immediate Hardening: Audit all permanent Entra privileged role assignments via Graph PowerShell, convert standing admins to PIM-eligible, and enforce FIDO2/passkey MFA.
In late November 2026, Microsoft Threat Intelligence highlighted a major shift in attacker velocity: six distinct APT groups are actively using ARTEX, an AI-driven penetration-testing framework, to automate reconnaissance, lateral movement, and privilege escalation in minutes rather than days.
Because AI-driven tooling exploits known identity misconfigurations—standing admin roles, legacy auth paths, and over-privileged service principals—defenders must audit and tighten those blast-radius controls proactively.
Architecture: Closing the Machine-Speed Privilege Escalation Path
Step 1: Audit All Standing Entra Privileged Role Assignments via Graph PowerShell
Every permanent (non-PIM) directory role assignment is a prime target for automated privilege-escalation frameworks. Run this Microsoft Graph PowerShell audit to list all active role assignments and resolve whether the principal is a User or Service Principal:
Connect-MgGraph `
-ClientId "c841ae33-4093-4385-8a90-6a530761f9b9" `
-TenantId "ab85c7a1-366d-44ba-acc6-924fa0950045" `
-CertificateThumbprint "BEAC429DE404B46FF030811C0C9DE00DE701C027" `
-NoWelcome
$Assignments = (Invoke-MgGraphRequest -Method GET `
-Uri "https://graph.microsoft.com/v1.0/roleManagement/directory/roleAssignments?`$top=200&`$expand=roleDefinition(`$select=displayName)").value
$Report = foreach ($Item in $Assignments) {
$Principal = Invoke-MgGraphRequest -Method GET -Uri "https://graph.microsoft.com/v1.0/directoryObjects/$($Item.principalId)"
[PSCustomObject]@{
RoleName = $Item.roleDefinition.displayName
PrincipalName = $Principal.displayName
PrincipalType = ($Principal.'@odata.type' -replace '#microsoft\.graph\.','')
PrincipalId = $Item.principalId
}
}
$Report | Sort-Object RoleName | Format-Table -AutoSize
$Report | Export-Csv ".\Entra_Standing_Admin_Roles.csv" -NoTypeInformation -Encoding UTF8
Live Output Sample from Our LAB 365 (xzf58.onmicrosoft.com) Tenant:
Attribute Definition Administrator -> Principal dcbd4b4d-e280-4c3e-a765-77710dbce43e
Attribute Definition Administrator -> Principal e937543e-12e0-4c3b-b3d3-fb93d670d325
AdHoc License Administrator -> Principal 77ec67d1-d7bb-4394-adc3-b55fd4fb9116
Email Verified User Creator -> Principal 77ec67d1-d7bb-4394-adc3-b55fd4fb9116
Exchange Administrator -> Principal c142386f-63d7-4b1c-b2b5-ec5e9c02ab43
Attribute Assignment Administrator -> Principal e937543e-12e0-4c3b-b3d3-fb93d670d325
Step 2: Three Immediate Countermeasures Against AI-Speed Recon
- Eliminate Standing Admin Roles: Convert permanent Global Administrator, Exchange Administrator, and Privileged Role Administrator assignments to Eligible in Microsoft Entra Privileged Identity Management (PIM).
- Enforce Phishing-Resistant MFA: Require FIDO2 / Passkeys for all privileged roles via Conditional Access Authentication Strengths (Configure Entra ID Passkey Registration Campaigns).
- Monitor Token & App Anomalies: Pair Defender XDR automatic attack disruption with Security Copilot promptbooks to correlate sudden OAuth consents and anomalous sign-ins.
đź’¬ Reader Comments & Feedback
Did this runbook help, or did Microsoft change a cmdlet or UI menu? Share your feedback below.
Leave a Comment or Report an Update