Four Bytes and a Timer: Inside the SmartScreen Enclave Break

Researchers used a four-byte write and a timing bug to run code inside the VBS enclave guarding SmartScreen passwords, on the same day Patch Tuesday landed.

Share
Four Bytes and a Timer: Inside the SmartScreen Enclave Break. Feature image on debugly.dev

Security researchers ran code inside the Windows SmartScreen VBS enclave, a sealed memory region that stores credentials for the OS anti-phishing feature. The attack used a four-byte write primitive and a timing side-channel. It was a lab proof of concept, demonstrated with timing tests rather than a live payload. The PoC landed on 14 October 2026, the same day Microsoft confirmed a separate SmartScreen-related zero-day, CVE-2026-96951, is under active exploitation.

The details here come from The Hacker News report published 14 October 2026 and Microsoft's Patch Tuesday advisory for CVE-2026-96951, the MotW bypass zero-day that targets the same protection class.

What a VBS enclave is

Concept What it does
VBS (Virtualization-Based Security) Uses the CPU's hypervisor to enforce memory isolation independent of the OS kernel
Enclave A sealed memory region the hypervisor protects; the kernel cannot read or write it
SmartScreen enclave Stores the credential data SmartScreen uses to decide whether a downloaded file is safe
MotW (Mark of the Web) A file-origin tag SmartScreen reads to apply warnings and restrictions

VBS enclaves are the defence-in-depth layer that security teams cite when they argue that even a compromised kernel cannot reach protected secrets. The SmartScreen enclave is one of several Windows uses for credential protection, and it is the one the researchers chose to break. A write that reaches enclave memory changes the threat model for every feature that relies on this isolation, and that is the part worth understanding.

How four bytes beat a sealed room

The attack has two parts. The first is a controlled write of exactly four bytes at a chosen offset inside the enclave's memory space. Four bytes is enough to overwrite a function pointer or a return address in a structured layout. The second is a timing side-channel that reveals the enclave's internal state, telling the attacker which bytes to write and when.

I tested similar small-write-plus-timing chains against hypervisor-protected regions in lab settings over the past several months, and the combination is the class that enclave designers fear most. It does not require a large buffer overflow. It requires patience and a single precise write. The defence is a tighter memory model and a timing-resistant implementation, both of which are platform-level changes that affect every VBS enclave on the system.

The same-day Patch Tuesday context

CVE-2026-96951 is a Windows Shell command injection that bypasses Mark of the Web, the file-origin tag SmartScreen and Office Protected View use to treat a download as untrusted. The zero-day lets an attacker evade the tag; the enclave PoC lets an attacker reach the room where the tag's decision data lives. Both target SmartScreen from different directions.

I covered the Patch Tuesday record and the MotW zero-day in the 1,413 CVEs post. The enclave PoC is the companion: one shows the gate is bypassed, the other shows the room behind it is reachable.

According to The Hacker News, the researchers demonstrated execution with timing tests and negative controls rather than an actual payload. Microsoft credited Anthropic's researchers alongside Fujitsu engineers for the MotW zero-day, which is the first time an AI company's name appears in a Microsoft zero-day credit.

What changes for security teams

For most organisations, the MotW zero-day is the immediate risk because it is under active exploitation and the CISA KEV deadline is 16 October. The enclave PoC is a research finding that has not been observed in the wild, but it is a signal that VBS enclaves have a reachable attack surface that was previously theoretical.

The catch: the fix will be a platform-level Windows update that arrives on Microsoft's schedule. The MotW bypass is already patched. The enclave issue is not yet patched. Running both in the same week means the defence-in-depth story for SmartScreen has two known weak points, one patched and one pending.

Why a four-byte write is enough

The question most people ask first is how four bytes can compromise a sealed room. The answer is that enclave memory is structured, and structured memory has pointers. A function pointer in a C or C++ enclave is typically four or eight bytes, and overwriting it with a controlled value redirects execution to an address of the attacker's choosing. The timing channel is what makes the write useful: without knowing the enclave's internal state, the attacker cannot determine which pointer to overwrite or what value to write. With the timing channel, the attacker can distinguish between code paths inside the enclave and choose the write target precisely.

The broader lesson is that small, precise writes are more dangerous than large, noisy ones. A buffer overflow that corrupts a kilobyte of memory will crash the enclave and alert the operator. A four-byte write that replaces a single pointer will not. The SmartScreen PoC is the proof that a production VBS enclave's memory layout permits this class of attack, and every other enclave on the same platform shares the underlying hypervisor implementation.

What I now do

SmartScreen joins the features I treat as defence-in-depth, not as a boundary. The MotW tag is a label that can be bypassed. The enclave behind it is a sealed room that can be reached. Neither finding makes SmartScreen useless. Both findings mean each layer is one that can fail independently, and the correct response is defence-in-depth that does not depend on any single layer holding.

The CISA deadline for the MotW bypass is 16 October. The enclave fix will arrive in a future update. Both are worth tracking closely, and I have added the enclave PoC to my patch-day review list alongside the Patch Tuesday zero-days.


Published on debugly.dev by Rohit Bhadani | Founder of Krova Cloud