Rapid7’s 2026 Global Cybersecurity Summit is now available on-demand.Watch sessions.
Rapid7

module

Unix Command Shell, Bind TCP (via Zsh)

Disclosed
N/A
Created
May 30, 2018

Description

Listen for a connection and spawn a command shell via Zsh. Note: Although Zsh is
often available, please be aware it isn't usually installed by default.

Authors

Doug Prostko [email protected]
Wang Yihang [email protected]

Platform

Unix

Architectures

cmd

Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':


msf > use payload/cmd/unix/bind_zsh
msf payload(bind_zsh) > show actions
...actions...
msf payload(bind_zsh) > set ACTION < action-name >
msf payload(bind_zsh) > show options
...show and set options...
msf payload(bind_zsh) > run

Title
Rapid7 Labs

2026 Global Threat Landscape Report

The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.