Now, I'm working with minifilter in kernel-mode. I want to run an application ( system application such as: notepad.exe, mspaint.exe or an application which is made by user such as: C# application ...).
My questions are:
- Can I run application from kernel?
- If can, how should I do?
Happy new year !
Thanks all
[EDIT]
I create a windows service (C#) to communicate between them (Minifilter (C) and Application (C#, C/C++))
Windows service will start app ==> Done. It will execute after get and check message from minifilter.
Minifilter send message to service
[Minifilter] Create communication port
[Minifilter] Send message to service after check conditions
[Service] Get message from this port by FilterGetMessage
==> How using FilterGetMessage in C#?
UPDATE: I used
FltSendMessage at driver to send message to service
FilterGetMessage at service to get message from driver
==> But the message buffer is null although the status is success (status = 0)
What is not correct?
P/S: The message content is a file name.