module
Dword XOR Encoder (Tag-based)
| Disclosed | Created |
|---|---|
| N/A | Jul 10, 2026 |
Disclosed
N/A
Created
Jul 10, 2026
Description
Dword XOR encoder for RISC-V 32-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.
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
bcoles [email protected]
Platform
All
Architectures
riscv32le
References
Module Options
To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':
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.