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

Does minHook support windows server 2019/2022? #98

Open
sadward opened this issue Oct 11, 2021 · 3 comments
Open

Does minHook support windows server 2019/2022? #98

sadward opened this issue Oct 11, 2021 · 3 comments

Comments

@sadward
Copy link

sadward commented Oct 11, 2021

I developed a dll to hook a fastprox.dll function (?Next@CWbemObject@@UAGJJPAPAGPAUtagVARIANT@@Paj2@Z).
So far I used it in Win Server 2012 and worked perfectly. However, I tried to use it in Win srv 2019/2022 but no result.
Does minhook have any limitation regarding these two editions of Windows? or any kind of added features in these editions that stop the hooking?
Thank You

@m417z
Copy link
Collaborator

m417z commented Oct 11, 2021

Does minhook have any limitation regarding these two editions of Windows?

No, there shouldn't be any limitations. Perhaps the function signature (and thus its mangled name) changed.

@sadward
Copy link
Author

sadward commented Oct 21, 2021

Does minhook have any limitation regarding these two editions of Windows?

No, there shouldn't be any limitations. Perhaps the function signature (and thus its mangled name) changed.

You are right. After few tests, I found out the problem is VMware. When I tried the hooking on Win SRV2019 (Installed on real hardware), everything is fine but same scenario, Win SRV2019 on VMware, hooking is not working. Could you please help me out and give me some hint.
I need to mention that the Win SRV2012 was on VMware and that one also was fine.
Thank You

@m417z
Copy link
Collaborator

m417z commented Oct 21, 2021

I don't think I can help you with the little amount of details you provided. Some (perhaps obvious) hints: compare both fastprox.dll versions and check MinHook's error code.

If you need extra consultation, you can email me.

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