module

Powershell Exec, Windows MessageBox

Disclosed
N/A
Created
2022-05-11

Description

Execute an x86 payload from a command via PowerShell.

Spawns a dialog via MessageBox using a customizable title, text & icon

Authors

Spencer McIntyre
corelanc0d3r peter.ve@corelan.be
jduck jduck@metasploit.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/messagebox
msf payload(messagebox) > show actions
...actions...
msf payload(messagebox) > set ACTION < action-name >
msf payload(messagebox) > show options
...show and set options...
msf payload(messagebox) > 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.