Re: Process notification
- From: "Scherbina Vladimir" <vladimir.scherbina@xxxxxxxxx>
- Date: Wed, 21 Dec 2005 16:05:12 +0200
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: Don Burn
- 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
- Process Monitor Hooks
- Prev by Date: Re: Find Resource - problem
- Next by Date: Re: Find Resource - problem
- Previous by thread: Re: Process notification
- Next by thread: Re: Process notification
- Index(es):
Relevant Pages
|