Skip to content

Hardcoded MmCopyVirtualMemory size argument #26

@krispybyte

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.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions