Skip to content

Failed to allocate remote memory Windows 2019 17763 #2

@MikosMotta

Description

@MikosMotta

Hi,
I saw your project the other day and I decided to give it a try against a Windows Server 2019 (Build 17763) that I have set up.
Every time I ran the exploit I got a [-] Failed to allocate remote memory[-] Failed to write to remote memory error and I was wondering was is it that makes it not work.

The problem arises here:
LPVOID buffer = VirtualAllocEx(proc, NULL, sizeof(payload), MEM_RESERVE | MEM_COMMIT, PAGE_EXECUTE_READWRITE);

because the buffer is left blank therefore I get the error each time, but what could cause the allocation to fail?

I'm trying to debug the problem, but I don't seem to be able to reach its solution.

Any hints?
Thanks so much.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions