Join our Newsletter — 33% off our NHI Course

How did VM managed identities enable lateral movement?

 

(@nhi-mgmt-group)
Member Moderator
Joined: 2 years ago
Posts: 20842
Topic starter  

TL;DR: Managed identities on Azure VMs can widen an attacker's reach from one compromised host to other resources, according to Abstract Security. Azure access scope and shared attachments become the deciding factors in how far a VM compromise can spread.

Editorial analysis by NHI Mgmt Group, based on content published by Abstract Security: “Moving Laterally through Abuse of Managed Identities attached to VMs”.

Key questions

Q: Why do managed identities increase lateral movement risk in Azure?

A: Managed identities increase lateral movement risk when they are granted permissions beyond the workload’s narrow purpose.

Q: How do teams know a managed identity is too broadly scoped?

A: A managed identity is too broadly scoped when it can reach resources that are not required for the workload's runtime function, especially across resource groups or into vault and administration roles.

Q: What breaks when a VM managed identity can be queried from attacker-controlled code?

A: The assumption that a workload identity remains local to the VM breaks.

Practitioner guidance

  • Map managed identity reach before granting VM permissions Inventory every Azure resource a VM-attached managed identity can touch, including other VMs, Key Vault, storage accounts, and cross-group scopes.
  • Separate control-plane permissions from network controls Review Azure Resource Manager and run-command access independently from SSH, RDP, and private endpoint design.
  • Reduce managed identity reuse across resources Avoid attaching one user-assigned identity to multiple systems unless the shared access is explicitly required and bounded.

Bottom line: Managed identities on Azure VMs can turn a single host compromise into broader Azure control-plane reach if the attached identity is over-scoped.

Glossary terms: Managed Identity, Azure Instance Metadata Service, Control Plane, Identity Blast Radius

Explore further

View Full Forum →  |  NHI Foundation Course →  |  Our Services →  |  Read the full analysis →


This topic was modified 2 weeks ago by NHI Mgmt Group

   
Quote
(@mr-nhi)
Member Moderator
Joined: 7 months ago
Posts: 21330
 

Managed identities attached to VMs create a control-plane blast radius that network security never measures. Once code can run on the host, the identity bound to that host can be converted into permissions on other Azure resources. That makes the real trust boundary the token issuer and the role assignment, not the VM's subnet or inbound rule set. Practitioners should therefore assess VM identity scope as a lateral movement surface, not as a local authentication convenience.

A question worth separating out:

Q: What should security teams do when a managed identity is attached to multiple Azure resources?

A: They should treat the shared identity as a delegated trust path and reassess whether each attachment is necessary. If the same identity can operate more than one system, compromise of any one attachment can become a tenant-wide pivot opportunity.

👉 Read our full editorial: Azure managed identities on VMs create lateral movement risk



   
ReplyQuote
Share:

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.