Skip to content
Adam Omar Saleh

Black Hat MEA CTF 2026 placeholder badge (unofficial)Black Hat MEA CTF 2026Reverse Engineering

Hasher.exe

Independent per-character hash comparisons

Category
Reverse EngineeringMedium · estimated
Analysis status
Previously reported
Document
Original PDF

01Challenge analysis

The problem

The Windows executable validated the submitted flag by comparing individual transformed/hash values rather than verifying the complete input with a single hash.

02Exploit or recovery path

How I solved it

  1. 01

    I inspected the executable's input-checking routine and the collection of embedded expected hash values.

  2. 02

    The comparison acted independently on each character, reducing the problem to small candidate searches for each position.

  3. 03

    I inverted the per-character checks to reconstruct the flag string position by position.

  4. 04

    I assembled the characters in the original order to form the reported FlagY flag.

Result

RECOVERED FLAG

FlagY{8a5f4a15f97242c3b8d8a5fa45798aab}

Previously reported

Local Verification
Earlier session reported the flag, but the full hash algorithm, test run, and platform response were not retained.
Evidence Limitation
This is a concise reconstruction from chat notes, not a reproducible full disassembly.

Original document

Original PDF

The writeup as I first documented it.