bittersecurity/decepticon/azure-managed-identity
Claude Code and agent skill by bittersecurity/decepticon
- community
Checking that the SKILL.md file is still in the repository.
Azure Managed Identity abuse — IMDS at 169.254.169.254 from compromised VM / App Service / Function, token exchange for Graph/ARM/KeyVault, federated workload identity abuse, hybrid AAD Connect MSOL credential extraction.
Install
npx vskill@latest install bittersecurity/decepticon/azure-managed-identitySKILL.md
The same SKILL.md was published earlier as bittersecurity/decepticon/azure-managed-identity.
Azure Managed Identity Abuse
You have RCE in an Azure compute resource (VM, App Service, Function, AKS, Container Apps). Steal the Managed Identity token and pivot.
Steal the token
Linux VM / Container
Windows VM
App Service / Function (different endpoint, requires IDENTITY_HEADER)
Common token audiences (resource param)
| Audience URL | Use | |
|---|---|---|
https://management.azure.com/ | ARM — list/modify Azure resources | |
https://graph.microsoft.com/ | Microsoft Graph — read directory, mail, groups | |
https://vault.azure.net | Key Vault — secrets, keys, certificates | |
https://storage.azure.com/ | Storage account — blob/queue/file/table | |
https://database.windows.net/ | Azure SQL | |
https://servicebus.azure.net/ | Service Bus |
Request one token per audience — the MI assignment determines which work.
Use the token
Pivot patterns
| MI permission | Pivot to | |
|---|---|---|
| Contributor on subscription | RunCommand on every VM in the sub → fleet-wide RCE | |
| KeyVault Reader / Secrets User | Decrypt all stored credentials | |
| User Access Administrator | Self-grant Owner role anywhere | |
| AAD App Owner | Modify app registration → app-credential persistence | |
| Storage Account Contributor | Steal storage keys → SAS tokens (low audit signature) |
Workload Identity (federated, no client secret)
AKS pods using Workload Identity Federation get a token via projected SA token + STS exchange. Steal the projected token from /var/run/secrets/azure/tokens/azure-identity-token, then:
AAD Connect MSOL (hybrid environments)
On a server running AAD Connect, MSOL_xxxxxxx in local SAM has DCSync rights → full domain compromise. Steal via DPAPI:
OPSEC
- Azure Activity Log records every ARM call. Use Graph for low-noise enumeration.
- Token TTL ~24h. Re-stealing is logged via the IMDS access pattern (visible in Azure VM monitor).
IDENTITY_HEADERenv on App Service is process-scope — exfil it from a single trick command, then reuse.- Defender for Cloud + Microsoft Sentinel detect: "ManagedIdentityToken used from non-Azure IP" → exfil tokens carefully.
References
- MicroBurst (NetSPI), MicroBurst-Cloud (Karl Fosaaen) — Azure-specific tooling
- ROADtools (Dirk-jan) — AAD enumeration without alerts
- DEFCON 30 "Abusing Azure Active Directory" — Andy Robbins
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingpackages/decepticon/decepticon/skills/standard/cloud/azure-managed-identity/SKILL.md
Popularity
- Repository stars
- 6,432
- Repository forks
- 1,238
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Grok Build (Cursor)
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/bittersecurity/decepticon/azure-managed-identity)