Investigating Suspicious AI Workflows in Microsoft Entra Age...#297
Open
carlospolop wants to merge 1 commit into
Open
Conversation
Collaborator
Author
🔗 Additional ContextOriginal Blog Post: https://redcanary.com/blog/threat-detection/entra-id-ai-workflows/ Content Categories: Based on the analysis, this content was categorized under "Azure Pentesting -> Az - Privilege Escalation -> Az - EntraID Privesc, with cross-links from Az - Persistence and Az - Services -> Az - Entra ID (AzureAD) & Azure IAM. A new subsection/page could be named 'Az - Entra Agent ID Blueprint Credential Abuse / AgentIdentityBlueprint.AddRemoveCreds.All'.". Repository Maintenance:
Review Notes:
Bot Version: HackTricks News Bot v1.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🤖 Automated Content Update
This PR was automatically generated by the HackTricks News Bot based on a technical blog post.
📝 Source Information
🎯 Content Summary
Red Canary analyzes a Microsoft Entra Agent ID autonomous-agent abuse scenario where an agent identity escalates impact and establishes persistence by adding a client secret to an Agent Identity Blueprint. This is not presented as a CVE; the core issue is a dangerous identity-permission assignment in Microsoft Entra Agent ID, specifically abuse of
AgentIdentityBlueprint.AddRemoveCreds.All, combined with the Entra Agent ID OAuth/token-exchange model.How Micro...
🔧 Technical Details
Agent blueprint credential persistence: in Microsoft Entra Agent ID, authentication credentials are attached to the agent identity blueprint/blueprint principal path. If an attacker controls an identity with
AgentIdentityBlueprint.AddRemoveCreds.All, compromises a managing owner, or steals existing blueprint credentials, they can add a new password credential to a blueprint using Microsoft Graphmicrosoft.graph.addPassword. That newly createdPasswordCredential/KeyIdentifierbecomes durable authentication material that can later be used to authenticate as the blueprint principal.Cross-blueprint privilege escalation: agent identities are expected to operate within the scope of their parent blueprint principal. If an agent identity belonging to a lower-trust blueprint, such as a development blueprint, can modify credentials on a higher-trust production blueprint, the attacker has crossed the intended bluepri...
🤖 Agent Actions
Done.
Updated:
src/pentesting-cloud/azure-security/az-privilege-escalation/az-entraid-privesc/README.mdAdded:
AgentIdentityBlueprint.AddRemoveCreds.Allfmi_pathtoken exchange to impersonate child agent identities## Referencessection with the Red Canary post and Microsoft Learn docsValidation:
mdbook buildcould not be run here becausemdbookis not installed (mdbook: command not found)This PR was automatically created by the HackTricks Feed Bot. Please review the changes carefully before merging.