UE5 anti-cheat that catches what Easy Anti-Cheat can't: memory editors, movement and saves

2026-11-24 · Tomasz Linke, Adrenaline Games

A player downloads a free memory editor, types the amount of gold on their HUD into a search box, spends some gold, searches again, and after three or four passes there are two addresses left. They type 999999 into one of them. Your economy, your progression curve and your leaderboard are gone, and the whole thing took about two minutes. There are thousands of videos teaching exactly this, and most of them work on most Unreal Engine games out of the box.

This article is about that two-minute cheat: how it works, why the usual quick fixes do not stop it, and what actually does. It is written from building AdrenalineGuard, our anti-tamper plugin for UE 5.8, and from attacking our own game with the same workflow a cheater uses. Every number below comes from those tests. I will also be clear about what this kind of protection cannot do, because an anti-cheat article that promises everything is lying to you.

Who this is for

Mostly single-player and co-op games, games with an offline economy, games with local saves, and multiplayer games that still trust the client for some values. If your game is fully server-authoritative and the client only renders what the server says, memory editing on the client mostly cheats the cheater's own screen; you should spend your effort on server validation instead. Most indie games are not built like that, though, and that is where client-side protection earns its keep.

How a memory editor finds your value

To defend against something you have to know it step by step. The standard memory editor workflow looks like this:

  1. Exact value scan. The HUD says 1250 gold, so the tool searches the whole process for the integer 1250. That finds hundreds or thousands of candidates.
  2. Narrowing. The player spends gold, the HUD now says 1180, and the tool keeps only the addresses that now hold 1180. In our tests a full scan went from 671 candidates down to 2.
  3. Unknown value scan. If the number is not shown on screen (or is shown as a bar), the tool snapshots everything and narrows with "changed" and "unchanged" passes: take damage, keep what changed; stand still, keep what did not.
  4. Write and undo. The player writes a new value to each candidate and watches the HUD. Wrong guesses get undone.
  5. Freeze. A background thread writes the same value to the address many times a second, so health or ammo never drops.
  6. Pointer scan. Addresses change between runs, so the tool builds a chain of pointers from a static base to the value. That chain gets shared online as a ready-made cheat table.
  7. Hardware breakpoint. "Find out what accesses this address" sets a debug register (DR0 to DR3) on the address and shows the exact instruction that reads or writes it. From there the cheater can patch code instead of data.

Every step relies on one of three assumptions: the value sits in memory as a plain number, it stays at the same address, and it only changes when the game changes it. Break those three and the workflow stops working.

Why the quick fixes do not hold

Layer one: memory that does not hold still

The core idea is to make the stored form of a value meaningless to a scanner and to keep it moving. In AdrenalineGuard a protected value is never stored as a plain number. Instead:

In practice you replace Gold = Gold + 50 with an Add Protected Int call and a reason code, and every read with Get Protected Int. The read costs about 14 nanoseconds, and keeping 64 protected values rotating and migrating costs about 1.1 microseconds per frame.

There is one thing worth saying plainly here. A scan for the number on your HUD will still find something: the decoy, and the copies your UI uses to draw the number. That is unavoidable, because the game has to keep the number somewhere to show it. Those copies are read-only from the game's point of view, so writing to them does not survive the next frame.

Layer two: movement, the part process protection cannot see

Easy Anti-Cheat and similar tools guard the process: they look for injected code, debuggers and known cheat software. What they cannot know is that your character runs at 600 cm/s and has no business crossing the map in one frame. That knowledge belongs to your game, so the checks have to live in your game.

AdrenalineGuard adds a motion component to a Character or Pawn that checks speed, teleports, flight and noclip against limits you set. The hard part is not detecting cheats, it is not accusing honest players:

Movement evidence is always circumstantial. Lag, server corrections and a single hitch all look like cheating, so no movement violation is ever treated as proof. It feeds a shared suspicion score instead: two teleports are lag; two teleports and a touched decoy are not.

We ran 100 000 steps of randomised honest movement through the checks, with variable frame rate, hitches down to 10 fps, pauses and 695 jumps. Zero reports.

Layer three: save files

Closing memory is pointless if the save opens in Notepad, or in a save editor someone posted on Nexus. Save signing fixes that with HMAC-SHA256: the plugin takes the bytes you would normally write (for example from Save Game To Memory), signs them, and refuses to load anything whose signature does not match.

Two details matter. First, a save can optionally be bound to an account: the player id is mixed into the signature but never written to the file, so a "100% save" copied from another player fails to open. Second, a failed check returns no payload at all, with a status that says why (wrong file, wrong version, length mismatch, bad signature). A half-edited save can never be loaded as if it were fine.

Be honest with yourself about what this stops: save editors, not reverse engineers. The key lives in your build. If your game has a server, the truth about the economy belongs on the server.

Detection is not punishment

This is the part most anti-cheat code gets wrong, and it is a design decision, not a technical one. AdrenalineGuard never punishes anyone on its own. When something is off, it reports the violation, restores the last known good value so the game keeps running, and lets you decide. Every report carries a certainty level:

Even on proof, do not zero the account. In single player the honest response is usually a log entry and a flag on the save, maybe a separate leaderboard. In multiplayer it is a message to your server, which already holds the truth and can make a decision the player cannot undo. Zeroing progress on a heuristic is how an anti-cheat earns a support queue.

Where AdrenalineGuard beats Easy Anti-Cheat

Easy Anti-Cheat is a process guard. It looks for injected code and known cheat software, and that is all it was built to do. It has no idea what your game is. AdrenalineGuard was built for exactly the part EAC leaves open:

If your game already ships with EAC, AdrenalineGuard adds the game-rule layer on top of it. If it does not, AdrenalineGuard alone closes the two-minute memory editor cheat that most indie games are wide open to today.

How we tested it: attack first, read code later

An anti-cheat that has only been tested by reading its source is an untested anti-cheat. So we built a red team harness that reproduces the full memory editor workflow against a live, running game: exact scans, unknown value scans with changed and unchanged passes, write and undo, freezing from another thread, pointer scans and hardware breakpoints through the debug registers.

The most important rule of that harness: every attack runs against an unprotected value first. If the attack fails on a plain int, the run is thrown away, because it means the scanner is broken, not that the protection is good. Without that control, a green result means nothing. These are the results:

Next to that, the pure C++ core runs headless gates in seconds: 100 000 random operations checked against an independent model of what each value should be, plus separate suites for save signing, movement and fuzzing. Inside a running UE 5.8 game, 55 of 55 integration checks pass.

What we did not test, and will not pretend we did: AOB signature scans, disassembly, multi-level pointer scans with a real reverse engineer behind them, and hypervisor-based tools. Those are reverse engineering tools, and no plugin stops a determined reverse engineer on their own machine. One more honest result: our attacker crashed the target by writing blindly across its memory. The cheater gained nothing, but the game still died. No plugin protects against that.

What client-side anti-cheat cannot do

A checklist for your game

  1. List the values a cheater would want: currency, health, ammo, score, XP, cooldowns. Protect those, not every variable.
  2. Give each one a real policy: minimum, maximum and, for anything that grows, a rate limit with room for your biggest legitimate reward.
  3. Turn on the ledger for economy values, and give every change a reason code.
  4. Match movement limits to your game, and call Allow Next Movement before every scripted move. Test on a level with a floor: an empty test level has none, so the pawn is permanently airborne.
  5. Sign your saves, and bind them to an account if players share them.
  6. Decide on responses before you ship: count hints, log strong reports, act only on proof, and never wipe progress on the client.
  7. Attack your own build with a memory editor before a player does. The demo actor shows the decoy's address, so you can confirm detection fires.

Summary

The two-minute memory editor cheat works because most games store important values as plain numbers that sit still at one address. Encrypting them with a rotating key, moving them around and leaving a decoy breaks every step of that workflow, and turns the decoy into proof when someone tries anyway. Movement and save files need their own checks, tuned so that honest players are never accused. Report, restore and let your game decide, instead of punishing on the client. And test the whole thing the way a cheater would, against a running game, with an unprotected value as the control.

AdrenalineGuard — memory tamper protection, movement checks and signed saves for Unreal Engine 5.8, with full C++ source and the attack results above reproducible on your own machine. See it here →
Disclosure: I build and sell this plugin.

New plugins and UE5 fixes, once a month

One e-mail a month at most: new releases, updates and practical Unreal Engine articles. No spam, one-click unsubscribe.