module
Windows Run Command As User
Disclosed | Created |
---|---|
1999-01-01 | 2018-05-30 |
Disclosed
1999-01-01
Created
2018-05-30
Description
This module will login with the specified username/password and execute the
supplied command as a hidden process. Output is not returned by default.
Unless targeting a local user either set the DOMAIN, or specify a UPN user
format (e.g. user@domain). This uses the CreateProcessWithLogonW WinAPI function.
A custom command line can be sent instead of uploading an executable.
APPLICAITON_NAME and COMMAND_LINE are passed to lpApplicationName and lpCommandLine
respectively. See the MSDN documentation for how these two values interact.
supplied command as a hidden process. Output is not returned by default.
Unless targeting a local user either set the DOMAIN, or specify a UPN user
format (e.g. user@domain). This uses the CreateProcessWithLogonW WinAPI function.
A custom command line can be sent instead of uploading an executable.
APPLICAITON_NAME and COMMAND_LINE are passed to lpApplicationName and lpCommandLine
respectively. See the MSDN documentation for how these two values interact.
Authors
Kx499
Ben Campbell eat_meatballs@hotmail.co.uk
Ben Campbell eat_meatballs@hotmail.co.uk
Platform
Windows
References
Module Options
To display the available options, load the module within the Metasploit console and run the commands ‘show options’ or ‘show advanced’:

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