Rapid7’s 2026 Global Cybersecurity Summit is now available on-demand.Watch sessions.
Rapid7

module

PXE Boot Exploit Server

Disclosed
N/A
Created
May 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

scriptjunkie

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

Title
Rapid7 Labs

2026 Global Threat Landscape Report

The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.