Re: Process notification
- From: "Don Burn" <burn@xxxxxxxxxxxxxxxx>
- Date: Wed, 21 Dec 2005 09:26:29 -0500
Get a clue, the AV folks are dumping this approach as fast as they can run.
You are recomending a dangerous technique where it is not needed, since
PsSetCreateProcessNotifyRoutine will capture things before the process runs.
Encouraging the use of lousy hacks just makes Windows less reliable for all
of us.
--
Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting
Remove StopSpam from the email to reply
"Scherbina Vladimir" <vladimir.scherbina@xxxxxxxxx> wrote in message
news:ePfWRejBGHA.2300@xxxxxxxxxxxxxxxxxxxxxxx
> It's not so stupid as it seems. Have you ever checked how popular AV works
> ? They hook SDT.
> Agnitium Outpost hooks WriteProcessMemory, Kaspersky hooks
> TerminateProcess, etc. (this list can be continued).
>
> Yea, I do remember that this would not work under 64-bit systems, but I
> have not seen any requerements in the OP post. Have you ?
>
> --
> Vladimir
>
> "Don Burn" <burn@xxxxxxxxxxxxxxxx> wrote in message
> news:%23fzRUwiBGHA.640@xxxxxxxxxxxxxxxxxxxxxxx
>> Using hooking in the kernel is worse than STUPID. First, as was pointed
>> out there is a kernel callback for creation and termination of processes
>> available in the kernel since NT4.0. Second, hooking will be blocked by
>> the kernel on 64-bit systems. On other systems hooking will work, but it
>> is highly likely to crash the system, and even if it does not it will
>> cause your software to be branded as MALWARE and removed from most
>> systems.
>>
>>
>> --
>> Don Burn (MVP, Windows DDK)
>> Windows 2k/XP/2k3 Filesystem and Driver Consulting
>> Remove StopSpam from the email to reply
>>
>>
>>
>> "Scherbina Vladimir" <vladimir.scherbina@xxxxxxxxx> wrote in message
>> news:%23mnnKegBGHA.3840@xxxxxxxxxxxxxxxxxxxxxxx
>>> As you see from prev. posts there is no obsolute user mode solution on
>>> how to be notified when process is created. Your implementation is
>>> easy, but not efficent. It's not even reliable, because some process may
>>> be started and then immidiatly terminated - your "monitoring loop" may
>>> not detect it.
>>>
>>> Hooking CreateProcessA(W) in kernel mode (SDT hooking) will allow you to
>>> avoid things described above.
>>>
>>> --
>>> Vladimir
>>
>>
>
>
.
- Follow-Ups:
- Re: Process notification
- From: sudheer.nayudu@xxxxxxxxx
- Re: Process notification
- References:
- Process Monitor Hooks
- From: decentsmile
- Re: Process notification
- From: Andrea Laforgia
- Re: Process notification
- From: Scherbina Vladimir
- Re: Process notification
- From: Scherbina Vladimir
- Re: Process notification
- From: Don Burn
- Re: Process notification
- From: Scherbina Vladimir
- Process Monitor Hooks
- Prev by Date: Re: DUMPBIN
- Next by Date: Re: GetTempFileName weird behavior
- Previous by thread: Re: Process notification
- Next by thread: Re: Process notification
- Index(es):
Relevant Pages
|