Last updated
Last updated
Cobalt Strike has two further generic injection commands that can be utilised for the purpose of session passing: shinject
and shspawn
. Both allow you to inject an arbitrary shellcode blob - shinject can inject into an existing process, and shspawn will spawn a new process.
First, change the multi handler to use a stageless x64 Meterpreter payload.
Next, generate the associated payload using msfvenom
inside WSL, and save the output to your Payloads
directory.
Finally, use shspawn to spawn a process and inject it.