Back to Intelligence

Zero-Click ReLeak Attacks on Microsoft 365 Copilot — Detecting and Defending Against Prompt-Injection Data Theft

SA
Security Arsenal Team
December 3, 2026
12 min read

Introduction

Security researchers have disclosed a set of three zero-click attack techniques — collectively dubbed ReLeak — that bypass the prompt-injection protections Microsoft shipped for Microsoft 365 Copilot after the EchoLeak disclosure. The practical impact: an attacker can send a crafted email to a target mailbox, and when Copilot later processes that mailbox as part of its normal grounding and summarization behavior, the embedded instructions execute without the victim clicking anything, opening anything, or receiving any warning. Confidential content from internal emails can be extracted and routed to attacker-controlled infrastructure.

For defenders, this is not a theoretical AI-safety exercise. Microsoft 365 Copilot sits on top of the very data stores we spend millions protecting — Exchange Online mailboxes, SharePoint document libraries, OneDrive, and Teams. Any technique that converts a passive AI assistant into an exfiltration channel collapses two trust boundaries at once: the perimeter (the email simply arrives) and data classification (Copilot legitimately has read access to the user's mail). The attack inherits the victim's permissions, which makes it an identity- and data-layer threat rather than a classic endpoint one.

The good news: Microsoft has applied server-side mitigations for the disclosed variants, and there are concrete detection and hardening steps your SOC can implement today. This post breaks down how ReLeak-style attacks work, what is realistically observable, and the controls we recommend deploying.

Technical Analysis

Affected Products and Platforms

  • Microsoft 365 Copilot (the AI assistant integrated across Word, Outlook, Teams, and the M365 Copilot chat surface)
  • Microsoft 365 Copilot Chat experiences that ground responses in tenant data via the semantic index
  • Underlying data stores exposed to Copilot grounding: Exchange Online, SharePoint Online, OneDrive for Business, and Teams

Because the attack chain executes inside Microsoft's SaaS control plane, there is no vulnerable client-side binary and no traditional patch to deploy on endpoints. The 'affected version' is effectively any tenant where Copilot is licensed and able to ground on user mailboxes. Tenants that have not deployed Copilot are not exposed to this specific technique.

CVE Identifiers and Scoring

No CVE identifier has been published in association with the ReLeak disclosure at the time of writing, and no CVSS score is available. This is common for SaaS-side AI vulnerabilities that are remediated server-side rather than through a trackable patch. Do not wait for a CVE to appear in your vulnerability scanner — this will not show up in your VM tooling. It belongs in your threat detection and cloud control plane monitoring workflows instead.

How the Attack Works — Defender's View

ReLeak is a zero-click indirect prompt injection (also called latent prompt injection) attack. From a blue-team perspective, the chain looks like this:

  1. Delivery: The attacker sends a benign-looking email to the victim's mailbox. The payload is concealed using techniques that defeat both human review and Microsoft's prompt-injection classifiers — for example, instructions hidden via HTML tricks (zero-size fonts, white-on-white text, display:none elements) or phrased in ways that evade the filter's detection patterns.

  2. Activation: The victim — or a background process — causes Copilot to ground on the mailbox. This can be as simple as the user asking Copilot to summarize recent email, or Copilot proactively surfacing mailbox content. No interaction with the malicious email itself is required, which is what makes this zero-click.

  3. Execution: The embedded instructions hijack Copilot's prompt context. Instead of summarizing email, Copilot is directed to locate confidential information (for example, emails containing passwords, financial data, contracts, or other mailboxes' content accessible to the user) and assemble it for exfiltration.

  4. Exfiltration: The stolen data is smuggled out through channels that render in the Copilot UI — most commonly a crafted markdown image or hyperlink whose URL embeds the exfiltrated content as an encoded query parameter pointing at attacker-controlled infrastructure. When the client renders the response, the request fires and the data leaves the tenant. The disclosed ReLeak variants demonstrate three distinct ways of achieving this despite Microsoft's earlier mitigations.

Key characteristics that matter for detection design:

  • The email ingress event is a normal inbound message — it survives spam and phishing filters because it carries no malware and no traditional phishing lure.
  • The privileged action (mailbox read) is performed by Copilot itself, under the user's identity and permissions. Audit logs show legitimate Copilot operations.
  • The egress event is an outbound HTTP(S) request from the Copilot client surface (browser, Teams, or Outlook) to a rare external domain, with data encoded in the URL.

Exploitation Status

  • Proof of concept: Yes — the researchers demonstrated working zero-click exfiltration across all three variants.
  • Confirmed in-the-wild exploitation: No public confirmation of widespread exploitation at the time of writing. Treat this as a pre-commoditization window; techniques like this historically migrate into red-team tooling and then criminal ecosystems within months.
  • CISA KEV: Not listed (no CVE assigned).
  • Vendor remediation: Microsoft has applied server-side mitigations for the disclosed variants. However, the researchers' findings demonstrate that classifier-based prompt-injection defenses remain bypassable, so defense-in-depth on your side is still warranted.

Detection & Response

This is a technical threat, so the full detection stack below applies. A note of candor before the rules: because this attack runs inside Microsoft's SaaS, endpoint rules for 'Copilot spawning a process' would be pure noise — I am deliberately not writing them. What is observable, and where you should focus, is: (a) the inbound email carrying hidden injection content, (b) anomalous Copilot grounding activity in Purview/M365 audit logs, and (c) the exfiltration request to a rare external domain. The detections below target exactly those three points.

SIGMA Rules

YAML
---
title: Inbound HTML Email with Hidden Prompt-Injection Indicators
id: 3f7c2a91-4b8d-4e5f-9a6c-1d2e3f4a5b6c
status: experimental
description: Detects inbound email whose HTML body contains concealed text (zero-size fonts, hidden elements, white-on-white styling) combined with LLM instruction-override phrases. This pattern is consistent with indirect prompt-injection payloads such as the ReLeak variants targeting Microsoft 365 Copilot, where attacker instructions are hidden from both the recipient and prompt-injection classifiers.
references:
  - https://www.bleepingcomputer.com/news/security/zero-click-attacks-in-microsoft-365-copilot-enabled-data-theft/
  - https://attack.mitre.org/techniques/T1566/001/
author: Security Arsenal
date: 2026/06/15
tags:
  - attack.initial_access
  - attack.t1566.001
logsource:
  category: email
detection:
  selection_hidden:
    Body|contains:
      - 'font-size:0'
      - 'font-size: 0'
      - 'display:none'
      - 'display: none'
      - 'visibility:hidden'
      - 'color:#FFFFFF'
      - 'color: #FFFFFF'
      - 'color:white'
  selection_instructions:
    Body|contains:
      - 'ignore previous instructions'
      - 'ignore all previous'
      - 'disregard previous'
      - 'disregard all prior'
      - 'new instructions:'
      - 'you are now'
      - 'system prompt'
      - 'assistant instructions'
  condition: selection_hidden and selection_instructions
falsepositives:
  - Legitimate marketing mail uses hidden preheader text (font-size:0), but the AND-condition with instruction-override phrases sharply limits noise; expect occasional hits from adversarial spam.
level: high
---
title: Possible AI Assistant Data Exfiltration via Encoded URL Parameters
id: 9e1b4d72-6c3a-4f89-b2d5-7a8c9d0e1f2a
status: experimental
description: Detects outbound web requests carrying high-entropy, base64-like encoded data in URL query parameters using parameter names consistent with smuggled content. ReLeak-style attacks exfiltrate mailbox data by rendering attacker URLs in the Copilot UI with stolen content embedded in the request; proxy and SWG logs capture this egress event even though the read action occurred inside Microsoft's SaaS.
references:
  - https://www.bleepingcomputer.com/news/security/zero-click-attacks-in-microsoft-365-copilot-enabled-data-theft/
  - https://attack.mitre.org/techniques/T1567/
author: Security Arsenal
date: 2026/06/15
tags:
  - attack.exfiltration
  - attack.t1567
logsource:
  category: proxy
detection:
  selection:
    cs-uri-query|re: '(?i)(data|payload|content|msg|d|q)=[A-Za-z0-9%2B%2F%3D_-]{80,}'
falsepositives:
  - OAuth, SAML, and SSO flows use long encoded parameters (id_token, SAMLResponse, RelayState). Allowlist your identity providers and known SaaS domains before enabling at high sensitivity.
level: medium

Microsoft Sentinel / Defender KQL

Hunting Copilot abuse requires combining three data planes: the M365 unified audit log (OfficeActivity — which records CopilotInteraction operations), Defender for Office email telemetry, and Defender for Endpoint network telemetry for the egress leg. Run these as scheduled analytics with a 7-day lookback initially, then tighten thresholds to your baseline.

KQL — Microsoft Sentinel / Defender
// 1) Anomalous Copilot grounding activity per user — a hijacked session tends to touch far more mailbox items than organic use
OfficeActivity
| where TimeGenerated > ago(7d)
| where Operation =~ 'CopilotInteraction'
| summarize Interactions = count(), DistinctObjects = dcount(OfficeObjectId), FirstSeen = min(TimeGenerated), LastSeen = max(TimeGenerated)
    by UserId, bin(TimeGenerated, 1h)
| where Interactions > 50 or DistinctObjects > 100   // tune to tenant baseline; Copilot summarization of a large mailbox spikes here during injection events
| sort by Interactions desc

// 2) Egress hunt — Copilot/Office/Teams/browser surfaces requesting rare external URLs with exfil-style encoded parameters
let OfficeProcs = dynamic(['ms-teams.exe','outlook.exe','msedge.exe','chrome.exe','copilot.exe']);
DeviceNetworkEvents
| where TimeGenerated > ago(7d)
| where InitiatingProcessFileName in~ (OfficeProcs)
| where isnotempty(RemoteUrl)
| where RemoteUrl matches regex @'(\?|&)(data|payload|content|msg|d|q)=[A-Za-z0-9%2B%2F%3D_-]{80,}'
| summarize Hits = count(), FirstSeen = min(TimeGenerated), Devices = dcount(DeviceId)
    by RemoteDomainName, InitiatingProcessFileName
| where Hits < 20   // rarity filter — exfil domains are fresh and unpopular; common SaaS endpoints are high-volume

// 3) Supporting hunt — first-time external senders delivering URL-rich mail, candidate injection delivery vector
EmailEvents
| where TimeGenerated > ago(7d)
| where SenderFromAddress !contains '@yourdomain.com'   // replace with your tenant domains
| join kind=leftanti (
    EmailEvents
    | where TimeGenerated > ago(90d)
    | summarize by SenderFromAddress
  ) on SenderFromAddress   // sender never seen in the prior 90 days
| summarize MailCount = count(), Recipients = make_set(RecipientEmailAddress, 50)
    by SenderFromAddress, SenderFromDomain
| where MailCount < 10   // single low-volume drops to targeted recipients — consistent with spear delivery, not bulk mail

Velociraptor VQL

Endpoint artifacts for this attack are thin — the execution happens in Microsoft's cloud — but two things do land on disk: saved/cached copies of the malicious email and the browser/Teams cache of rendered exfil URLs. This artifact hunts endpoints for .eml/.msg/.html artifacts containing hidden-content prompt-injection markers, useful during IR scoping and retro hunts after a suspected incident.

VQL — Velociraptor
-- ReLeak prompt-injection artifact hunt: scan stored email and HTML files for hidden injection content
SELECT FullPath, Size, ModifiedTime,
       read_file(length=200000, accessor='file', filenames=FullPath) AS Content
FROM glob(globs=['/*/Users/*/Downloads/**/*.eml',
                 '/*/Users/*/Downloads/**/*.html',
                 '/*/Users/*/Documents/**/*.eml',
                 '/*/Users/*/AppData/Local/Microsoft/Outlook/**/*.eml'],
          accessor='file')
WHERE Content =~ '(?i)(font-size:\s?0|display:\s?none|visibility:\s?hidden)'
  AND Content =~ '(?i)(ignore (all )?previous|disregard (all )?prior|new instructions|you are now|system prompt)'

Remediation and Verification Script

The following PowerShell validates that unified audit logging is capturing Copilot activity, pulls the last 7 days of CopilotInteraction operations from the Purview/M365 unified audit log, and flags users whose hourly interaction counts exceed a tunable threshold — giving you an exportable anomaly list for the SOC. Requires the ExchangeOnlineManagement module and audit (read) permissions.

PowerShell
# Requires: Install-Module ExchangeOnlineManagement; run as an account with Audit Logs read rights
$ThresholdInteractionsPerHour = 50   # tune after baselining
$Start = (Get-Date).AddDays(-7)
$End   = Get-Date

Connect-ExchangeOnline

# Verify unified audit logging is enabled for the tenant
$adminConfig = Get-AdminAuditLogConfig
if (-not $adminConfig.UnifiedAuditLogIngestionEnabled) {
    Write-Warning 'Unified audit log ingestion is disabled — Copilot interaction auditing will be blind. Enable it in Purview before hunting.'
}

# Pull Copilot interaction operations
Write-Host 'Querying unified audit log for CopilotInteraction operations...' -ForegroundColor Cyan
$records = Search-UnifiedAuditLog -StartDate $Start -EndDate $End \
    -Operations 'CopilotInteraction' -ResultSize 5000 -SessionCommand ReturnLargeSet

# Parse and aggregate per user per hour
$parsed = $records | ForEach-Object {
    $a = $_.AuditData | ConvertFrom-Json
    [PSCustomObject]@{
        Time      = [datetime]$a.CreationTime
        User      = $a.UserId
        Operation = $a.Operation
        AppHost   = $a.AppHost
        Item      = $a.Item
    }
}

$anomalies = $parsed | Group-Object User, @{Expression={$_.Time.ToString('yyyy-MM-dd-HH')}} |
    Where-Object { $_.Count -ge $ThresholdInteractionsPerHour } |
    Select-Object @{n='User';e={($_.Name -split ',')[0]}},
                  @{n='Hour';e={($_.Name -split ',')[1]}},
                  @{n='InteractionCount';e={$_.Count}} |
    Sort-Object InteractionCount -Descending

$anomalies | Export-Csv -Path '.\Copilot_Anomalous_Interactions.csv' -NoTypeInformation
if ($anomalies) {
    Write-Warning 'Anomalous Copilot activity detected — review Copilot_Anomalous_Interactions.csv and pivot to Sentinel KQL for egress correlation.'
} else {
    Write-Host 'No anomalous Copilot interaction volumes detected in the lookback window.' -ForegroundColor Green
}

Disconnect-ExchangeOnline -Confirm:$false

Remediation

There is no client-side patch for this issue — Microsoft remediated the disclosed ReLeak variants server-side. Your remediation effort is therefore about reducing blast radius and adding detection depth. Prioritized actions:

  1. Confirm auditing is on. Unified audit logging must be enabled in Microsoft Purview so CopilotInteraction operations are captured. Without it, steps 4 and 5 below are blind. Verify in the Purview compliance portal or with the script above.

  2. Tighten who gets Copilot. Audit Copilot license assignments. Remove licenses from service accounts, shared mailboxes, dormant users, and any population that does not have a business need. Every licensed seat is additional attack surface, and the attack inherits that user's mailbox permissions.

  3. Constrain Copilot's data reach with sensitivity labels and DLP. Apply Microsoft Purview sensitivity labels to confidential mailboxes and documents and enforce Data Loss Prevention policies so that label-protected content is excluded from Copilot grounding where your licensing supports it. A successful injection cannot exfiltrate what Copilot is not permitted to read.

  4. Harden the email ingress side. Ensure Defender for Office 365 (Plan 2 where possible) is configured with Safe Links, Safe Attachments, and Zero-hour Auto Purge (ZAP) enabled, and that anti-phishing policies are not relaxed for bulk or spoofing senders. The ReLeak delivery email carries no malware, so content-based filtering will not catch it — but hidden-content detection (the Sigma rule above and your SEG's HTML analysis) gives you a fighting chance at the ingress point.

  5. Deploy the detections. Operationalize the KQL queries in Sentinel (or Defender advanced hunting), the Sigma rules in your email-gateway and proxy pipelines, and the VQL artifact in your Velociraptor deployment. Alert on the anomalous-Copilot-volume query at medium severity and the egress query at high severity.

  6. Monitor and restrict egress. Enforce proxy/secure-web-gateway controls that block or at least log requests to newly registered and low-reputation domains from Office client surfaces. The exfiltration leg is the one place you can physically cut the chain.

  7. Track vendor advisories. Monitor the Microsoft Security Response Center (MSRC) and Microsoft 365 Copilot release/security notes for follow-on mitigations, since classifier-bypass research in this space is moving quickly. No CISA KEV entry or remediation deadline currently applies (no CVE has been assigned).

  8. Prepare the IR playbook. Add an AI-assistant exfiltration scenario to your incident response runbooks: scope via Purview audit (which users, which items Copilot touched), contain by revoking Copilot licenses for affected users, and investigate egress via proxy and Defender network telemetry.

The strategic takeaway: Copilot and similar assistants are now part of your data security perimeter. Treat tenant AI features as privileged identities — audit them, least-privilege them, and assume their prompt context is adversarially controllable.

Related Resources

Security Arsenal Penetration Testing Services AlertMonitor Platform Book a SOC Assessment vulnerability-management Intel Hub

Is your security operations ready?

Get a free SOC assessment or see how AlertMonitor cuts through alert noise with automated triage.