A forum for reverse engineering, OS internals and malware analysis 

 #6035  by R00tKit
 Mon Apr 25, 2011 11:59 am
hi
how can prevent code injection with " CreateRemoteThread " in kerne-model? hook ZwCreateThread or use PsSetCreateThreadNotifyRoutine can be useful ?

what about other code injection method ?
 #6043  by R00tKit
 Mon Apr 25, 2011 4:33 pm
thanks
Code: Select all
CreateRemoteThread on Windows Vista calls NtCreateThreadEx

how can i find this ? i use WinDBG with Disassembling , but in some api cant understand

my host os is Xp so cant use ObRegisterCallbacks

i used PsSetCreateThreadNotifyRoutine and for realize if thread is remote thread i compare thread PID with current process PID , but it have problem when process is created :cry:

and dont know with which policy allow or deny remote thread , some useful app need remote thread ! should use white list ?
 #6044  by EP_X0FF
 Mon Apr 25, 2011 5:04 pm
Out of curiosity, please show your code.
how can i find this ? i use WinDBG with Disassembling , but in some api cant understand
open dll in any disassembler.