PWN Hunting challenge — HTB

Egg hunting && shellcode writing [x86]

Karol Mazurek
4 min readJul 29, 2024

--

This is a re-uploaded article from years ago. HTB banned it because the challenge was still active. I promised the audience to re-upload it after the challenge is retired.

This is my 6th walkthrough referring to the methodology described here.
It will be as always:

  • concise,
  • straight to the point.
  • without the steps that lead to the rabbit hole.

0. Download the binary:

Source: https://app.hackthebox.eu/challenges

1. Basic checks:

2. General overview:

  • Since there is NX bit disabled, shellcode can be executed from the stack.

--

--