CyberKit

Port Forwarding

Also called port relay, TCP relay.

Relaying a port through a host to reach otherwise blocked services.

What it is

Redirecting traffic arriving on one host and port to another address and port, so a service reachable from the relay becomes reachable from elsewhere. Attackers use local, remote, and dynamic variants to bridge network boundaries.

Why it matters

Forwarding lets adversaries reach segmented or internal-only services through a single foothold, making unexpected relay behavior on a host a useful artifact when reconstructing how they crossed boundaries.

In practice

Discovering a compromised jump box forwarding a database port outward, giving the attacker reach into a segment they should never have touched.

What to look for

  • SSH -L, -R or netsh portproxy rules.
  • Unexpected listeners on hosts.
  • Traffic to internal services from hosts that should not reach them.

Common mistake

Missing built-in tools. netsh and SSH do this without any malware.

Practice it nearby

CyberKit has no tool for this term itself. These are the closest places to practice it.

In the field

Well-known tools where this shows up on the job. They are listed to show the landscape, not as a recommendation.

  • Wireshark Open source

    Opens a capture packet by packet so you can see exactly what crossed the wire. Our notes.

  • Zeek Open source

    Turns traffic into structured logs for connections, DNS, HTTP, TLS and more. Our notes.

  • Suricata Open source

    An IDS that alerts on known patterns and logs protocol metadata alongside. Our notes.

  • Arkime Open source

    Indexes full packet capture at scale so you can search and pull sessions later. Our notes.

Read next

Sources