.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.

0: kHyperDbg> .kill

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

.start (start a new process)

.restart (restart the process)

.attach (attach to a process)

.detach (detach from the process)

.switch (show the list and switch between active debugging threads)

Last updated