Last version and beta. Windows 8.1
My service (session0) install hooks and wait IPC messages from injected dll.
Hooks works fine, but the IPC messages do not received.
If running this code as application (session1) - all works fine.
If running this application in the session 0 - no messages
does not work ipc between ring0 and session 0
-
- Posts: 7
- Joined: Thu Aug 22, 2013 2:30 pm
Re: does not work ipc between ring0 and session 0
Does the HookProcessTermination demo work on your PC?
http://madshi.net/HookProcessTermination.zip
It also contains a service and an application which sends a message to the service.
http://madshi.net/HookProcessTermination.zip
It also contains a service and an application which sends a message to the service.
-
- Posts: 7
- Joined: Thu Aug 22, 2013 2:30 pm
Re: does not work ipc between ring0 and session 0
yes.
it's weird.
Sorry. 'll watch my code.
it's weird.
Sorry. 'll watch my code.
Re: does not work ipc between ring0 and session 0
Then why does the demo work, but your application does not? Please compare the source code to try to find out. E.g. if you're using MSVC++, did you call "InitializeMadCHook()" in your service before calling any madCodeHook APIs?