c++ / delphi package - dll injection and api hooking
- Posts: 4
- Joined: Wed Nov 13, 2019 1:01 pm
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.
- Site Admin
- Posts: 10686
- Joined: Sun Mar 21, 2004 5:25 pm
All CreateProcessEx does inside is:
1) CreateProcess with CREATE_SUSPENDED.
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.