Tags: mips tea 32-bit ctf rev upx reverse 

Rating:

nips was a reverse engineering challenge involving a UPX-packed, stripped 32-bit MIPS binary. After unpacking, analysis revealed that the program encrypted input using the Tiny Encryption Algorithm (TEA) with four hardcoded keys and compared the result against a stored ciphertext. By identifying the TEA constant, extracting the keys, and replicating the algorithm, the ciphertext could be decrypted to obtain the flag.

For the full walkthrough, check out the detailed blog post [here](https://www.vipin.xyz/blog/nips-bca2025)

Original writeup (https://www.vipin.xyz/blog/nips-bca2025).