Skip to content
Access control Write-up Advanced

Using Game Cheat PoC Code to Exploit Userland Processes. (Part 1)

The article describes a userland exploit that abuses legitimate Windows GUI message-passing and code reuse gadgets to achieve arbitrary read/write into another process without calling WriteProcessMemory or ReadProcessMemory. An attacker could use this to read secrets from browser process memory.

Swifty Follow

Published on medium.com

During early 2026, as it often does, some PoC code crossed my path. What stood out about this one however were several things; it was described on the original authors page as a ‘Usermode exploit to bypass any AC using a 0day shatter attack.’ which first of all peaked my interest, there is so much growing overlap…

Swifty, on medium.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the design of Windows GUI message passing and shared memory allows a process to invoke existing code gadgets in another process, enabling memory manipulation without direct API calls.

Impact

An attacker could use this to read critical areas of memory from within browsers to extract secrets, potentially bypassing protections and sandboxing.

What the attacker needed

Target is a GUI process; attacker can send window messages to target; shared memory section is mapped in both processes

How it was found

  1. Map the shared memory section locally and scan the target process's virtual address space to find where the same physical page appears.
  2. Install a WH_SHELL hook on the target process pointing to ntdll!RtlGetIntegerAtom.
  3. Send a WM_APPCOMMAND message to the target process to trigger the hook.
  4. When the hook fires, RtlGetIntegerAtom writes the hook code to the candidate address passed as wParam; check if the write is visible locally to confirm the mapping.
  5. Populate a dispatch struct in shared memory with a function pointer to a shell32 trampoline gadget and a memcpy field set to the desired function (e.g., RtlCopyString).
  6. Install a WH_SHELL hook pointing to an ntdll gadget that reads the struct and calls the function pointer, then send WM_APPCOMMAND to trigger it, achieving read/write via RtlCopyString.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

This is about a technique that lets one program read and write another program's memory without using the usual suspicious functions that security tools watch for. It works by sending special Windows messages and using existing code inside trusted system files, so it can fly under the radar of antivirus and anti-cheat software.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.