Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to allocate remote memory Windows 2019 17763 #2

Open
MikosMotta opened this issue Nov 2, 2021 · 0 comments
Open

Failed to allocate remote memory Windows 2019 17763 #2

MikosMotta opened this issue Nov 2, 2021 · 0 comments

Comments

@MikosMotta
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant