we can use spawn command to spawn a new process and inject a shellcode to it to open a session for a listner we choose.
Let’s create a new listner.

now let’s use the spawn commnad.
spawn x64 Spawn - Beacon

In this section we will use Cobalt Strike to pass sessions to another C2 Frameworks.

Now let’s create a forign listner.

now let’s spawn the payload.
spawn MSF - Beacon

now let’s go back to metasploit.

and we got a shell.
