module

WinRM Script Exec Remote Code Execution

Disclosed
11/01/2012
Created
05/30/2018

Description

This module uses valid credentials to login to the WinRM service
and execute a payload. It has two available methods for payload
delivery: Powershell 2 (and above) and VBS CmdStager.

The module will check if Powershell is available, and if so uses
that method. Otherwise it falls back to the VBS CmdStager which is
less stealthy.

Author

thelightcosine

Platform

Windows

Architectures

x86, x64

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 exploit/windows/winrm/winrm_script_exec
    msf /(c) > show actions
        ...actions...
    msf /(c) > set ACTION < action-name >
    msf /(c) > show options
        ...show and set options...
    msf /(c) > 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.