Skip to main content
DISCUSSIONAnti-Cheat Research 4 views

[Research] Ring-0 Anti-Cheat Primitives: ObRegisterCallbacks, ETW-TI & Boot-Start Drivers

Modern PC anti-cheat architectures (Easy Anti-Cheat, BattlEye, Riot Vanguard) operate in Ring 0 because Ring-3 user-mode defenses cannot reliably guard against kernel-level memory access or API hooking.

1. Handle Stripping via ObRegisterCallbacks

Using Microsoft's documented kernel routine `ObRegisterCallbacks`, a kernel driver registers a pre-operation callback (POB_PRE_OPERATION_CALLBACK) on PsProcessType and PsThreadType:

  • Whenever a process calls OpenProcess or OpenThread targeting the protected game, the kernel halts execution and invokes the registered callback at its assigned altitude.
  • Inspecting OB_PRE_OPERATION_INFORMATION, the driver strips privileged bits such as PROCESS_VM_WRITE, PROCESS_VM_OPERATION, and PROCESS_CREATE_THREAD from DesiredAccess, leaving only non-invasive query rights.

2. Deep Kernel Telemetry via ETW-TI

Built directly into ntoskrnl.exe (nt!EtwThreatIntProvRegHandle), Event Tracing for Windows Threat Intelligence (ETW-TI) emits behavioral signals straight from kernel execution paths — capturing cross-process allocations, remote thread creation, and APC queue injections before user-mode hooks on ntdll.dll can tamper with visibility.

3. Startup Timing Comparison

  • EAC (`EasyAntiCheat.sys`) & BattlEye (`BEDaisy.sys` / `BEService.sys`): Load alongside the protected game launcher, focusing on continuous memory/signature integrity and encrypted heartbeats.
  • Vanguard (`vgk.sys`): Loads at Windows Boot-Start to verify driver signatures early and mitigate BYOVD (Bring Your Own Vulnerable Driver) attacks before the OS completes startup.
Open Sponsor Slot (IN THREAD)
Book Slot

0 replies

Log in to reply or react to threads.