14 March 2022
tl;dr: Quickly and easily convert your raw binary output from Cobalt Strike (or any other source) into a variety of shellcode formats with either script
When I need shellcode from Cobalt Strike, for any sort of reason, my default go-to is to use Cobalt's ability to generate Raw shellcode.
I like to use this as my go to because of two reasons:
I have two separate scripts that simply take a path to the .bin file that's generated by Cobalt Strike and it will convert it into multiple formats:
There's both a Python and PowerShell script that will convert the binary data into the various shellcode formats, so feel free to use either depending on the platform you're on.
Hope that this helps, feel free to contact us with any questions you may have!