spellshift / realm

Realm is a cross platform Red Team engagement platform with a focus on automation and reliability.
https://docs.realm.pub/
GNU General Public License v3.0
414 stars 29 forks source link

[bug] Reverse Shell (Beta) Broken in GCP #726

Open KCarretto opened 6 months ago

KCarretto commented 6 months ago

Describe the bug GCP LoadBalancing does not support HTTP/2 WebSockets (see issue). This prevents us from accessing ReverseShells via GCP:

To Reproduce

  1. Deploy Tavern to GCP using default terraform
  2. Enable H2C e2e on the tavern Cloud Run Deployment
  3. Create a Reverse Shell (e.g. using the ReverseShell Tome)
  4. Attempt to connect to the reverse shell via WebSocket

Expected behavior A nice PTY for interacting with the Reverse Shell

Desktop (please complete the following information):

Additional context It's likely we'll need to migrate away from WebSockets to solve the issue, unless the above BugTracker is resolved. This could mean using gRPC HTTP/2 bidirectional streaming in the browser in place of a websocket.