Medium 3 Hunt LeadsProofpoint

BluePhishing: One Click on an AI Agent Consent Hands Over Your Tenant

Proofpoint's BluePhishing proof of concept shows how one consent to a malicious Entra agent blueprint could let an outsider create AI agent identities in a victim's tenant and act with their permissions. Not seen in the wild yet.

Consent phishing has a new target: the AI agents companies are rolling out in Microsoft Entra. Proofpoint researcher Rachel Rabin describes “BluePhishing”, a proof of concept in which one approved consent link for a malicious “agent blueprint” lets an outsider create agent identities inside a victim’s tenant and act with their permissions. Proofpoint says it hasn’t seen this used in the wild and told Microsoft before publishing on Nov. 9. The timing matters: Microsoft’s message center notice MC1506733 says ordinary Entra users can create agent blueprints by default from November 2026.

For defenders

The setup: in Entra Agent ID, a blueprint is the template for AI agents (like an app registration) and can spawn up to 250 agent identities. The attacker builds one in their own tenant with a client secret, sets signInAudience to AzureADMultipleOrgs (possible only through Graph, PowerShell or the manifest, not the portal), and bundles permissions with requiredResourceAccess and inheritable permissions so a single consent covers them all. Then they send a consent link, an admin-consent URL with the blueprint ID and the .default scope (T1566.002 (Phishing: Spearphishing Link), T1528 (Steal Application Access Token)).

After the click: consent creates a blueprint principal in the victim tenant that automatically holds AgentIdentity.CreateAsManager, a permission that can’t be revoked. With its own secret, the attacker gets an app-only Graph token in the victim tenant and creates agent identities, which needs only the tenant ID and one user’s object ID as “sponsor”; both are easy to discover, and the sponsor can be removed later (T1136.003 (Create Account: Cloud Account)). Tokens for those identities come through the autonomous agent flow; Proofpoint’s demo used one with User.Read.All and Group.Read.All in GraphRunner to query the directory (T1550.001 (Use Alternate Authentication Material: Application Access Token), T1087.004 (Account Discovery: Cloud Account)).

Why it’s harder to spot: per Microsoft’s documentation, inherited permissions don’t show in the Entra portal or through Graph, only inside tokens at runtime, and agents are expected to act alone, so the activity blends in. Admin consent can grant application permissions tenant-wide; user consent grants delegated ones that need an extra step to use.

What you can see: audit log entries “Add application” (blueprint) and “Add service principal” (agent identity), as with app consent. The blueprint ID is the same in every tenant that consents, so a known-bad ID can be hunted and removed everywhere. Existing user consent settings also cover blueprints; Microsoft already blocks some high-risk Graph permissions such as User.ReadWrite.All for agents. No CVE, no malware and no indicators: this is a design-abuse technique.

What it means for you

Nothing to do on a home computer. If you use a Microsoft 365 work or school account, treat a request to “approve” or “trust” an AI agent like a request for your password: approving it can hand an outsider a standing pass into the company’s directory, and it doesn’t go away when you change your password. If you didn’t go looking for that agent, don’t approve it, and tell IT.

Do this now

  1. Entra admins: restrict user consent to verified publishers and low-risk permissions, and turn on the admin consent workflow so requests get reviewed.
  2. Review enterprise applications for agent blueprint principals and agent identities from outside tenants, and remove any you didn’t approve.
  3. Alert on new blueprint principals and agent identities in the Entra audit log, especially ones created by an app rather than a person.
  4. Apply Conditional Access and ID Protection to agents, and give agents the fewest permissions that work.

Source article: BluePhishing: Initial Access via Third-Party Agent Blueprint Consent
Publisher: Proofpoint (Rachel Rabin)
Published: Nov. 9, 2026
URL: https://www.proofpoint.com/us/blog/threat-insight/BluePhishing-Initial-Access-via-Third-Party-Agent-Blueprint-Consent

Executive Summary

BluePhishing is a technique, not an actor: Proofpoint researchers present it as the next evolution of OAuth app consent phishing, adapted to Microsoft Entra Agent ID, and stress that this is a research proof of concept with no in-the-wild activity observed as of publication (Microsoft was notified first). Exposure is growing because, per Microsoft message center notice MC1506733, default Entra users can create agent blueprints from November 2026. In the chain Proofpoint demonstrates, an attacker configures an agent blueprint in a tenant they control with a client secret, application and delegated permissions, requiredResourceAccess and inheritable permissions, and sets signInAudience to AzureADMultipleOrgs through Graph, PowerShell or the manifest (the portal doesn’t expose it). They socially engineer a victim into approving a consent link (an admin-consent URL with client_id set to the blueprint ID and scope .default, or a user-consent link that can be forwarded for admin approval). Consent creates a blueprint principal in the victim tenant that is implicitly granted AgentIdentity.CreateAsManager, which cannot be revoked from the principal. Using the blueprint’s own credentials, the attacker obtains an app-only Graph token in the victim tenant (client credentials grant) and creates tenant-local agent identities, up to 250 per blueprint, supplying the victim tenant ID and a sponsor user’s object ID, both discoverable without authentication; the sponsor can be removed once the identity exists. The attacker then acquires tokens for those agent identities via the autonomous agent app flow (blueprint credentials plus fmi_path, then an exchange for a Graph token) and uses the inherited permissions, User.Read.All and Group.Read.All in the demonstration, with a post-access tool such as GraphRunner. Inherited permissions are not visible in the portal or Graph per Microsoft’s documentation, and agent autonomy makes the activity blend in. The objective is persistent, credential-independent initial access and directory access; the impact scales with the consented permissions and the number of agent identities. Hunt leads and false positive expectations are detailed below; the source publishes no detection rules or indicators, since the blueprint ID is attacker-specific.

ATT&CK chain: Initial Access → Credential Access → Persistence → Defense Evasion → Discovery

Hunt Lead Grid

Hunt Lead Level Hunt Lead Name ATT&CK Risk of False Positives
1 (Junior) Third-Party Agent Blueprint Principals in the Tenant T1566.002 (Phishing: Spearphishing Link), T1528 (Steal Application Access Token) Low. Few tenants have consented to outside agent blueprints yet; the lead anchors on blueprint principals whose owning tenant is not yours and that no approved request or vendor onboarding explains.
2 (Pro) Agent Identities Created by an External Blueprint Principal T1136.003 (Create Account: Cloud Account) Medium. Legitimate agent platforms create identities programmatically; the lead anchors on “Add service principal” for agent identities initiated by an app whose blueprint belongs to another tenant, especially in bursts or followed by sponsor removal.
3 (Elite) Agent Identity Tokens Used for Directory Enumeration T1550.001 (Use Alternate Authentication Material: Application Access Token), T1087.004 (Account Discovery: Cloud Account), T1069.003 (Permission Groups Discovery: Cloud Groups) Medium. Real agents read the directory; the lead joins a new external-blueprint agent identity’s first sign-ins with high-volume user and group enumeration in Graph activity logs within days of consent.

Third-Party Agent Blueprint Principals in the Tenant

The attack starts with a consent link built from the attacker’s blueprint ID: https://login.microsoftonline.com/{tenant}/v2.0/adminconsent?client_id={blueprint_id}&scope=https://graph.microsoft.com/.default&redirect_uri={redirect_uri} for admin consent, or a user-consent equivalent. The consent screen shows the agent’s name, publisher details and whether it is built by Microsoft, and a second step shows that permissions are inherited by agents. Once a user or admin accepts, a blueprint principal appears in the victim tenant, logged like an app consent (“Add service principal” plus the consent and permission-grant events), and it holds the implicit AgentIdentity.CreateAsManager permission. Detection: inventory every agent blueprint principal in the tenant and flag those whose owning tenant (the app owner organization) is not your own; then pull the audit events around each one’s creation to identify who consented, from which sign-in, and which permissions came with it (any application permission granted through admin consent is the high-risk case). Because the blueprint ID is identical in every tenant that consents, any blueprint ID shared by a peer, vendor or this kind of research can be searched for directly.

Use Entra audit logs (via the portal, Graph or a SIEM connector), the service principal inventory in Graph, and sign-in logs for the consenting user. Sweep back to the start of November 2026, when default blueprint creation rolled out, then make the inventory a weekly check. Scope to the whole tenant; consenting accounts with admin roles come first. Expected positives are third-party agent products the business deliberately adopted; record those by blueprint ID and publisher and allowlist by ID, never by display name, which the attacker chooses. Revoking the user’s password or MFA is the wrong fix: the access rides on the attacker’s own client secret, so the blueprint principal itself has to be deleted or disabled. Any unexplained external blueprint principal should be escalated as possible initial access, and the next two leads run against it. The same inventory catches classic OAuth consent phishing too.

Hunt Lead Level: 1 (Junior Analyst)

ATT&CK: Initial Access → T1566.002 (Phishing: Spearphishing Link); Credential Access → T1528 (Steal Application Access Token) (our mapping; the source gives no ATT&CK IDs; T1528 is the technique ATT&CK uses for OAuth consent phishing)

Sources: “BluePhishing: Initial Access via Third-Party Agent Blueprint Consent”, Proofpoint (Rachel Rabin), Nov. 9, 2026, https://www.proofpoint.com/us/blog/threat-insight/BluePhishing-Initial-Access-via-Third-Party-Agent-Blueprint-Consent (source article)

Agent Identities Created by an External Blueprint Principal

With consent in place, the attacker requests a client-credentials token from the victim tenant’s token endpoint using the blueprint’s ID and secret; the resulting app-only token carries the role AgentIdentity.CreateAsManager (the demo token’s app_displayname was “BluePhish”, idtyp “app”). They then POST to the Graph endpoint for agent identities (servicePrincipals/Microsoft.Graph.AgentIdentity) with a display name, the blueprint ID and a sponsor, which must be a user object in the victim tenant. Each blueprint can create up to 250 identities, and the sponsor, a governance requirement, can be removed after provisioning. Microsoft’s audit log records this as “Create an agent identity” under the “Add service principal” activity. Detection: alert on agent identity creation where the initiator is an application (the blueprint principal) rather than a user or an approved provisioning service, and where the blueprint belongs to another tenant; raise severity when several identities appear in a short window, when the sponsor is a user who has never used that agent, or when the sponsor is removed soon after creation.

Use Entra audit logs (activity “Add service principal”, initiated-by app details, target resource type) and service principal sign-in logs for the client-credentials token request from the blueprint, joined on the blueprint’s app ID. Baseline 30 days of agent identity creation by blueprint; legitimate agent platforms create identities in predictable patterns tied to deployments. Sweep back to the earliest external blueprint found by the first lead. Allowlist by blueprint ID and expected creation rate, not by agent display name. Deleting agent identities alone is the wrong response: the blueprint principal keeps the irrevocable create permission and can simply make more, so remove the principal first. A confirmed unapproved creation means an outsider holds standing access: escalate, delete the principal and its identities, and review what the identities touched. This also covers agent identities created by a compromised legitimate vendor blueprint.

Hunt Lead Level: 2 (Pro)

ATT&CK: Persistence → T1136.003 (Create Account: Cloud Account) (our mapping; the source gives no ATT&CK IDs)

Sources: Proofpoint, Nov. 9, 2026 (source article)

Agent Identity Tokens Used for Directory Enumeration

To act as an agent identity, the attacker runs the autonomous agent app flow: the blueprint presents its credentials and an fmi_path naming the target agent identity’s client ID, receives an exchange token, and swaps it for a Microsoft Graph access token for that identity. In Proofpoint’s demonstration the identity held application permissions User.Read.All and Group.Read.All, and the token was loaded into GraphRunner to run arbitrary Graph requests against users and groups. Inherited permissions don’t appear in the portal or through Graph, only in the token’s claims, so the effective rights have to be read from what the identity actually does. Correlate per agent identity: (1) the identity was created by an external blueprint (lead two) within the past few days; (2) its first sign-ins come through the agent token flow from the blueprint’s app ID; (3) Graph activity shows broad enumeration (paging through /users, /groups or group memberships, directory roles) at volumes or rates the identity’s stated purpose doesn’t need; optionally (4) requests from IP ranges or user agents never seen for your sanctioned agents.

Use Entra sign-in logs for service principals and agents, Microsoft Graph activity logs (they must be enabled and exported to a SIEM), and the audit trail from the first two leads, joined on the agent identity’s object and app IDs. Baseline 30 days of Graph call volume per sanctioned agent; most do a narrow set of calls. Look back from the moment any external blueprint consent was found. Scope to agent identities rather than users, since that’s where this activity hides. Don’t rely on reviewing granted permissions in the portal to judge risk; per Microsoft, inherited ones won’t show there. Conditional Access and ID Protection for agents are the right preventive controls; blocking GraphRunner by name isn’t, since any Graph client works. A full correlation is a directory reconnaissance intrusion: escalate, remove the blueprint principal, and assume the user and group list has left the tenant. The enumeration pattern generalizes to abuse of any app-only Graph token.

Hunt Lead Level: 3 (Elite)

ATT&CK: Defense Evasion, Lateral Movement → T1550.001 (Use Alternate Authentication Material: Application Access Token); Discovery → T1087.004 (Account Discovery: Cloud Account); Discovery → T1069.003 (Permission Groups Discovery: Cloud Groups) (our mapping; the source gives no ATT&CK IDs)

Sources: Proofpoint, Nov. 9, 2026 (source article)

Hash Appendix

No file samples

BluePhishing is a consent-abuse technique demonstrated as a proof of concept; the source article publishes no malware, files, hashes or network indicators, and no OTX or VirusTotal lookup applies. The only per-attack indicator is the attacker’s blueprint (application) ID, which differs for each attacker.

MD5s

(not available)  # no file samples in the source

SHA1s

(not available)  # no file samples in the source

SHA256s

(not available)  # no file samples in the source

References Appendix

  • “BluePhishing: Initial Access via Third-Party Agent Blueprint Consent”, Proofpoint (Rachel Rabin), Nov. 9, 2026, https://www.proofpoint.com/us/blog/threat-insight/BluePhishing-Initial-Access-via-Third-Party-Agent-Blueprint-Consent (source article; attack flow, consent and token details, audit events, mitigations)
  • MITRE ATT&CK Enterprise technique pages linked above, MITRE, https://attack.mitre.org/

More from the Roundup