friendzone @ hackthebox, walkthrough-style

hack the friendzone

some tips and hints for hackthebox’s friendzone machine. walkthrough-style.

  1. doing a standard nmap scan, you can see a couple of interesting services, except standard.
  2. enumerate shared stuff. examine every file, you’ll find some useful things there. at this point also check, what’s writable and what’s not. you’ll need this info for next steps.
  3. try harder dig deeper 🙂 although some dns enumeration tools fail, standard dig AXFR request works well.
  4. combine data, harvested on step 2, and dig results.
  5. obvious hint from dashboard shows us a way of RCE through LFI. you should use writable thing from step 2.
  6. look for some database credentials. they can be useful for accessing other services.
  7. for root flag, check all writable files on the system. there’s a strange one, which should not be writable and it’s name is quite self-explanatory 🙂

good luck and try harder.

Leave a reply