module

Powershell Exec, Windows Command Shell, Reverse TCP Stager (No NX or Win7)

Disclosed
N/A
Created
2022-05-11

Description

Execute an x86 payload from a command via PowerShell.

Spawn a piped command shell (staged).

Connect back to the attacker (No NX)

Authors

Spencer McIntyre
spoonm spoonm@no$email.com
sf stephen_fewer@harmonysecurity.com
vlad902 vlad902@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/reverse_nonx_tcp
msf payload(reverse_nonx_tcp) > show actions
...actions...
msf payload(reverse_nonx_tcp) > set ACTION < action-name >
msf payload(reverse_nonx_tcp) > show options
...show and set options...
msf payload(reverse_nonx_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.