Post

Reversing ELFs on TryHackMe: Crackme8

A CTF write-up for TryHackMe’s crackme8 challenge, walking through static and dynamic analysis of a 32-bit ELF binary. The binary has two sequential checks: argument count must equal 2, and the argument converted via atoi() must equal 0xcafef00d (3405705229). The author demonstrates using GDB with pwndbg to set a breakpoint at the second comparison and patch the EAX register in-flight using set $eax=3405705229 to bypass the check and trigger the giveFlag() function. Techniques shown include strings enumeration, disassembly in Intel syntax, breakpoint setting, and register manipulation — useful as an introductory GDB tutorial for binary reversing.

Read original article

This post is licensed under CC BY 4.0 by the author.