Skip to content

Hardcoded MmCopyVirtualMemory size argument #26

Description

@krispybyte

Currently inside of BuildMainStack, the call to MmCopyVirtualMemory which actually performs the read/write from the game's memory, is hardcoded to size 8.

Stack->AddValue(sizeof(void*), "size");

The code can be seen here.

This is because the size argument is passed through the stack, meaning we would need some ROP gadget to write memory in there.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions