From: Sonic.. on
Hello,

I have been trying to write an application that intercepts process
creation at kernel level and blocks a certain blacklisted processes if
executed. For this, i hooked NtCreateProcess and NtCreateProcessEx.

Now i have been successfull in doing so on Win2000 and WinXP but on
Win 2003 server as soon as i call my hooked function, I receive a
BSOD.

Could anyone let me know why such happens?
From: daniel on
We do have lots of telepatihic qualities but those are not enough. Post your
code.

//Daniel


"Sonic.." <abhishek.bansal1982(a)gmail.com> wrote in message
news:513ee9f9-190c-410f-8206-9b19dda58ea0(a)s50g2000hsb.googlegroups.com...
> Hello,
>
> I have been trying to write an application that intercepts process
> creation at kernel level and blocks a certain blacklisted processes if
> executed. For this, i hooked NtCreateProcess and NtCreateProcessEx.
>
> Now i have been successfull in doing so on Win2000 and WinXP but on
> Win 2003 server as soon as i call my hooked function, I receive a
> BSOD.
>
> Could anyone let me know why such happens?

From: Kerem Gümrükcü on
>We do have lots of telepatihic qualities but those are not enough. Post
>your code.

Yes, at least post the BugChecks Code,...

Regards

Kerem

--
-----------------------
Beste Gr�sse / Best regards / Votre bien devoue
Kerem G�mr�kc�
Latest Project: http://www.codeplex.com/restarts
Latest Open-Source Projects: http://entwicklung.junetz.de
-----------------------
"This reply is provided as is, without warranty express or implied."
<daniel(a)resplendence.com> schrieb im Newsbeitrag
news:1630ABE6-8A7E-4DF4-9B4E-EB2181F91DC8(a)microsoft.com...
> We do have lots of telepatihic qualities but those are not enough. Post
> your code.
>
> //Daniel
>
>
> "Sonic.." <abhishek.bansal1982(a)gmail.com> wrote in message
> news:513ee9f9-190c-410f-8206-9b19dda58ea0(a)s50g2000hsb.googlegroups.com...
>> Hello,
>>
>> I have been trying to write an application that intercepts process
>> creation at kernel level and blocks a certain blacklisted processes if
>> executed. For this, i hooked NtCreateProcess and NtCreateProcessEx.
>>
>> Now i have been successfull in doing so on Win2000 and WinXP but on
>> Win 2003 server as soon as i call my hooked function, I receive a
>> BSOD.
>>
>> Could anyone let me know why such happens?
>

From: Volodymyr M. Shcherbyna on

Please avoid undocumented solutions. Hooking is illegal.

What I can suggest to do for you is to use legal functions to track process
creation / termination: PsSetCreateProcessNotifyRoutine,
PsSetLoadImageNotifyRoutine

--
Volodymyr, blog: http://www.shcherbyna.com/
(This posting is provided "AS IS" with no warranties, and confers no
rights)

"Sonic.." <abhishek.bansal1982(a)gmail.com> wrote in message
news:513ee9f9-190c-410f-8206-9b19dda58ea0(a)s50g2000hsb.googlegroups.com...
> Hello,
>
> I have been trying to write an application that intercepts process
> creation at kernel level and blocks a certain blacklisted processes if
> executed. For this, i hooked NtCreateProcess and NtCreateProcessEx.
>
> Now i have been successfull in doing so on Win2000 and WinXP but on
> Win 2003 server as soon as i call my hooked function, I receive a
> BSOD.
>
> Could anyone let me know why such happens?