anti-cheat software

term

security

Kept in this browser · My desk

Software that a game installs to detect or block cheating programs, often as a driver in the operating system's kernel; on a personal computer it is the successor of the console lock, and as privileged code it is also attack surface.

Online games run on machines their makers do not control, so anti-cheat software watches memory and processes, increasingly from kernel mode. In August 2022 Trend Micro reported a ransomware actor using mhyprot2.sys, the signed anti-cheat driver of Genshin Impact, to kill antivirus processes; the game did not need to be installed.

What it is. Anti-cheat is the client side of a game's defence against players who read or change its memory, inject code, automate input or tamper with its files; it runs on the player's own machine, reports to the publisher's servers and is paired with server-side checks and bans. The large products are vendors' and publishers' own: BattlEye, which began in 2004 as a third-party tool for the Battlefield series and names PUBG (PlayerUnknown's Battlegrounds), Fortnite and Rainbow Six Siege among its titles; Easy Anti-Cheat, whose current version comes through Epic Online Services; Riot Games' in-house Vanguard; and Valve Anti-Cheat (VAC) on Steam.

Why the kernel. Cheats that read or change a game's memory can hide from ordinary programs, so anti-cheat moved to the kernel, where it sees everything and is trusted by the operating system. Windows gives drivers documented hooks for this kind of watching: PsSetCreateProcessNotifyRoutineEx registers a routine the system calls whenever a process is created or exits, and ObRegisterCallbacks registers routines called on operations on handles to threads, processes and desktops; both have been available since Windows Vista with Service Pack 1 (SP1), and both refuse callbacks that do not reside in a signed kernel image. Riot describes Vanguard as a client that runs while its games are active plus a kernel-mode driver, normally loaded at boot, so that a player who disables it must restart the computer to play; a Pre-Check mode starts it on demand when the machine meets its security requirements, and while it runs it enables standards similar to Windows Secure Boot. BattlEye advertises a "fully proactive kernel-based protection system" with scanning changed on the fly by its back end, so that cheat makers cannot build permanent bypasses against fixed client files.

The risk. A signed kernel driver with powerful functions is useful to anyone who can load it. In the 2022 case the driver's code-signing certificate was still valid, so the attacker brought the driver along and used it to stop endpoint protection before deploying ransomware. Trend Micro's account: in the last week of July 2022 an attacker who had reached a domain controller with stolen administrator credentials and the Remote Desktop Protocol (RDP) dropped mhyprot2.sys, the anti-cheat driver of Genshin Impact, with a small program that installed it as a service and sent it the control code 0x81034000 to terminate a list of antivirus processes from ring 0; a logon script and PsExec then pushed the driver, the killer and the ransomware to other machines. The driver found was built in August 2020; shortly after the game's release in September 2020 players had noticed that it stayed after uninstalling and allowed privilege bypass. From user mode it could read and write any kernel or user memory, enumerate modules and threads and terminate any process. The researcher Kento Oki reported it to the developer, miHoYo, which did not acknowledge a vulnerability, and Trend Micro warned that even a fixed version cannot erase a module once distributed. This is the bring your own vulnerable driver (BYOVD) pattern, and the Living Off The Land Drivers (LOLDrivers) catalogue tracks it: its list of 23 November 2026 held 713 drivers, 588 vulnerable and 125 malicious, with mhyprot2.sys verified and mapped to technique T1068 (exploitation for privilege escalation) of MITRE ATT&CK (Adversarial Tactics, Techniques and Common Knowledge), alongside mhyprot3.sys and other mhyprot builds. LOLDrivers advises blocking on exact file and Authenticode hashes and treating driver names only as hunting leads.

What defenders can do. Inventory game drivers as privileged software; watch for them on machines where the game is not installed. Trend Micro recommended monitoring the known hash of mhyprot2.sys and Windows System event 7045 (a new service installed) with the service name mhyprot2. Microsoft's vulnerable driver blocklist has been on by default for all devices since the Windows 11 2022 update and is enforced whenever memory integrity, also called hypervisor-protected code integrity (HVCI), Smart App Control or S mode is active; it is updated quarterly and through the monthly updates. Microsoft says it is not guaranteed to block every vulnerable driver and that some blocks are held back to avoid breaking devices, so it publishes a fuller list to apply with App Control for Business, tested first in audit mode, and an Attack Surface Reduction (ASR) rule that stops a vulnerable signed driver from being written to disk, though not one already present from loading.

The costs. Stability comes first: Microsoft warns that blocking drivers can make devices malfunction and, rarely, crash with a blue screen, and Riot acknowledges that unexpected interactions with the Vanguard client or driver may stop players from playing. Kernel anti-cheat also ties games to Windows: Valve's documentation for Proton, the compatibility layer of the Steam Deck and Linux, supports Easy Anti-Cheat and BattlEye with per-title configuration, but recommends user-space anti-cheat components and says kernel-space solutions are not currently supported and not recommended. Privacy is the third cost; Riot states that Vanguard was built with data privacy in mind and adheres to regional data privacy laws, which is the vendor's own claim.

Lineage. On consoles the lock is in the hardware, from the lockout chip to signed code and secure boot, and the maker controls the whole machine. On a personal computer the publisher controls nothing below the game, and anti-cheat is its attempt to borrow the operating system's own position of trust; the price is one more privileged driver on every player's machine.

Neighbours. Device drivers and the kernel they run in, the endpoint detection and response (EDR) tools that BYOVD attacks switch off, ransomware, the hypervisor that underpins memory integrity, and living off the land, the attacker's habit of using legitimate signed tools.

Also known as: anti-cheat, anticheat, kernel anti-cheat, anti-cheat driver, antitrapaça, mhyprot2

Sources

← Back to A Back to the glossary