| View previous topic :: View next topic |
| Author |
Message |
shikin
Joined: 31 Jul 2010 Posts: 1
|
Posted: Sat Jul 31, 2010 12:55 pm Post subject: InjectLibrary fails with last error 0x7A (122) |
|
|
Hi Madshi,
I am doing injection of a couple system service (RPC and DCOMLaunch) using the InjectLibraryW. In most cases it works ok, but sometimes it returns FALSE, GetLastError returns error 0x7A. Injection is performed by helper service that works under the NT AUTHORITY\SYSTEM account. Process handle that is used for injection is open with PROCESS_ALL_ACCESS.
Can you please help to find out the reason of this failure?
P.S.
I use madCHook v2.x
P.P.S.
In the rare cases DLL is actually injected even if InjectLibraryW returns FALSE, but during uninjection it returns the same error code and DLL is not uninjected. |
|
| Back to top |
|
 |
madshi Site Admin
Joined: 21 Mar 2004 Posts: 5908
|
Posted: Tue Aug 10, 2010 11:04 am Post subject: |
|
|
That's weird! Are you using the latest 2.x release?
Is there any pattern to when injection succeeds/fails? E.g. is it always the same process where it fails? Or is it seemingly random? Is there an easy way for me to reproduce the problem? |
|
| Back to top |
|
 |
|