references/aggressor-functions/bkeylogger.md

GitHub

bkeylogger

Injects a keystroke logger into a process.

Arguments

$1 - the id for the beacon. This may be an array or a single ID.

$2 - (optional) the PID to inject the keystroke logger into or $null.

$3 - (optional) the architecture of the target PID (x86|x64) or $null.

Example

Spawn a temporary process bkeylogger($1);

Inject into the specified process bkeylogger($1, 1234, "x64");