Drifter Level 12
Drifter Level 12 — a remote-procedure-call style reverse-engineering challenge.
Table of Contents
Source: This content is aggregated from overthewire (MIT). Visit the original repository for the latest version.
Remote Procedure Call style reverse engineering fun :-)
Study guide
Where it fits: Drifter level 12 of 0–15, in the randomisation and reversing stage of the game. The page does not say which account you start as, so check with id after connecting.
What this level teaches
Reverse engineering a protocol with an RPC flavour: request, function identifier, arguments, response.
Key ideas
- Protocol discovery. Capture traffic and read the binary to learn the message format.
- Function dispatch. An RPC server maps identifiers to functions; one of them may do more than intended.
- Write a client. Reimplement the protocol so you can call functions freely.
How to approach it
- Observe a normal exchange with a packet capture or a loop-back test.
- Read the server’s dispatcher.
- Experiment with each function, looking for unsafe behaviour.
Why it matters
Custom binary protocols are a common attack surface for embedded and industrial software.