Write-up author: jon-brandy
You arrive on a barren planet, searching for the hideout of a scientist involved in the Longhir resistance movement. You touch down at the mouth of a vast cavern, your sensors picking up strange noises far below. All around you, ancient machinery whirrs and spins as strange sigils appear and change on the walls. You can tell that this machine has been running since long before you arrived, and will continue long after you're gone. Can you hope to understand its workings?
- NONE
- First, unzip the
.zip
file given, then jump to the extracted directory.
INSIDE
- Since it's a binary file let's decompile it.
- When analyzing the
main()
function, this operations caught my attention.
- Let's check the encrypted values.
- Looks like a hexadecimal values. Notice the hex is XORed with a key named ->
humans
.
- But i found another key at the
_INIT_1()
function namedaliens
.
RESULT
- I'm guessing
aliens
is the correct key. Let's copy the hex values and XORed it withaliens
at cyberchef
RESULT
- Got the flag!
HTB{h1d1ng_c0d3s_1n_c0nstruct0r5}