HyperDbg Debugger
|
Implementation of hooks based on Mode-based execution. More...
#include "pch.h"
Functions | |
BOOLEAN | ModeBasedExecHookDisableUserModeExecution (PVMM_EPT_PAGE_TABLE EptTable) |
Adjust (unset) user-mode execution bit of target page-table. | |
BOOLEAN | ModeBasedExecHookDisableKernelModeExecution (PVMM_EPT_PAGE_TABLE EptTable) |
Adjust (unset) kernel-mode execution bit of target page-table but allow user-mode execution. | |
BOOLEAN | ModeBasedExecHookEnableUsermodeExecution (PVMM_EPT_PAGE_TABLE EptTable) |
Enables user-mode execution bit of target page-table. | |
VOID | ModeBasedExecHookEnableOrDisable (VIRTUAL_MACHINE_STATE *VCpu, UINT32 State) |
Enable/disable MBEC. | |
BOOLEAN | ModeBasedExecHookInitialize () |
Initialize the needed structure for hooking mode execution. | |
VOID | ModeBasedExecHookUninitialize () |
Uinitialize the needed structure for hooking mode execution. | |
Implementation of hooks based on Mode-based execution.
BOOLEAN ModeBasedExecHookDisableKernelModeExecution | ( | PVMM_EPT_PAGE_TABLE | EptTable | ) |
Adjust (unset) kernel-mode execution bit of target page-table but allow user-mode execution.
should be called from vmx non-root mode
EptTable |
BOOLEAN ModeBasedExecHookDisableUserModeExecution | ( | PVMM_EPT_PAGE_TABLE | EptTable | ) |
Adjust (unset) user-mode execution bit of target page-table.
should be called from vmx non-root mode
EptTable |
VOID ModeBasedExecHookEnableOrDisable | ( | VIRTUAL_MACHINE_STATE * | VCpu, |
UINT32 | State ) |
Enable/disable MBEC.
VCpu | The virtual processor's state |
BOOLEAN ModeBasedExecHookEnableUsermodeExecution | ( | PVMM_EPT_PAGE_TABLE | EptTable | ) |
Enables user-mode execution bit of target page-table.
EptTable |
BOOLEAN ModeBasedExecHookInitialize | ( | ) |
Initialize the needed structure for hooking mode execution.
should be called from vmx non-root mode
VOID ModeBasedExecHookUninitialize | ( | ) |
Uinitialize the needed structure for hooking mode execution.
should be called from vmx non-root mode