Skip to main content
Enterprise AI Security

Microsoft Security Copilot: SOC Risks and Hardening Guide

BT

BeyondScale Team

AI Security Team

15 min read

Microsoft Security Copilot sits at the intersection of your most sensitive security data and a large language model that processes it all in natural language. When your SOC AI has read access to every Sentinel incident, Defender XDR alert, Intune device record, and threat intelligence feed in your environment, the blast radius of a successful prompt injection or misconfigured permission is your entire security estate.

This guide gives SOC leads and CISOs the risk model for Microsoft Security Copilot that Microsoft's own documentation does not. We cover the attack surface, the specific risks most enterprises miss before deployment, and the hardening controls that reduce exposure without eliminating the productivity benefit that makes Security Copilot worth deploying.

Key Takeaways

    • Microsoft Security Copilot is a distinct product from M365 Copilot and Copilot Studio, with a different architecture, permission model, and threat profile
    • Security Copilot's integration with Sentinel and Defender XDR creates indirect prompt injection exposure: malicious content in ingested threat data can influence AI behavior
    • Overly broad Sentinel workspace access is the most common misconfiguration and the highest-impact one
    • AI-generated incident summaries and KQL queries require human verification before action, especially in automated promptbook workflows
    • Plugin supply chain risk is underappreciated: third-party and custom Security Copilot plugins execute with the permissions of the user invoking them
    • Full audit coverage requires additional configuration: Security Copilot activity must be explicitly routed to Purview and optionally to Sentinel for anomaly detection

What Microsoft Security Copilot Is (and Isn't)

Most published security guidance for "Microsoft Copilot" conflates three distinct products with separate codebases, permission models, and risk profiles:

Microsoft Security Copilot (the subject of this guide) is a generative AI assistant purpose-built for security operations. Analysts interact with it via a standalone portal or embedded within the Microsoft Defender XDR console. It connects directly to: Microsoft Sentinel (incidents, analytics rules, watchlists), Defender XDR (unified incidents, alerts, device signals), Microsoft Intune (device compliance and configuration data), Microsoft Entra (identity context, sign-in risk), Microsoft Purview (data governance and insider risk), and external threat intelligence sources.

Microsoft 365 Copilot is the productivity assistant embedded in Word, Outlook, Teams, and SharePoint. It has a separate risk profile centered on data oversharing across M365 content, and carries its own CVE history including CVE-2026-26164, an injection vulnerability in M365 Copilot Business Chat.

Microsoft Copilot Studio is a no-code platform for building custom AI agents. CVE-2026-21520 (CVSS 7.5), discovered by Capsule Security and patched January 15, 2026, affected Copilot Studio specifically: a malicious SharePoint form submission could inject a fake system role message, directing the agent to exfiltrate SharePoint data via Outlook.

These are different products with different CVE histories, different permission architectures, and different mitigations. Security programs that treat them as one product will have gaps.

Security Copilot's core components include:

  • Promptbooks: Reusable multi-step workflows made up of natural language prompts that guide the AI through structured investigations such as incident triage, vulnerability summaries, and threat hunting
  • Skills and Plugins: Packaged capabilities that extend Copilot's reach into Microsoft and third-party products; each plugin runs with the permissions of the invoking user
  • Natural language to KQL: Security Copilot converts analyst queries into Kusto Query Language (KQL) and executes them against Sentinel workspaces and Defender XDR data

The Attack Surface Map

Security Copilot's attack surface differs from traditional application security surfaces because many of the inputs the AI processes are not controlled by your security team.

Ingested Threat Intelligence as Injection Vector

Security Copilot consolidates and summarizes threat intelligence from Microsoft Threat Intelligence feeds, connected TI platforms, and external plugins. When an analyst asks Copilot to summarize a threat actor or investigate an IOC, Copilot ingests content from these external sources and reasons over it.

An adversary who controls content that flows into your threat intelligence pipeline can embed prompt injection payloads in that content. For example, an attacker could embed instructions in a phishing email body, a malicious file that triggers a Defender alert, or external threat intelligence data. When Security Copilot processes that content during incident investigation, the injected instructions enter the AI's context window alongside your system instructions. This is OWASP LLM01:2025 Indirect Prompt Injection applied specifically to the SOC toolchain.

NIST described indirect prompt injection as "generative AI's greatest security flaw" in its 2025 AI vulnerability guidance.

Over-Permissioned Sentinel Workspace Access

Security Copilot's value comes from its ability to query broad security data. That same breadth is the primary access control risk.

If an analyst's Azure RBAC grants Microsoft Sentinel Reader across the entire Sentinel workspace, every Copilot session that analyst runs has read access to the full incident history, all analytics rules, watchlists, and hunting queries in that workspace. A compromised analyst account, a malicious insider, or an injected prompt that causes Copilot to generate and execute unintended KQL queries would have access to the same breadth.

In practice, most enterprises connect Security Copilot to Sentinel workspaces that aggregate logs from across the organization: cloud infrastructure, endpoints, identity, and network. Over-permissioning at the Sentinel workspace level effectively means over-permissioning the AI.

Plugin Trust Chain

Security Copilot ships with Microsoft-published first-party plugins and supports third-party plugins from security vendors, as well as custom plugins built by your team. A plugin is a collection of related tools that Security Copilot can invoke during a session. Plugins run with the permissions of the user who invokes them.

Third-party and custom plugins represent OWASP LLM03:2025 Supply Chain risk. A compromised or malicious plugin could: exfiltrate the contents of Copilot sessions (including alert data and incident summaries), execute unintended actions against connected systems, or return poisoned data that causes Copilot to generate incorrect analysis that analysts act on.

Natural Language Query as Bypass

Security Copilot's ability to generate KQL from natural language is one of its highest-value features and one of the harder risks to control. KQL queries generated by Copilot execute against your Sentinel workspace with the analyst's permissions. There is no built-in KQL review step before execution in most configurations.

Researchers demonstrated that injecting into a Microsoft Semantic Kernel-powered agent could convert a prompt injection into host-level remote code execution. While Security Copilot is not Semantic Kernel directly, the attack class, prompt injection causing the AI to generate and execute unintended queries or commands, applies to any AI that combines natural language input with real system execution.

Specific Risks Enterprise SOC Teams Miss

Indirect Prompt Injection via Incident Data

The most underappreciated Security Copilot risk is prompt injection via the incident data the AI is asked to analyze. An attacker who triggers a Defender XDR alert, writes malicious content into a ticket body, or submits data to a monitored system can craft that content to include prompt injection payloads.

When an analyst asks Security Copilot to "summarize this incident" or "explain what happened in this alert," Copilot ingests the incident details, including attacker-controlled fields such as file names, process arguments, email bodies, and URL paths. If any of those fields contain injection instructions, those instructions enter the AI's context. Depending on the payload, the AI may suppress information, generate a misleading summary, suggest incorrect remediation steps, or attempt to invoke plugins.

The practical consequence for SOC operations is that AI-generated incident summaries should never be treated as authoritative without verification against the raw data, especially for high-severity incidents.

AI-Generated False Incident Summaries

Related to injection but distinct: even without a deliberate attack, Security Copilot can generate incorrect incident summaries due to model limitations, incomplete context, or ambiguous data. A junior analyst who trusts the AI summary without checking the underlying alerts may miss critical indicators or dismiss a real intrusion.

This is OWASP LLM09:2025 Misinformation applied to security operations. The risk is organizational as much as technical: if the SOC workflow treats Copilot output as the primary source of truth rather than as a draft for analyst review, errors become operational decisions.

KQL Generation and Credential Exfiltration

Security Copilot's KQL generation capability allows analysts to write queries like "show me all failed login attempts for admin accounts in the last 7 days." The AI generates and runs the KQL query automatically.

A sophisticated prompt injection payload embedded in ingested data could attempt to direct Copilot to generate and execute KQL queries that surface sensitive data: stored credentials in watchlists, service account secrets in incident notes, or configuration data in analytics rules. Because Copilot executes KQL with analyst-level permissions, it has access to the same data the analyst can query directly.

Plugin Supply Chain Attacks

Third-party Security Copilot plugins undergo Microsoft's verification process, but custom plugins built internally or sourced from less-vetted vendors carry supply chain risk. A malicious or compromised plugin can intercept Copilot session data, return false context that influences AI responses, or trigger unintended API calls against connected systems.

OWASP LLM03:2025 covers supply chain vulnerabilities across the AI model lifecycle. For Security Copilot, the relevant supply chain components include: the plugins you enable, the threat intelligence sources Copilot queries, and the custom promptbooks your team builds.

Privilege and Access Hardening

Scope Sentinel Workspace Access

The single highest-impact hardening control for Security Copilot is restricting which Sentinel workspaces analysts can reach via Copilot, and with what permissions within each workspace.

Microsoft provides two Security Copilot-specific roles: Security Copilot Owner (full administrative access including configuration changes) and Security Copilot Contributor (operational access for investigations). These control access to Copilot features themselves. Underlying data access still requires separate Azure RBAC roles for Sentinel, Defender XDR, and other connected sources.

Recommended access architecture:

  • Assign Sentinel Reader (not Contributor) for most analysts using Copilot for investigation
  • Create separate Sentinel workspaces for particularly sensitive log sources; do not connect these to analyst-accessible Copilot instances without explicit approval
  • Use Azure RBAC conditions to scope Sentinel access to specific workspace resources where supported
  • Review and rotate service connections between Copilot and Sentinel quarterly

Restrict Plugin Enablement

Default plugin configuration for Security Copilot may include plugins your organization does not use. Each enabled plugin expands the tool set available to the AI and any injected payload that influences Copilot behavior.

Disable all plugins not required for your SOC workflows. Treat plugin enablement as a change-controlled process, not a self-service action for individual analysts. Custom plugins should go through a security review before deployment, including code review and assessment of the permissions they request.

Limit Promptbook Automation

Promptbooks that run automatically or with minimal human interaction deserve special scrutiny. The "Continue on failure" feature in Security Copilot promptbooks allows a promptbook to keep running even if an intermediate step fails. In an automated context, this means a compromised step may not stop the workflow.

For promptbooks that take actions (not just read data), require human approval at each action step. For information-gathering promptbooks, review outputs before they feed into downstream automated workflows.

Monitoring Security Copilot Itself

Your SOC monitors everything else. Security Copilot should be monitored with the same rigor.

Enable Purview Audit Logging for Copilot

Security Copilot activity is captured in Microsoft Purview Unified Audit Log, but this must be explicitly configured. The audit log captures:

  • Prompt-response pairs (what was asked, what Copilot answered)
  • Promptbook runs (which promptbooks ran, when, and by whom)
  • Plugin configuration changes (plugins enabled, disabled, or modified)
  • Admin actions (tenant settings, agent triggers, plugin management)
Route Copilot audit data to a Sentinel workspace using the Security Copilot Enhance Audit solution, which includes a Sentinel connector, Log Analytics workbook, and detection rules for anomalous events. Treat Copilot audit logs as high-sensitivity data; restrict access to them to a small oversight group.

Detect Anomalous KQL Generation

KQL queries generated by Security Copilot during analyst sessions appear in Sentinel query logs. Build detection rules that alert on:

  • KQL queries accessing watchlists containing credentials or sensitive configuration
  • High-volume queries run in a short period (unusual for normal investigation workflows)
  • Queries accessing rarely-used log tables or workspace resources
  • Queries run outside normal analyst working hours

Review AI-Generated Summaries Before Action

Define a workflow requirement: for P1 and P2 incidents, the analyst responsible for the incident must verify at least two key facts from the AI-generated summary against raw alert data before initiating containment. This is a governance control, not a technical one, but it is the most direct mitigation for the false summary risk.

Governance Controls for AI-Assisted SOC Operations

Human-in-the-Loop Requirements

Security Copilot agents can recommend remediation actions: isolating devices, blocking users, or resetting credentials. None of these actions should execute automatically without a human decision point.

Microsoft's own guidance recognizes this. Their March 2025 announcement of Security Copilot agents emphasized that agents operate "with human oversight." Define explicit policies that specify which Copilot-recommended actions require one-person approval, which require two-person authorization, and which should never be executed without a formal change process even if Copilot recommends them.

AI Output Verification Protocol

Establish a written protocol for how SOC analysts treat Security Copilot output. A minimal protocol includes: Copilot summaries are drafts, not facts; analysts must cite raw data when escalating an incident to leadership; KQL queries generated by Copilot must be reviewed before being saved as analytics rules; plugin outputs from third-party sources require source verification before action.

This is especially important when junior analysts who may have the most trust in AI outputs are running first-level triage.

Three-Product Risk Comparison: Security Copilot vs. M365 Copilot vs. Copilot Studio

| Dimension | Security Copilot | M365 Copilot | Copilot Studio | |---|---|---|---| | Primary users | SOC analysts, security engineers | Knowledge workers | Developers, business users | | Data access | Sentinel, Defender XDR, Intune, Entra, Purview | Email, documents, Teams, SharePoint | External APIs, SharePoint, CRM | | Primary injection vector | Ingested threat intel, incident data | Office documents, email content | Public-facing form inputs | | Known CVEs | Indirect (related: CVE-2026-26164) | CVE-2026-26164 | CVE-2026-21520 (CVSS 7.5) | | Key RBAC consideration | Dual-layer: Copilot roles + Azure RBAC | M365 permissions + Entra | Copilot Studio environment roles | | Audit log destination | Purview UAL + Sentinel (additional config) | Purview UAL | Purview UAL + Power Platform | | Highest-impact misconfiguration | Over-permissioned Sentinel workspace | Oversharing in M365 permissions | Unauthenticated agent access |

Security Copilot carries the highest data sensitivity because it operates on security telemetry that other Copilot products do not access. A compromised Security Copilot session surfaces your SOC's complete incident history, detection logic, and threat hunting queries. That data is more sensitive than most SharePoint libraries.

Assessment Before and After Deployment

Before connecting Security Copilot to your Sentinel workspaces, assess:

  • Which workspaces contain your most sensitive log sources? Scope Copilot access to exclude these or restrict to senior analysts only.
  • Which analysts will use Copilot? Verify their current Sentinel RBAC does not exceed what they need for Copilot-assisted investigation.
  • Which plugins are enabled by default? Disable those not required for your workflows.
  • Does your SOC have a written policy for how AI outputs are verified? Create one before deployment if not.
  • Are promptbook runs included in your security monitoring? Configure Purview audit routing and Sentinel detection rules before go-live.
  • After deployment, run a quarterly review of: enabled plugins, Sentinel workspace access scope, analyst RBAC assignments, promptbook configurations with external actions, and Copilot audit log anomalies.

    For organizations that want an independent assessment of their Security Copilot configuration against current attack techniques, BeyondScale's AI security assessment covers the full Microsoft AI security surface, including Security Copilot, M365 Copilot, and Copilot Studio, with red-team testing against your specific deployment. You can also run a Securetom scan to identify AI exposure across your Microsoft environment before your next security review cycle.

    Conclusion

    Microsoft Security Copilot is a genuine capability multiplier for enterprise SOC teams. It also introduces a new class of risk that most security programs are not yet equipped to assess: an AI with privileged read access to your entire security estate that processes attacker-controlled data as part of its normal workflow.

    The microsoft security copilot risk model is not complex, but it requires security teams to stop treating Security Copilot like a SaaS application and start treating it like a privileged service account that reasons over your incident data in natural language. The controls are straightforward: scope Sentinel workspace access, restrict plugins, enable audit logging, require human verification before AI-recommended actions, and monitor Copilot sessions the same way you monitor any other privileged access.

    Organizations that deploy Security Copilot without these controls in place are not safer. They have a larger and less visible attack surface than before deployment.

    For the authoritative RBAC and audit configuration reference, see Microsoft's Security Copilot documentation on authentication and the OWASP Top 10 for LLM Applications 2025, which maps the injection and supply chain risk classes described in this guide to the AI systems your SOC now depends on.

    AI Security Audit Checklist

    A 30-point checklist covering LLM vulnerabilities, model supply chain risks, data pipeline security, and compliance gaps. Used by our team during actual client engagements.

    We will send it to your inbox. No spam.

    Share this article:
    Enterprise AI Security
    BT

    BeyondScale Team

    AI Security Team, BeyondScale Technologies

    Security researcher and engineer at BeyondScale Technologies, an ISO 27001 certified AI cybersecurity firm.

    Want to know your AI security posture? Run a free Securetom scan in 60 seconds.

    Start Free Scan

    Ready to Secure Your AI Systems?

    Get a comprehensive security assessment of your AI infrastructure.

    Book a Meeting