Detect them by monitoring for long-lived outbound connections to unfamiliar external services, child processes spawned by tunnelling clients, and local listeners that should not exist on the endpoint. Correlate process trees, DNS lookups, and proxy logs for stable beaconing patterns. Unauthorised reverse proxies often appear as persistent user-space processes on endpoints.
What reverse proxy tunnelling tools look like on Windows
FRP and Ngrok usually behave less like traditional malware and more like persistent connectivity tools. On Windows, that means the most reliable signals come from process execution, network behaviour, and persistence patterns, not from a single filename. You are looking for a user-space process that starts a tunnel, keeps it alive, and maintains an outbound relationship to infrastructure the endpoint should not normally need.
A practical detection mindset is to treat the tunnel as a command and control-like communications problem. The tooling may be used for administration, testing, or legitimate remote access, but on an unmanaged endpoint it often creates the same observable traits as covert beaconing, especially when the connection is long-lived, stable, and paired with unusual local port exposure.
Windows telemetry is usually strongest when you combine process creation, parent-child relationships, DNS activity, and socket state. A tunnel client often launches from an interactive shell, a script host, or an archive extraction path, then spawns a child process that remains resident. That is the point where your hunting should shift from “what binary is this?” to “what user, what source path, what destination, and why does this host need it?”
Which artefacts are most useful to hunt
The highest-value artefacts are the ones that show both the local setup and the external rendezvous. Look for binaries running from temporary directories, downloads folders, user profile paths, or renamed executables that are not part of a standard software inventory. Correlate that with unexpected outbound sessions to tunnel providers, cloud-hosted endpoints, or unusual high-entropy domains that are contacted repeatedly over time.
Local listeners matter because tunnel clients frequently expose a service on localhost or on a port that should not be open on a workstation. That does not automatically mean compromise, but it is a strong clue when the listener appears alongside a persistent outbound connection. If you can match the listener to a process tree and then to a DNS query pattern, you usually have enough evidence to separate legitimate remote support from unauthorised tunnelling.
For broader reverse proxy and beaconing tradecraft, a good reference point is MITRE D3FEND Guide, because the problem is often better solved by pairing process lineage analysis, outbound traffic filtering, and protocol anomaly checks than by hunting for one specific malware signature. The same logic applies when the tool is abused as an ingress path for later movement or access staging.
How to separate benign remote access from suspicious tunnelling
Start with context. Legitimate remote access tools usually have a known owner, a known installation path, and a predictable support function. Suspicious tunnelling is more likely to show up as an unauthorised user-space process with no change record, no software distribution trail, and no clear business need for external exposure. If the process survives reboots, reconnects after interruptions, or reappears after termination, treat that as evidence of intentional persistence rather than a one-off support session.
Look at the shape of the connection. Reverse proxy tools often show stable beacon intervals, similar destination metadata across sessions, and repeated use of the same remote endpoint even when the local activity appears idle. They may also create a proxy chain that obscures the final destination from basic perimeter logs. That is why you should verify endpoint telemetry against DNS logs and egress proxy logs rather than relying on a single sensor.
For Windows environments where defenders need to validate what normal should look like, Cisco Active Directory credentials leak 2025 is useful as a reminder that tunnelling and proxy abuse often become more dangerous when they support credential access and lateral movement. The tunnel itself is only the transport; the material risk comes from what it enables next.
Risk and Threat Considerations
Reverse proxy tunnelling tools are attractive because they collapse the defender’s normal network assumptions. A workstation can suddenly behave like a small ingress point, a relay, or a staging node while still looking like ordinary outbound traffic. That makes detection harder, especially if the tunnel is used to expose RDP, admin panels, or internal services through an allowed cloud destination.
Failure mechanism: The control gap appears when endpoint visibility and network visibility are not correlated. A persistent tunnel can hide a remote operator behind an outbound channel, bypass perimeter-only monitoring, and create a path for interactive access, credential use, or follow-on payload delivery.
Impact: Once the tunnel is established, an attacker or unauthorised operator may gain durable access that is harder to distinguish from legitimate remote administration. The downstream effect can be unauthorized remote control, internal service exposure, and faster lateral movement if the host has access to sensitive systems.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
MITRE ATT&CK addresses the attack and risk surface, while CIS Controls v8 and NIST CSF 2.0 set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| MITRE ATT&CK | T1090 — Proxy | Reverse proxy tunnelling tools create proxy-mediated access paths and relay traffic. |
| T1071 — Application Layer Protocol | Ngrok and FRP often blend through normal-looking application protocol traffic. | |
| Recommendation — Map tunnelling activity to Proxy and hunt for relay-based access paths in endpoint and network telemetry. Inspect application-protocol traffic for long-lived beaconing and unusual destination patterns. | ||
| CIS Controls v8 | CIS-8 — Audit Log Management | Detection depends on correlating process, DNS, proxy, and listener logs. |
| Recommendation — Centralize and correlate endpoint, DNS, and proxy logs for tunnel-behaviour indicators. | ||
| NIST CSF 2.0 | DE.CM-01 — The network is monitored to detect potential cybersecurity events | The question is about detecting suspicious tunnel activity on Windows endpoints. |
| DE.AE-03 — Potential adverse events are analyzed to determine cybersecurity incidents | Suspicious tunnel behaviour must be analyzed as a possible incident path. | |
| Recommendation — Monitor network traffic and endpoint telemetry for persistent outbound tunnel connections. Analyze correlated tunnel indicators to determine whether the activity is malicious or authorized. | ||
Practitioner Guidance
What to prioritise: Focus first on correlation, not signature matching. If a suspicious tunnel is present, validate the process tree, the outbound destination history, and the local listening port together, because any one of those signals can be benign on its own.
What to verify: Confirm whether the host should ever run tunnelling software, whether the binary is approved, and whether the remote endpoint is an expected service. If the answer is unclear, treat the process as suspect until change history and asset ownership are established.
What practitioners underestimate: Tunnelling tools are often operationally quiet. They may not trigger obvious malware alerts, yet still provide an attacker with a reliable access path. The most useful judgement is whether the endpoint’s connectivity pattern makes sense for its role, not whether the tool name is familiar.
Practitioner takeaway: The best detection strategy is to explain the connection path, not just identify the binary, because unauthorised tunnelling is usually revealed by its behaviour, persistence, and network shape rather than by its filename alone.
Related resources from NHI Mgmt Group
- How do you detect DNS tunnelling and exfiltration tools on Windows?
- How do you detect network scanning tools such as Nmap running on Windows endpoints?
- How do you detect Encrypting File System RPC abuse such as PetitPotam on Windows?
- How do you detect Kerberos relay attacks such as KrbRelayUp on Windows?