Hi, as far as I know, createProcessExW allows us to inject a single dll, at the time of process creation. Is there a way to inject multiple dlls with createProcessExW?
Thanks in advance.
Inject multiple dlls with CreateProcessExW
-
- Posts: 4
- Joined: Wed Nov 13, 2019 1:01 pm
Re: Inject multiple dlls with CreateProcessExW
All CreateProcessEx does inside is:
1) CreateProcess with CREATE_SUSPENDED.
2) InjectLibrary
3) ResumeThread
You can do the same, but with multiple InjectLibrary calls to inject multiple dlls. The trick here is that creating the process in suspended state (and keeping it that way during injection) allows madCodeHook to use a different injection method.
1) CreateProcess with CREATE_SUSPENDED.
2) InjectLibrary
3) ResumeThread
You can do the same, but with multiple InjectLibrary calls to inject multiple dlls. The trick here is that creating the process in suspended state (and keeping it that way during injection) allows madCodeHook to use a different injection method.