wstunnel tunnels TCP or UDP traffic over WebSocket or HTTP2 to an operator-run wstunnel server, blending tunneled traffic with ordinary web traffic to bypass firewalls and DPI. Because the server is self-hosted, there is no vendor domain to block. It has been observed in intrusions by Scattered Spider/UNC3944 and Octo Tempest, and in the China-aligned Shadow-Earth-053 espionage campaign.
Starts the operator-controlled wstunnel server, accepting client tunnels over WebSocket Secure.
wstunnel server wss://0.0.0.0:8080
Connects to the wstunnel server over WebSocket and exposes a local SOCKS5 proxy, routing traffic into the tunnel to bypass firewalls and DPI.
wstunnel client -L socks5://127.0.0.1:1080 wss://<SERVER>:8080
Forwards a local TCP port over the WebSocket tunnel to a remote service such as SSH, reaching it through the operator-controlled server.
wstunnel client -L tcp://2222:127.0.0.1:22 wss://<SERVER>:8080