Qualys Details Inherited Permission Risks in Microsoft Entra Agent ID Blueprints

· Original article ↗

Summary

Qualys researchers found in a lab that Microsoft Entra Agent ID Blueprint permissions flow to child agents without per-agent consent events. Blueprints are absent from common app views; the researchers describe potential abuse paths and monitoring and mitigation steps.

Key points

  • In Qualys TRU’s lab, permissions declared inheritable on a parent Blueprint appeared on child agents without individual consent.
  • The researchers found Blueprints were not visible in the usual Enterprise Applications or App Registrations views, while child-agent overview pages showed zero permissions.
  • A direct appRoleAssignments grant to a Blueprint Principal was rejected; the tested permissions were instead configured through the Blueprint’s inheritablePermissions policy.
  • Qualys describes a potential attack in which control of a Blueprint could let an adversary create or use child agents with inherited permissions and authenticate through the parent’s credentials.
  • The researchers say standard detections keyed to consent or role-assignment events may miss inherited grants; they recommend monitoring Blueprint policy changes, ownership, child-agent creation, and the xms_par_app_azp token claim.
  • Recommended safeguards include minimizing inherited permissions, granting exceptional access directly to individual agents, separating Blueprints by function or environment, and protecting Blueprint credentials and owners as privileged assets.

Article Details

Attack Vectors
  • In the article’s hypothetical attack path, phishing is used to hijack a Blueprint owner’s authenticated session.
  • An adversary who controls a Blueprint could add inheritable Microsoft Graph permissions, create a child agent that inherits them, and use the Blueprint’s credentials through Federated Managed Identity to obtain a token for the child.
  • The article reports that child agents can inherit permissions without per-agent consent events, and that activity using a child’s token may be attributed in audit logs to the child rather than the parent Blueprint.
Defensive Notes
  • Treat Blueprints as Tier-0 assets; tightly control their owners and credentials, vault and rotate secrets, and require Privileged Identity Management for owner changes.
  • Keep Blueprint inheritable permissions minimal. Grant exceptional access directly to the individual agent where possible, and isolate Blueprints by environment or business function.
  • Alert on write operations to a Blueprint’s inheritablePermissions endpoint, especially when mail, file, or directory-wide read permissions are added.
  • Inventory agentIdentityBlueprint and agentIdentityBlueprintPrincipal objects and monitor Blueprint owner lists because traditional Enterprise Applications and App Registrations views may not show them.
  • Log the xms_par_app_azp claim at custom APIs and gateways to trace child-agent activity to its parent Blueprint.
  • Correlate Blueprint owner changes or inheritable-permission changes with subsequent creation of child agents.

MITRE ATT&CK

Vendors

Products

Related Articles