HTB - Mist
by ghostess256 - Friday March 29, 2024 at 10:25 PM
#61
[quote="cosa7" pid='524575' dateline='1711939597']
[quote="defxsec" pid='524198' dateline='1711924077']
Esto también podría ayudar a automatizar todo el proceso.
https://github.com/saoGITo/HTB_Mist
[/cita]

¿Lo probaste? ¿Se que se trata?
[/cita]

Si
Ban reason: English Only Forum| https://raidforums.im/Forum-Ban-Appeals if you feel this is incorrect. (Permanent)
Reply
#62
i have Brandon user shell can anyone confirm that which user have  user.txt flag and whats next step ?
Ban reason: Scraping | Contact us via https://raidforums.im/contact if you feel this is incorrect. (Permanent)
Reply
#63
stuck within Brandon shell as well...machine is a brainfu.. Big Grin
Reply
#64
winpeas does not give anything useful
Reply
#65
(03-31-2024, 09:06 AM)peRd1 Wrote:
(03-31-2024, 06:43 AM)Th35t0rm Wrote: Any hint for shell as Brandon ?
Even then, from brandon, it's really faaar away from user, let along root.


only you  will help here  i have Brandon shell what next we do ?
Ban reason: Scraping | Contact us via https://raidforums.im/contact if you feel this is incorrect. (Permanent)
Reply
#66
Let me re-cap this box =
after getting the admin hash, log in to the machine
upload a zip with an exe and a webshell,
then run the exe through the webshell (very confusing to do this)
Then, after that, you make another payload to get another shell (Brandon), and then what?
which user is the user that has the flag.txt
Let me know if Im corrected with the steps
Ban reason: Leeching. (Permanent)
Reply
#67
Ok. Someone posted and deleted a comment this morning related to Webdav->LDAP relaying using DavRelayUp.
I've managed to modify that a bit, and now have it providing an interactive ldap session authenticated to DC as MS01$, where I can try to update keys. Seems to work, for example I can see that an update I made to msDS-AllowedToActOnBehalfOfOtherIdentity to MS01$ is reflected when I access it from impacket-rbcd -action read from linux.

Anyone have thoughts on an exploitation path from there?

or am I just wasting more of my time...
Reply
#68
anyone tried to steal ntlm with mitm in samba service?
Reply
#69
xxxbfacc dateline='[url=tel:1711994396' Wrote: 1711994396[/url]']
Ok. Someone posted and deleted a comment this morning related to Webdav->LDAP relaying using DavRelayUp.
I've managed to modify that a bit, and now have it providing an interactive ldap session authenticated to DC as MS01$, where I can try to update keys. Seems to work, for example I can see that an update I made to msDS-AllowedToActOnBehalfOfOtherIdentity to MS01$ is reflected when I access it from impacket-rbcd -action read from linux.

Anyone have thoughts on an exploitation path from there?

or am I just wasting more of my time...

What modifications did you make? You should be able to add shadow credentials to ms01 

Some people seem to have had luck with Impacket-ntlmrelayx
Reply
#70
modified the GoRelayServer.dll, webdav_server.go file.

in my current version I loop prompting for
targetDN, key and value instead of the original

But basically:

modify := ldap.NewModifyRequest(c.TargetDN, nil)
modify.Replace("msDS-AllowedToActOnBehalfOfOtherIdentity", []string{string(c.RBCDSecurityDescriptor[:])})
err = c.RelayInstanceList[relayInstanceIndex].LdapClient.Modify(modify)

I've tried hardcoded like:

modify := ldap.NewModifyRequest("CN=MS01,DC=mist,DC=htb", nil)
modify.Add("msDS-KeyCredentialLink", []string{"key credential string from pywhisker"})
err = c.RelayInstanceList[relayInstanceIndex].LdapClient.Modify(modify)

but I'm getting insufficient access rights error.


(04-01-2024, 07:46 PM)Xavipolero Wrote:
xxxbfacc dateline='[url=tel:1711994396' Wrote: 1711994396[/url]']
Ok. Someone posted and deleted a comment this morning related to Webdav->LDAP relaying using DavRelayUp.
I've managed to modify that a bit, and now have it providing an interactive ldap session authenticated to DC as MS01$, where I can try to update keys. Seems to work, for example I can see that an update I made to msDS-AllowedToActOnBehalfOfOtherIdentity to MS01$ is reflected when I access it from impacket-rbcd -action read from linux.

Anyone have thoughts on an exploitation path from there?

or am I just wasting more of my time...

What modifications did you make? You should be able to add shadow credentials to ms01 

Some people seem to have had luck with Impacket-ntlmrelayx
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  [MEGALEAK] HackTheBox ProLabs, Fortress, Endgame - Alchemy, 250 Flags, leak htb-bot htb-bot 106 42,238 10-31-2026, 07:33 PM
Last Post: aistax
  [FREE] 300+ Writeups PDF HackTheBox/HTB premium retired Tamarisk 383 138,758 10-31-2026, 11:47 AM
Last Post: thaytoiyeucoay30nam
  HTB PWN- Oxidized ROP macavitysworld 4 1,045 10-29-2026, 01:01 PM
Last Post: A1Raid3r
  HTB - code + titanic walkthrough | free tony_boom23 3 7,262 10-25-2026, 06:35 AM
Last Post: A1Raid3r
  HTB apt lab note zapot 14 35,535 10-03-2026, 08:09 PM
Last Post: whuuaa



 Users browsing this thread: 2 Guest(s)