SecNotes

Rooted, wow a long way to get the flag :slight_smile: Trying harder things than the easy way.

Need help with initial foothold. Dumped the users with hashes. Can someone please pm me?

EDIT 1: got through! Thanks @Kadi
EDIT 2: just got root. Thanks to all who helped me out. It is easy if you know what to do.

Great box @0xdf . A sweet experience once you get there.

Can somebody PM me ? iā€™m totally lost with privesc

EDIT :
I get root !
PM me if needed

I got root.txt. Has anyone root shelled this box?

@x0xxin said:
I got root.txt. Has anyone root shelled this box?

I just manage to get it. Very fun box, root shell not needed but popped for fun. Itā€™s probably not the easiest way but some tools were just acting funny against this box - anyone else got it in a nice, clean way? At the moment the way I got root shell itā€™s a two stage processā€¦

500 - Internal server error :astonished: :anguished:

Edit: Get user :sleepy:

@Ju577Ry said:
500 - Internal server error :astonished: :anguished:

Correct your query

Getting the basic info was pretty easy. But after that I was stuck for hours when I forgot an option in the first thing I do in my basic enumeration. After that it was very straight forward to get user, but Iā€™m still stuck at the privesc. Spend hours on it, trying multiple things. Some hints are very welcome!

Can someone help me with a hint by pm, is secnotes app vulnerable? Where to focus?

Nice machine. For privesc hintā€¦ donā€™t overthink it, there is pretty easy way of getting it. Just think about two things - not that old windows feature which wasnā€™t available in earlier windows versions + basic enumeration you do once you figure out first thing :slight_smile:

As mentioned before, root is pretty strait forward, once you discover the feature, which was just added to Windows 10. You donā€™t have to execute it - think about itā€¦

I got a nc reverse shell but with this shell I canā€™t execute interactive commands (as the one I think I need to run to privesc). So, how could I upgrade it to a interactive shell ?

@RawTables said:
I got a nc reverse shell but with this shell I canā€™t execute interactive commands (as the one I think I need to run to privesc). So, how could I upgrade it to a interactive shell ?

I think this is basically one of the problems I encounter getting privesc. Almost everything I try is not functioning.
Edit: Iā€™m a bit further with this, you have to find a certain exe. Just basically run it from anywhere. It might throw an error but just ignore, it wonā€™t give any feedback and will look like it hangs.
EDIT: Finally got it after hoursā€¦ pfff what a box. Weird way to get the flag tho. Basic Linux enumeration but you have to think outside the box.

The user flag was easy but rooting this is a pain. Iā€™m root on the box but cannot get to the flag. I feel Iā€™m really close and Iā€™m missing one thing. Can anyone PM some pointers?

@jbob said:
The user flag was easy but rooting this is a pain. Iā€™m root on the box but cannot get to the flag. I feel Iā€™m really close and Iā€™m missing one thing. Can anyone PM some pointers?

Rooted! That was a not a Priv Esc I was expecting . Thanks @lun3r and thanks @0xdf for creating this fun yet frustrating box. Learnt a lot of ways in how not to get the flag.

Maybe someone can give me a hint for the *** Inj****n on the login page. I think there is a little mistake in the syntax. Please PM or iā€™m on the wrong path?

I got credentials but not sure where to apply them to get shell. Any hint? please PM

Rooted! What a fun machine this was!

Wow, what a great machine! Really fun stuff. I love that thereā€™s no plug and play exploits or anything like that, itā€™s almost entirely critical thinking and reading key files.

ADMINS: Please remove any part of this that may contain spoilers. Thanks.

For those struggling:

Initial foothold: After you do your initial scan, while youā€™re messing around, make sure you run a more complete scan in the background. It might just turn something up that your first scan didnā€™t.

Next step: Thereā€™s some really good cheat sheets out there cheat sheets out there. One of IppSecā€™s past videos alludes to the vulnerability, but this one is much simpler and you donā€™t have to go nearly as in depth. Once you get in, just look around. Everything you need is right in front of you, canā€™t stress that enough. Start with the basics.

Now maybe you can use what you found to gain access to a running service. Notice that thereā€™s not much here. If youā€™re confused, ask for help and read through the responses. See what youā€™re allowed to do.

Once you figure that out, you can try to get a simple RCE script running. Just like in other boxes, RCE will usually allow you to enumerate certain parts of the filesystem, and potentially even run commands on the system. Just remember to hurry up, or think of a way you can make your new situation less temporary.

Once you get stable access, the rest is actually really easy, although it might not seem like it at first. Some of the hints in this thread are spot on: Notice the interesting directory? Think about what that means. If you were running that program as a user, that would give you different available programs, right? Maybe looking around for some of the more important or common ones will help you find what you need.

Once you find the ā€œlongā€ filepath, enumerate, enumerate, enumerate! Just like you would for any other system! That should be everything you need. You donā€™t need to run any programs once you gain access or anything like that.

You can PM me, but if you do, your questions better be well thought-out and I expect to see what youā€™ve been trying, otherwise how will I know how to help guide you? No more of this ā€˜plz help me I need it just tell me howā€™ ā– ā– ā– ā– . :slight_smile:

EDIT: First PM after writing this: ā€œSecNotes help logged in but dont know what to doā€

Guys. This is NOT how you ask for help.

Any one willing to PM about gain access to the box. I was able to find a set of credentials and I see something that can be used to look in some directories. After that I am lost. I am not sure how to get a reverse shell or be able to look around better.