Skip to content

A toy, C# Cobalt Strike Beacon TCP to Named Pipe Frame Proxy

License

Notifications You must be signed in to change notification settings

sensepost/beacon-pipe-frame-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

beacon-pipe-frame-proxy

beacon-pip-frame-proxy

A toy, C# Cobalt Strike Beacon TCP to Named Pipe Frame Proxy.

This proxy is useful in situations where your external c2 client can't stay alive for a long period of time. When reconnecting to a beacon named pipe, the beacon would consider that new socket connection to be a new session, responding with an initial metadata frame.

To avoid this problem, the proxy will keep it's connection open to an upstream named pipe, while accepting new TCP connections. For any connected TCP client (and assuming the bytes being sent conform to the [length][payload] format from the Cobalt Strike External C2 specification), data will be passed to the connected named pipe and back to the TCP client.

usage

Once built, run the proxy by specifying the local pipe name to connect to and the TCP port to listen on. Example:

proxy.exe lightneuron 8888

Spawning this with a stealthier approach is an exercise left up to you.

license

beacon-pipe-frame-proxy is licensed under a GNU General Public v3 License. Permissions beyond the scope of this license may be available at http://sensepost.com/contact/.

About

A toy, C# Cobalt Strike Beacon TCP to Named Pipe Frame Proxy

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages