Datadog Demonstrates Cross-Tenant Entra Takeover Through Compromised Agent Blueprint

· Original article ↗

Summary

Datadog demonstrates how an attacker controlling an Entra agent blueprint could add a credential, impersonate associated agents across tenants, and use a privileged agent’s permissions to take over a Global Administrator account.

Key points

  • The scenario begins with an attacker who has compromised an Agent ID Administrator in a corporate Entra tenant.
  • The attacker adds a credential to a third-party agent blueprint and uses it to authenticate as blueprint-associated identities in a subsidiary tenant.
  • A blueprint principal can enumerate associated agent identities and exchange tokens to act as a privileged agent.
  • The demonstrated Temporary Access Agent has Microsoft Graph permissions to read users and manage temporary access passes.
  • An attacker could set a temporary access pass on a Global Administrator account, bypassing its password and MFA to gain access.
  • The article highlights that a compromised blueprint can expose associated agent identities and their permissions across tenants.

Article Details

Attack Vectors
  • An attacker with a compromised Agent ID Administrator account adds a credential to the People Team Agents blueprint.
  • Using the blueprint credential, the attacker authenticates as its principal in a subsidiary tenant, enumerates associated agent identities, and exchanges tokens to impersonate the Temporary Access Agent.
  • The attacker uses the agent's UserAuthMethod-TAP.ReadWrite.All permission to set a temporary access pass for a Global Administrator account, bypassing its password and MFA.
Defensive Notes
  • Treat third-party agent blueprints as trusted with the permissions of the agents created from them; a blueprint credential can expose associated identities across tenants.
  • Restrict high-risk permissions and carefully control who can manage agent identities and add credentials to blueprints.

MITRE ATT&CK

Vendors

Products

Related Articles