Tunna is a set of tools for tunneling TCP traffic over HTTP, pairing a Python client (proxy.py) with a server-side component (ASPX, PHP, JSP or ASP) uploaded to a compromised web application server. It can tunnel traffic outbound through packet-inspecting firewalls, and the same mechanism works anywhere a web shell could be deployed. Tunna is the predecessor to the project’s own reGeorg.
Runs the client on the operator host, forwarding a local port through the uploaded server-side component on the compromised web application server.
python proxy.py -u <REMOTE_URL> -l <LOCAL_PORT>
Variant tuned for tunneling RDP traffic, with an adjusted buffer size.
python proxy.py -u <REMOTE_URL> -l <LOCAL_PORT> -r <RDP_PORT> -b 8192