Skip to content
Adam Omar Saleh

kBxAc CTF 2026 placeholder badge (unofficial)kBxAc CTF 2026Reverse Engineering

Haskell Validator

Title unconfirmed

Linux Haskell executable / XOR-obfuscated input

Competition
kBxAc CTF 2026 placeholder badge (unofficial)kBxAc CTF 2026
Category
Reverse EngineeringEasy · estimated
Analysis status
Local binary check passed
Document
Original PDF

01Challenge analysis

The problem

An ELF challenge binary checked an input of a fixed length. The validation string was concealed through XOR-style byte transformations.

02Exploit or recovery path

How I solved it

  1. 01

    I inspected the Linux binary, recognized the expected 37-character input size, and traced the obfuscated comparison.

  2. 02

    I decoded the byte array through the XOR transformation used by the validator.

  3. 03

    I reconstructed the candidate, taking care to preserve the lowercase k in the case-sensitive kBxAc prefix.

  4. 04

    I passed the string into the original chall binary. The program returned Success! Valid flag.

Result

RECOVERED FLAG

kBxAc{__y3t_4n0th3r_fl4g_v3ry_3a5y__}

Local binary check passed

Local Verification
The binary printed Success! Valid flag. The real organizer title was not retained.
Evidence Limitation
The exact XOR byte table was not preserved, so a fake decryption script is intentionally omitted.

Original document

Original PDF

The writeup as I first documented it.