Forest

Hello all.
So close, yet so far from getting the user flag.
I have figured out everything regarding tools, system users, system info and I guess I am missing a hash in order to fool the 3 headed doggy.
Any hints of what (obviously obvious) am I missing?
Thanks in advance!

I suck at windows boxes. I’m trying to read about the different kerberos vulnerabilities and almost always end up in a position where I would need to use hashcat. Hashcat just runs through basic wordlists on the krb5. Any pointers what I am doing wrong?

Edit: My hashcat was just broken. Did it on a different machine in under 1s

Spoiler Removed

Ensure that env variables are set correspondingly în your shell.

I have mixed feelings about the rating of this box: on one hand, it’s easy if you have experience with AD, but if you don’t (like me)… boy, you’re in for a ride :slight_smile:

Overall a great learning experience, but there’s a specific (deliberate?) issue which made me lose a lot of time because openvpn wasn’t quite happy with what I did to my VM to overcome it.

All hints in this thread will set you on the right path so I won’t repeat them, but I have one more for root: keep an eye on the clock, even few minutes can make a big difference!

John is not reconizing the hash from G********s.py

Type your comment> @sudophreak said:

https://www.youtube.com/watch?v=2Xfd962QfPs

For me, that was by far and so far the best hint in this forum thread.

I’ve been doing a couple of retired machines, going through the videos and writeups. Hope to get there slowly, but still struggling.

ldap*****h gave me 89 users, many can’t be found in the 3-headed-dog-database, but I’m going to hack this box, even if I have to travel to the htb’s datacenter to get physical access to forest, I swear. :wink:

Type your comment> @joshibeast said:

Type your comment> @Drac0l17ch said:

(Quote)
You mean: Congrats User flag :wink:

I got as far as this but I’m still not sure how I get that flag.A nudge in the right direction would very much be appreciated

Type your comment> @Nikolay167 said:

Im really stuck at getting the user :frowning: So i have few questions i found the user from which we can get the hash.

I’m trying to use tool from impacket called G****T.py but after specifying -k -no-pass htb.local/{VULN USER}
it throws me an error except the hash.

SessionKeyDecryptionError: failed to decrypt session key: ciphertext integrity failure

So the question, is the problem on my end(software ver etc) or im doing something wrong and i will never get that way Hash?

use -request and you can choose the output of the hash to make it compatible.

Or you can use hashcat :slight_smile: I had to upgrade my version though

Struggling with what i believe is last step of user… have some users, have a password for one account. However not sure how to use it, standard windows attacks read only access blocks, can’t find any thing of interest in the shares available, have been back over the services enumeration wise with the account i have but nothing more useful jumps out. Full port scan twice, have netcated to all the higher port services but nothing jumps out as offering route to a shell.
If any one can offer a hint in the right direction please do, undoubtably over looking some thing stupid

Type your comment> @suls said:

Struggling with what i believe is last step of user… have some users, have a password for one account. However not sure how to use it, standard windows attacks read only access blocks, can’t find any thing of interest in the shares available, have been back over the services enumeration wise with the account i have but nothing more useful jumps out. Full port scan twice, have netcated to all the higher port services but nothing jumps out as offering route to a shell.
If any one can offer a hint in the right direction please do, undoubtably over looking some thing stupid

There has been somthing EVIL used in previous HTB boxes look for that and use the credentials you have.

Type your comment> @bipolarmorgan said:

if you aren’t getting results from the dog, try barking at it with a regular cmd prompt instead of powershell…

For those stuck trying to find the user password … impacket is very useful! it’s a bit overwhelming at first, because there are so many scripts, but you’ll find what you are looking for eventually. have patience, young padawan!

I tries both PS and regular cmd but dog doesn’t give me anything. No zip or json file is created. I got the pre-compiled dog from the hub.

What am i missing?

I’m really struggling with getting a hash from the list of users. Looking for a bit of advice on it.

edit: I’m dumb, wasn’t formatting.

Spoiler Removed

Spoiler Removed

Doggo does not do anything at all. No prints. No files…
I am kinda lost.
Kindly asking for help.

i figured this out after a great hint from rolas without spoiling it for me you just need to remember the context of what your requesting and why and once that request is successfull usually during a good hunt people set loose their bloodhounds to retrieve the prize

what a pain… after all, here is my advice: if you feed the dog and send it to the right path, don’t play around and try to dump the secret immediately. there is only a short window for that. if you miss this, you have to step back.

First i hated this box, because was making no progress for 1 1/2 days… and then:
USER=>Kerberos (II): How to attack Kerberos?
And i had user. After couple of hours of reading and testing…
ROOT=>the special AD tool with attack vectors, followed it step by step.
did not use the cat, instead the other python framework. got the admin hash, then was easy.

This was great experience for ppl like me who have 0 ad and krb knowledge. Now i feel more comfortable in this kind of env, thanks to the creators of the box. Very nice box for learning :slight_smile:

my advice - try to do it by yourself, best learning experience, flags are not important :slight_smile: