Skip to content
RCE Write-up Intermediate

SOC336 — Windows OLE Zero-Click RCE Exploitation Detected (CVE-2025–21298)

A phishing email delivered a malicious attachment that led to execution of a remote script via regsvr32.exe, exploiting a Windows OLE zero-click vulnerability. An attacker could gain code execution on the victim's host.

Ghostploit Follow

Published on infosecwriteups.com

Hello, my digital adventurers! Today I’m going to investigate the new Letsdefend alert.

Ghostploit, on infosecwriteups.com

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 zero-click vulnerability in Windows OLE (CVE-2025-21298) that allows code execution when a specially crafted document is processed, combined with a Squiblydoo technique using regsvr32.exe to run a remote script.

Impact

The attacker gained successful access to the system and could execute code on the victim's host.

What the attacker needed

Victim receives phishing email; victim opens attachment; Windows OLE vulnerability present

How it was found

  1. A phishing email with an attachment was sent to the victim.
  2. The victim's host executed regsvr32.exe to run a remote script hosted on a suspicious domain.
  3. The analyst checked the file hash on VirusTotal and confirmed it was malicious.
  4. The analyst confirmed the SMTP IP in Threat Intel and closed the alert as a true positive.

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 alert where a user received a phishing email with a malicious attachment. The attachment caused the computer to run a remote script, which is a way for an attacker to run their own code on the machine. The vulnerability is in a Windows feature called OLE, which lets documents embed other objects.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

More by Ghostploit

View all

7 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.