Safe

User:

  • If people are struggling with running the binary with peda - peda sets follow-fork-mode to child whereas vanilla gdb has it as parent by default. You may wish to sed -i 's/follow-fork-mode child/follow-fork-mode parent/g' ~/peda/peda.py (or whever your peda is located).
  • Everything you need is contained within the binary itself.

Root:

  • I’m sure you don’t need a hint to find the correct vector.
  • When you use the right things, it shouldn’t take long at all to get a result.

Type your comment> @rewks said:

  • If people are struggling with running the binary with peda - peda sets follow-fork-mode to child whereas vanilla gdb has it as parent by default. You may wish to sed -i 's/follow-fork-mode child/follow-fork-mode parent/g' ~/peda/peda.py (or whever your peda is located).

Lifesaver, been trying to troubleshoot that forever…

I haven’t done a BOF before. What would be a good first timer tutorial that covers what I need to know for this box? (Feel free to PM instead of posting here if it’s spoiler-ish).

Rooted. Didn’t like this box at all – almost wondering how it even got selected in the first place? Feels like a repeat of another box cough (some will know which I’m referring to).

Anyways, hints:

user
As others have been saying, provide your own shell for yourself. Once you find what you are looking for and break it down, you’ll be able to understand how to get your shell. Don’t read too deep into the binary.

root
Check out what is already given to you. Enumerate it. What is it? What can you do with something like this? This step is extremely CTF-like. Run through each, carefully. You’ll know what to do in the end. Afterwards, give yourself a fully interactive shell and make the switch.

just rooted. not a bad box.

hints for user: make sure to inspect the binary to see what’s provided.

hints for root: focus on the tool and what you have in front of you, don’t “over-enumerate”, it’s pretty fast if you’re doing the right thing.

pm for hints

Type your comment> @kckriega said:

Type your comment> @v1p3r0u5 said:

 Type your comment> @kckriega said:

       I'm stuck here as well :(  Looks like a BoF, but where to get the bin???





  Hope this comment helps you to get the binary...

  Type your comment> @opt1kz said:

       Type your comment> @Ketil said:

             Would anyone mind dropping some names of techniques which i must have overlooked.

 



      Turn off 90% of your brain and just right-click.

Thanks. Heading over to the shame corner.

and here I was turning my brain on… thanks for the tip :slight_smile:

Type your comment> @hva said:

I haven’t done a BOF before. What would be a good first timer tutorial that covers what I need to know for this box? (Feel free to PM instead of posting here if it’s spoiler-ish).

me too

Still learning about BOF, any retired boxes anyone can recommend for me to practice and make use of the VIP service. Feel free to PM me. That’s the best way I learn trying to use the retired boxes and learning as i go with hints from the writeups.

The box is clearly inspired by BigHead.

Type your comment> @farbs said:

Rooted. Didn’t like this box at all – almost wondering how it even got selected in the first place?

Anyways, hints:

user
As others have been saying, provide your own shell for yourself. Once you find what you are looking for and break it down, you’ll be able to understand how to get your shell. Don’t read too deep.

root
Check out what is already given to you. Enumerate it. What is it? What can you do with something like this? This step is extremely CTF-like. Run through each, carefully. You’ll know what to do in the end. Afterwards, give yourself a fully interactive shell and make the switch.

thanks you’re a great help to the community and I’ve respected your profile, if i could i’d respect it twice.

Does any one know of a decent tutorial for the R** side of things? I’ve done BoF before but only 32bit and no R**. Need a decent tutorial/resource to get up to speed :slight_smile:

footold;
nmap it, make sure to scan all ports. focus on port 80, try to see things behind the scenes, and something will make sense to you.
user;
a great way to learn a little about the topic, once you’re done with the exploit, address it to the “leet” port.
root;
no python or netcat, but you still can get something nice out of ssh. focus on the home directory, it has all the files needed to get root. google about the database type, try to find attack vectors and then, read --help, maybe there’s an option to pass something you already have in addiction.
it will all make sense after that, remember that this is a CTFish box, so clues might be hidden
over all a great box to step into R** and exploitation, nothing more than that

1st easy box I cannot complete, figured out pretty fast there is a bof on high port. Will try to read up but will most probably dump this box.

Later edit: Can someone please confirm this is ROP related?

Type your comment> @seke said:

1st easy box I cannot complete, figured out pretty fast there is a bof on high port. Will try to read up but will most probably dump this box.

Later edit: Can someone please confirm this is ROP related?

si

need a hint on user, thanks…

Got a working exploit for local but does not work remote - i need to check if I can do better. My local exploit uses stack address but I guess i can find a better way.

Boing ! At least user !

Was stuck for a little bit trying to make the binary exploit work, make sure you pay attention to the calling conventions when jumping to the calls you want to use. If you can’t find info on proper calling conventions just run the program in gdb and see how they are regularly used. Take note of registers used and if information needs to be passed as pointers.

I was excited to see another ‘easy’ box getting released and the first step is literally custom exploitation and reverse engineering XD

User is like breaking into an old cellar in a dungeon. Root is like turning on the lights. Very funny box but its not “easy” :disappointed: I have an exploit done with @haqpl help. Fell free to ask me for any help :slight_smile: