Join our Newsletter — 33% off our NHI Course
Home› FAQ› Threats, Abuse & Incident Response› What are the signs that a package-installed relay…
Threats, Abuse & Incident Response

What are the signs that a package-installed relay is being used for covert access?

← Back to all FAQ
By NHI Mgmt Group Editorial Team Updated October 12, 2026 Domain: Threats, Abuse & Incident Response

Look for native binaries that run on import, short-lived temporary files, unexpected reverse tunnels, renamed processes, and outbound connections to a single control server. In this case, the implant also exposed SSH and Vault ports and used websocket-based tunnelling, which are strong indicators that the host has been repurposed as access infrastructure.

What makes a package-installed relay look like covert access infrastructure?

A package-installed relay usually leaves a blend of application and transport clues that do not fit normal software behaviour. The strongest signals are execution on import, short-lived staging files, renamed binaries, reverse tunnels, and outbound sessions to one destination. If the host also exposes management or secret-store ports, treat the box as access infrastructure rather than a simple compromised workstation.

Look first for process and file behaviour that is inconsistent with legitimate package startup. Imports that immediately spawn child processes, drop temporary artifacts, or rename themselves to blend in are often part of a relay’s attempt to survive casual review. When those behaviours appear alongside tunnelling, the package is doing more than app logic, it is brokering reachability.

Network shape matters just as much as host artefacts. A covert relay often creates a small number of persistent outbound connections, sometimes to a single control server, while exposing inbound services only to support pivoting or operator convenience. That pattern is different from ordinary telemetry, update checks, or noisy client traffic because it concentrates control in one external endpoint and uses the host as a transit layer.

Why do exposed SSH, Vault, and websocket tunnels raise suspicion?

When an implant exposes SSH and Vault ports, the question is no longer just “is this suspicious?” but “what other access has the package made available?” SSH suggests interactive reach into the host, while Vault exposure points to secret-bearing services or adjacent trust boundaries. Websocket tunnelling adds a flexible bidirectional channel that can carry command traffic, port forwarding, or session relaying through what may look like ordinary application communication.

These features are especially concerning when they appear together. A covert relay does not need broad functionality, it needs reliable operator reach, a way to move traffic, and enough protocol camouflage to avoid immediate shutdown. That is why combinations such as a renamed process plus websocket tunnelling plus a narrow destination set are more informative than any single indicator on its own.

If the package is part of a wider deployment chain, also check whether the relay is bridging zones that should normally remain isolated. A package that unexpectedly opens paths into internal services, secret management, or administrative interfaces is performing access mediation, not benign self-management. In practice, that means it may be enabling lateral movement or remote administration under the cover of normal package behaviour.

Which corroborating checks help confirm covert use?

Corroboration should focus on whether the observed behaviour is purposeful, persistent, and aligned with operator access. Review startup hooks, package lifecycle events, recent file creation, parent-child process trees, and destination reputation together. If the same package repeatedly re-establishes reachability after restart, or if its network path changes only when defenders intervene, the evidence points toward managed access infrastructure.

It also helps to compare the package’s claimed function with the services it touches. A library or dependency that has no obvious reason to expose ports, forward sessions, or spawn shells deserves immediate scrutiny. The mismatch between declared purpose and observed control plane behaviour is often what separates a suspicious relay from a noisy but legitimate component.

Where possible, preserve both the process lineage and the network transcript. Operators of covert relays often rely on ambiguity, so investigators need enough context to distinguish remote support tooling, test infrastructure, and malicious persistence. The key question is whether the package is simply making outbound calls, or whether it is enabling an external operator to control the host and transit traffic through it.

Risk and Threat Considerations

Covert relays are dangerous because they turn an apparently ordinary package into hidden access infrastructure. That creates exposure for persistence, lateral movement, secret theft, and operator re-entry, especially when the relay can reach management ports or secret stores that were never meant to be exposed.

Failure mechanism: A package with execution-on-import or embedded tunnelling can create a durable command path that bypasses normal administrative controls, while renamed processes and temporary staging files reduce the chance of quick detection.

Impact: The host may become a trusted pivot point for interactive access, secret harvesting, or internal service exposure, and defenders may lose confidence that the package’s network activity reflects legitimate software behaviour.

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 SP 800-53 Rev 5 set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
MITRE ATT&CKT1021 — Remote ServicesCovert SSH and tunnel access fit remote service abuse for operator reach.
T1090 — ProxyWebsocket tunnelling and relay behaviour match proxying and traffic forwarding.
T1071 — Application Layer ProtocolWebsocket-based tunnelling uses application protocols to blend command traffic.
Recommendation — Map exposed remote access paths to T1021 and isolate unexpected administrative channels. Track relay-like forwarding to T1090 and hunt for hidden transit paths. Correlate application-layer transport anomalies with T1071 and inspect suspicious sessions.
CIS Controls v8CIS-8 — Audit Log ManagementHost and network logs are needed to detect import-time execution and relay activity.
Recommendation — Centralize host and network logging to expose covert relay behaviour.
NIST SP 800-53 Rev 5AC-4 — Information Flow EnforcementUnexpected tunnels and exposed ports bypass intended flow boundaries.
Recommendation — Enforce flow restrictions to prevent unauthorized relay paths across trust zones.

Practitioner Guidance

What to verify: Confirm whether the package has any legitimate need to spawn shells, open tunnels, or publish SSH or secret-store ports. If it does not, treat those behaviours as compromise indicators first and as software defects only after you have ruled out operator use.

Decision rule: If the package can both initiate outbound control traffic and expose an inbound management path, prioritise isolation, credential review, and traffic containment before trying to “understand” the package’s original purpose.

Practitioner takeaway: The most important judgement is not whether the package is unusual, but whether it is functioning as a covert transport layer for access, because that changes the response from application triage to incident containment.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

NHIMG Editorial Note
Reviewed and updated by the NHIMG editorial team on October 12, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org