|
HyperDbg Debugger
|
Main interface to connect applications to driver. More...
#include "pch.h"Functions | |
| INT | HyperDbgStartDriver () |
| Install (start) VMM driver. | |
| INT | HyperDbgStopDriver (LPCTSTR DriverName) |
| Stop the driver. | |
| INT | HyperDbgInstallKdDriver () |
| Install KD (Kernel Debugger) driver. | |
| INT | HyperDbgStartKdDriver () |
| Start KD driver. | |
| INT | HyperDbgStopKdDriver () |
| Stop KD driver. | |
| INT | HyperDbgUninstallDriver (LPCTSTR DriverName) |
| Remove the driver. | |
| INT | HyperDbgUninstallKdDriver () |
| Remove the KD (Kernel Debugger) driver. | |
| INT | HyperDbgInitHyperTraceModule () |
| Initialize VMM module. | |
| INT | HyperDbgInitVmmModule () |
| Initialize VMM module. | |
| INT | HyperDbgCreateHandleFromKdModule () |
| Create handle from KD (HyperKD) module. | |
| INT | HyperDbgUnloadVmm () |
| Unload VMM module. | |
| INT | HyperDbgUnloadHyperTrace () |
| Unload HyperTrace module. | |
| INT | HyperDbgUnloadKd () |
| Unload KD driver. | |
| BOOLEAN | HyperDbgIsAnyModuleLoaded () |
| check if any module is loaded (KD, VMM, HyperTrace, etc.) | |
| INT | HyperDbgUnloadAllModules () |
| unload all modules (KD, VMM, HyperTrace, etc.) | |
| INT | HyperDbgLoadKdModule () |
| load kd module | |
| GENERIC_PROCESSOR_VENDOR | HyperDbgGetProcessorVendor () |
| Get the vendor of the current processor. | |
| INT | HyperDbgLoadVmmModule () |
| load vmm module | |
| INT | HyperDbgLoadHyperTraceModule () |
| load hypertrace module | |
| INT | HyperDbgLoadAllModules () |
| load all modules (KD, VMM, HyperTrace, etc.) | |
Variables | |
| HANDLE | g_DeviceHandle |
| Holds the global handle of device which is used to send the request to the kernel by IOCTL, this handle is not used for IRP Pending of message tracing this handle is used in KD VMM. | |
| HANDLE | g_IsDriverLoadedSuccessfully |
| Handle to show that if the debugger is loaded successfully. | |
| BOOLEAN | g_IsMessageLoggingWindowClosed |
| Shows whether the message logging window is closed or not. | |
| TCHAR | g_DriverLocation [MAX_PATH] |
| Holds the location driver to install it. | |
| TCHAR | g_DriverName [MAX_PATH] |
| Holds the name of the driver to install it. | |
| BOOLEAN | g_UseCustomDriverLocation |
| Whether the user wants to use a custom driver location or not. | |
| LIST_ENTRY | g_EventTrace |
| Holds a list of events in kernel and the state of events and the commands to show the state of each command (disabled/enabled). | |
| BOOLEAN | g_IsKdModuleLoaded |
| shows whether the kernel debugger (KD) module is loaded or not | |
| BOOLEAN | g_IsVmmModuleLoaded |
| shows whether the VMM module is loaded or not | |
| BOOLEAN | g_IsHyperTraceModuleLoaded |
| shows whether the HyperTrace module is loaded or not | |
Main interface to connect applications to driver.
| INT HyperDbgCreateHandleFromKdModule | ( | ) |
Create handle from KD (HyperKD) module.
lpSecurityAttirbutes
lpTemplateFile
| GENERIC_PROCESSOR_VENDOR HyperDbgGetProcessorVendor | ( | ) |
Get the vendor of the current processor.
| INT HyperDbgInitHyperTraceModule | ( | ) |
Initialize VMM module.
| INT HyperDbgInitVmmModule | ( | ) |
Initialize VMM module.
| INT HyperDbgInstallKdDriver | ( | ) |
Install KD (Kernel Debugger) driver.
| BOOLEAN HyperDbgIsAnyModuleLoaded | ( | ) |
check if any module is loaded (KD, VMM, HyperTrace, etc.)
| INT HyperDbgLoadAllModules | ( | ) |
load all modules (KD, VMM, HyperTrace, etc.)
| INT HyperDbgLoadHyperTraceModule | ( | ) |
load hypertrace module
| INT HyperDbgLoadKdModule | ( | ) |
load kd module
| INT HyperDbgLoadVmmModule | ( | ) |
load vmm module
| INT HyperDbgStartDriver | ( | ) |
Install (start) VMM driver.
| INT HyperDbgStartKdDriver | ( | ) |
Start KD driver.
| INT HyperDbgStopDriver | ( | LPCTSTR | DriverName | ) |
Stop the driver.
| INT HyperDbgStopKdDriver | ( | ) |
Stop KD driver.
| INT HyperDbgUninstallDriver | ( | LPCTSTR | DriverName | ) |
Remove the driver.
| INT HyperDbgUninstallKdDriver | ( | ) |
Remove the KD (Kernel Debugger) driver.
| INT HyperDbgUnloadAllModules | ( | ) |
unload all modules (KD, VMM, HyperTrace, etc.)
| INT HyperDbgUnloadHyperTrace | ( | ) |
Unload HyperTrace module.
| INT HyperDbgUnloadKd | ( | ) |
Unload KD driver.
| INT HyperDbgUnloadVmm | ( | ) |
Unload VMM module.
|
extern |
Holds the global handle of device which is used to send the request to the kernel by IOCTL, this handle is not used for IRP Pending of message tracing this handle is used in KD VMM.
|
extern |
Holds the location driver to install it.
|
extern |
Holds the name of the driver to install it.
|
extern |
Holds a list of events in kernel and the state of events and the commands to show the state of each command (disabled/enabled).
this list is not have any relation with the things that HyperDbg holds for each event in the kernel
|
extern |
Handle to show that if the debugger is loaded successfully.
|
extern |
shows whether the HyperTrace module is loaded or not
|
extern |
shows whether the kernel debugger (KD) module is loaded or not
|
extern |
Shows whether the message logging window is closed or not.
|
extern |
shows whether the VMM module is loaded or not
|
extern |
Whether the user wants to use a custom driver location or not.