.kill (terminate the process)
Description of the '.kill' command in HyperDbg.

Command

.kill

Syntax

.kill

Description

Terminates the currently active process (the previously started process using the '.start' or the '.attach' commands).

Parameters

None

Examples

Imagine we want to terminate a previously started program using the '.start' command.
1
0: kHyperDbg> .kill
Copied!

IOCTL

The IOCTL description is the same as the '.start' command, but instead of Action, you should send DEBUGGER_ATTACH_DETACH_USER_MODE_PROCESS_ACTION_KILL_PROCESS.

Remarks

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

None