Skip to content

Repository files navigation

KiUserExceptionDispatcherHook

This project hooks KiUserExceptionDispatcher, the initial usermode exception dispatcher called from the kernel, by hooking Wow64PrepareForException, a function pointer stored in ntdll's .mrdata section.

KiUserExceptionDispatcher

Notes

To modify the .mrdata section in ntdll we call the LdrProtectMrdata function in ntdll.

This project doesn't necessarily need Zydis, but:

  1. I ripped this from a larger project that uses Zydis
  2. It makes it much easier to find LdrProtectMrdata and Wow64PrepareForException

Credits

Zydis

About

Hooking the Windows usermode exception handler

Resources

Stars

23 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages