Most detection posts start from an indicator. This one can’t. ReLeak, the three zero-click Copilot chains Cato AI Labs disclosed on December 3, 2026, came with no IOCs, Microsoft fixed all three on its side, and two of the three exits never touched anything a customer logs. I covered the chains themselves in my analysis of ReLeak.
So why write rules at all? Because the way in hasn’t changed. Instructions hidden in content Copilot reads on someone’s behalf were the start of EchoLeak and ReLeak (an email) and of SearchLeak (a crafted link whose search query became the prompt), and they will be the start of the next one. What you get here: three experimental Sigma rules for the Purview audit log and a forward proxy, one KQL hunt for Defender for Office 365, and an honest list of what none of them can see.
At a glance
- Rules: 3 Sigma rules (1 alerting, 2 hunting) plus 1 KQL email hunt.
- Domains: Cloud-M365 (2 rules), Web/App (1 rule).
- Log sources: Microsoft Purview audit, CopilotInteraction records; forward proxy or secure web gateway with TLS inspection; Defender for Office 365 Plan 2 EmailEvents for the hunt.
- ATT&CK (my mapping): T1566 Phishing, T1114.002 Remote Email Collection, T1567 Exfiltration Over Web Service.
- Status: all experimental. The field names come from Microsoft’s documentation; the link to ReLeak is my inference.
- GitHub: Detection Rules/Cloud/M365 and Detection Rules/Web-App.
The case in brief
An attacker sends an email with instructions meant for the model. It can sit unread. When the user asks Copilot something that makes it retrieve that email, Copilot follows the instructions with the user’s own permissions and sends data out one of three ways: an image loaded through Bing, which then fetches the attacker’s URL; a Word, Excel, PowerPoint or PDF file saved to OneDrive or SharePoint whose link Microsoft’s background processing fetches one to eight minutes later; or code in the Copilot code interpreter sandbox calling out directly. Cato’s timeline: disclosed between July 29 and August 20, 2026, patched by Microsoft on September 17, November 11 and November 15. The full story is in the analysis.
Traces on your side: the inbound email in your mail logs, and a CopilotInteraction record in the Purview audit log listing what Copilot read and created. For the Bing exit only, there may also be a browser request to Bing, but you will only see its details if your proxy decrypts Bing traffic and logs full query strings. The file fetch and the sandbox egress happen inside Microsoft; Cato saw the file fetches arrive from Microsoft address space with a fake browser user agent.
Detection map

Read it left to right. Three telemetry sources feed one hunt and three rules. Everything lines up on the delivery and collection steps; on exfiltration, the proxy rule sees only the first exit and the file rule sees only a precursor of the second. The dashed box on the right is the gap that matters: the fetch and the sandbox egress run on Microsoft’s side, and no rule you write can see them.
Rule overview
| Rule | Domain | Log source | ATT&CK, my mapping (tactic / technique) | Level | Status |
|---|---|---|---|---|---|
| Copilot read a resource flagged for cross-prompt injection | Cloud-M365 | m365 / audit | Initial Access / T1566; Collection / T1114.002 | Medium | Experimental |
| Copilot created a file in OneDrive or SharePoint | Cloud-M365 | m365 / audit | Exfiltration / T1567 | Low (hunting) | Experimental |
| Bing request with an embedded URL from a Copilot page | Web/App | proxy | Exfiltration / T1567 | Low (hunting) | Experimental |
The rules
Microsoft 365 Copilot Read a Resource Flagged for Cross-Prompt Injection
Context: Microsoft’s Purview documentation says each CopilotInteraction record (RecordType 261, with the details under CopilotEventData) lists the resources Copilot accessed, and each entry carries XPIADetected, a boolean flag for a cross prompt injection attack (XPIA) found in that resource. That is the closest thing to a “hostile instructions reached Copilot” signal a tenant gets. Cato says ReLeak got past Microsoft’s injection protections, so the real chains probably never set it; this rule is for the copycats and the next variant.
Condition: alert when a CopilotInteraction audit record shows any accessed resource with XPIADetected set to true.
ATT&CK (my mapping): Initial Access (TA0001) – T1566 Phishing; Collection (TA0009) – T1114.002 Remote Email Collection. ATT&CK has no technique for prompt injection itself, so I map the delivery and the effect.
title: Microsoft 365 Copilot Read a Resource Flagged for Cross-Prompt Injection
id: d1de096a-ba86-4d8f-a652-52e2d4033204
status: experimental
description: |
Detects a CopilotInteraction audit record in which Microsoft flagged a cross prompt injection attack (XPIA) in a
resource Copilot read to answer the user, such as an inbound email. ReLeak, EchoLeak and similar chains start with
instructions hidden in content Copilot retrieves; a hit means hostile instructions reached the model, whether or not
they worked. ReLeak itself bypassed Microsoft's injection protections, so absence of hits is not proof of safety.
references:
- https://learn.microsoft.com/en-us/purview/audit-copilot
- https://learn.microsoft.com/en-us/office/office-365-management-api/copilot-schema
- https://www.catonetworks.com/blog/releak-three-zero-click-data-exfiltration-chains-in-microsoft-365-copilot/
- https://netsec101.com/?p=678
author: netsec101.com
date: 2026-12-04
tags:
- attack.initial-access
- attack.t1566
- attack.collection
- attack.t1114.002
logsource:
product: m365
service: audit
definition: 'Requirement: Microsoft Purview audit (Standard) enabled and CopilotInteraction records (RecordType 261, Workload Copilot) shipped to the SIEM, e.g. via the Office 365 Management Activity API catch-all Audit.General content type. XPIADetected is a boolean in each entry of the CopilotEventData.AccessedResources array; map the path to how your pipeline flattens arrays.'
detection:
selection_operation:
Operation: 'CopilotInteraction'
selection_xpia:
CopilotEventData.AccessedResources.XPIADetected: true
condition: all of selection_*
falsepositives:
- Phishing simulations or red-team emails that carry prompt-injection text on purpose
- Security newsletters, research mail or tickets that quote prompt-injection examples
level: medium
False positives and tuning: phishing simulations and red-team mail that carry injection text on purpose, and security newsletters or tickets that quote injection examples. Exclude known simulation senders by joining on the resource ID back to the message, rather than suppressing the user. XPIADetected lives inside the CopilotEventData.AccessedResources array, so make sure your pipeline matches “any element”, not only the first.
How to test: from an external test mailbox, send a harmless email with an obvious “ignore your previous instructions” line, ask Copilot to summarise recent mail, then search the audit log for the CopilotInteraction record. Don’t be surprised by a miss: Microsoft’s own email detection notes that a basic test from a known sender may not trigger, and XPIA flagging isn’t guaranteed either.
Microsoft 365 Copilot Created a File in OneDrive or SharePoint
Context: in ReLeak’s second chain, Copilot wrote a file with a data-bearing link and Microsoft’s background processing fetched it. You can’t see the fetch, but the audit log records that Copilot created something (Action create in AccessedResources). Files created during the exposure window, before the November 11 fix, are worth a look for external links.
Condition: list every CopilotInteraction where an accessed resource has Action create.
ATT&CK (my mapping): Exfiltration (TA0010) – T1567 Exfiltration Over Web Service.
title: Microsoft 365 Copilot Created a File in OneDrive or SharePoint
id: 9357d214-b98f-4ff1-9bd5-d21efec15f54
status: experimental
description: |
Hunting rule. Lists CopilotInteraction audit records in which Copilot created a resource, such as a Word, Excel,
PowerPoint or PDF file saved to OneDrive or SharePoint. In the ReLeak generated-file chain, a Copilot-written file
carried a data-bearing link that Microsoft background processing fetched minutes later. Review created files from
the exposure window for external links, starting with interactions that also read external email.
references:
- https://learn.microsoft.com/en-us/purview/audit-copilot
- https://learn.microsoft.com/en-us/office/office-365-management-api/copilot-schema
- https://www.catonetworks.com/blog/releak-three-zero-click-data-exfiltration-chains-in-microsoft-365-copilot/
- https://netsec101.com/?p=678
author: netsec101.com
date: 2026-12-04
tags:
- attack.exfiltration
- attack.t1567
- detection.threat-hunting
logsource:
product: m365
service: audit
definition: 'Requirement: Microsoft Purview audit (Standard) enabled and CopilotInteraction records (RecordType 261, Workload Copilot) shipped to the SIEM. Action is a string in each entry of the CopilotEventData.AccessedResources array (Microsoft examples show "Read"); check the casing of create in your own records.'
detection:
selection_operation:
Operation: 'CopilotInteraction'
selection_create:
CopilotEventData.AccessedResources.Action: 'create'
condition: all of selection_*
falsepositives:
- Every legitimate "draft a document" request; this is a review list, not an alert
level: low
False positives and tuning: every legitimate “draft me a document” request. This is a review list, not an alert. Narrow it by joining on users whose Copilot sessions also read external email the same day, or by sensitivity label on the created file, then scan the files for links to domains you don’t know.
How to test: ask Copilot in Word or Copilot Chat to create a short document, then find the CopilotInteraction record and check for the create action. Check the exact value casing in your own records.
Bing Request Carrying an Embedded URL Loaded From a Microsoft 365 Copilot Page
Context: the first ReLeak exit, like SearchLeak in June 2026, wrapped the attacker’s URL in a Bing search-by-image link; the browser loaded it and Bing fetched the embedded URL, carrying the data. Cato doesn’t publish the exact request, so this rule looks for the shape: a Bing request whose query string holds a full URL and whose Referer is a Copilot web page. It only works if your proxy decrypts Bing traffic and logs the full query and Referer.
Condition: list proxy requests where the host ends in bing.com, the Referer contains microsoft365.com, copilot.cloud.microsoft or office.com (my inferred list of Copilot web hosts, not published indicators), and the query string contains an http or https URL, plain or URL-encoded.
ATT&CK (my mapping): Exfiltration (TA0010) – T1567 Exfiltration Over Web Service.
title: Bing Request Carrying an Embedded URL Loaded From a Microsoft 365 Copilot Page
id: 17297a42-a78c-4f73-b06e-9338d89c36c1
status: experimental
description: |
Hunting rule. Detects browser requests to Bing whose query string contains a full URL, sent from a Microsoft 365
Copilot web page. ReLeak and SearchLeak both moved stolen data out by having Bing fetch an attacker URL on the
browser's behalf, via a Bing search-by-image URL. The Referer host list and the query match are my inference, not
published indicators, and the rule only sees traffic your proxy decrypts.
references:
- https://www.catonetworks.com/blog/releak-three-zero-click-data-exfiltration-chains-in-microsoft-365-copilot/
- https://www.varonis.com/blog/searchleak
- https://netsec101.com/?p=678
author: netsec101.com
date: 2026-12-04
tags:
- attack.exfiltration
- attack.t1567
- detection.threat-hunting
logsource:
category: proxy
definition: 'Requirement: forward proxy or secure web gateway with TLS inspection for bing.com that logs the full query string and the Referer header. Copilot inside desktop apps may not send a Referer or may bypass the proxy.'
detection:
selection_host:
cs-host|endswith: 'bing.com'
selection_referrer:
cs-referrer|contains:
- 'microsoft365.com'
- 'copilot.cloud.microsoft'
- 'office.com'
selection_embedded_url:
c-uri-query|contains:
- 'http://'
- 'https://'
- 'http%3A%2F%2F'
- 'https%3A%2F%2F'
condition: all of selection_*
falsepositives:
- Users clicking Bing search or image results from Copilot answers that legitimately carry a source URL
- Copilot web-grounding citations that link back through Bing
level: low
False positives and tuning: users clicking Bing results or citations from a Copilot answer, which can legitimately carry a URL. Look for long query strings, encoded blobs inside the embedded URL, and destinations that are not well-known sites. Copilot in the Outlook or Teams desktop apps may not send a Referer, or may bypass the proxy, so a quiet result is not a clean bill of health.
How to test: write a synthetic proxy log line with host http://www.bing.com, a Referer of a Copilot page and a query containing an encoded https URL, then run it through the converted query.
Email hunt: Defender for Office 365 prompt injection verdicts
Not a Sigma rule, and untested against a real tenant, because there’s no standard Sigma log source for Defender’s EmailEvents table. Microsoft documents that Defender for Office 365 Plan 2 flags prompt injection in inbound mail under the High confidence phishing verdict with the detection technology “Prompt injection protection”, and that it focuses on injections that try to exfiltrate data through a URL, among others. The columns below are from Microsoft’s EmailEvents schema, but the schema page doesn’t list the prompt-injection value, so treat this as a starting point and adjust the match once you have seen the exact DetectionMethods string in your own tenant:
EmailEvents
| where Timestamp > ago(30d)
| where DetectionMethods has "Prompt injection"
| project Timestamp, NetworkMessageId, SenderFromAddress, RecipientEmailAddress, Subject, DeliveryAction, DetectionMethods
Then check whether any recipient used Copilot after delivery, using the CopilotInteraction records from the first rule.
Coverage and gaps
| Step in the case | Tactic | Technique | Rule | Covered? |
|---|---|---|---|---|
| Injected email delivered | Initial Access (TA0001) | T1566 | Email hunt; rule 1 once Copilot reads it | Partial |
| Copilot reads mailbox data for the attacker | Collection (TA0009) | T1114.002 | Rule 1 | Partial, only if XPIA flags it |
| Exit 1: Bing image relay | Exfiltration (TA0010) | T1567 | Rule 3 | Partial, needs TLS inspection |
| Exit 2: generated file fetched by Microsoft | Exfiltration (TA0010) | T1567 | Rule 2 | Precursor only |
| Exit 3: code interpreter egress | Exfiltration (TA0010) | T1567 | None | No |
The gap is structural. Exits two and three ran on Microsoft infrastructure: background processing fetching a link, and a sandbox that Microsoft documents as allowing no inbound or outbound traffic. No proxy, firewall or EDR in your tenant sits on that path. The only party that could log those requests is Microsoft. Until it exposes them in the audit log, the best you can do is shrink the input side: Restricted Content Discovery for sensitive SharePoint sites and Purview DLP for Copilot to keep labelled files and email out of its reach.
Deploying the rules
Pull the YAML from the repo and convert it with sigma-cli. There is no field-mapping pipeline I trust for the Purview CopilotInteraction schema, so convert without one and map the fields by hand to how your SIEM stores the unified audit log (the nested CopilotEventData.AccessedResources array is the part that needs care). I didn’t have sigma-cli on hand for this post, so these commands are untested; Splunk is just the example backend:
sigma convert -t splunk --without-pipeline m365_audit_copilot_interaction_xpia_detected.yml
sigma convert -t splunk --without-pipeline m365_audit_copilot_created_file_hunting.yml
sigma convert -t splunk --without-pipeline proxy_bing_request_with_embedded_url_from_m365_copilot.yml
For the proxy rule, check that your gateway’s field names match cs-host, cs-referrer and c-uri-query. Run everything in alert-only mode for a week before it pages anyone; the two hunting rules should never page anyone at all.
My take
Detectability for this case is low, and I’d rather say so than pad the post. Two of three exits are invisible to customers by design, and the one signal Microsoft gives you, XPIADetected, is exactly what ReLeak was built to dodge. If you only turn on one thing, make it the XPIADetected rule, plus the email hunt if you have Plan 2. They are cheap, they cover the part of the attack that every variant shares, and a hit is worth a human look.
The rule I’d really like to write would match “Copilot caused an outbound request to a domain this tenant has never seen”. Microsoft has that data and customers don’t. Logging the outbound fetches Copilot triggers, with the destination host, in the CopilotInteraction record would turn this from guesswork into a one-line rule. Until then, spend more effort on what Copilot can read than on catching what it sends.
Sources
- Zero-click attacks in Microsoft 365 Copilot enabled data theft, BleepingComputer, December 3, 2026
- ReLeak: Three Zero-Click Data Exfiltration Chains in Microsoft 365 Copilot, One Year After EchoLeak, Vitaly Simonovich, Cato AI Labs, December 3, 2026
- CVE-2026-78501: Microsoft 365 Copilot Business Chat Information Disclosure Vulnerability, Microsoft Security Response Center, September 17, 2026 (revised October 13, 2026)
- CopilotInteraction (Office 365 Management Activity API schema), Microsoft Learn, updated December 19, 2025
- EmailEvents table in the advanced hunting schema, Microsoft Learn, updated October 28, 2026
- Audit logs for Copilot and AI applications, Microsoft Learn, August 26, 2026
- Prompt injection protection in Microsoft Defender for Office 365, Microsoft Learn, updated September 10, 2026
- Microsoft Copilot prompt defense in depth, Microsoft Learn, September 10, 2026
- Code Interpreter Security Architecture in Microsoft 365 Copilot, Microsoft Learn, updated November 16, 2026
- SearchLeak: How We Turned M365 Copilot Into a One-Click Data Exfiltration Weapon, Varonis Threat Labs, June 2026

























