Lesson 4 of 5 Securing AI Agent Identities

Analyzing Agent Blast Radius with Defender XDR

This lesson explains how Defender XDR inventories agents, and shows what an attacker could reach through them.

Learning outcomes

After completing this lesson, you will be able to:

  • Explain blast radius.
  • Describe the agent inventory and risk indicators.
  • Explain attack paths and choke points.
  • Use analysis to prioritize a fix.

What blast radius means

Security teams cannot fix everything at once, so they ask which item would do the most damage if compromised. Blast radius describes that: starting from a compromised item, which resources could an attacker reach, and how valuable are they? An agent with access to one document library has a small blast radius. An agent with broad mail access, a privileged directory role and a connection to a finance system has a very large one, even if it has never been attacked.

A few overprivileged agents usually account for most of the risk. Analysis therefore aims to find them and to reduce their reach, typically by removing permissions, not by adding detection.

The agent inventory

The starting point is knowing what exists. In the Defender portal, Assets > AI agents, on the Agents tab, lists agents from Copilot Studio, Foundry, Microsoft 365 and supported non-Microsoft platforms, and local agents on endpoints. Columns show risk level, risk indicators, recommendations and active alerts. Discovery needs security for AI agents to be enabled, including the Microsoft 365 connector, and local agent discovery needs Defender for Endpoint with Defender Antivirus in active mode.

Risk levels are High, Medium, Low, No known risk and Not evaluated. Indicators explain why, as the following table shows.

IndicatorMeaning
Weak InstructionsThe agent's instructions leave room for misuse
High-usage AgentMany users interact with it, so an issue has a wider effect
Indirect Prompt Injection ExposureThe agent reads content that could carry hidden instructions
Privileged Business-system AccessThe agent can reach sensitive business systems
Active ThreatCurrent detections concern this agent
Match the pairs

Agent risk indicators

Exam skills 3.1.5

Match each agent risk indicator with its meaning.

Log in to try this activity Interactive activities are free with an account.

Hunting across agents

Advanced hunting supports questions that the inventory page does not answer. The AgentsInfo table replaces the earlier AIAgentsInfo table. It keeps a history, so a query must select the latest state for each agent, as the following example does.

AgentsInfo
| summarize arg_max(Timestamp, *) by AgentId
| where LifecycleStatus != "Deleted"

Joining this data with identity or activity tables helps to connect an agent to its owners and actions. BehaviorInfo holds events such as blocks from real-time protection, and CloudAppEvents holds agent activity from Microsoft 365 services.

Attack paths and choke points

Microsoft Security Exposure Management builds an enterprise exposure graph that connects identities, devices, cloud resources and permissions. An attack path is a chain of steps by which an attacker could reach a critical asset. Cloud attack paths now cover Azure, AWS, GCP and AI agents. Attack paths are found at security.microsoft.com/attack-paths, in the public cloud only.

A choke point is a node through which many paths pass. On the Choke points tab, select one and choose View blast radius to explore the highest-risk paths from it. If an agent identity is a choke point, then reducing its permissions breaks many paths at once, which makes it the most efficient fix.

A related feature, agent security posture management, visualizes attack paths from agents to critical assets. Defender for Cloud has its own attack path experience for cloud-only analysis, and the Defender portal gives the wider view across identity and endpoints.

Scenario questions

Choke points

Exam skills 3.1.5

Use attack paths and choke points to prioritize agent fixes.

Log in to try this activity Interactive activities are free with an account.

Acting on the analysis

Blast radius analysis leads to changes, so close the loop.

  1. Prioritize

    Start with high-risk agents and those that are choke points.

  2. Trace

    Identify which permission or group creates the dangerous path.

  3. Reduce

    Remove the permission, or replace it with a narrower one.

  4. Contain

    Apply Conditional Access or guardrails to what remains.

  5. Verify

    Confirm that the attack path has gone, and record the change with the agent's sponsor.

Recommendations are scored separately from risk levels, so an agent can have a low risk level and still have useful recommendations.

Put in order

Reducing blast radius

Exam skills 3.1.5

Put the steps of acting on a blast radius analysis in order.

Log in to try this activity Interactive activities are free with an account.
Worked example

Prioritizing a fix

Defender shows 200 agents. One Copilot Studio agent has the indicator Privileged Business-system Access, and Exposure Management shows it as a choke point on paths to a finance database. There are no active alerts. The team has time for one change this week. What should it do?

Use View blast radius on the choke point to find the permission that creates these paths, and reduce that permission with the agent's sponsor. Fixing a choke point removes many paths at once.

The absence of alerts does not mean that the risk is low: blast radius concerns what could happen. Reviewing all 200 agents equally would waste the week. Disabling the agent may be excessive, as it may have a real business purpose.

Check yourself

Why query AgentsInfo with arg_max by AgentId?

Show answer

The table keeps history, so arg_max returns the latest state of each agent.

Exam Tips

Remember for the exam

  • Blast radius is about potential reach, not current attacks.
  • Assets > AI agents is the inventory, and AgentsInfo is its hunting table.
  • Use View blast radius on a choke point to see its highest-risk paths.
  • Reducing permissions at a choke point breaks many paths at once.