CatalogLOLBAS

LOL · OtherMSBinary

Cdb.exe

3 techniquesWindowsLOLBASGPL-3.0

Execute

ExecutionWindows

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
Evidence
Upstream reference
Environment
Local host
Context
user
Native
Execute
MITRE
T1127

Execute

ExecutionWindows

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}
Evidence
Upstream reference
Environment
Local host
Context
user
Native
Execute
MITRE
T1127

Execute

ExecutionWindows

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}"
Evidence
Upstream reference
Environment
Local host
Context
user
Native
Execute
MITRE
T1127