CyberKit

Bind Shell

Also called listening shell.

A shell that listens on a port for the attacker to connect in.

What it is

A remote shell in which the compromised host opens a listening port and waits for the attacker to connect inbound to obtain command-line access. The victim is the server in this model, the attacker the client.

Why it matters

Bind shells require an inbound path to succeed, so they show up where firewalls are weak or on internal hosts during lateral movement, and an unexpected listening port is a strong artifact of compromise.

In practice

Finding an unfamiliar service listening on a high port of an internal host, which proved to be a bind shell waiting for the operator to connect.

What to look for

  • New listening ports on hosts.
  • Shells bound to network sockets.
  • Inbound connections to ports nobody opened on purpose.

Common mistake

Missing new listeners. Check for unexpected listening ports in your baselines.

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.

  • CrowdStrike Falcon Commercial

    An EDR agent that records process, file and network activity on each host and flags this kind of behavior.

  • Microsoft Defender for Endpoint Commercial

    Microsoft's EDR, with advanced hunting tables you can query for this activity across Windows, macOS and Linux.

  • Velociraptor Open source

    Collects and hunts for artifacts across many hosts at once, often during live response. Our notes.

  • Sysmon Free

    Free Windows logging of process starts, network connections and more, which many detections rely on. Our notes.

Read next

  • Reverse Shell: A compromised host that dials out to give the attacker a shell.
  • Web Shell: A malicious script on a web server giving remote command access.
  • Port Forwarding: Relaying a port through a host to reach otherwise blocked services.

Sources