Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

lhjandroid/EPT-Hook-Examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

12 Commits

Repository files navigation

EPT-Hook-Examples

Examples of EPT hooking and tracing execution via mmr using the amazing hv hypervisor project

Project "um" features usermode code for signalling installation of ept hooks and using hypercalls, cross-process ept hook (page in process A replaced with page from process B) was shown to be working -> replacing call to MessageBoxA() with ucrbase.puts() using dynamic lookups. "helpers.hpp" contains useful dynamic lookup functions such as module base retrieval and custom "GetProcAddress" (without using any WINAPIs).

Since we are cross-process EPT Hooking, VAs for APIs will be different and thus we must look up all info dynamically. All functions should all be inlined with stack security options turned off.

Example of using mmr's for tracing execution of specific function in process:
image

About

Examples of EPT hooking & tracepoints using the `hv` hypervisor project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

Contributors

Languages

  • C++ 93.0%
  • Assembly 6.9%
  • C 0.1%

AltStyle によって変換されたページ (->オリジナル) /