Rapid7

module

Windows Registry Only Persistence

Disclosed
Jul 1, 2015
Created
Oct 27, 2025

Description

This module will install a payload that is executed during boot.
It will be executed either at user logon or system startup via the registry
value in "CurrentVersion\Run" or "RunOnce" (depending on privilege and selected method).
The payload will be installed completely in registry.

Authors

Donny Maasland [email protected]
h00die

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