HackTheBox Hacky Bird Writeup
Explore the basics of cybersecurity in the Hacky Bird Challenge on Hack The Box. This easy-level Challenge introduces encryption reversal and file handling concepts in a clear and accessible way, perfect for beginners.
Running the Game
To start the game, run it using Wine:
1
wine HackyBird.exe
Using scanmem
for Exploitation
- Attach scanmem to the game’s process:
1
sudo scanmem -p "$(pidof HackyBird.exe)"
- Search and modify in-game values:
- Begin by scanning the initial value, typically
0
, and update as the game progresses. - Example workflow:
1 2 3 4
0 # initial value 1 # after scoring 1 # wait for another state update to further narrow down results 2 # after the next scoring
- Narrow down results by searching for the updated value after each event (e.g., scoring). scanmem filters results by comparing values from the previous scan to the current state, focusing on changes between the last and current value within that time frame.
- Begin by scanning the initial value, typically
- Modify the memory value:
- Set the desired value, such as
999
:1
set 999
- Alternatively, set every second:
1
set 999/3
- Set the desired value, such as
- If feeling lucky, modify all found values to speed up the process (may cause crashes):
1
set 999
Summary
Hacky Bird on Hack The Box is an easy-level game exploitation challenge that demonstrates the basics of memory manipulation. Participants use tools like scanmem to locate and modify in-game memory values, enabling progress and retrieving the flag. This challenge highlights fundamental game hacking techniques, making it a fun and interactive way to explore cybersecurity concepts.
This post is licensed under CC BY 4.0 by the author.