githubEdit

.start (start a new process)

Description of the '.start' command in HyperDbg.

Command

.start

Syntax

.start [path Path (string)] [Parameters (string)]

Description

Starts a program with the specific parameters and breaks when the PE file reaches the entrypoint.

triangle-exclamation
circle-info

This command won't use any Windows API for intercepting and pausing threads, and everything is done at the hypervisor level.

Parameters

[path Path (string)]

The target file path

[Parameters (string)] (optional)

The parameter(s) to the file

Examples

Imagine we want to start a program without parameters.

If your file path contains a space character, you should write the path between two quotes; otherwise, it will be interpreted as parameters.

If you want to pass parameters to your target file. Imagine we want to pass -m 1 -o out.txt parameters to our exe file.

SDK

To start a process in the target debuggee, you need to use the following function in libhyperdbg:

To start a process in the target debuggee with custom arguments, you need to use the following function in libhyperdbg:

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

.restart (restart the process)arrow-up-right

.attach (attach to a process)arrow-up-right

.detach (detach from the process)arrow-up-right

.switch (show the list and switch between active debugging threads)arrow-up-right

.kill (terminate the process)arrow-up-right

.pagein (bring the page into the RAM)arrow-up-right

Last updated