Beacon Passing

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.

image.png

now let’s use the spawn commnad.

spawn x64 Spawn - Beacon

image.png

Foreign Listener

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

image.png

Now let’s create a forign listner.

image.png

now let’s spawn the payload.

spawn MSF - Beacon

image.png

now let’s go back to metasploit.

image.png

and we got a shell.

image.png