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

module

Dword XOR Encoder (Tag-based)

Disclosed
N/A
Created
Jul 10, 2026

Description

Dword XOR encoder for RISC-V 64-bit (Little Endian) using a
tag-based terminator rather than an encoded length. The decoder
loop XORs each dword and stops when the result is zero (the
sentinel). This avoids encoding the payload length in the stub,
eliminating a source of bad character conflicts.

Note: payloads containing 4-byte aligned zero dwords will cause
early loop termination due to collision with the sentinel value.

Author

Platform

All

Architectures

riscv64le

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 encoder/riscv64le/longxor_tag
msf encoder(longxor_tag) > show actions
...actions...
msf encoder(longxor_tag) > set ACTION < action-name >
msf encoder(longxor_tag) > show options
...show and set options...
msf encoder(longxor_tag) > 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.