Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there anyway to hook external process? #35

Open
wtfbbq opened this issue Apr 21, 2019 · 1 comment
Open

Is there anyway to hook external process? #35

wtfbbq opened this issue Apr 21, 2019 · 1 comment

Comments

@wtfbbq
Copy link

wtfbbq commented Apr 21, 2019

inside ia32::cr3_t kernel_cr3
auto kprocess = reinterpret_cast<NT_KPROCESS*>(PsGetCurrentProcess());

I've found that if I KeStackAttachProcess to external process, therefore PsGetcurrentProcess returns external process

In this way it can hook external process, but it bsod sometime (when unloading driver etc..)

How can I hook external process?

@trash-code
Copy link

The hypervisor has nothing to do with hooking, and frankly you shouldn't even be looking at a hypervisor if you have issues hooking.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants