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

STATUS_STACK_BUFFER_OVERRUN was raised #30

Open
9844201 opened this issue Oct 8, 2022 · 0 comments
Open

STATUS_STACK_BUFFER_OVERRUN was raised #30

9844201 opened this issue Oct 8, 2022 · 0 comments

Comments

@9844201
Copy link

9844201 commented Oct 8, 2022

I inject the process using NKTHOOKLIB_DisallowReentrancy

hook function
NtClose
NtOpenFile
NtCreateSection
NtQueryAttributesFile

STATUS_STACK_BUFFER_OVERRUN was raised
But without using NKTHOOKLIB_DisallowReentrancy everything works fine
Below is the dmp file

Test platform windows 11 x64 22h2
computer Alienware x17 R2

CrashDump_2a50_2022-10-07_21-48-57-595_3248.zip

The problem might be
http://forum.madshi.net/viewtopic.php?f=7&t=28896

madCodeHook 4.2.1 comes with the following changes (compared to 4.1.3):
· rewrite of many assembler stubs to make Intel CET happy

After testing Visual Studio (2019-2022) open /CETCOMPAT the problem will reproduce,
the hardware must support CET

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

1 participant