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

suggestion: add "patchguard dance" from wind #67

Closed
ghost opened this issue Jul 22, 2023 · 1 comment
Closed

suggestion: add "patchguard dance" from wind #67

ghost opened this issue Jul 22, 2023 · 1 comment
Labels
wontfix This will not be worked on

Comments

@ghost
Copy link

ghost commented Jul 22, 2023

would it be possible to add the "patchguard dance" from https://github.com/katlogic/WindowsD to prevent bsod after touching dse state?

@hfiref0x
Copy link
Owner

hfiref0x commented Jul 22, 2023

The "patchguard dance" in the above project is a trivial IAT hook on services.exe to achieve unknown goals as it makes absolutely no difference if you do the same patch_dse->NtLoadDriver->restore_dse in your app without using any kind of SCM (ffs why it even use it). It maybe will save you few milliseconds compared to running "kdu with dse off, loading your loader, running kdu dse on", but you will never know was it enough or PG already did the check. KDU will not patch (nor even touch) any memory of system processes.

@hfiref0x hfiref0x added the wontfix This will not be worked on label Apr 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

1 participant