load (load modules)
Description of the 'load' command in HyperDbg.
Command
load
Syntax
load [ModuleName (string)]
Description
Loads the HyperDbg's drivers and kernel modules into the target system.
Parameters
[ModuleName (string)]
The name of the module that you want to load.
Modules
all
Loading all available modules
kd
Kernel module (parent module for all modules)
vmm
Hypervisor-related capabilities
trace
Tracing (Intel LBR, Intel PT) capabilities
KD: This module contains certain debugging commands and is also the parent of all modules (manages and loads all other modules)
VMM: This module contains commands related to the debugger and all hypervisor-related capabilities.
Trace: This module contains commands for tracing functions such as Intel Processor Trace (PT) and Last Branch Record (LBR).
Examples
The following example loads vmm module.
The following example loads trace module.
The following example loads all modules.
The following example loads kd module.
SDK
To load the HyperDbg drivers on the local machine, you need to use the following function in libhyperdbg (depending on the module you want to load):
Make sure to install drivers before loading the driver.
Remarks
The application that requests to load the kernel modules should have SeDebugPrivilege to obtain a handle, otherwise an ACCESS_DENIED is thrown.
This command will continue the debuggee for some time (in Debugger Mode). This means that you lose the current context (registers & memory) after executing this command.
Requirements
Intel VT-x is required to be enabled to load the
vmmmodule.For the
vmmmodule, Intel Extended Page Table (a.k.a. SLAT) should be present in the processor. If you have a Nehalem (2008) processor or a newer processor, then it supports this feature.Intel PT and Intel LBR are required for loading the
tracemodule.
Related
Last updated