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

module

RPyC 4.1.0 through 4.1.1 Remote Command Execution

Disclosed
Feb 19, 2023
Created
Jun 15, 2023

Description

This module allows remote command execution on RPyC versions 4.1.0 and 4.1.1.
You will be able to execute a specified command on the target machine as
the user running the RPyC service and view the output.

Authors

Aaron Meese @ajmeese7
Jamie Hill-Daniel @clubby789

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/scanner/http/rpyc_rce
msf auxiliary(rpyc_rce) > show actions
...actions...
msf auxiliary(rpyc_rce) > set ACTION < action-name >
msf auxiliary(rpyc_rce) > show options
...show and set options...
msf auxiliary(rpyc_rce) > 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.