← Back to Writeups
HTBN/AReversing

Teleport

XESXOR8/23/20261 min read
#reversing#htb#n/a

Teleport

Platform: HackTheBox | Category: Reversing | Difficulty: N/A | Author: D3v0o0Nu11 | Date: 2026-02-10

Description

You've been sent to a strange planet, inhabited by a species with the natural ability to teleport. If you're able to capture one, you may be able to synthesise lightweight teleportation technology. However, they don't want to be caught, and disappear out of your grasp - can you get the drop on them?

Solution Approach

Core idea: Identify the weakness from source review or fingerprinting first. Iterate with incremental payloads instead of guessing.

Steps

  1. First, unzip the .zip file given, then jump to the extracted directory.

  2. Since it's a binary file, let us decompile the binary.

  3. Looks like the functions contains the flag's character. But it's position is randomized.

  4. Actually we can ordered the characters with the number they have, example:

  5. The H -> 1, means it stands for the first character.

  6. Doing the same approach at the end we got the flag!

Flag

REDACTED

Lessons Learned

  1. Identify the weakness from source review or fingerprinting first.
  2. Iterate with incremental payloads instead of guessing.
  3. Reuse the same pattern in future engagements.