Task desc

In this task, we are prompted to unpack the file unpackme-upx.


As you see from the name and hint, the UPX packer was used. First, let’s check if UPX was really used:

image_2

This can also be seen by applying the strings command to the file and viewing the readable strings:

image_3

We can see to what filesize UPX has compressed the file. To “uncompress” it:

image_4

Let’s use ghidra for decompilation:

sudo apt install ghidra

TIP

How to create a project and import a file for decompilation shown in this video

image_5

Find the same if that is executed when you run the program, after first running chmod +x unpackme_upx.

Let’s convert hex to dec:

image_6

image_7

picoCTF{up><_m3_f7w_5769b54e}