Debugging tool included with Windows Debugging Tools. Located at: C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\cdb.exe; C:\Program Files (x86)\Windows Kits\10\Debuggers\x86\cdb.exe.
cdb cdb Sandbox: execFile · Timeout: 30s
security.execution.command Outputs
process.output Command execution output
process_spawn Produces
process.output| Resource | Value |
|---|---|
| CPU | low |
| Memory | 16 MB |
| Network | low |
| Disk I/O | low |
Launch 64-bit shellcode from the specified .wds file using cdb.exe. (Local execution of assembly shellcode.)
cdb.exe -cf {PATH:.wds} -o notepad.exe Attaching to any process and executing shell commands. (Run a shell command under a trusted Microsoft signed binary)
cdb.exe -pd -pn {process_name}
.shell {CMD}
Execute arbitrary commands and binaries using a debugging script (see Resources section for a sample file). (Run commands under a trusted Microsoft signed binary)
cdb.exe -c {PATH:.txt} "{CMD}" cdb is a Windows LOLBin. Debugging tool included with Windows Debugging Tools. Located at: C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\cdb.exe; C:\Program Files (x86)\Windows Kits\10\Debuggers\x86\cdb.exe.