Architecture
The shape
┌─────────────┐
│ account │
│ cookie │
└──────┬──────┘
│
HTTP join (per-account proxy)
│
┌──────▼──────┐
│ Rum │ real Android client
│ native │ ~600-800 MB RSS
└──────┬──────┘
join script, keys, replay, state
│
Rum is killed
│
┌──────▼──────┐
│ Slice │ headless handoff
│ resume │ ~2.7 MB RSS
└─────────────┘
The native client is the credential oracle. It performs the join the server accepts, and while it is alive we extract the session material. Slice then continues that same session with the captured state. The server never sees a second join.
Why not a fresh join from Slice
A fresh join from a non-native client (wreq/web or a custom Android-shaped
request) receives a schema-only 0x97 and is disconnected with 0x010c.
The server withholds the instance world; the network ids that the client must
send back are server-assigned and only exist in that world. See
ARCHITECTURE.md. The hybrid is therefore not a shortcut; it is the
only path that produces a session the server keeps.
RX replay for a raw resume
A resume never receives its own 0x97 join schema or 0x83 snapshot: the
mint consumed them. tools/rum/pcap_rx_frames.py decrypts the mint's
server→client pcap, reassembles RakNet split fragments (10-byte
[u32 count][u16 id][u32 index] header), and writes
[u32 length][application payload] records for RBX_RX_REPLAY. The primary
decoder is the compiled build/client/rx_census (libpcap + SessionCrypto +
the engine's RaknetRxStream); pcap_rx_frames.py is the fallback. The full
roblox runtime feeds those through LiveRuntime before live frames (the
lean handoff binary stubs the world runtime, so it cannot use this). A fresh
schema then makes the snapshot apply and the world spawn. rum10.py
--rx-replay performs the extraction and starts the full runtime in one run.
This closes the documented world gap; it does not change the lifetime
findings. The old ~5.5 min reap was the pre-A1 replay bug fixed on 2026-11-05.
Merged-build pump-ON holds are ~10-14 min mean (50/50 fleets for 8+ h at
~14.5 min mean, 22-min windows, native 1204 s); the remaining ~660 s / 304
verdict is the separate 0x83/20 -> 0x83/21 type-4 attestation challenge,
not the A1 wall.
Components
| path | role |
|---|---|
tools/rum/hybrid_supervisor.py |
orchestrator: mint, hold, detect, re-mint |
tools/rum/fast_hybrid.py |
one-shot parallel launcher |
tools/rum/rum10.py |
mint, start_slice, pcap capture, replay merge |
tools/rum/rum_handoff.py |
join extraction, key scan, pcap helpers |
tools/rum/rum_extract.py |
decrypt TX/RX, emit resume state |
tools/rum/rum_replay.py |
native TX frames → Slice replay |
tools/rx_census.cpp / build/client/rx_census |
compiled pcap/RX census via the engine parser |
tools/rum/pcap_rx_frames.py |
Python fallback for mint pcap RX |
tools/rum/rx_frames.py |
gdb rc_capture RX → RBX_RX_REPLAY frames |
tools/rum/udp_proxy.c/.so |
SOCKS5 UDP shim for Rum |
tools/rum/udp_chain.py |
per-account local relay, one upstream association |
client/apps/raknet_main.cpp |
Slice entry: resume, replay, keepalives |
client/src/raknet/* |
RUPP framing, AES-GCM, join messages |
tools/rum/bench_slice.py |
scaling benchmark |
Mint sequence
- Launch Rum with the account cookie and the per-account HTTP proxy.
- Wait for
Joining game '<job>'(the HTTP join reply). - Read the join object from Rum's heap (
extract_join): endpoints, token,ClientTicket, session document,EphemeralEarlyPubKey. - Start a pcap. Two modes:
- direct UDP: filter
host <game> and port <local game port>; - proxied UDP: filterhost <proxy>and strip the SOCKS5 UDP header. - Recover
data_tx/data_rxwith the AES-GCM tag oracle (scan_keys). rum_extractdecrypts the capture and emitstxCtr,rxCtr,dgramNo,relMsg,ordIdx,token,localPort.rum_replayemits the native TX app messages in order with timestamps.- Recapture the final 2 s at the deadline, re-extract and re-replay so the resumed state is fresh (the RUPP token rotates every few seconds).
- Kill Rum. Return
(join.json, keys.json, state).
Slice resume
roblox-handoff --join-json … --adopt-keys … --headless --skip-join
- binds the captured local port;
- loads the AES-GCM counters and epoch token;
- sends no handshake and no join messages;
- replays the captured native app stream (
RBX_NATIVE_REPLAY); - sends ACKs, the input clock, and (optionally) the avatar bootstrap.
Keepalives and the A1 lesson
A resumed session is kept alive by the application stream, not only by ACKs.
The native sends 0xA1 camera frames about every 730 ms. Those were filtered
out of the replay early on, and every hybrid session was reaped at about
5.5 minutes. Keeping 0xA1 (and the 0x83/0x03 spawn / 0x83/0x04 attrs)
lifted 2-client and 15-client holds past the old wall: 15 clients reached
571 s with 14-15 live.
Per-account UDP
HTTP proxies only cover the join. Game traffic is UDP. Without a UDP relay, every account egresses the host IP and one flag can poison the pool.
Two pieces make UDP work:
udp_proxy.so- LD_PRELOAD shim for Rum. It wraps every UDP send in a SOCKS5 UDP header and uses Rum's own socket, so poll/epoll readiness is preserved.udp_chain.py- one local SOCKS5 relay per account holding one upstream association. Rum and Slice both point atsocks5h://127.0.0.1:<local>. Without the chain each process opens its own association, the server sees two source ports, and the resume receives zero datagrams.
The mint capture in proxied mode reads the client↔proxy leg (the remote
proxy's server-side leg is not on this host) and strips the 10-byte SOCKS5 UDP
header. The shim writes the real game-socket port to udp_targets.txt so the
capture and keys.json use the correct local port.
State files (per account)
| file | contents |
|---|---|
join.json |
endpoints, token, ticket, session document |
keys.json |
tx/rx keys, counters, dgram, ordering, epoch token, local port |
replay.json |
native TX app messages with timestamps |
game.pcap |
capture used for key recovery and replay |
udp_targets.txt |
shim → mint port handoff (proxied mode) |
chain.log |
local chaining relay output |
slice.log |
Slice output |
Failure model
| signal | meaning | action |
|---|---|---|
0x0104 |
receive packet error / malformed join | drop and re-mint |
0x010a |
idle/timeout | re-mint |
0x010b |
game-script kick (anti-cheat / density) | drop and re-mint |
0x010c |
remote sysstats gate | drop and re-mint |
| no server datagram 12 s | session reaped | drop and re-mint |
| RX stall 35 s | stale replay/state | drop and re-mint |
The supervisor treats all of these as a dead session, kills Slice and its chain, and re-mints the account.
Slice - hosted at slicec.pw.