Rapid7

module

Windows Silent Process Exit Persistence

Disclosed
Jun 28, 2008
Created
Sep 29, 2025

Description

Windows allows you to set up a debug process when a process exits.
This module uploads a payload and declares that it is the debug
process to launch when a specified process exits.

Authors

Mithun Shanbhag
bwatters-r7

Platform

Windows

Architectures

x64, x86, aarch64

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 exploit/windows/persistence/image_exec_options
msf exploit(image_exec_options) > show targets
...targets...
msf exploit(image_exec_options) > set TARGET < target-id >
msf exploit(image_exec_options) > show options
...show and set options...
msf exploit(image_exec_options) > exploit

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.