module

Powershell Exec, Windows Executable Download (http,https,ftp) and Execute

Disclosed
N/A
Created
2022-05-11

Description

Execute an x86 payload from a command via PowerShell.

Download an EXE from an HTTP(S)/FTP URL and execute it

Authors

Spencer McIntyre
corelanc0d3r peter.ve@corelan.be

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/download_exec
msf payload(download_exec) > show actions
...actions...
msf payload(download_exec) > set ACTION < action-name >
msf payload(download_exec) > show options
...show and set options...
msf payload(download_exec) > 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.