A brave warrior stands in front of the harshest enemy, a untouchable evil spirit who possesses his allies. Will he be able to overcome this enemy?A brave warrior stands in front of the harshest enemy, a untouchable evil spirit who possesses his allies. Will he be able to overcome this enemy?
Category: Reverse
Solver: t0b1, lmarschk
For this challenge, the gameboy rom was supplied.
Walkthrough
- Download the binary
- Find out it is a gameboy rom
apt install visualboyadvance
VisualBoyAdvance Patchofthe_Ninja.gb
- GameBoy game runs, there is a Dojo that can’t be entered
- It says:
I need to patch the evil spirits away
- Lets use
GhidraBoy
for Ghidra andsameboy
to debug and patch the binary. - Find out that all prior steps were not needed, just use the simple, old stuff:
- Use
strings Patchofthe_Ninja.gb | grep HTB
to get the flagHTB{C00l_Shurik3n}
lmm@lmm-think-05:~/Documents/htb/ctf_2020$ strings -n 10 Patch_of_the_Ninja.gb
3>PATCHOFTHENINJA
#2*#2*#"^#V!
#2*#2*#"^#V!
#2*#2*#2^#V!b0
9^#V#~#foDM!
9V+^+~+ngDM
9V+^+~+ngDM
9V+^+~+ngDM
9V+^+~+ngDM
V+^+F+N+:ng
#2*#2*#"^#V!
#2*#2*#"^#V!
#2*#2*#"^#V!
#2*#2*#"^#V!
~++2^#V!b>
You have retrieved
Congratulations!
This is not the
Flag you're
looking for.
Where am i? What
For a second I
felt really weird,
what happened?
My head hurts a
lot, what was
Ninjas don't run
away from a
challenge...
The water seems
very calm.
Hey you shouldn't
be in here!
This is the "Hack
the box" server
room. Staff only!
He's stuck in some
trance-like
I need to patch
the evil spirits
HTB{C00l_Shurik3n}
` ` ` p h ` ` `
` d j ` ` ` p `
()*+,-./0123456(
789:;<=>?@ABCDE7
**much more content**