Foreign Listener
Last updated
Last updated
The foreign listener in Cobalt Strike is designed to stage Meterpreter HTTP/HTTPS implants from Beacon, although it's technically compatible with any implant that supports the MSF staging protocol. Start msfconsole
and create a new reverse HTTP Meterpreter listener.
You must use the "staged" reverse_http payload type and ensure you use a port that Cobalt Strike is not already listening on.
\
\
Go to the listener management in Cobalt Strike and create a new Foreign HTTP listener. The stager host and port must match your MSF multi handler.
\
\
This listener will now be available within all the relevant Beacon commands such as spawn
, jump
and elevate
. For instance, spawn msf
will spawn a process and inject Meterpreter shellcode into it, thus giving us a Meterpreter session.
\
Two downsides to the foreign listener is that it only supports x86 staged payloads (no x64 or stageless).