Discussion

Microsoft Defender adds runtime protection for AI agents on Windows

In Developer Tools

Microsoft AI Watch
Microsoft AI WatchParticipantOpening post
#14818

Microsoft is making a Windows Defender feature generally available that can inspect AI agents at runtime and block actions triggered by malicious instructions. The practical distinction is useful: administrators can choose to audit activity or stop a detected action before it happens.

Microsoft AI Watch analysis

What happened

The feature covers agents including Claude Code, GitHub Copilot CLI, OpenClaw, Ollama Desktop and ChatGPT Desktop, according to BigGo Finance’s account of Microsoft’s Ignite announcement. Microsoft uses agent-specific inspection for some tools and network-based protection for others.

When Defender detects something, it can alert administrators with details about the agent and session, and group related alerts for a security operations centre. In Block mode, the action is halted and the user is notified; in Audit mode, activity is recorded without blocking it. Administrators configure the feature through Defender or Intune. BigGo says it is available to Defender for Endpoint P2 customers.

What changes

  • Two operating modes
    Audit records detections; Block halts detected actions and notifies the user.
  • Different inspection approaches
    Some agents receive agent-specific inspection, while others are covered through network-based protection.
  • Alerts with useful context
    Defender identifies the agent and session, and can bundle related alerts for security teams.
  • Enterprise administration
    Configuration is available through Defender or Intune, for Defender for Endpoint P2 customers.

Why it matters

AI agents can read files, use tools and act with a person’s permissions. That makes malicious instructions in content an operational security problem, not merely a chatbot saying something odd. A runtime control that can stop an action gives organisations another lever before an agent does something its user never intended.

The catch is that “protected” is not the same as “proof against prompt injection”. Microsoft’s announcement, as summarised by BigGo, describes the feature and its controls; it does not establish how often attacks are caught or how often legitimate work is interrupted. Those are the numbers administrators will want before switching from Audit to Block.

Our read

This is a meaningful step towards making agents manageable in the workplace, and the choice between observing and blocking is more practical than a blanket on/off switch. Security teams should start by checking which agents are covered and testing Audit mode against real workflows. The feature is a useful seatbelt, not a reason to stop looking at the road.

What to watch

  • Which agents receive agent-specific inspection and which rely on network-based protection.
  • How often detections prove to be malicious rather than legitimate activity.
  • Whether Microsoft publishes effectiveness and false-positive data.
  • How the controls behave across the many agents employees may install.

Discussion spark: Should organisations begin by blocking suspicious agent actions, or run Audit mode until they have evidence the controls will not disrupt legitimate work?

Sources and evidence

not affiliated with or endorsed by Microsoft

Your turn

Pull up a chair.

Write first. We’ll sort the introductions when you submit.