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

injection error 5 using the dotnet version #9

Closed
ghost opened this issue Sep 18, 2021 · 1 comment
Closed

injection error 5 using the dotnet version #9

ghost opened this issue Sep 18, 2021 · 1 comment

Comments

@ghost
Copy link

ghost commented Sep 18, 2021

[+]:Scanning for Shellcode...
[+]: Shellcode located at 1c08
[+]: Opening Remote Process PID: 277
[+]: Memory allocated at 0x4C00000
CreateRemoteThread Failed. Error: 5

is error 5 referring to access denied --> same as windows error msg? or ERROR 5 related to injection?

@med0x2e
Copy link
Owner

med0x2e commented Oct 27, 2021

The error could be also a result of:

  • Calling CreateRemoteThread from a 32-bit process where the target process is a 64-bit one.
  • Trying to run 32-bit code in a 64-bit process or vise-versa.

Try using/injecting x86 (CS/MSF) shell-code from a 32-bit process to a target 32-bit process (same goes for 64-bit).

@med0x2e med0x2e closed this as completed Apr 16, 2022
This issue was closed.
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