Linux TPROXY path
Rosemary configures Linux forwarding and policy routing so traffic can enter the Rosemary path while preserving destination awareness.

Kernel-level pivoting
Rosemary is a cross-platform kernel-level pivoting platform over QUIC. Once an agent connects, the operator gains routed access through that agent’s network path, reaching internal segments without proxychains, TUN/TAP setup, or per-application proxy edits.

Kernel pivoting layer
The routing model is not just a SOCKS wrapper. Rosemary installs platform-specific packet paths so the operator machine can reach networks exposed by connected agents while Rosemary preserves destination awareness and flow handling.
Rosemary configures Linux forwarding and policy routing so traffic can enter the Rosemary path while preserving destination awareness.
On Windows, Rosemary loads the WinDivert kernel driver, captures outbound TCP and UDP packets, rewrites loopback proxy traffic, and injects responses back to the original client flow.
Agent subnets become reachable from the operator side through Rosemary’s route table, so internal paths stay tied to the agent that exposes them.
When the server has no internet access, Rosemary can use a selected online agent as the egress path so operator-side traffic exits from the agent network.
Traffic flow
Rosemary keeps the operator workflow focused: once agents connect, their reachable networks become operator-side paths, and default egress can let the server use an internet-connected agent for outbound access.
Hover to see traffic units move from the Rosemary control surface toward available agents.
SOCKS5, local forwards, reverse forwards, and discovery actions share the same operator surface.
Use native agents where possible, or Invoke-Rosemary.ps1 for Windows agent workflows and bind-mode access.
Dashboard
Rosemary includes a web dashboard for operating the pivoting layer without losing visibility. The graph view shows connected agents and their relationships, while the table view keeps host, subnet, route, and connection details easy to scan.


Operator focused
Rosemary is designed for authorized security assessments where the operator needs to work from inside reachable agent networks without redesigning every command around proxy configuration.
Intercept traffic below the application layer with Linux policy routing and Windows WinDivert packet handling.
Outbound agents dial home over QUIC/UDP, while bind mode keeps an encrypted TCP option for stricter networks.
Move through several connected agents and keep destination ownership clear across deeper internal paths.
Expose per-agent SOCKS5 listeners, local forwards, UDP forwards, and reverse forwards from one control plane.
Carry TCP, UDP, DNS, and ICMP-oriented workflows across internal routes without per-tool proxy settings.
Run ping checks, subnet sweeps, and TCP or UDP scans from the agent side before expanding access.
Work from the web UI, interactive CLI, or REST API with scoped tokens for read, write, and admin usage.
Use the browser extension for quick access to Rosemary controls without leaving Chrome.
Use Invoke-Rosemary.ps1 as a Windows agent path, including bind mode, outbound mode, and background execution.
Select an agent with internet access so the Rosemary server can reach the internet through that agent when the server itself has no direct internet path.
Workflow
The flow stays simple: run the server, connect agents, then operate through the networks those agents expose using routes, forwards, SOCKS5 listeners, discovery, and egress from the same console.
Run Rosemary on the operator host. The dashboard is exposed on the web port and agents connect to the transport listener.
sudo rosemaryDeploy a platform-specific agent. Once it connects, its discovered subnets can become routable paths.
./agent-linux-amd64 -s server-ip:2048 -k YOUR_KEYThe operator can use normal tools as routed access appears through the connected agent’s network path.
curl http://192.168.1.50
ssh [email protected]
ping 192.168.1.1Quick start
$ sudo rosemary
$ ./agent-linux-amd64 -s server-ip:2048 -k YOUR_KEY
$ . .\Invoke-Rosemary.ps1
$ Invoke-Rosemary -Mode agent -Server 192.168.1.10:2048 -Key YOUR_KEY -Background
$ Invoke-Rosemary -Mode agent-bind -Listen 0.0.0.0:9001 -Key YOUR_KEY
$ rosemary> routes
$ rosemary> egress agent-1
$ rosemary> socks agent-1 1080
$ rosemary> forward add 8080 agent-1 192.168.1.10 80 tcp
$ rosemary> rforward add 9001 agent-1 127.0.0.1 22
$ rosemary> discover agent-1 192.168.1.0/24 800 128
$ rosemary> portscan agent-1 tcp 192.168.1.10 22,80,443,3389
$ rosemary> egress none
Platforms
Rosemary is intended for lawful administration, research, and security testing on systems you own or are explicitly authorized to assess.