Baby RE
XESXOR8/23/20261 min read
#reversing#htb#n/a
Baby RE
Platform: HackTheBox | Category: Reversing | Difficulty: N/A | Author: D3v0o0Nu11 | Date: 2026-02-10
Description
Show us your basic skills! (P.S. There are 4 ways to solve this, are you willing to try them all?)
Solution Approach
Core idea: Identify the weakness from source review or fingerprinting first. Iterate with incremental payloads instead of guessing.
Steps
-
First, unzip the
.zipfile given. -
Use
7zthen. -
Check the file type.
-
Since it's a binary file, let us make it executeable by run
chmod. -
Let us input any strings.
-
Now let us decompile the binary using ghidra, then check the
main()function. -
Notice we can see the correct input. let us run the file again and input the strings.
-
Got the flag!
Flag
REDACTED
Lessons Learned
- Identify the weakness from source review or fingerprinting first.
- Iterate with incremental payloads instead of guessing.
- Reuse the same pattern in future engagements.