Rapid7 Vulnerability & Exploit Database

PXE Boot Exploit Server

Back to Search

PXE Boot Exploit Server

Created
05/30/2018

Description

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 a payload to install metsvc, disable the firewall, and add a new user metasploit on any Windows partition seen, and add a uid 0 user with username and password metasploit to any linux partition seen. The windows user will have the password p@SSw0rd!123456 (in case of complexity requirements) and will be added to the administrators group. Note: the displayed IP address of a target is the address this DHCP server handed out, not the "normal" IP address the host uses.

Author(s)

  • scriptjunkie

Development

Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':

msf > use auxiliary/server/pxeexploit
msf auxiliary(pxeexploit) > show actions
    ...actions...
msf auxiliary(pxeexploit) > set ACTION < action-name >
msf auxiliary(pxeexploit) > show options
    ...show and set options...
msf auxiliary(pxeexploit) > run 

Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.

– Jim O’Gorman | President, Offensive Security

;