Catalog LOLBAS

LOL · OtherMSBinary

Cdb.exe

3 techniques WindowsLOLBAS GPL-3.0

Execute

Execution Windows

Launch 64-bit shellcode from the specified .wds file using cdb.exe.

Use Local execution of assembly shellcode.

cdb.exe -cf {PATH:.wds} -o notepad.exe
Context
user
Native
Execute
MITRE
T1127

Execute

Execution Windows

Attaching to any process and executing shell commands.

Use Run a shell command under a trusted Microsoft signed binary

cdb.exe -pd -pn {process_name}
.shell {CMD}
Context
user
Native
Execute
MITRE
T1127

Execute

Execution Windows

Execute arbitrary commands and binaries using a debugging script (see Resources section for a sample file).

Use Run commands under a trusted Microsoft signed binary

cdb.exe -c {PATH:.txt} "{CMD}"
Context
user
Native
Execute
MITRE
T1127