text
stringlengths
4
952
start
float64
0
9.37k
duration
float64
0
0
meta
dict
permissions to it so I'm doing spider plus to list all the contents the output is here so I'm going to cat the file and there's nothing so um the share is empty now we don't really have much else we could go off of um we don't even really have a user list to do like a brute force or as rep roasting or any of those thin...
222.159
0
{ "video_id": "oUIoH4yBT3k", "title": "HackTheBox - Rebound", "url": "https://www.youtube.com/watch?v=oUIoH4yBT3k" }
see not exact SM I'm not exactly sure what I was missing there but we got it working um but as I was saying just go to ic. Rox type our ID I'll explain exactly how this is working under the hood in that video um I think it's the manager video in specific that I uh talk about it so we do have the maximum being 3382 righ...
298.639
0
{ "video_id": "oUIoH4yBT3k", "title": "HackTheBox - Rebound", "url": "https://www.youtube.com/watch?v=oUIoH4yBT3k" }
as long to run right now we stopped around um 7600 so I'm confident we got them all so I'm going to highlight all this text because I want to copy it to a file so let's make V output. text because we have to create word list from this right we want to just get all the users so um actually I'm going to rename output. te...
363.08
0
{ "video_id": "oUIoH4yBT3k", "title": "HackTheBox - Rebound", "url": "https://www.youtube.com/watch?v=oUIoH4yBT3k" }
user and then SL D so everything that doesn't have Sid type user on the line I'm going to delete it there we go and here we want to do another search and replace and we'll say um space star G there we go I'm going to write users. text I can do U twice to go back here because I kind of want to get the groups as well rig...
434.08
0
{ "video_id": "oUIoH4yBT3k", "title": "HackTheBox - Rebound", "url": "https://www.youtube.com/watch?v=oUIoH4yBT3k" }
text and then we can quit that and we have a file users and groups. text the groups I don't know if it's useful but since I was there I might as well have grabbed it right so now we have a list of all the usernames so we could try like brute forcing all them with like um summer 2023 bang or something like that but most...
480.4
0
{ "video_id": "oUIoH4yBT3k", "title": "HackTheBox - Rebound", "url": "https://www.youtube.com/watch?v=oUIoH4yBT3k" }
asre roast. text and we have to switch this over to the L module and let's see that did not work oh we have to specify a user file right the users does not exist doesn't matter um let's go with users.
543.36
0
{ "video_id": "oUIoH4yBT3k", "title": "HackTheBox - Rebound", "url": "https://www.youtube.com/watch?v=oUIoH4yBT3k" }
text and let's see we have one right off the bat uh J Jones so if I cat as rep roast it puts it in hashcat format for me so we can just grab this and then I'm going to go over to the Kraken which is a box on my local network that I just have for password cracking so I can go in the hashcat folder v hashes um we'll call...
568.36
0
{ "video_id": "oUIoH4yBT3k", "title": "HackTheBox - Rebound", "url": "https://www.youtube.com/watch?v=oUIoH4yBT3k" }
recommend that but let's just perform the attack because we know J Jones is as rep roastable um the git user spns should have a flag called No preo in it so if we do no- preo we specify the user which is J Jones this is the as rep roastable guy uh we do users file users. text and then specify the DC host of 101 11231 a...
723.2
0
{ "video_id": "oUIoH4yBT3k", "title": "HackTheBox - Rebound", "url": "https://www.youtube.com/watch?v=oUIoH4yBT3k" }
because we're no longer there we want to say home htb rebound users. text and there we go we're getting some hits actually so let's see just going to copy everything okay uh let's go back here v um I'll call it SPN do text or maybe we should call it curber Ro uh Kerber ro. text then we can paste everything in and what ...
801.279
0
{ "video_id": "oUIoH4yBT3k", "title": "HackTheBox - Rebound", "url": "https://www.youtube.com/watch?v=oUIoH4yBT3k" }
passwords right this is the machine account dco1 the machine account delegator group manag service account delegator um KB gdd not going to crack anyways so I'm only going to grab L Monitor and the reason why I'm only grabbing one is because you can't really specify multiple um encryption types and a hash file and give...
909.56
0
{ "video_id": "oUIoH4yBT3k", "title": "HackTheBox - Rebound", "url": "https://www.youtube.com/watch?v=oUIoH4yBT3k" }
monitor let's see there we go that is what I expected and it almost instantly cracked so I'm going to do a D- show and we can see the password is something I don't want to say because it could get me demonetized but when you see it you know right so let's go and test this out so I'm going to do net exec um SMB 10101 uh...
1,007.88
0
{ "video_id": "oUIoH4yBT3k", "title": "HackTheBox - Rebound", "url": "https://www.youtube.com/watch?v=oUIoH4yBT3k" }
sign I expect to okay there we go have some output and awesome we can authenticate as L monitor um I'm going to do the D- users flag because I want to make sure I grabbed all the users out of um the box right so let's grab all of this V users 2. text we can paste this oh my God there we go um let's say dot star start o...
1,106.4
0
{ "video_id": "oUIoH4yBT3k", "title": "HackTheBox - Rebound", "url": "https://www.youtube.com/watch?v=oUIoH4yBT3k" }
because it treated them as computer accounts so our user. text originally got all the users again um don't have to do that step it's always just nice for that uh little sanity check so with this uh ldap command we can also just get blood hound um if we look at the help of this we have a D- Bloodhound and then we specif...
1,238.72
0
{ "video_id": "oUIoH4yBT3k", "title": "HackTheBox - Rebound", "url": "https://www.youtube.com/watch?v=oUIoH4yBT3k" }
um the error pointed down to I just ran it with different Collections and I got rid of the object property that seems to be where it was at so let's just go and do that manually this is annoying okay let's see if this one runs and again there's nothing no reason why I didn't just run um the blend Hound what is ITP like...
1,326.2
0
{ "video_id": "oUIoH4yBT3k", "title": "HackTheBox - Rebound", "url": "https://www.youtube.com/watch?v=oUIoH4yBT3k" }
57 so I'm guessing it we just drag and drop too many files weird uh I think this is definitely the latest one that has more files and we did more collections this time so we should have blood hound all installed so clear finished and then we can just do the standard Blood Hound checks right so we could find principles ...
1,448.48
0
{ "video_id": "oUIoH4yBT3k", "title": "HackTheBox - Rebound", "url": "https://www.youtube.com/watch?v=oUIoH4yBT3k" }
to this group and that group um has generic all over service users which wi orm is a part of and we want to get to Wi RM I'm going to mark this as a high value Target because um we want to get shell on the box right so I'm guessing that will be a starting point um I'm going to Mark oend also as a high value Target beca...
1,515.88
0
{ "video_id": "oUIoH4yBT3k", "title": "HackTheBox - Rebound", "url": "https://www.youtube.com/watch?v=oUIoH4yBT3k" }
look at um let's see inbound control main admin account operator so inbound control is all the users that can control this user right and we don't have anything so we have to figure out how to get to them um we can try like a password spray with the L monitor password against all the other users maybe whoever set up th...
1,593.799
0
{ "video_id": "oUIoH4yBT3k", "title": "HackTheBox - Rebound", "url": "https://www.youtube.com/watch?v=oUIoH4yBT3k" }
text we will see if there's any success um J Jones is vulnerable to as rep roast let's see I swear orand was in users.
1,639.48
0
{ "video_id": "oUIoH4yBT3k", "title": "HackTheBox - Rebound", "url": "https://www.youtube.com/watch?v=oUIoH4yBT3k" }
text he's there but we don't see crack map hitting him oh we have to do continue on success um continue on success because we hit L Monitor and then it said oh we found a successful password and stopped right so let's keep going and there we go we have a hit from orend so now we have access to him uh we can be 100% sur...
1,663.36
0
{ "video_id": "oUIoH4yBT3k", "title": "HackTheBox - Rebound", "url": "https://www.youtube.com/watch?v=oUIoH4yBT3k" }
working let's try it out um to start things off because we're going to be doing Cur Bros on Linux we have to edit the uh carab 5. comp file and we have to point it to our domain so I'm going to do example.com to rebound htb and then let's do the lowercase version and the admin server and KDC dco1 that is still good oka...
1,760.039
0
{ "video_id": "oUIoH4yBT3k", "title": "HackTheBox - Rebound", "url": "https://www.youtube.com/watch?v=oUIoH4yBT3k" }
AIT orend at rebound htb uh pseudo VZ host is it case sensitive is that it rebound htb something is wonky here with this KET command I think we screwed up our kab 5 config wonder if one of these needs to be like all capitals there's like KDC or something or maybe we just specify the username yep there we go KET pulled ...
1,875.6
0
{ "video_id": "oUIoH4yBT3k", "title": "HackTheBox - Rebound", "url": "https://www.youtube.com/watch?v=oUIoH4yBT3k" }
failure let's see yeah access denied so I don't know why we can't seem to do it this way um my only guess is it's trying to do like SMB not ldap or something weird like that but there is a tool called bloody ad I'm sure you could do this through impacket but I didn't have any like impacket scripts that I found to easil...
2,003.559
0
{ "video_id": "oUIoH4yBT3k", "title": "HackTheBox - Rebound", "url": "https://www.youtube.com/watch?v=oUIoH4yBT3k" }
activate and then pip install Dot and this is going to install everything um if you're missing some cobos libraries it's going to tell you and then you just have to install them with apt or whatever you're using but now that we have Bloody ad we can execute it so let's see we want like to add right so if I do Bloody ad...
2,080.44
0
{ "video_id": "oUIoH4yBT3k", "title": "HackTheBox - Rebound", "url": "https://www.youtube.com/watch?v=oUIoH4yBT3k" }
password uh one great something for you there we go and then I think we have to specify the host okay so we want to do add group member so we do service MGMT and then orend so we're adding orend to that group um does the M have to be Capital it's taking longer there we go so orend has been added to service management s...
2,168.72
0
{ "video_id": "oUIoH4yBT3k", "title": "HackTheBox - Rebound", "url": "https://www.youtube.com/watch?v=oUIoH4yBT3k" }
have added ourselves to the group let's see where was that command did I do it here there we go so the next thing we have to do is give ourselves generic all access over the um service accounts OU so we can say add generic all then OU is equal to um the service users so we got to get the OU here we can just copy it I g...
2,265.319
0
{ "video_id": "oUIoH4yBT3k", "title": "HackTheBox - Rebound", "url": "https://www.youtube.com/watch?v=oUIoH4yBT3k" }
- uh when RM service P Please Subscribe and this will hopefully Let Me In It's thinking about it waiting for my shell uh SVC shoot type in the username there we go so that's an easy way to get the shell right but you never really want to update a user's password if you can avoid it and we can avoid it right um I'm goin...
2,364.28
0
{ "video_id": "oUIoH4yBT3k", "title": "HackTheBox - Rebound", "url": "https://www.youtube.com/watch?v=oUIoH4yBT3k" }
just have to trust me here because it does take quite a while for winrm to time out so um we can do Shadow credentials which attaches a certificate to the user and uses that to log in right the easiest way to do it is through certify so if we do certify shadow um DH I think it's Auto right list yeah we can do auto and ...
2,441.56
0
{ "video_id": "oUIoH4yBT3k", "title": "HackTheBox - Rebound", "url": "https://www.youtube.com/watch?v=oUIoH4yBT3k" }
htb the password one great for you uh cobros and we give it the account which is wi rmore SVC and then the target which is dco1 do um rebound htb and I just realized this is going to fail because we have to add ourself to the group again um so let's do add see let's do I have group member there we go that will add me i...
2,483.72
0
{ "video_id": "oUIoH4yBT3k", "title": "HackTheBox - Rebound", "url": "https://www.youtube.com/watch?v=oUIoH4yBT3k" }
to do it because we didn't modify the um ntlm password of winrm service right so if anything was configured to use that account it's fine like it didn't break anything um we could also do Bloody ad with that as well if we wanted to so this is going to be the same steps um let's see I think add has a shadow credentials ...
2,584.96
0
{ "video_id": "oUIoH4yBT3k", "title": "HackTheBox - Rebound", "url": "https://www.youtube.com/watch?v=oUIoH4yBT3k" }
variable name opt bloody let's do klist um let's see okay no credentials I wanted to wipe the previous um hash we had from earlier so now I can do export KB 5cc name is equal to U my working directory SL winrm svcc we do klist again we can see that ticket is there so let's go back to that winrm command where is it I sh...
2,690.8
0
{ "video_id": "oUIoH4yBT3k", "title": "HackTheBox - Rebound", "url": "https://www.youtube.com/watch?v=oUIoH4yBT3k" }
principles and we go winrm service nothing right we can PS remote to dco1 but we already knew that so when doing this box I spent a lot of time at this step I tried things like um adcs attacks which there were no vulnerable certificates um just a bunch of things and there's one thing that really stuck out that I just m...
2,792.359
0
{ "video_id": "oUIoH4yBT3k", "title": "HackTheBox - Rebound", "url": "https://www.youtube.com/watch?v=oUIoH4yBT3k" }
can see that t Brady is most likely it's either this win orm service um administrator or t Brady right if we wanted to we can look at Blood Hound to see what T Brady has so if I go here let's um let's see is there anything T Brady can do shortest paths I'm just going to mark it as owned so I can do the shortest path I'...
2,848.4
0
{ "video_id": "oUIoH4yBT3k", "title": "HackTheBox - Rebound", "url": "https://www.youtube.com/watch?v=oUIoH4yBT3k" }
this from clicking on T Brady but we can see T Brady can read the gmsa which is group managed service account password of this delegator account wonder if the answer is you just look at delegator and then go backwards there should be a way to go from T Brady to that I would think but maybe not so we know what we could ...
2,963.4
0
{ "video_id": "oUIoH4yBT3k", "title": "HackTheBox - Rebound", "url": "https://www.youtube.com/watch?v=oUIoH4yBT3k" }
CS um this is a nice C tool that will essentially give you run as ability so you can run as a local thing like a local session and unlike the default Windows run as it will accept a password as an argument um I believe if the windows R like native run as tool accepted passwords as arguments you wouldn't need this tool ...
3,037.64
0
{ "video_id": "oUIoH4yBT3k", "title": "HackTheBox - Rebound", "url": "https://www.youtube.com/watch?v=oUIoH4yBT3k" }
exe see it wants us to be in the bloody ad directory that tool name is ople AED uh thank God I did not delete that directory wonder if I started the path with the slash if it would just be smart enough to not do current working directory but regardless we have it so if I do run as cs.
3,135.88
0
{ "video_id": "oUIoH4yBT3k", "title": "HackTheBox - Rebound", "url": "https://www.youtube.com/watch?v=oUIoH4yBT3k" }
XE um the username password doesn't matter if we could specify the username password if we wanted to if we leave it blank it'll run in a current context so we can do qw insta and I think we want put login session let's see probably nine there we go so now it's showing T Brady um do it again so I wonder if we did um let...
3,177.2
0
{ "video_id": "oUIoH4yBT3k", "title": "HackTheBox - Rebound", "url": "https://www.youtube.com/watch?v=oUIoH4yBT3k" }
the hash of T Brady and if we're lucky we'll be able to crack it and the reason why we're able to get his hash is because he's logged into the same box we are so let us uh grab the Remote Potato tool so we're going to do Remote Potato coincidentally from the same guy that made um run as CS so let's just download the la...
3,262.16
0
{ "video_id": "oUIoH4yBT3k", "title": "HackTheBox - Rebound", "url": "https://www.youtube.com/watch?v=oUIoH4yBT3k" }
can't do it on Local Host because Local Host already has 135 running and we can't just manipulate what the um I'm going to say oxid server is doing because we don't have permission to so we stand it up locally then we Ford it over to um the remote host on Port quad 9 so it's a nasty hack in order to get it talking to a...
3,356.119
0
{ "video_id": "oUIoH4yBT3k", "title": "HackTheBox - Rebound", "url": "https://www.youtube.com/watch?v=oUIoH4yBT3k" }
them back to Port 9999 because that's the port we tell this service to listen on and there we go we saw a bunch of gibberish here that was all the network traffic getting redirected but then it goes to the Rogue again I'm going to call it oh yeah it is a rogue oxid server and that lets us get the hash of T Brady so let...
3,455.72
0
{ "video_id": "oUIoH4yBT3k", "title": "HackTheBox - Rebound", "url": "https://www.youtube.com/watch?v=oUIoH4yBT3k" }
ntlmv2 paste this in hashcat um that file opt word list rocku and I'm guessing this is already in hashcat format it is and it's already cracked D Brady's password so we can do D- show and 543 bomb bom I have no idea what that password is or why it's in rock q but hey we got T Brady so if we do net exec SMB UT Brady DP ...
3,487.799
0
{ "video_id": "oUIoH4yBT3k", "title": "HackTheBox - Rebound", "url": "https://www.youtube.com/watch?v=oUIoH4yBT3k" }
it through net exac and that's a ldap option because you're going to query the ldap registry so if we look at it there's just a D- gmsa so if we specify gmsa uh oh we have to do curb roast authentication there we go come on there we go so we get the ntlm hash of the uh delegator group manag service account password if ...
3,578.799
0
{ "video_id": "oUIoH4yBT3k", "title": "HackTheBox - Rebound", "url": "https://www.youtube.com/watch?v=oUIoH4yBT3k" }
how we doing net exac uh OD app signing is enforced so we do- K let's see yep we can authenticate as that if that was an invalid hash let's just make sure I always like just testing it to make sure it's working we have preal failure so we have successfully got the delegator's password um oh wait that is weird that it w...
3,656.319
0
{ "video_id": "oUIoH4yBT3k", "title": "HackTheBox - Rebound", "url": "https://www.youtube.com/watch?v=oUIoH4yBT3k" }
doing here right we gave it a user that did not exist and a invalid hash but it didn't matter what we give for the hash it would just automatically authenticate but we had a valid user that's when the password actually matters so now that we have delegator we have to figure out what it can do and this is extremely tric...
3,750.319
0
{ "video_id": "oUIoH4yBT3k", "title": "HackTheBox - Rebound", "url": "https://www.youtube.com/watch?v=oUIoH4yBT3k" }
so let's activate this virtual environment and I can run find delegation and then we just specify the credential so rebound HTTP um orend and then the password uh one g r a i think that's this I think that's the password um we need to specify the IP so that is dco1 and we can do K for cobus so this is going to show all...
3,809.64
0
{ "video_id": "oUIoH4yBT3k", "title": "HackTheBox - Rebound", "url": "https://www.youtube.com/watch?v=oUIoH4yBT3k" }
going to give me your curos ticket your St your service ticket and then I'm going to go to the domain controller with a TGs of mine with your service ticket and if I'm allowed to become you or impersonate you it will pass the authentication so then I give you that ticket back and everything's hunky dory right um it's j...
3,873.64
0
{ "video_id": "oUIoH4yBT3k", "title": "HackTheBox - Rebound", "url": "https://www.youtube.com/watch?v=oUIoH4yBT3k" }
don't have um resource cons like uh we don't have the permission to forward tickets so in order to show that let's get a ticket real quick um and before I do that let's show one other thing um I'm going to run bloody ad again and I'm going to show why I never use administrator for this right so we do the domain rebound...
3,943.52
0
{ "video_id": "oUIoH4yBT3k", "title": "HackTheBox - Rebound", "url": "https://www.youtube.com/watch?v=oUIoH4yBT3k" }
hash um where was that was that in that exact we doing it here yes we were so we can do hashes like that um we need the DCI the SPN of this I want to say it was an HTTP right is SPN here delegator see I think this is a SPN uh re bound htb so if we try this um SPN is not allowed to delegate by user delegation or the ini...
4,024.319
0
{ "video_id": "oUIoH4yBT3k", "title": "HackTheBox - Rebound", "url": "https://www.youtube.com/watch?v=oUIoH4yBT3k" }
constrain delegation script in order to add a um path so let's do that real quick I'm going to do um actually before I do that we need a SPN in order to access this um so we need an account that has an SPN I should say and if we look let's see get object if I get object or end uh username bad password there we go uh or...
4,153.799
0
{ "video_id": "oUIoH4yBT3k", "title": "HackTheBox - Rebound", "url": "https://www.youtube.com/watch?v=oUIoH4yBT3k" }
one for you uh let's see we need a dash K it's only going to show the L monitor one it doesn't show the delegator one cuz keep in mind it says user elep monitor is a user delegator is a group managed service account so that's why it doesn't show on get user SPN but we could see it when we did the get object right so le...
4,235.92
0
{ "video_id": "oUIoH4yBT3k", "title": "HackTheBox - Rebound", "url": "https://www.youtube.com/watch?v=oUIoH4yBT3k" }
and then finally the use ldap uh let's see delegate from use out app Deli gate i' have typers everywhere okay so the L monitor is now able to act on behalf so if we do the um let's see find delegation here we see there is another one and this is able to act on behalf of people but again we can't act on behalf of admini...
4,346.239
0
{ "video_id": "oUIoH4yBT3k", "title": "HackTheBox - Rebound", "url": "https://www.youtube.com/watch?v=oUIoH4yBT3k" }
um so essentially what we did is um send a ticket that says we're dco1 to the um delegator service and able to get that validated so we become it so this is essentially a silver ticket not to be confused like when we did get St this is always going to be um service ticket the silver ticket is just a hash of the machine...
4,463.639
0
{ "video_id": "oUIoH4yBT3k", "title": "HackTheBox - Rebound", "url": "https://www.youtube.com/watch?v=oUIoH4yBT3k" }
quick let's see forget how to do this one over cus I think we just say- K and then probably need- DC IP see to specify no pass I thought this would be fine let's see export kb5 CC name so we have the ticket there's definitely a flag I'm missing oh wait um I only did half of this I need to create a second ticket and it'...
4,542.8
0
{ "video_id": "oUIoH4yBT3k", "title": "HackTheBox - Rebound", "url": "https://www.youtube.com/watch?v=oUIoH4yBT3k" }
uh HTTP there it is so that's where we got the HTTP SPN I think I did not explain that earlier but let's go back I'm going to create this so now we have the uh delegation and unset kab 5cc name is that why that errored okay so accounts allow allowed to act on behalf of other identities L monitor so let's get the servic...
4,736.8
0
{ "video_id": "oUIoH4yBT3k", "title": "HackTheBox - Rebound", "url": "https://www.youtube.com/watch?v=oUIoH4yBT3k" }
Pi SPN HTTP dco1 rebound htb then we want to impersonate impersonate dc1 uh the authent like what we're authenticating as is delegator then we need Dash hashes this then we give it the additional ticket and that's going to be the ticket that just generated let's see that should be in up bloody ad saving ticket where di...
4,799.36
0
{ "video_id": "oUIoH4yBT3k", "title": "HackTheBox - Rebound", "url": "https://www.youtube.com/watch?v=oUIoH4yBT3k" }
identities however when we created those tickets it wasn't affordable so we couldn't really use them in order to do anything fun however since we had delegator password with rbcd dopy that's resource based constraint delegation we can change how it's configured and allow elap monitor to be a trusted delegator to this a...
4,920.84
0
{ "video_id": "oUIoH4yBT3k", "title": "HackTheBox - Rebound", "url": "https://www.youtube.com/watch?v=oUIoH4yBT3k" }
was definitely closer I don't know what invalid principle syntax means let's try a klist and no credentials export there we go I forgot the export command that's still let's see K B5 let's get rid of that do it this way oh I deleted the dco1 I bet that's it you need the fully qualifi name there think I deleted that try...
5,003.56
0
{ "video_id": "oUIoH4yBT3k", "title": "HackTheBox - Rebound", "url": "https://www.youtube.com/watch?v=oUIoH4yBT3k" }
what's going on YouTube this is IP I'm doing resource from hack the box and my favorite thing about this box is how it showcases the use of a certificate authority to sign SSH public keys for authentication which is just a cool way to manage SSH Keys as not only does it eliminate having to manage a 100 authorized key f...
0.12
0
{ "video_id": "ZIzxodu8axg", "title": "HackTheBox - Resource", "url": "https://www.youtube.com/watch?v=ZIzxodu8axg" }
container you discover a web API that is used to sign keys with the new ca however the um web API is prohibiting you from signing keys that allow root access but once you get onto the host box you can discover there is a pseudo script that has a vulnerability that allows you to read the root ca's um file one bite at a ...
42.48
0
{ "video_id": "ZIzxodu8axg", "title": "HackTheBox - Resource", "url": "https://www.youtube.com/watch?v=ZIzxodu8axg" }
results we have just three ports open the first one being SSH on Port 22 and the banner tells us it's a Debian server and now the interesting thing is we also see the TTL is 62 where the other ones are going to be 63 so this box is one extra hop away most likely it's going to be running doer lvm or something like that ...
86.159
0
{ "video_id": "ZIzxodu8axg", "title": "HackTheBox - Resource", "url": "https://www.youtube.com/watch?v=ZIzxodu8axg" }
and the TTL is 63 so um we do have two SSH servers um it looks like the one on Port quad 2 is going to be the host where the port on just 22 is going to be a virtual environment um so nothing really important there just something we have to keep in mind like if we get credentials to try both of them um if we take a loo...
145.12
0
{ "video_id": "ZIzxodu8axg", "title": "HackTheBox - Resource", "url": "https://www.youtube.com/watch?v=ZIzxodu8axg" }
release notes so if I turn my intercept off go to like PHP release notes uh go to the probably the change log would be a good one and then look at like 812 9 we can see this is June 2024 which is around the time the Box release so it is a fully upto-date PHP um version the next thing that was interesting let's see we h...
197.04
0
{ "video_id": "ZIzxodu8axg", "title": "HackTheBox - Resource", "url": "https://www.youtube.com/watch?v=ZIzxodu8axg" }
the other Frameworks have their own like cookie name and you normally don't see PHP session ID so just going off the bat I'm thinking this is just a PHP app that just has um hand jammed code it's not like WordPress things like that just based upon cookies we could look at like four or four error messages to see what's ...
255.84
0
{ "video_id": "ZIzxodu8axg", "title": "HackTheBox - Resource", "url": "https://www.youtube.com/watch?v=ZIzxodu8axg" }
that's the thing that has full control over the headers so that's why we see the server header is engine X but the error here is Apache um again not really that important it's just things to keep in mind when you're looking at an application right so let's take a look at what else the application does so we had a funct...
323.24
0
{ "video_id": "ZIzxodu8axg", "title": "HackTheBox - Resource", "url": "https://www.youtube.com/watch?v=ZIzxodu8axg" }
crossy scripting right and it doesn't look like we have any we can try to add a comment here and again we see this reflected back to us so it's not um cross- a scriptable we could try cross a scripting potentially like in the username so if we logged out registered a new user we could try it there I'm not sure if that'...
372.72
0
{ "video_id": "ZIzxodu8axg", "title": "HackTheBox - Resource", "url": "https://www.youtube.com/watch?v=ZIzxodu8axg" }
the box right it's probably app pending. PHP and including um the page here so we can test this out if we do ticket. PHP uh we just get window location is equal to SL so it served up a page if we had something that didn't exist we get a 404 page right so we know there are um p PES here if we go admin we actually get a ...
430.56
0
{ "video_id": "ZIzxodu8axg", "title": "HackTheBox - Resource", "url": "https://www.youtube.com/watch?v=ZIzxodu8axg" }
right so this is a good way to identify um I don't know exactly where I was going with that uh I guess if we can do like a PHP filter this isn't going to work because if you do a PHP filter to try to um leak the source code and there's something that test if a file exists or not before it includes it it's not going to ...
502.479
0
{ "video_id": "ZIzxodu8axg", "title": "HackTheBox - Resource", "url": "https://www.youtube.com/watch?v=ZIzxodu8axg" }
um we did have admin.php if I go to page is equal to admin we can see admin tools if we go here we can also see a listing of all the tickets so see SSH access if we try to click this one um we get unable to retrieve ticket if we look at what request is being made there let's see it's just going to page ticket ID is equ...
559.48
0
{ "video_id": "ZIzxodu8axg", "title": "HackTheBox - Resource", "url": "https://www.youtube.com/watch?v=ZIzxodu8axg" }
the cap net raw which allows um ping to work um most of the time like PHP and those other binaries won't have this capability so they can't do ping so because it needs the capability most likely there's going to be like a system call around this right so it's not just PHP code that's doing the Ping they do like os. sys...
626.32
0
{ "video_id": "ZIzxodu8axg", "title": "HackTheBox - Resource", "url": "https://www.youtube.com/watch?v=ZIzxodu8axg" }
decent filtering here right we could try like inserting a line break as well and we just get internal server error probably because we broke Json um if we do like a back tick we get invalid host so uh let's see the next thing we could try is changing the content type and doing some type of type juggling because when I ...
683.839
0
{ "video_id": "ZIzxodu8axg", "title": "HackTheBox - Resource", "url": "https://www.youtube.com/watch?v=ZIzxodu8axg" }
and host is equal to Local Host and see if the application still works it does not so it's um not letting us do other content types and I was just thinking we may be able to smuggle a line break easier this way I don't know if you can but it's just like what I would try and since I've tested everything I know about rig...
753.279
0
{ "video_id": "ZIzxodu8axg", "title": "HackTheBox - Resource", "url": "https://www.youtube.com/watch?v=ZIzxodu8axg" }
if we did a double back slash then that's fine but I can't figure out exactly what this does um no matter what we do it's saying true if we do a user that exist um like IPC it still says true so I don't know exactly what this field does we could try sending this to fuff and see if there's any extra modes we could try f...
809.56
0
{ "video_id": "ZIzxodu8axg", "title": "HackTheBox - Resource", "url": "https://www.youtube.com/watch?v=ZIzxodu8axg" }
because we see this provision H uh user SSH is disabled so there could be like an extra function hidden behind this right um if we inspect what goes does let's see this this going to be quick to show um let's see that's disabled where is this one Buton provision type I can't see the HTML that's telling us this goes to ...
859.44
0
{ "video_id": "ZIzxodu8axg", "title": "HackTheBox - Resource", "url": "https://www.youtube.com/watch?v=ZIzxodu8axg" }
we give it a zip archive we can tell PHP to go inside of that zip and access a file so let's do this real quick I'm going to do V CMD PHP and let's just create a quick um PHP script so we'll do system request CMD like that there we go and then we want to zip this up so we do zip CMD do zip like this and then we can bro...
922.639
0
{ "video_id": "ZIzxodu8axg", "title": "HackTheBox - Resource", "url": "https://www.youtube.com/watch?v=ZIzxodu8axg" }
to do is say eo-n CMD doz sha one sum and that's 22f let's get rid of that dasn 53 if we did sha one sum of the zip file itself we get that so we have identified the logic on how it's creating um the file names and it's not going to be use to us um if it was just based the file name and not the file contents then get a...
991.36
0
{ "video_id": "ZIzxodu8axg", "title": "HackTheBox - Resource", "url": "https://www.youtube.com/watch?v=ZIzxodu8axg" }
CMD and we can do probably we can try zip first and see if that does anything we get the default page so this didn't work this is just showing us the ticket so we know the file did not exist another common wrapper is going to be the far and if we do that let's see we still oh we get a undefined key CMD in this so this ...
1,070.559
0
{ "video_id": "ZIzxodu8axg", "title": "HackTheBox - Resource", "url": "https://www.youtube.com/watch?v=ZIzxodu8axg" }
even if the code is saying like a get request like if the parameter is get like this or it would be paid right and we sent a post because we put the page in the get parameter this request is still going to pull it so let's test this out we can see warning there we go so we can do CMD is equal to let's do bash DC b-i De...
1,131.28
0
{ "video_id": "ZIzxodu8axg", "title": "HackTheBox - Resource", "url": "https://www.youtube.com/watch?v=ZIzxodu8axg" }
devnull and now we can do the normal thing stty raw minus Echo for ground and then export term is equal to X term so we can clear the screen and we have tab autocomplete and everything like that so um with the shell on the server the first thing I like is doing is looking at the database right because the database is g...
1,211.679
0
{ "video_id": "ZIzxodu8axg", "title": "HackTheBox - Resource", "url": "https://www.youtube.com/watch?v=ZIzxodu8axg" }
Resource Center show tables and we can select star from users and we see a bunch of hashes right so we could um export this send it over to hashcat and try cracking um none of that um cracks well we could also um update the passwords of user so we could change ZZ enter to be our password then we can log into the web ap...
1,269.12
0
{ "video_id": "ZIzxodu8axg", "title": "HackTheBox - Resource", "url": "https://www.youtube.com/watch?v=ZIzxodu8axg" }
I'm going to show a slightly different way right we have tickets and it's pointing us to various upload files but it's not really a um userfriendly way to read these messages from SQL dump right I would definitely run this query save it to my box and so I have it but then I'd go and try to find a safer way and the safe...
1,320.84
0
{ "video_id": "ZIzxodu8axg", "title": "HackTheBox - Resource", "url": "https://www.youtube.com/watch?v=ZIzxodu8axg" }
session the e0 to cess what was it this and we should fix our um lines so stty d a 28110 stty row 28 call 110 so this way I can just have my cursor go all the way to the end and it doesn't like wrap around like you just saw it do there right so if we now C our session our session shows us logged in as um test so if I r...
1,390.559
0
{ "video_id": "ZIzxodu8axg", "title": "HackTheBox - Resource", "url": "https://www.youtube.com/watch?v=ZIzxodu8axg" }
because Vim is adding a line break at the end right so if I just do um let's Echo dasn nothing to test right and do lsla on test we see at zero bytes so lsla test down here if we v test we're not going to go in input mode or anything I just write right and now I look at it oh it's still zero I thought it'd be one um xx...
1,471.52
0
{ "video_id": "ZIzxodu8axg", "title": "HackTheBox - Resource", "url": "https://www.youtube.com/watch?v=ZIzxodu8axg" }
it's no longer doing thing where it kills our um session right we just don't have any tickets what's going on this is it from the future and after recording the video I figured out what the mistake was why um I couldn't show it and Vim only adds that um End of Line after um it writes content to a file so if the file is...
1,556.76
0
{ "video_id": "ZIzxodu8axg", "title": "HackTheBox - Resource", "url": "https://www.youtube.com/watch?v=ZIzxodu8axg" }
test Vim test set binary and then write a character and it still wrote it um as you'll see on the target all I had to do was set binary I think it's based upon like Vim version um there is also a no EOL which means no end of line so if we set this and then I write the file we xxd it it no longer writes that z a so that...
1,613.12
0
{ "video_id": "ZIzxodu8axg", "title": "HackTheBox - Resource", "url": "https://www.youtube.com/watch?v=ZIzxodu8axg" }
htb resource um M wrist. her man I probably butchered that name but what else were we looking at let's go back here we changed it status to all nothing if I put this back to one and we look at all tickets Force to save open all there we go we got decommission old um SSH server so we can see main real is saying the new ...
1,682.76
0
{ "video_id": "ZIzxodu8axg", "title": "HackTheBox - Resource", "url": "https://www.youtube.com/watch?v=ZIzxodu8axg" }
bunch of Zips and you can do like unzip DL um specify the zip and you can get the har file this way right so we see the same file we downloaded we can get this way as well um and if we look at this this is a zip I know it's zip because it says PK that's the magic bites for that so we should move this to be M Saint I'll...
1,762.159
0
{ "video_id": "ZIzxodu8axg", "title": "HackTheBox - Resource", "url": "https://www.youtube.com/watch?v=ZIzxodu8axg" }
the her file that allowed them to access other services right so if we just went to Google and did like online our analyzer I think we have a nice goey where we can analyze it so let's go htb resource specify the her file and we can see what it looks like right so we have the pages and if we don't really know how to us...
1,834.519
0
{ "video_id": "ZIzxodu8axg", "title": "HackTheBox - Resource", "url": "https://www.youtube.com/watch?v=ZIzxodu8axg" }
just so good right we could just g- I pass on the her file gives us a lot of data but this one is a super long line so if I just piped it to like less- capital S to disable line wrapping we can see it only mashed on four lines and the very first time it matched it includes the username and password so why is this actua...
1,903.399
0
{ "video_id": "ZIzxodu8axg", "title": "HackTheBox - Resource", "url": "https://www.youtube.com/watch?v=ZIzxodu8axg" }
this would be one page but it probably downloaded images um maybe it didn't download images because there no images on the page but that's not cons like the image is not considered part of the page but it would be part of the request so maybe ID like maybe request 5 request 6 request 7 may make more sense to you but we...
1,958.96
0
{ "video_id": "ZIzxodu8axg", "title": "HackTheBox - Resource", "url": "https://www.youtube.com/watch?v=ZIzxodu8axg" }
sensitive information and if you didn't want to manly PR it you could always use a tool like JQ so what I would do is JQ Dot and then let's see we want to go into the entries right there's probably log. entries there we go and then we see we're in a list so I'm going to do open and close and then what we want probably ...
2,021.799
0
{ "video_id": "ZIzxodu8axg", "title": "HackTheBox - Resource", "url": "https://www.youtube.com/watch?v=ZIzxodu8axg" }
we can see all the post request in this uh could go back post request what was it um request post data right we can see it this way but I would definitely um get familiar with JQ because knowing this tool just helps so much when you start filtering out data but we see a username and password so let's try um SSH 1010 11...
2,094.599
0
{ "video_id": "ZIzxodu8axg", "title": "HackTheBox - Resource", "url": "https://www.youtube.com/watch?v=ZIzxodu8axg" }
if we look at this ticket um old certificates have been taken out of etsy I'm guessing he's talking about the host system here um This Server will trust both old and new for some time so the server that we're on May still Trust this decommission CA right so the way we can check is go into Etsy SSH um we want to go into...
2,172.52
0
{ "video_id": "ZIzxodu8axg", "title": "HackTheBox - Resource", "url": "https://www.youtube.com/watch?v=ZIzxodu8axg" }
if I go into the decommissioned CA and we cut this wh not that one the pub that looks very similar to the one in SSH so if we cat this so a AA it ends with s equals um I already copied that in my clipboard so we could also just grap paste this against the CIT rc. Pub and see it's a direct match so the SSH server is sti...
2,238.48
0
{ "video_id": "ZIzxodu8axg", "title": "HackTheBox - Resource", "url": "https://www.youtube.com/watch?v=ZIzxodu8axg" }
this in and if I just try sh- I root root at 10 10 11 27 it doesn't work right because we just made this key ourselves so what we want to do is um sign it if we do s key gen and look at the manual page we can see let's see probably right here sh key gen-i is going to be the certificate identity then ca key the N is goi...
2,317.96
0
{ "video_id": "ZIzxodu8axg", "title": "HackTheBox - Resource", "url": "https://www.youtube.com/watch?v=ZIzxodu8axg" }
we can see it I'm going to say 5 minutes and we'll do 42 weeks and let's see uh the next thing we do is the certificate name which is root. Pub um invalid so we do plus 42 weeks so we can add that and we need the I this was the um identifier and this doesn't matter so we'll just call this IPC real quick and we have to ...
2,381.599
0
{ "video_id": "ZIzxodu8axg", "title": "HackTheBox - Resource", "url": "https://www.youtube.com/watch?v=ZIzxodu8axg" }
again we can see valid and it just says after right because there's no end date so let's see um we can leave that that's fine so let's try sshing now so we do sh- I root and then specify root there and it lets us log in now the same key we tried just a couple minutes ago it's now letting us in because um it uses the pu...
2,460.76
0
{ "video_id": "ZIzxodu8axg", "title": "HackTheBox - Resource", "url": "https://www.youtube.com/watch?v=ZIzxodu8axg" }
if we look at it it is just a bash script um we got supported principles here so we got web server analytics support security and if we look it's just going to do a curl against sign serve SSG htb and then sends information so I'm going to add this to my H file I'm going to just run the script locally because that's go...
2,535.2
0
{ "video_id": "ZIzxodu8axg", "title": "HackTheBox - Resource", "url": "https://www.youtube.com/watch?v=ZIzxodu8axg" }
this script is going to send us send it through burp Suite right so if we just look exactly what it is um usage we got the public key the username and principal and right here it sets the ifs this is internal field separator I believe as um comma so this is like doing an a split on comma and that Loops over each word i...
2,607.52
0
{ "video_id": "ZIzxodu8axg", "title": "HackTheBox - Resource", "url": "https://www.youtube.com/watch?v=ZIzxodu8axg" }
burp Suite it didn't probably did but stop so we can see we do Pub Key username and principal so if we do username of test principle of support we get a key back and let's see CD ZZ enter we want to make this key so we call it vzz -.
2,679.559
0
{ "video_id": "ZIzxodu8axg", "title": "HackTheBox - Resource", "url": "https://www.youtube.com/watch?v=ZIzxodu8axg" }
Pub paste this in and then sh key gen- L we've got the- F we can see the principle on this certificate is support so if we try sh- I ZZ enter support at 1010 11227 or not 227 27 we get password um let's do the actual host remember there's two SSH servers so I do Port 2222 and this lets us log in so now we are the suppo...
2,711.48
0
{ "video_id": "ZIzxodu8axg", "title": "HackTheBox - Resource", "url": "https://www.youtube.com/watch?v=ZIzxodu8axg" }
the dock container we have two keys so um the host only has this one and doesn't have this one this is where the old CA was um it looks like this API server is using the new ca to sign keys and if we look it's also got an authorized principle file so that is going to be the different configuration you can think of the ...
2,794.96
0
{ "video_id": "ZIzxodu8axg", "title": "HackTheBox - Resource", "url": "https://www.youtube.com/watch?v=ZIzxodu8axg" }