Detection
Protection tiers
The three layers of valkyr: the server tier that decides, the client scanner inside the game, and the optional kernel sensor the player opts in to.
valkyr protects a game in up to three layers. The server operator picks, per game, which layers are expected. The player picks whether the kernel layer may run on their machine.
| Tier | Where it runs | Default | Decides anything? |
|---|---|---|---|
| 1, server | next to your game server | always on | yes, it is the only tier that does |
| 2, client scanner | inside the game process, user mode | on when the game ships the client | no, it reports signed findings |
| 3, kernel sensor | operating system kernel | off, player opt in | no, it reports signed batches |
Every client and kernel signal has a severity cap (at most 0.6), so client evidence alone never reaches the range where a policy acts. The server needs its own evidence first. See concepts for how severity, trust and policy fit together.
Tier 1: the server
valkyr-core and valkyr-server read what your game server already knows: movement, shots, aim, timing and economy. They flag with a rule id, a severity and the numbers behind it, keep the trust ledger, open review cases and verify everything the other two tiers send. Tier 1 is never optional. See detectors and the ML model.
Tier 2: the client scanner
valkyr-client provides signed heartbeats and an integrity manifest of the game. valkyr-scan adds real time detection inside the game process. It never bans, kicks or blocks: it streams typed, signed findings and the server weighs them.
| Pass | Interval | What it looks at |
|---|---|---|
| baseline | once at start | module map, section hashes, import and export tables, prologues of watched exports |
| fast | every 5 s | new modules, foreign threads, prologues, debug registers, exceptions, debugger |
| deep | every 30 s with 40 percent jitter | chunked section hashes, unbacked executable memory, pack patterns, processes, handles, windows, drivers |
What that catches in practice:
- Cheat Engine and similar tools: a known tool process or window from the signed pack, or another process holding a memory handle to the game.
- Memory edits: changed code or read only data sections, found by the chunked hashes. The jitter and shuffled chunk order make it hard to restore bytes just before a check.
- Injection: unsigned or oddly placed modules, PE images in memory without a file, threads that start at LoadLibrary or outside any module, inline hooks and patched import or export tables.
- Debuggers and tracers: an attached debugger, hardware breakpoints, unexpected exceptions, ptrace on Linux.
Local names (module paths, process names, window classes) never leave the machine in clear text. A finding carries a pack entry id such as cheat_ or a hash salted per session. See privacy.
Tier 3: the kernel sensor
Off by default. The player turns it on from a consent screen in the tray app that says exactly what it does, and removes it with one click. It is armed only while a protected game runs.
| Platform | Mechanism | What it does |
|---|---|---|
| Windows | KMDF driver, demand start | strips read, write and thread rights from handles other processes open to the game, reports remote threads and driver loads |
| Linux | eBPF LSM and tracepoints | denies ptrace attach and cross process memory access to the game, reports attempts |
| macOS | Endpoint Security extension | design only for now |
The Windows driver never hooks or patches anything, never hides itself, never reads files or game memory and never uses the network. Each studio signs and ships its own driver; the project publishes source and unsigned builds only.
The game policy
[[game]]id = "arena"name = "Arena"minimum_tier = 2 # 1 or 2kernel = "optional" # "off", "optional" or "required"kernel_bonus = true # optional only: lower suspicion floor with tier 3
kernel = "off": the sensor is never armed for this game.kernel = "optional": players may opt in; nobody is refused without it.kernel = "required": only players with an armed sensor are admitted. Keep a casual queue optional if you require it for ranked play.
A missing tier never bans anybody. At most it lets a server refuse to start a match when the operator requires that tier.
What no tier stops
Hardware cheats (DMA cards, external aim devices) and hypervisor cheats sit below anything the client or kernel can see. The server still sees their effect on aim and information over many engagements. The threat model lists them honestly.