Rapid7

module

Linux RC4 Encrypted Payload Generator

Disclosed
N/A
Created
Mar 9, 2026

Description

This evasion module packs Linux payloads using RC4 encryption
and executes them from memory using memfd_create for fileless execution.
Linux kernel version support: 3.17+

Author

Massimo Bertocchi

Platform

Linux

Architectures

x64

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 evasion/linux/x64/rc4_packer
msf evasion(rc4_packer) > show actions
...actions...
msf evasion(rc4_packer) > set ACTION < action-name >
msf evasion(rc4_packer) > show options
...show and set options...
msf evasion(rc4_packer) > 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.