Hi,
Let's assume I've made a hook on NtCreateFile.
Now user-mode process A is performing file creation and after switch to kernel-mode my hook is called.
My question here is - is it safe assumption that inside my hooked NtCreateFile I'm in context of thread that is calling createFile?
If no, then how can I know that... how can I know what process/thread is source of this call?
Thank you!
Let's assume I've made a hook on NtCreateFile.
Now user-mode process A is performing file creation and after switch to kernel-mode my hook is called.
My question here is - is it safe assumption that inside my hooked NtCreateFile I'm in context of thread that is calling createFile?
If no, then how can I know that... how can I know what process/thread is source of this call?
Thank you!