module

Powershell Exec, Windows Command Shell, Hidden Bind TCP Stager

Disclosed
N/A
Created
2022-05-11

Description

Execute an x86 payload from a command via PowerShell.

Spawn a piped command shell (staged).

Listen for a connection from a hidden port and spawn a command shell to the allowed host.

Authors

Spencer McIntyre
spoonm spoonm@no$email.com
sf stephen_fewer@harmonysecurity.com
hdm x@hdm.io
skape mmiller@hick.org
Borja Merino bmerinofe@gmail.com

Platform

Windows

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/windows/powershell/shell/bind_hidden_tcp
msf payload(bind_hidden_tcp) > show actions
...actions...
msf payload(bind_hidden_tcp) > set ACTION < action-name >
msf payload(bind_hidden_tcp) > show options
...show and set options...
msf payload(bind_hidden_tcp) > run

Title
NEW

Explore Exposure Command

Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.