Query Details
// CVE-2025-32705 Out-of-bounds Read Detection let InboundMailAttachment = EmailAttachmentInfo | where Timestamp > ago(1h) | join EmailEvents on NetworkMessageId | where EmailDirection == "Inbound" and LatestDeliveryAction != "Blocked" | distinct FileName; let VulnerableEP = DeviceTvmSoftwareVulnerabilities | where CveId == "CVE-2025-32705" | distinct DeviceName; let MailAttachmentOpen = DeviceFileEvents | where Timestamp > ago(1h) | where ActionType == "FileCreated" | where InitiatingProcessFileName == "outlook.exe" | where FileName has_any(InboundMailAttachment) and DeviceName has_any(VulnerableEP) | distinct DeviceName; DeviceEvents | where Timestamp > ago(1h) | where ActionType == "ReadProcessMemoryApiCall" | where DeviceName has_any(MailAttachmentOpen)
This query is designed to detect potential security incidents related to the CVE-2025-32705 vulnerability, which involves out-of-bounds read operations. Here's a simplified breakdown of what the query does:
Identify Inbound Email Attachments:
Identify Vulnerable Devices:
Track Attachment Open Events:
Detect Suspicious Memory Read Operations:
In summary, the query is tracking the sequence of events where a potentially malicious email attachment is opened on a vulnerable device, followed by suspicious memory read operations, which could indicate an exploitation attempt of the CVE-2025-32705 vulnerability.

Steven Lim
Released: May 22, 2025
Tables
Keywords
Operators