BRK340 · Breakout
A Zero Trust approach to securing AI runtime with Microsoft Defender
Speakers: James Brotsos, Krishna Sunkavalli
Microsoft’s player cannot open a video at a given time: once it plays, skip to the time shown.
What the session covers
The session applies Zero Trust principles (verify explicitly, least privilege, assume breach) to AI agents using Microsoft Defender and Agent 365. It covers building one agent inventory across Copilot Studio, Foundry, third-party cloud platforms (Bedrock, Anthropic, Gemini via Agent 365 registry sync) and local agents discovered by Defender for Endpoint. It then covers unified agent risk, attack paths, blast radius and dynamic agent risk, demonstrated in the Defender portal. The final part covers runtime threats mapped to OWASP and MITRE and demonstrates Defender blocking a cross-prompt injection hidden in a PDF against Foundry procurement agents, followed by SOC investigation. It closes with a three-phase getting-started plan.
Best for: Security architects and SOC teams who need to inventory, assess and protect Copilot Studio, Foundry, third-party and local AI agents in Microsoft Defender.
New material starts at 08:41. The first eight and a half minutes introduce the agenda, the 'AI insider' threat framing and the Zero Trust for AI principles; at 08:41 the technical deep dive on the Agent 365 registry, registry sync and Defender for Endpoint discovery begins.
Where to skip: Skip to 08:41 for the inventory architecture; the portal demos from 14:40 to 26:43 (Copilot Studio, third-party and local agents with MCP servers) and the runtime inspection model at 26:43 are the core. The attack setup at 30:00 can be skimmed; jump to 33:55 for the Defender block and XPIA investigation. The phased rollout at 38:17 is useful as a checklist.
Chapters (13)
- 00:03 Recap Depth 100 · Novelty 0/3
Session introduction and four-act agenda for Zero Trust AI runtime security
James Brotsos introduces the session and his co-presenter Krishna Sunkavalli, who runs the demos, and states that the audience is assumed to know Defender and Zero Trust basics. He explains that agents have moved from pilots into production, call tools and act with real identities and permissions, often unreviewed. The agenda has four acts: why agents are different, posture (discovering every agent, including shadow and local ones), threat protection against prompt injection, tool misuse and identity abuse, and how to turn this on in Defender.
- 02:34 Recap Depth 200 · Novelty 1/3
Why AI agents are a new attack surface: the 'AI insider' and CISO concerns
The speaker argues that tools and operating models built for humans do not scale to agents, describing the 'AI insider' as polymorphic, results-driven, machine-speed, collaborative and running 24/7, with an example of an expense agent hijacked by an injected wire-transfer instruction. He lists four risk factors: language as the attack vector, malicious tool/MCP responses, poisoned grounding and unattended agents. Customer concerns centre on which agents exist (managed, third-party, local, shadow AI, with visibility dropping left to right) and what they can do. Solutions must cover any vendor's agents, every layer of the stack and work as layered containment.
- 06:59 Recap Depth 200 · Novelty 1/3
Zero Trust for AI principles mapped to Defender and Agent 365 posture and protection
Microsoft announced its Zero Trust for AI approach in March 2026; the principles are not new, but are applied systematically to agents, models, tools and data. Verify explicitly means knowing every agent, giving it an identity and scoring risk continuously; least privilege means finding over-permissive agents and open attack paths (posture); assume breach means detecting, blocking and disrupting prompt injection, data poisoning and lateral movement (runtime protection). The Microsoft Zero Trust Workshop now includes an AI pillar.
- 08:41 Deep dive Depth 300 · Novelty 2/3
One agent inventory via Agent 365 registry, registry sync and Defender for Endpoint discovery
Inventory is described as an AI bill of materials: Copilot Studio, Foundry and Microsoft 365 agents register in the Agent 365 registry, third-party cloud agents come in via the Agent 365 connector/registry sync (in preview) or the Agent 365 SDK, and Defender for Endpoint observes local agents and their MCP servers on Windows devices, including shadow AI. The result is one inventory in the Defender portal with identity, owner, platform, model, tools, MCP servers, knowledge, permissions and security signals, queryable via advanced hunting. Local discovery is activity-based, not install-based. Posture adds an Entra Agent ID, owner and lifecycle per agent, conditional access for agents, and risk-prioritised security recommendations.
- 12:21 Deep dive Depth 300 · Novelty 2/3
Unified agent risk, attack paths, blast radius and signal-fused dynamic agent risk
Unified agent risk reads a graph centred on the agent: user, device, tools and MCP servers, then admin roles, secrets, repos, sensitive data and other agents; an example path runs from an agent through an MCP server exposing a secret to sensitive data. It answers which agent to fix first, why it is risky and what it could reach (blast radius). Agents tend to accumulate more permissions than needed and drift in behaviour, so signals from Entra, Defender, Purview, Intune, Sentinel and Global Secure Access are fused into a real-time dynamic agent risk including intent and task drift. The two upcoming demos are introduced.
- 14:40 Demo Depth 200 · Novelty 2/3
Demo: Defender AI agent inventory and risk details for a Copilot Studio agent
Using the fictional Caldova Pharmaceuticals, Krishna opens the Defender portal's AI agents inventory, split into cloud and local agents with totals, high-risk and critical counts and filters. A Copilot Studio 'Clinical Research Assistant' page shows platform, version, status, channels, agent ID and blueprint, tools, MCP servers and instructions. Newly announced features shown are dynamic agent risk (runtime, exposure and blast radius levels), agent intent (in-scope and out-of-scope summary) and the attack surface graph built on exposure management. A security recommendation flags over-provisioned tools due to configuration drift, with remediation steps and similarly exposed agents.
- 21:41 Demo Depth 300 · Novelty 2/3
Demo: third-party agents (Bedrock, Anthropic, Gemini) and their signal limitations
Krishna opens the platform filter showing support for third-party platforms such as Amazon Bedrock, Anthropic and Google Gemini, plus UiPath or Snowflake agents pulled in via Agent 365 registry sync. A Claude-based Caldova Invoice Review Agent shows the same posture experience, but runtime risk is unavailable due to lack of observability data from that platform. An Entra Agent ID may be missing if the agent is built without the Agent 365 SDK; a supportability matrix in the documentation lists which data is available. Attack surface graph and recommendations work the same way.
- 23:45 Demo Depth 300 · Novelty 2/3
Demo: local agents like GitHub Copilot CLI and ChatGPT Desktop with local MCP servers
Via Defender for Endpoint, Defender supports around 30+ local agents, including CLI coding agents and agents like OpenClaw. The GitHub Copilot CLI agent page shows device and user context, tools, MCP servers and a medium dynamic risk driven by exposure to downstream resources. Unlike cloud agents, local agents reveal both remote and local MCP servers (for example a local file share MCP server); the ChatGPT Desktop attack surface graph shows MCP server nodes and their tool calls/endpoints.
- 26:43 Deep dive Depth 300 · Novelty 2/3
Runtime threats (identity abuse, tool misuse, prompt injection) and how Defender inspects
Since posture never reaches zero risk, the session moves to assume breach. Three top threats, mapped to OWASP and MITRE, are identity abuse, tool misuse (individually valid tool calls in a malicious sequence) and direct and cross-prompt injection; Defender flags, detects, alerts on or blocks them and correlates into XDR incidents with automatic attack disruption. The runtime flow is: input arrives, agent plans a tool/MCP/agent call, Defender inspects at a supported enforcement point before execution, policy allows/alerts/blocks, and the SOC responds. Cloud agents are protected via platform integrations; local agents via integrated hooks evaluating intent, with network inspection for agents without hooks.
- 30:00 Demo Depth 200 · Novelty 1/3
Demo: cross-prompt injection via hidden text in a PDF poisons Foundry procurement agents
The pre-recorded attack uses Caldova Procurement, which replaced a manual vendor-selection process with Foundry agents: an intake agent with a PDF processing tool and a Procurement Copilot. Initially the Copilot recommends Sandoval as the preferred CRM vendor. An attacker submits a Fabrikam proposal PDF with hidden text through the supplier portal, poisoning agent memory and downstream agents. Rerunning the same query now recommends Fabrikam despite known gaps, and the PDF reveals the hidden manipulating text.
- 33:55 Demo Depth 300 · Novelty 2/3
Demo: Defender blocks the injection at tool execution and SOC investigates the XPIA alert
The same poisoned PDF is replayed against an agent with Defender real-time threat protection enabled, and the attempt is blocked. In Teams, the vendor uploads the malicious file to the intake agent and Defender blocks it at tool execution, returning an error. In the Defender portal the agent's Incidents and alerts tab shows an XPIA alert with activity details and captured tool output revealing the prompt hidden as Unicode. Advanced hunting on the behavior info table shows the same block with tool output and technique.
- 36:49 Closing Depth 100 · Novelty 0/3
Four takeaways: inventory, fix riskiest first, right-size permissions, protect at runtime
James summarises four takeaways: build one inventory across managed, third-party, local and shadow agents before writing policy; fix the riskiest agents first using unified agent risk by exposure and blast radius; give each agent just enough permission and revisit as tools and data change; and detect and block prompt injection, tool misuse and identity abuse at supported enforcement points, investigating in XDR incidents. The goal is to turn agents into observable, defendable enterprise assets.
- 38:17 Closing Depth 200 · Novelty 1/3
Getting started in three phases and resources for Defender and Agent 365 agent security
Phase 1: confirm an Agent 365 eligible licence or start an admin-led trial, turn on Security for AI agents in Defender portal settings, and onboard devices to Defender for Endpoint for local agent discovery. Phase 2: connect third-party agents via the Agent 365 connector (registry sync in preview), review inventory, shadow AI and unified agent risk, and remove excess permissions. Phase 3: configure real-time protection policies starting in alert mode before moving to block mode, add agent alerts to SOC playbooks, hunting queries and custom detections, and rehearse a prompt injection incident. Resources include zerotrust.microsoft.com, aka.ms/ZeroTrust, Agent 365 overview and Defender documentation.
Announcements (5)
-
Zero Trust Workshop AI pillar
The Microsoft Zero Trust Workshop now includes an AI pillar to provide a structured plan for securing AI.
Speaker’s quote (at 07:59)
„If you want a structured plan, the Microsoft Zero Trust Workshop now does include an AI pillar.“
-
Agent 365 registry sync for third-party cloud agents
Brings third-party cloud agents into the Agent 365 registry and Defender inventory through the Agent 365 connector.
Speaker’s quote (at 09:26)
„The registry sync, which is in preview at stage right now, for example, agents on clouds are built with Agent 365 SDK.“
-
Dynamic agent risk
A composite, multi-dimensional agent risk score combining runtime risk, exposure and blast radius.
Speaker’s quote (at 18:05)
„So one of the new features that have been recently announced is the dynamic agent risk, which is a composite risk signal score.“
Agent 365 na Ignite 2026: správa agentů, zabezpečení a přehled nákladů na AI
-
Agent intent
Gives security analysts a summary of an agent's core purpose and what is in and out of scope.
Speaker’s quote (at 19:07)
„Another cool new feature is the agent intent. So for the security analysts, rather than having them to figure out, Defender provides a quick summary of what this agent should do“
-
Attack surface graph for AI agents
Graphical view of all resources, tools and functions an agent is connected to, built on exposure management.
Speaker’s quote (at 19:47)
„Again, this is a new feature that is built on the exposure management foundations, but it also takes a step ahead.“
Demos (5)
-
A security analyst at Caldova Pharmaceuticals discovers agents across platforms and assesses and hardens the posture of a Copilot Studio agent.
Steps (8)
- Open the Microsoft Defender portal home page.
- In the left navigation under Assets, select AI agents to open the agent inventory with Cloud agents and Local agents views and summary stats.
- Apply filters (e.g. platform, creation time) to narrow the list.
- Select the Copilot Studio agent 'Clinical Research Assistant' and click Open agent page.
- On Overview, review platform, version, status, channels, agent ID and blueprint, tools, MCP servers and agent instructions.
- Review the dynamic agent risk panel (runtime, exposure, blast radius) and the agent intent summary.
- Open the Attack surface graph tab and click tool nodes to see the functions the agent can run.
- Open the Security recommendations tab, select the configuration drift / over-provisioned tools recommendation and review remediation steps and similarly exposed agents.
Prerequisites: Per the session's getting-started guidance: an Agent 365 eligible licence or admin-led trial and the Security for AI agents setting turned on in the Defender portal.
-
A security analyst reviews posture of agents built on third-party platforms in the same Defender inventory.
Steps (4)
- On the AI agents inventory page, open the Platform filter drop-down to see supported platforms.
- Search the inventory for 'caldova'.
- Open the Claude-based 'Caldova Invoice Review Agent' page and review dynamic agent risk, noting runtime risk is unavailable.
- Open the Attack surface graph tab and the Security recommendations with remediation steps.
Prerequisites: Third-party agents connected through the Agent 365 connector / registry sync; agents built with the Agent 365 SDK for an Entra Agent ID.
-
A security team reviews locally running agents on employee devices and their local and remote MCP servers.
Steps (5)
- In AI agents inventory, switch to the Local agents view listing agents with version, device, account and risk.
- Open the Critical agents view and select GitHub Copilot CLI, then Open agent page.
- Review dynamic agent risk (medium), device and user context, tools, MCP servers and blast radius.
- Open the ChatGPT Desktop agent and its Attack surface graph.
- Click the MCP server nodes to see grouped MCP servers and the tool calls/endpoints the agent can reach.
Prerequisites: Devices onboarded to Defender for Endpoint (Windows); local agent activity observed.
-
Shows how an indirect prompt injection in a vendor PDF manipulates agentic procurement decisions when no runtime protection is enabled.
Steps (5)
- Show the Foundry Agents page with three prompt agents, including the intake agent with a PDF processing tool.
- In the Procurement buyer workspace, ask Procurement Copilot for the best CRM option; it recommends Sandoval.
- In the SupplierConnect portal, enter supplier name and bid and upload the Fabrikam proposal PDF containing hidden text.
- Rerun the same query in Procurement Copilot; it now recommends Fabrikam.
- Open the PDF to show the hidden text used in the attack.
Prerequisites: Custom demo environment: Foundry agents, a procurement workspace and a supplier portal.
-
Shows Defender blocking an indirect prompt injection at runtime and a SOC analyst investigating the resulting alert.
Steps (6)
- Replay the supplier portal upload of the same malicious PDF against an agent with Defender threat protection enabled; a Defender block notification appears.
- In the Teams chat with the vendor intake agent, attach the malicious PDF with the supplier submission prompt and send it.
- Observe Defender blocking the tool execution and the agent returning an error.
- In the Defender portal, open the agent's Incidents and alerts tab and expand the XPIA alert.
- Drill into activity details and the captured tool output showing the Unicode-hidden prompt.
- In Advanced hunting, query the behavior info table to see the block with tool output and technique.
Prerequisites: Defender real-time threat protection enabled for the agent; agent built on a supported platform integration.