SOC336 — Windows OLE Zero-Click RCE Exploitation Detected (CVE-
A malicious RTF attachment exploited a Windows OLE zero-click vulnerability (CVE-2025-21298) when opened or previewed in Outlook, allowing arbitrary code execution. The attacker then used regsvr32 to fetch and execute a remote script, attempting command-and-control communication.
Published on medium.com
On February 04, 2025, 04:18 PM a critical alert was triggered by OLE Zero-Click RCE (Remote Code Execution) Exploitation hidden inside an attachment file.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely a memory corruption flaw in Windows OLE that is triggered when Outlook processes a malicious RTF document.
Impact
An attacker could execute arbitrary code on the victim's system and establish command-and-control communication.
What the attacker needed
Victim uses Microsoft Outlook; victim opens or previews the email; malicious RTF attachment
The fix
The system should be patched for CVE-2025-21298, and additional mitigations such as blocking regsvr32 outbound connections and adding detection rules should be applied.
How it was found
- Attacker sends an email with a malicious RTF attachment to the target.
- Victim opens or previews the email in Microsoft Outlook, triggering the vulnerability.
- The exploit executes and spawns a command shell.
- The shell runs regsvr32.exe to download and execute a remote script from the attacker's server.
- The script attempts to communicate with a command-and-control server.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
This report describes a flaw in Windows that lets a specially crafted email attachment run harmful code without the user clicking anything, just by opening or previewing the message. The attacker then used a built-in Windows tool to download and run a script from the internet, which is a common way to take control of a computer.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.