Skip to content

A static library, wrapper for mhyprot vulnerable driver, execute exploits and tests

License

Notifications You must be signed in to change notification settings

Kuratius/libmhyprot

 
 

Repository files navigation

IMAGE

libmhyprot

A static library, wrapper for mhyprot vulnerable driver, execute exploits and tests

The exploit PoC explained here: evil-mhyprot-cli

Requirements

  • Only supports x64
  • Might be work on any Windows version that the driver works on (not yet tested)

Usage

1. Include header

#include "libmhyprot.h"

2. Init

libmhyprot::mhyprot_init() -> bool

3. Executions

You can use templates to call functions as follows:

using namespace libmhyprot;
read_kernel_memory(addr, buf, size); /*or*/ read_kernel_memory<T>(addr);
read_user_memory(pid, addr, buf, size); /*or*/ read_user_memory<T>(pid, addr);
write_user_memory(pid, addr, buf, size); /*or*/ write_user_memory<T>(pid, addr, val);

4. Unload

Please note that if you did not call this, the vulnerable driver will remains on your system.

libmhyprot::mhyprot_unload() -> void

About

A static library, wrapper for mhyprot vulnerable driver, execute exploits and tests

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 100.0%