flawopen.com/Insiden/Rantai Zero-Day BlueMoon: Chrome & Windows

Rantai Zero-Day BlueMoon: Chrome & Windows

Kritis · CVSS 9.8 CWE-787 / CWE-122: Rantai Kerusakan Memori Analisis Eksploitasi · September 2026
ELI5 (Penjelasan Sederhana)

Bayangkan seorang teller bank di balik kaca anti peluru (sandbox Chrome) tanpa kunci ke brankas utama. Peretas mengelabui teller dan menguasai meja kerja tersebut (V8 RCE). Namun terkurung di balik kaca, peretas memanfaatkan pipa pos pneumatik yang terhubung ke ruang kontrol bawah tanah (Windows ALPC). Dengan memasukkan tabung berukuran raksasa, mesin kontrol rusak dan membuka seluruh pintu gedung (eskalasi hak akses SYSTEM).

Istilah Kunci di Halaman Ini
full-chain exploit
An exploit sequence chaining multiple distinct vulnerabilities across process and privilege boundaries—typically combining a remote code execution bug in an untrusted sandbox with a local kernel privilege escalation bug.
JIT speculative bounds check elimination
A compiler optimization where the JavaScript engine skips array index bounds checks if it statically proves the index cannot exceed array bounds. A math error in this proof produces an out-of-bounds read or write.
Advanced Local Procedure Call (ALPC)
The high-speed, kernel-mediated inter-process communication (IPC) facility in Windows used by unprivileged user processes to request services from system daemons and kernel drivers.
AppContainer & low integrity token
Windows kernel security boundaries that strip user-mode processes of file access, network listening rights, and registry write permissions, isolating untrusted browser renderers.

Ringkasan Insiden

In early September 2026, cybersecurity researchers and threat intelligence teams discovered a sophisticated, actively exploited zero-day attack campaign dubbed 'BlueMoon'. The threat actors deployed a zero-click/one-click exploit chain targeting fully updated installations of Google Chrome on Microsoft Windows.

The attack chained two zero-days patched within days of each other:

  1. Google Chrome V8 Engine (CVE-2026-87491): An out-of-bounds memory write flaw in V8's Turbofan JIT compiler, patched on 8 September 2026 in Chrome version 153.0.8010.36/.37.
  2. Microsoft Windows Kernel ALPC Subsystem (CVE-2026-85880): A kernel pool heap overflow in the Advanced Local Procedure Call subsystem, patched by Microsoft on September 2026 Patch Tuesday.

This incident is a textbook illustration of modern systems exploitation. Because Chromium enforces rigorous process sandboxing—locking renderer processes in low-integrity AppContainers with restricted system call tables—compromising the browser engine alone was insufficient for the attackers to steal files or persist on the victim's machine. To escape containment, the attackers weaponized the ALPC subsystem exposed to the sandboxed renderer, compromising the Windows NT kernel and achieving unconstrained NT AUTHORITY\SYSTEM privileges.

Rantai Serangan & Akar Masalah Teknis

Stage 1: V8 Turbofan Speculative Optimization Failure (CVE-2026-87491)

In V8's JIT optimization pipeline, the compiler optimizes array operations by calculating integer range bounds. Due to an arithmetic truncation bug in Turbofan's Typer phase when folding 64-bit integer bitwise operations, the engine erroneously concluded that an array index could never exceed array.length. It eliminated runtime bounds checks, allowing a crafted JavaScript loop to write arbitrary pointers past the end of the backing store on the V8 heap.

Stage 2: The Chrome Sandbox Wall

Once remote code execution was achieved inside the renderer process, the attacker encountered Chrome's defense-in-depth perimeter: Win32k system calls were blocked, direct disk writes were denied by Windows Mandatory Integrity Control (Low Integrity), and outbound raw socket creation was prohibited. The attacker could not run cmd.exe or persist.

Stage 3: Windows Kernel ALPC Pool Overflow (CVE-2026-85880)

To escape the sandbox, the attacker leveraged the fact that sandboxed renderers must still communicate with system IPC endpoints via ALPC. The attacker sent an intricately malformed ALPC message structure with mismatched message length headers. In ntoskrnl.exe, the message handling routine allocated a kernel pool buffer based on the declared data size, but copied data based on the total message length, triggering an out-of-bounds heap write into the adjacent Paged Pool. The attacker corrupted an adjacent security token object to grant themselves SeDebugPrivilege and SYSTEM credentials.

Arsitektur Rentan vs. Diperkeras

VULNERABLE: TURBOFAN RANGE INFERENCE & ALPC BUFFER COPY
// 1. Conceptual V8 Turbofan Typer Flaw (CVE-2026-87491)
Type Typer::Visitor::TypeSpeculativeNumberBitwiseOr(Node* node) {
  // Bug: Underflow/truncation in 64-bit range inference
  // Compiler statically infers range [0, 10], but runtime value can reach 0x7FFFFFFF!
  return Type::Range(min_val, max_val, zone()); 
}

// 2. Conceptual Windows Kernel ALPC Heap Copy Flaw (CVE-2026-85880)
NTSTATUS AlpcpCopyMessageData(PALPC_MESSAGE Msg, PVOID Buffer) {
  // Bug: Buffer allocated from declared DataLength, but copy uses TotalLength
  ULONG allocSize = Msg->Header.u1.s1.DataLength;
  PVOID poolBlock = ExAllocatePoolWithTag(PagedPool, allocSize, 'CplA');
  
  // HEAP OVERFLOW: TotalLength > DataLength overwrites adjacent pool memory!
  RtlCopyMemory(poolBlock, Msg->PortMessage.Data, Msg->Header.u1.s1.TotalLength);
  return STATUS_SUCCESS;
}
HARDENED: CLAMPED RANGE ASSERTION & SIZE VALIDATION
// 1. Fixed V8 Turbofan Bounds Validation
Type Typer::Visitor::TypeSpeculativeNumberBitwiseOr(Node* node) {
  // Fix: Strict conservative bounding preventing speculative check elimination
  if (!IsSafeIntegerRange(min_val, max_val)) return Type::Any();
  return Type::Range(SafeClamp(min_val), SafeClamp(max_val), zone());
}

// 2. Fixed Windows Kernel ALPC Size Verification
NTSTATUS AlpcpCopyMessageData(PALPC_MESSAGE Msg, PVOID Buffer) {
  // Fix: Explicit sanity check validating header length consistency
  if (Msg->Header.u1.s1.TotalLength < Msg->Header.u1.s1.DataLength) {
    return STATUS_INVALID_PARAMETER;
  }
  // Allocate buffer matching the actual copy length, strictly bounded
  PVOID poolBlock = ExAllocatePoolWithTag(PagedPool, Msg->Header.u1.s1.TotalLength, 'CplA');
  if (!poolBlock) return STATUS_INSUFFICIENT_RESOURCES;
  RtlCopyMemory(poolBlock, Msg->PortMessage.Data, Msg->Header.u1.s1.TotalLength);
  return STATUS_SUCCESS;
}

Aturan Deteksi & Telemetri Endpoint

# Sysmon Event ID 1: Detect suspicious child processes spawned from chrome.exe EventID=1 AND ParentImage="*\chrome.exe" AND Image IN ("*\cmd.exe", "*\powershell.exe", "*\whoami.exe") # ETW: Microsoft-Windows-Kernel-Memory: Monitor NonPaged/Paged Pool ALPC corruption logman start AlpcPoolTrace -p "Microsoft-Windows-Kernel-Memory" 0x80 -ets # Yara: Rule targeting the BlueMoon V8 JIT shellcode loader stage rule BlueMoon_V8_Stage1 { strings: $c = { 48 8B 04 24 48 83 C0 ?? 48 89 04 24 } condition: $c }
Enable Windows Exploit Guard and Virtualization-Based Security (VBS) with Kernel DMA Protection to stop arbitrary kernel token overwrite techniques.

Pelajaran Arsitektur Sistem & Daftar Periksa

Sumber & Tautan Penasihat