Shattered Tablet

Shattered Tablet is a very easy reversing challenge on Hack The Box. The description is “Deep in an ancient tomb, you’ve discovered a stone tablet with secret information on the locations of other relics. However, while dodging a poison dart, it slipped from your hands and shattered into hundreds of pieces. Can you reassemble it and read the clues?”

As always, step one is to run file on the binary.

Thankfully this time it is an ELF binary, so no Windows or WINE required.

After opening it up in Binary Ninja, the code looks a little odd. Let’s try and clean it up a bit.

I changed the variable type of what was formally “var_48” to a char type and changed it’s name to input. I then changed the label to “incorrect” since that is where the code goes if one of the checks are false. We can then change the hex numbers into characters, These three changes have massively increased the readability of the code. This code simply checks weather the character at a specific place is correct. Now we just have to go through this and put the right letter in the right place.

Now we have the flag! Thanks for reading and happy reversing!

Leave a comment