Rise 5.99 ClientSpoofer: Full Source Analysis
Rise 5.99's ClientSpoofer rewrites the client-brand and plugin-channel handshake so servers fingerprint a different client: onPacketSend intercepts every C17PacketCustomPayload and replaces…
Published 2026-08-13 · Updated 2026-08-13
Packets This Module Uses
Analysis
Overview
Rise 5.99's ClientSpoofer rewrites the client-brand and plugin-channel handshake so servers fingerprint a different client: onPacketSend intercepts every C17PacketCustomPayload and replaces the channel and payload according to the selected mode, and onEnable prints a notification telling the player to rejoin because the brand is only exchanged at login. The six modes are Forge (payload string 'FML'), Lunar (channel REGISTER, raw bytes 'Lunar-Client'), LabyMod ('LMC'), PvP Lounge ('PLC18'), CheatBreaker ('CB') and Geyser ('Geyser'). The module touches no other packet: the keepalive stream, transactions and the rest of the connection stay untouched.
Dispatch and rewrite
onPacketSend tests for C17PacketCustomPayload and switches on the Mode setting. Every mode replaces the payload data, and the Lunar mode additionally replaces the channel with REGISTER while carrying the raw brand bytes as the payload; the other modes keep the original channel and only swap the data. The packet is mutated in place before it is queued, so the server sees a C17 that looks exactly like the spoofed client's announcement.
Payload encoding
createPacketBuffer distinguishes the two wire formats: with the string flag it writes a VarInt length prefix followed by the UTF-8 text (the FML, LMC, PLC18 and CB forms), and without it wraps the raw bytes with no length prefix (Lunar-Client and Geyser). The distinction mirrors how each real client announces itself: Forge registers the FML handshake with a length-prefixed string, while the Lunar and Geyser brands ride as raw channel names and payloads.
The rejoin contract and the untouched stream
The brand is sent once per connection during the login phase, as the MC|Brand payload and the FML handshake, so rewriting payloads mid-session never reaches the server; that is why the module demands a rejoin after enabling. C00 keepalives pass through unmodified, and the module never drops or reorders any packet, so the connection's timing and ordering stay vanilla. The practical consequence is that the spoof is only as good as the login-time payloads, and any server that recorded the pre-enable brand keeps the old fingerprint until the player rejoins.
source ClientSpoofer.java
| 1 | |
| 2 | |
| 3 | |
| 4 | |
| 5 | |
| 6 | |
| 7 | |
| 8 | |
| 9 | |
| 10 | |
| 11 | |
| 12 | |
| 13 | |
| 14 | |
| 15 | |
| 16 | |
| 17 | |
| 18 | |
| 19 | |
| 20 | |
| 21 | |
| 22 | |
| 23 | |
| 24 | |
| 25 | |
| 26 | |
| 27 | |
| 28 | |
| 29 | |
| 30 | |
| 31 | |
| 32 | |
| 33 | |
| 34 | |
| 35 | |
| 36 | |
| 37 | |
| 38 | |
| 39 | |
| 40 | |
| 41 | |
| 42 | |
| 43 | |
| 44 | |
| 45 | |
| 46 | |
| 47 | |
| 48 | |
| 49 | |
| 50 | |
| 51 | |
| 52 | |
| 53 | |
| 54 | |
| 55 | |
| 56 | |
| 57 | |
| 58 | |
| 59 | |
| 60 | |
| 61 | |
| 62 | |
| 63 | |
| 64 | |
| 65 | |
| 66 | |
| 67 | |
| 68 | |
| 69 | |
| 70 | |
| 71 | |
What this file does
The module file is the entire implementation. onPacketSend holds the mode switch that rewrites every C17 payload, createPacketBuffer builds the two wire formats (VarInt-prefixed string versus raw bytes), and onEnable raises the rejoin notification that documents the login-phase constraint. There is no receive-side logic and no other packet type is touched; the file is a pure outgoing-payload rewriter whose only state is the Mode setting.
anticheat Countering Checks
The anticheat code that detects or counters the techniques this module uses. Full source, with the detection mechanism explained below each box.
anticheat Grim ClientBrand (brand claim recorder)
| 1 | |
| 2 | |
| 3 | |
| 4 | |
| 5 | |
| 6 | |
| 7 | |
| 8 | |
| 9 | |
| 10 | |
| 11 | |
| 12 | |
| 13 | |
| 14 | |
| 15 | |
| 16 | |
| 17 | |
| 18 | |
| 19 | |
| 20 | |
| 21 | |
| 22 | |
| 23 | |
| 24 | |
| 25 | |
| 26 | |
| 27 | |
| 28 | |
| 29 | |
| 30 | |
| 31 | |
| 32 | |
| 33 | |
| 34 | |
| 35 | |
| 36 | |
| 37 | |
| 38 | |
| 39 | |
| 40 | |
| 41 | |
| 42 | |
| 43 | |
| 44 | |
| 45 | |
| 46 | |
| 47 | |
| 48 | |
| 49 | |
| 50 | |
| 51 | |
| 52 | |
| 53 | |
| 54 | |
| 55 | |
| 56 | |
| 57 | |
| 58 | |
| 59 | |
| 60 | |
| 61 | |
| 62 | |
| 63 | |
| 64 | |
| 65 | |
| 66 | |
| 67 | |
| 68 | |
| 69 | |
| 70 | |
| 71 | |
| 72 | |
| 73 | |
| 74 | |
| 75 | |
| 76 | |
| 77 | |
| 78 | |
| 79 | |
| 80 | |
| 81 | |
How it counteracts this module
Grim's ClientBrand is the C17-side consumer of the brand claim. It listens for the MC|Brand plugin message (minecraft:brand on 1.13+), strips the length byte and color codes, records the brand string on the player, strips the Velocity suffix, and emits a staff alert in the configured client-brand format unless the brand is in the ignored-client list; a payload longer than 64 bytes or empty is recorded as 'sent N bytes as brand'.
Against the spoofer, the Forge mode makes the server record the brand 'FML' and alert 'joined using FML', and rewriting every C17 can produce the over-length path when a mode's data is written over a longer original payload. The honest limit is that the check validates the claim's shape, not its truth: it has no behavioral fingerprint to compare against, so a well-formed fake brand is recorded and alerted, and detection of the spoof itself falls to consistency checks outside this class.
anticheat Photon BrandChannelData (bounded brand history)
| 1 | |
| 2 | |
| 3 | |
| 4 | |
| 5 | |
| 6 | |
| 7 | |
| 8 | |
| 9 | |
| 10 | |
| 11 | |
| 12 | |
| 13 | |
| 14 | |
| 15 | |
| 16 | |
| 17 | |
| 18 | |
| 19 | |
| 20 | |
| 21 | |
| 22 | |
| 23 | |
| 24 | |
| 25 | |
| 26 | |
| 27 | |
| 28 | |
| 29 | |
| 30 | |
| 31 | |
| 32 | |
| 33 | |
| 34 | |
| 35 | |
| 36 | |
| 37 | |
| 38 | |
| 39 | |
| 40 | |
| 41 | |
| 42 | |
| 43 | |
| 44 | |
| 45 | |
| 46 | |
| 47 | |
How it counteracts this module
Photon's BrandChannelData keeps the per-user brand-channel history in a RingBuffer capped at 10 messages, with the comment that a malicious client could spam the brand channel, and the BrandChannelMessageListener appends every plugin message it parses.
The cap is the relevant mechanic for the spoofer: the module rewrites every C17 the client sends, so any sustained payload stream churns the ring and older claims fall out; hasBrandChannelMessage then answers whether a given claim is present, which Photon's sentinel checks consult. The entry is a record rather than a flag, so its countering value is the bounded history and the spam cap, not a violation.
anticheat NoCheatPlus KeepAliveFrequency (keepalive ledger, honest gap)
| 1 | |
| 2 | |
| 3 | |
| 4 | |
| 5 | |
| 6 | |
| 7 | |
| 8 | |
| 9 | |
| 10 | |
| 11 | |
| 12 | |
| 13 | |
| 14 | |
| 15 | |
| 16 | |
| 17 | |
| 18 | |
| 19 | |
| 20 | |
| 21 | |
| 22 | |
| 23 | |
| 24 | |
| 25 | |
| 26 | |
| 27 | |
| 28 | |
| 29 | |
| 30 | |
| 31 | |
| 32 | |
| 33 | |
| 34 | |
| 35 | |
| 36 | |
| 37 | |
| 38 | |
| 39 | |
| 40 | |
| 41 | |
| 42 | |
| 43 | |
| 44 | |
| 45 | |
| 46 | |
| 47 | |
| 48 | |
| 49 | |
| 50 | |
| 51 | |
| 52 | |
| 53 | |
| 54 | |
| 55 | |
| 56 | |
| 57 | |
| 58 | |
| 59 | |
| 60 | |
| 61 | |
| 62 | |
| 63 | |
| 64 | |
| 65 | |
| 66 | |
| 67 | |
| 68 | |
| 69 | |
| 70 | |
| 71 | |
| 72 | |
| 73 | |
| 74 | |
| 75 | |
| 76 | |
| 77 | |
| 78 | |
| 79 | |
| 80 | |
| 81 | |
| 82 | |
| 83 | |
| 84 | |
| 85 | |
| 86 | |
| 87 | |
| 88 | |
| 89 | |
| 90 | |
| 91 | |
| 92 | |
| 93 | |
| 94 | |
| 95 | |
| 96 | |
| 97 | |
| 98 | |
| 99 | |
| 100 | |
| 101 | |
How it counteracts this module
The C00 side is where the spoofer is provably invisible. NoCheatPlus's keepalive ledger records every outgoing S00 id, matches each incoming C00 echo against the pending list, and flags only unexpected or duplicate replies and bursts of two or more replies in one second.
The spoofer never touches keepalives, so the ledger sees a textbook 1:1 echo stream and stays silent by design; the entry is included as the honest boundary that delimits what a payload rewriter does not change. Any serverside detection of the brand spoof must therefore come from the C17 consumers (ClientBrand, BrandChannelData), never from connection-timing checks.