unload [module name]
Unloads the HyperDbg drivers and kernel modules from the target system.
The name of the module that you want to unload
vmm : this module contains commands related to the debugger and all hypervisor-related capabilities. Currently, vmm is the only module of HyperDbg.
The following example unloads
HyperDbg> unload vmm
This function first invokes
IOCTL_TERMINATE_VMX to turn off the vmx operation and
IOCTL_RETURN_IRP_PENDING_PACKETS_AND_DISALLOW_IOCTL to complete all the IRP Pending sessions so that we can call
If you're using APIs, the following export in hprdbgctrl can be used.
HPRDBGCTRL_API int HyperdbgUnload();
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.