hiCTF 2026Reverse Engineering
Signal Lock / Vaelorhand Online
Stripped Erlang BEAM / session-integrity token
- Competition
hiCTF 2026
- Category
- Reverse EngineeringMedium · estimated
- Analysis status
- Locally verified
- Document
- Original PDF
01Challenge analysis
The problem
The challenge distributed a stripped Erlang BEAM module named signal_lock. Its exported verify(Token) accepted one session-integrity token and returned the flag inside an {ok, Binary} result. The module requires Erlang/OTP 26 or later.
02Exploit or recovery path
How I solved it
- 01
I inspected the BEAM module as a compiled artifact rather than expecting Erlang source. I used the export information and the bytecode-level validation logic to determine the format and constraints on the accepted token.
- 02
I recovered the accepted session token g4m30v3r. The value is case-sensitive and belongs to the CTF module, not to any real service.
- 03
I checked the intended entry point signal_lock:verify(Token). The correct token yielded the challenge flag.
03Code evidence
Reproduction
erl -pa .1> signal_lock:module_info(exports).2> signal_lock:verify("g4m30v3r").% Depending on the verifier input type, use the representation required by its bytecode.Result
RECOVERED FLAG
hiCTF{b34m_byt3c0d3_n3v3r_l13s_s3ss10n_unl0ck3d}
Locally verified
- Local Verification
- Earlier session recorded the accepted token and final flag. No external platform receipt is preserved.
- Evidence Limitation
- Full BEAM instruction trace was not retained. This report does not invent individual opcodes.