{
  "schema": "aidefend-secureflow-metadata-v1",
  "flow_id": "aidefend-research-sf0110-bluephishing-entra-agent-blueprint-consent",
  "title": "BluePhishing: Consenting to a Malicious Entra Agent Blueprint Lets an Attacker Create Agent Identities",
  "subtitle": "Proofpoint's proof of concept shows how one consent to a blueprint hosted in another tenant can give its owner agent identities, tokens and the consented Microsoft Graph permissions inside the consenting tenant.",
  "summary": "Microsoft Entra Agent ID gives AI agents identities: an agent blueprint holds an agent's credentials, a blueprint principal represents it in one tenant, and agent identities are created from it. Proofpoint's BluePhishing proof of concept applies OAuth consent phishing to this model: once a user consents to an attacker's multitenant blueprint, the attacker can create agent identities there and call Microsoft Graph with the consented permissions. Proofpoint reports no in-the-wild use, and Microsoft's documentation of the key permission changed on November 17, 2026.",
  "reviewed": true,
  "import_status": "curated-research",
  "ai_layers": [
    "autonomous-agents"
  ],
  "risk_impact": [
    "credential-identity-theft",
    "data-exfiltration"
  ],
  "affected_components": [
    "Agent blueprint and blueprint principal in Microsoft Entra Agent ID",
    "Agent identities created from the blueprint",
    "Microsoft Entra consent experience and consent settings",
    "Microsoft Graph permissions granted to the blueprint principal"
  ],
  "source_research": {
    "provider": "Proofpoint",
    "primary_url": "https://www.proofpoint.com/us/blog/threat-insight/BluePhishing-Initial-Access-via-Third-Party-Agent-Blueprint-Consent",
    "published": "2026-11-09",
    "note": "Every step comes from Proofpoint's own test tenants. The post reports no in-the-wild use and does not describe a lure, a delivery channel or user testing. The end-to-end run used an admin consent link and application permissions; a user consent link grants delegated permissions, which the autonomous flow cannot redeem. The statement that AgentIdentity.CreateAsManager is automatic and cannot be revoked reflects Proofpoint's observation and Microsoft's documentation as of November 9, 2026. Microsoft's page now describes an administrator grant that can be revoked."
  },
  "attack_steps": [
    {
      "id": "configure-blueprint",
      "title": "Configure a multitenant agent blueprint in the attacker's tenant",
      "zhTitle": "在攻擊者自己的租戶設定可跨租戶使用的 agent 藍圖",
      "summary": "In its own tenant, the attacker sets a blueprint's signInAudience to AzureADMultipleOrgs so other tenants can use it, adds a client secret, and declares inheritable Microsoft Graph permissions in requiredResourceAccess.",
      "zhSummary": "攻擊者在自己的租戶把藍圖的 signInAudience 設為 AzureADMultipleOrgs，開放其他租戶使用；再加上 client secret（用戶端密碼），並用 requiredResourceAccess 預先宣告可繼承的 Microsoft Graph 權限。",
      "tactic": "AML.TA0003",
      "technique": "AML.T0079",
      "layout": {
        "x": 0,
        "y": 0
      }
    },
    {
      "id": "gather-identifiers",
      "title": "Look up the target's tenant ID and a user to name as sponsor",
      "zhTitle": "查出目標租戶 ID，以及一位可填為負責人的使用者",
      "summary": "Creating an agent identity needs the victim's tenant ID and a user to name as sponsor. Proofpoint notes that both can be found through public, unauthenticated endpoints.",
      "zhSummary": "建立 agent 身分需要受害租戶的 ID，以及一位可填為負責人（sponsor）的使用者。Proofpoint 指出，兩者都能從公開、不需要登入的端點查到。",
      "tactic": "AML.TA0002",
      "technique": "AML.T0087",
      "layout": {
        "x": 610,
        "y": 0
      }
    },
    {
      "id": "send-consent-link",
      "title": "Send the victim a consent link for the blueprint",
      "zhTitle": "把藍圖的同意連結送給受害者",
      "summary": "The attacker sends a consent link on Microsoft's sign-in service that carries the blueprint ID and the .default scope, which requests every pre-configured permission. The lure itself is not described.",
      "zhSummary": "攻擊者送出一條指向 Microsoft 登入服務的同意連結，裡面帶著藍圖識別碼與 .default scope，一次要求藍圖上預先設定的所有權限。文章沒有描述誘騙訊息的內容。",
      "tactic": "AML.TA0004",
      "technique": "AML.T0052",
      "layout": {
        "x": 1220,
        "y": 0
      }
    },
    {
      "id": "victim-consents",
      "title": "The victim consents and Entra creates a blueprint principal in the victim tenant",
      "zhTitle": "受害者按下同意，Entra 在受害租戶建立藍圖主體",
      "summary": "After the victim accepts, Entra creates a blueprint principal in the victim tenant with the consented permissions. Application permissions need a victim who can grant admin consent. Proofpoint saw the principal also hold AgentIdentity.CreateAsManager automatically.",
      "zhSummary": "受害者接受後，Entra 在受害租戶建立藍圖主體，並記下這次同意授予的權限。攻擊者若要取得應用程式權限，受害者必須有權代表整個租戶做管理員同意。Proofpoint 觀察到，這個主體還自動帶有 AgentIdentity.CreateAsManager。",
      "tactic": null,
      "technique": null,
      "layout": {
        "x": 1830,
        "y": 0
      }
    },
    {
      "id": "create-agent-identities",
      "title": "Sign in to the victim tenant as the blueprint and create an agent identity",
      "zhTitle": "以藍圖的身分登入受害租戶，建立 agent 身分",
      "summary": "With the blueprint's ID and client secret, the attacker gets a token from the victim tenant's token endpoint and calls Microsoft Graph to create an agent identity, naming a tenant user as sponsor.",
      "zhSummary": "攻擊者用藍圖的識別碼與 client secret，向受害租戶的 token 端點要到 token，再呼叫 Microsoft Graph 建立 agent 身分，並把該租戶的一位使用者填成負責人。",
      "tactic": "AML.TA0006",
      "technique": "AML.T0125",
      "layout": {
        "x": 2440,
        "y": 0
      }
    },
    {
      "id": "acquire-agent-tokens",
      "title": "Obtain a Microsoft Graph token for the new agent identity",
      "zhTitle": "替新建立的 agent 身分換發 Microsoft Graph token",
      "summary": "Through the autonomous agent app flow, the attacker presents the blueprint's credential with fmi_path set to the agent identity's client ID and exchanges the result for a Microsoft Graph token.",
      "zhSummary": "攻擊者讓藍圖走自主 agent 應用程式流程：出示藍圖的憑證，在 fmi_path 填入 agent 身分的 client ID，再把換到的 token 換成發給該身分的 Microsoft Graph token。",
      "tactic": null,
      "technique": null,
      "layout": {
        "x": 3050,
        "y": 0
      }
    },
    {
      "id": "query-graph",
      "title": "Call Microsoft Graph with the inherited permissions",
      "zhTitle": "用繼承來的權限呼叫 Microsoft Graph",
      "summary": "The test agent identity held User.Read.All and Group.Read.All, which allow reading all users and groups. Its token was imported into GraphRunner to send Microsoft Graph requests; the post reports no specific dataset.",
      "zhSummary": "測試中的 agent 身分擁有 User.Read.All 與 Group.Read.All 這兩項可讀取所有使用者與群組的權限。研究人員把它的 token 匯入 GraphRunner，送出 Microsoft Graph 請求；文章沒有說明實際取得哪些資料。",
      "tactic": "AML.TA0008",
      "technique": "AML.T0075",
      "layout": {
        "x": 3660,
        "y": 0
      }
    }
  ],
  "threat_refs": [
    {
      "id": "AML.T0079",
      "name": "Stage Capabilities"
    },
    {
      "id": "AML.T0087",
      "name": "Gather Victim Identity Information"
    },
    {
      "id": "AML.T0052",
      "name": "Phishing"
    },
    {
      "id": "AML.T0125",
      "name": "Create Account"
    },
    {
      "id": "AML.T0075",
      "name": "Enterprise Resource Discovery"
    }
  ],
  "reader_narrative": {
    "pathCount": 1,
    "topologyNote": "One ordered chain, demonstrated by Proofpoint with an admin consent link and application permissions. The user-consent variant, which grants delegated permissions, is described in the text and is not drawn as a branch.",
    "groups": [
      {
        "id": "prepare",
        "kind": "shared",
        "eyebrow": "Attacker-side preparation",
        "label": "Blueprint, identifiers and consent link",
        "summary": "The attacker configures a multitenant blueprint in its own tenant, looks up the target's tenant ID and a user to name as sponsor, and sends a consent link.",
        "stepIds": [
          "configure-blueprint",
          "gather-identifiers",
          "send-consent-link"
        ]
      },
      {
        "id": "consent",
        "kind": "path",
        "eyebrow": "Victim decision",
        "label": "Consent creates a blueprint principal",
        "summary": "A user who is allowed to consent accepts the request, and Entra creates a blueprint principal in the victim tenant.",
        "stepIds": [
          "victim-consents"
        ]
      },
      {
        "id": "use",
        "kind": "path",
        "eyebrow": "Proofpoint test",
        "label": "Agent identity, token and Microsoft Graph requests",
        "summary": "The blueprint signs in to the victim tenant, creates an agent identity, obtains its token and calls Microsoft Graph with the consented permissions.",
        "stepIds": [
          "create-agent-identities",
          "acquire-agent-tokens",
          "query-graph"
        ]
      }
    ]
  }
}
