Initial foothold : Google
User1 : Look around
User2 : Look around
root : Corona time, catch a bus and get back home; don;t come out #staysafe
Rooted, thanks to this comment.
Certainly on the easier side of medium boxes. The best part is that all the steps are quite logical with no guess work involved. Props to the creator @ChefByzen for that.
All the hints have already been given in this thread. But if you still need a nudge, feel free to pm.
@CarbonDPG said:
Iām not the owner of the box (obviously), but F2B can be configured to detect (and ban) directory brute forcing.
Thanks for clarifying. Didnāt know that. How does it work? F2B works with āJailsā when banning failed logins, I never looked under the hood how itās actually doing this.
Fundamentally, F2B is just a log parser. Create a new definition and scan for specific regex in the apache logs. Github link below to detect weblogins for example. Though in this case, youāre not scanning for POST requests in /login, youāre scanning for excessive POST or GET requests to any page. Add the new definition to the jail config, restart the F2B service and bobās you uncle.
Alternatively, tear apart Chefās F2B config files once youāve pwned the box. Found out how heās implemented it himself, the more you know!
This was a really nice machine @ChefByzen thanks for your efforts! Feel free to get in touch if youāre stuck, Iāll try and nudge if you let me know what youāve tried!