Inject to Running processes (with no altertable threads)
iradization opened this issue · comments
Hi,
I was wonder if it's optional to using APC to inject into already running processes that doesn't necessarily have alertable threads.
According to APC doc :
When a user-mode APC is queued, the thread to which it is queued is not directed to call the APC function unless it is in an alertable state.
(I assume kernel-mode APC work the same way)
Is there a way to change thread state so it will accept APC calls, or any other alternative ?
thanks
Try KeTestAlertThread to force deliver user apc.
EDIT:
see here: https://github.com/DarthTon/Blackbone/blob/master/src/BlackBoneDrv/Loader.c#L719
Doesn't ForceUserApc
solve your problem? (as specified in the README.md)
Yes, I've tried that and it did. thanks !