SOC Analysis of Event 314: SOC336 — Windows OLE Zero-Click
A phishing email with an RTF attachment triggered a SOC alert for a Windows OLE zero-click RCE (CVE-2025-21298). The endpoint showed a regsvr32 command that downloaded and executed a remote script, indicating the exploit succeeded.
Published on medium.com
In order to keep up with the flow of how a SOC Analyst operates day to day, I utilize LetsDefend to keep myself sharp as an aspiring SOC analyst. I have personally completed their SOC Analyst pathway and will be conducting write-ups on the practice alerts the platform provides.
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 vulnerability in Windows OLE handling of RTF content (CVE-2025-21298) allowed code execution when the email was previewed, and the endpoint permitted the resulting regsvr32 command to run.
Impact
The exploit could allow an attacker to run arbitrary code on the victim's machine without user interaction, and in this case the malicious command was executed and the device allowed it.
What the attacker needed
Victim uses Outlook; victim previews a malicious RTF email; no click required
How it was found
- The analyst reviewed the alert artifacts: sender address, subject line, attachment extension (RTF), and device action.
- The analyst searched the attachment hash and SMTP address in VirusTotal; both were flagged.
- The analyst reviewed the email content and found vague, urgent language typical of phishing.
- The analyst checked the endpoint's terminal history and processes and found a regsvr32 command that downloaded and executed a remote script.
- The analyst marked the event as a true positive, contained the endpoint, and escalated the case.
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 is a write-up of a security operations centre (SOC) analyst investigating an alert. A phishing email carried a malicious Rich Text Format (RTF) file that, when previewed in Outlook, could let an attacker run code on the victim's computer without any click. The analyst confirmed the attack by finding a suspicious command on the machine that downloaded and ran a remote script.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.