01 / TRADECRAFT
3 examplesCommand reference
Execute3
EXAMPLE 01T1127
Launch 64-bit shellcode from the specified .wds file using cdb.exe.
COMMAND
cdb.exe -cf {PATH:.wds} -o notepad.exeEXAMPLE 02T1127
Attaching to any process and executing shell commands.
COMMAND
cdb.exe -pd -pn {process_name}
.shell {CMD}
EXAMPLE 03T1127
Execute arbitrary commands and binaries using a debugging script (see Resources section for a sample file).
COMMAND
cdb.exe -c {PATH:.txt} "{CMD}"02 / ON DISK
Known paths
C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\cdb.exeC:\Program Files (x86)\Windows Kits\10\Debuggers\x86\cdb.exe03 / DEFENSIVE INTELLIGENCE
4 resourcesDetection & indicators
REFERENCE IMPLEMENTATIONS
Code samples
FURTHER READING
Research & resources
COMMUNITY RESEARCH
Acknowledgements
Matt Graeber@mattifestation
mr.d0x@mrd0x
Spooky Sec@sec_spooky
Nasreddine Bencherchali@nas_bench