text stringlengths 4 952 | start float64 0 9.37k | duration float64 0 0 | meta dict |
|---|---|---|---|
so what was the last domain provisions and that is a different md5 sum so let's go take a look at it so copy this go to provisions.snoopy.hdb uh I really need to disable that my Firefox uh let's disable burp Suite why is that having trouble copy did I typo this that would be an issue why md5 some didn't work could not ... | 405.36 | 0 | {
"video_id": "6tn30O0SjVQ",
"title": "HackTheBox - Snoopy",
"url": "https://www.youtube.com/watch?v=6tn30O0SjVQ"
} |
there we go so this does go over to a matter most instance uh let's do View and browser we have a login prompt and we have email and username so we can do the forgot password and if we go back to the team we can try resetting a password so C Schultz at snoopy.hdb and it failed to send the password so I don't think ther... | 532.019 | 0 | {
"video_id": "6tn30O0SjVQ",
"title": "HackTheBox - Snoopy",
"url": "https://www.youtube.com/watch?v=6tn30O0SjVQ"
} |
see exactly how this works so if we did that not intercept is perpet Suite itself intercept is off okay now we have this request I guess we already had it but if we make a request to index.html we get a page if we make a request to download we get something it's taking its sweet time thinking about what it wants to giv... | 596.76 | 0 | {
"video_id": "6tn30O0SjVQ",
"title": "HackTheBox - Snoopy",
"url": "https://www.youtube.com/watch?v=6tn30O0SjVQ"
} |
it's a different message and the whole reason this is happening is just because of how nginx works with PHP there's most likely some type of redirector looking for anything that ends in dot PHP and then sending it to the PHP server itself maybe that's um a fast CGI instance or maybe the fpm manager for PHP I forget wha... | 670.2 | 0 | {
"video_id": "6tn30O0SjVQ",
"title": "HackTheBox - Snoopy",
"url": "https://www.youtube.com/watch?v=6tn30O0SjVQ"
} |
um PHP then this would be the normal error message but now we do know that PHP exists on the server if I do download.php chances are it's going to be the same as slash download so long way to say that's why when I do this next go Buster I do Dash X for PHP because I want to brute force uh PHP files Dash U HTTP 10 10 11... | 732.72 | 0 | {
"video_id": "6tn30O0SjVQ",
"title": "HackTheBox - Snoopy",
"url": "https://www.youtube.com/watch?v=6tn30O0SjVQ"
} |
Etsy past WD we get nothing if I just did Slash Etsy pass WD I get nothing the other thing I would try is like a PHP filter so like PHP filter convert dot base64-in code resource is equal to this and we get nothing so we're not at the start of something um or I don't think I'm at the start of something by that I mean i... | 801.24 | 0 | {
"video_id": "6tn30O0SjVQ",
"title": "HackTheBox - Snoopy",
"url": "https://www.youtube.com/watch?v=6tn30O0SjVQ"
} |
um if we do three dots we get nothing so what I'm thinking is happening here is it's removing these dot dot slashes so what I'm going to do is a dot dot slash and then inside of that dot dot slash I'm going to do another one and then we're going to send this a bunch of times and do Etsy pass WD and we get us there so w... | 876.959 | 0 | {
"video_id": "6tn30O0SjVQ",
"title": "HackTheBox - Snoopy",
"url": "https://www.youtube.com/watch?v=6tn30O0SjVQ"
} |
really lucky that I noticed that behavior that's not something I would always notice that being said I normally catch these by fuzzing just like we like running Go Buster in the background um I'm gonna just kill this off because I don't think there's anything useful and it would slow down the next thing um I like also ... | 936.24 | 0 | {
"video_id": "6tn30O0SjVQ",
"title": "HackTheBox - Snoopy",
"url": "https://www.youtube.com/watch?v=6tn30O0SjVQ"
} |
there's the dot dot slash I want to say there's probably uh other ones like this so here's this also looking for it so if you remove dot dot slash you're left with one so let's use this word list this looks like a good one famous um bug Bounty Hunter so obviously probably has a good a lot of good word list so let's do ... | 1,000.98 | 0 | {
"video_id": "6tn30O0SjVQ",
"title": "HackTheBox - Snoopy",
"url": "https://www.youtube.com/watch?v=6tn30O0SjVQ"
} |
um a test 922 things and all of a second right so fuzzing is powerful so we know there is an lfi here we want to see if this is actually the Etsy pass WD so let's copy the file and I'm going to call this passwd.zip and I probably copied the whole request so I'm just going to delete the HTTP header and we are left with ... | 1,077.66 | 0 | {
"video_id": "6tn30O0SjVQ",
"title": "HackTheBox - Snoopy",
"url": "https://www.youtube.com/watch?v=6tn30O0SjVQ"
} |
us but that's a very time consuming process just because we have a few steps of getting the file downloading it unzipping it checking the results whenever there's multiple steps involved I always like going over and taking the two to three minutes it would take to automate it in Python because once it's automated you c... | 1,144.62 | 0 | {
"video_id": "6tn30O0SjVQ",
"title": "HackTheBox - Snoopy",
"url": "https://www.youtube.com/watch?v=6tn30O0SjVQ"
} |
URL to just file and then we can say URL is equal to F colon HTTP 10 10 11 212 slash download a question mark file is equal to and we want to put our dot dot slashes and we can say file okay and then we can make a request to the URL and we can say if length of content is zero return none so if there's no body to the re... | 1,193.7 | 0 | {
"video_id": "6tn30O0SjVQ",
"title": "HackTheBox - Snoopy",
"url": "https://www.youtube.com/watch?v=6tn30O0SjVQ"
} |
not access zip content bytes i o um it's not easy to see but that was why I used io.bytes so now we can do with zip uh let's see a z okay so we don't want to extract everything and first we have to import zip file if you're curious what this whole autocomplete thing is that is GitHub copilot it is just like um chat GPT... | 1,276.2 | 0 | {
"video_id": "6tn30O0SjVQ",
"title": "HackTheBox - Snoopy",
"url": "https://www.youtube.com/watch?v=6tn30O0SjVQ"
} |
and let's print this out and see what happens so I'm just going to press F5 run as a python script terminal is running and there is no item like that in the package so I can hop over to the debug Tab and this is why I want to do it in a visual studio code instead of just a python file because I can do Z dot let's see i... | 1,356.299 | 0 | {
"video_id": "6tn30O0SjVQ",
"title": "HackTheBox - Snoopy",
"url": "https://www.youtube.com/watch?v=6tn30O0SjVQ"
} |
um file is equal to download and I'm going to make this an argument so it says ARG V one so the very first argument and now we have to import sys and then we can say if file print file and the reason why I put this if here is if it returns none then file is going to be false and I don't want it to do anything so now we... | 1,442.7 | 0 | {
"video_id": "6tn30O0SjVQ",
"title": "HackTheBox - Snoopy",
"url": "https://www.youtube.com/watch?v=6tn30O0SjVQ"
} |
unfortunately in our case there is nothing valuable there we could try getting the actual site source code so I'm going to do slash proc CWD or proc self to get into our own PID and do CWD and index.html and we get the HTML page so let's do index.php actually it was download.php and we can get the source code to this s... | 1,523.76 | 0 | {
"video_id": "6tn30O0SjVQ",
"title": "HackTheBox - Snoopy",
"url": "https://www.youtube.com/watch?v=6tn30O0SjVQ"
} |
passwords or anything there's not really that much interesting so let's go try to get other things um another common thing to do would be like look at the engine X config so we could do like Etsy engine X sites Dash enabled and I think default is the first parameter or the default one we got a lot of comments so I'm go... | 1,611.299 | 0 | {
"video_id": "6tn30O0SjVQ",
"title": "HackTheBox - Snoopy",
"url": "https://www.youtube.com/watch?v=6tn30O0SjVQ"
} |
Apache process is doing the execution but in this it's slightly different so um long way to say there's really not that much interesting here we can see download was Alias to download.php and also has that so this is why the download script did not need the PHP extension um we also had DNS listening remember we did the... | 1,678.679 | 0 | {
"video_id": "6tn30O0SjVQ",
"title": "HackTheBox - Snoopy",
"url": "https://www.youtube.com/watch?v=6tn30O0SjVQ"
} |
Zone transfer right here if we look at the next file the um.com dot local we can see the configuration for the snoopy.htb Zone this is the one we did the um Zone transfer on here's the database for it we could dump this so if we dump it we get exactly what we saw with the Zone transfer but the next thing is really inte... | 1,746.96 | 0 | {
"video_id": "6tn30O0SjVQ",
"title": "HackTheBox - Snoopy",
"url": "https://www.youtube.com/watch?v=6tn30O0SjVQ"
} |
like common thing so what I'm thinking now is we can create our own entry for mail.snoopy.hdb on this DNS server with this rndc key and when we do that we point it to ourselves run an SMTP server and now we're intercepting mail that goes to that domain so to do that it uses a binary called NS update or the common way t... | 1,818.48 | 0 | {
"video_id": "6tn30O0SjVQ",
"title": "HackTheBox - Snoopy",
"url": "https://www.youtube.com/watch?v=6tn30O0SjVQ"
} |
okay I'm gonna make a directory DNS and I'm going to call this rndc-key paste that in so we have it and then I'm going to call it update.txt and we need to specify the server so 10 10 11 212 The Zone which was snoopy.htb and then the record so we're going to do update add mail.snoopy.hdb then whatever TTL we want the d... | 1,886.1 | 0 | {
"video_id": "6tn30O0SjVQ",
"title": "HackTheBox - Snoopy",
"url": "https://www.youtube.com/watch?v=6tn30O0SjVQ"
} |
I'm just gonna make a request for snoopy.hdb first um I want to add some options is it plus quiet uh let's see dig quiet is that going to be one plus short is what I want because I don't want all this whole entries so if we just do plus short that did not work do the plus options go here let's see dig know all answer S... | 1,960.559 | 0 | {
"video_id": "6tn30O0SjVQ",
"title": "HackTheBox - Snoopy",
"url": "https://www.youtube.com/watch?v=6tn30O0SjVQ"
} |
we get a connect so now we have to run a SMTP server because it's waiting for the server to respond with maybe like a hello or something before it does anything uh the easiest way to do this is just using python as it has a module just like the HTTP server so we do python-m smtpd dash n c and we want debugging server i... | 2,063.46 | 0 | {
"video_id": "6tn30O0SjVQ",
"title": "HackTheBox - Snoopy",
"url": "https://www.youtube.com/watch?v=6tn30O0SjVQ"
} |
the token so let's do this token is equal to copy and that goes on two lines is that it that's where that has an equal um 3D is that HTML encoded what if we do this and our new password awesome so I'm going to do a password of password and see if it accepts it it may require some complexity uh password one exclamation ... | 2,135.46 | 0 | {
"video_id": "6tn30O0SjVQ",
"title": "HackTheBox - Snoopy",
"url": "https://www.youtube.com/watch?v=6tn30O0SjVQ"
} |
C Schultz uh we need to do this update again reset there we go search for http and let's grab this so copy paste reset password paste and paste and it's still saying invalid a missing token and the odd thing that sticks out to me is this Capital 3D um I want to say in HTML encoding that is an equal and we see it here a... | 2,254.14 | 0 | {
"video_id": "6tn30O0SjVQ",
"title": "HackTheBox - Snoopy",
"url": "https://www.youtube.com/watch?v=6tn30O0SjVQ"
} |
so let's just look at it um create a new channel dedicated to submitting requests to a new server provisioning dedicated channel so let's go into off topic is that what the channel is or maybe we can let's see how do we add channels find channel I'm going to say provision there we go I have joined it if you need assist... | 2,361.24 | 0 | {
"video_id": "6tn30O0SjVQ",
"title": "HackTheBox - Snoopy",
"url": "https://www.youtube.com/watch?v=6tn30O0SjVQ"
} |
python Library that's making a request to us now we're not responding SSH so it's not doing anything I want to see exactly how it's logging into us maybe it's going to be a key based authentication or password-based authentication if it's password-based authentication we can obviously sniff the password out we can't do... | 2,441.7 | 0 | {
"video_id": "6tn30O0SjVQ",
"title": "HackTheBox - Snoopy",
"url": "https://www.youtube.com/watch?v=6tn30O0SjVQ"
} |
them out of Shadow I'll just modify Pam log passwords users type and get them that way right so this is why I'm showing you this way because I find it a lot more value than just standing up a Honeypot if you're doing defensive things and you want someone to log into you and capture the password of course honeypots are ... | 2,491.44 | 0 | {
"video_id": "6tn30O0SjVQ",
"title": "HackTheBox - Snoopy",
"url": "https://www.youtube.com/watch?v=6tn30O0SjVQ"
} |
common account first so we could either put it here or just go straight to Common account or comment off up here I'm going to do those so we actually log like Su sudo and all those other fun things so let's do um comment off this looks fine and what we're going to want to do is append a line here and we're going to say... | 2,554.26 | 0 | {
"video_id": "6tn30O0SjVQ",
"title": "HackTheBox - Snoopy",
"url": "https://www.youtube.com/watch?v=6tn30O0SjVQ"
} |
that is generated to the user if we didn't have this in the script failed it may output something to standard out or something like that we definitely don't want that then we want to give it the flag expose auth toke and this is going to expose the authentication token which is the password and then we can specify the ... | 2,606.22 | 0 | {
"video_id": "6tn30O0SjVQ",
"title": "HackTheBox - Snoopy",
"url": "https://www.youtube.com/watch?v=6tn30O0SjVQ"
} |
Pam user so here are the things we have like Pam our host is going to be IP address remote user service TTY Pam user and type so those are all the variables we can expose so I'm going to do Pam user colon and then we're going to grab everything on standard out I'm going to execute it to Dev shmponed.log we're going to ... | 2,667.42 | 0 | {
"video_id": "6tn30O0SjVQ",
"title": "HackTheBox - Snoopy",
"url": "https://www.youtube.com/watch?v=6tn30O0SjVQ"
} |
password we log in and we got pone.log so right now all we're doing is um logging um valid passwords and we definitely want to log invalid passwords right so we screwed something up V Etsy we did it in this pane let's see I bet I want to put it above here I think right here success is equal to one this is meaning um I ... | 2,762.819 | 0 | {
"video_id": "6tn30O0SjVQ",
"title": "HackTheBox - Snoopy",
"url": "https://www.youtube.com/watch?v=6tn30O0SjVQ"
} |
Pam first is looking up the user it doesn't exist so it never bothers reading the password so that's why we don't have it um I guess the other thing we'll have to do is have SSH listen on Port um two two two two because that's what the provisioning script used so let's just tell Dash F that and I'm going to use socat a... | 2,873.4 | 0 | {
"video_id": "6tn30O0SjVQ",
"title": "HackTheBox - Snoopy",
"url": "https://www.youtube.com/watch?v=6tn30O0SjVQ"
} |
let's just do HR Linux 10 10 14 8. submit and we got C Brown so let's just do a pseudo user ad C Brown and redo this command I guess if you're using a Honeypot then the user thing you don't even have to worry about um but oh well this was still fun to show see brown and we get the password snooped credential so let's d... | 2,945.76 | 0 | {
"video_id": "6tn30O0SjVQ",
"title": "HackTheBox - Snoopy",
"url": "https://www.youtube.com/watch?v=6tn30O0SjVQ"
} |
yes put in this password and we get logged into the system so first off let's go back into a Pam always always always remove your back door I can't tell you how many times I placed a back door on my machine and completely forgot about it um always embarrassing so now that we're C Brown we can check our home directory f... | 2,998.44 | 0 | {
"video_id": "6tn30O0SjVQ",
"title": "HackTheBox - Snoopy",
"url": "https://www.youtube.com/watch?v=6tn30O0SjVQ"
} |
around this um this looks like a lot of various ones here's a talking about git apply specifically of creating a patch um if we look at this upgrade get to let's see what version we're on so I think it's get dash dash version 234 so that's 230 31 2 3 4. | 3,064.619 | 0 | {
"video_id": "6tn30O0SjVQ",
"title": "HackTheBox - Snoopy",
"url": "https://www.youtube.com/watch?v=6tn30O0SjVQ"
} |
234 7 is patched and one two thirty four one so we are vulnerable to this directory traversal um cve and I don't think this is explaining it that well let's go to this page so here's two this is when cloning a repository uh we have the apply git allows for applying patches with Git apply in order to prevent malicious P... | 3,091.38 | 0 | {
"video_id": "6tn30O0SjVQ",
"title": "HackTheBox - Snoopy",
"url": "https://www.youtube.com/watch?v=6tn30O0SjVQ"
} |
um not that easy so we'll just call this get exploit I guess and let's do get a knit to initialize it um let's see we probably should set the default branch that's probably gonna be Master right just so it stops yelling at us in the um future so let's create a symbolic link so I'll do Ln and the user was S brown so we'... | 3,153.599 | 0 | {
"video_id": "6tn30O0SjVQ",
"title": "HackTheBox - Snoopy",
"url": "https://www.youtube.com/watch?v=6tn30O0SjVQ"
} |
at snoopy.htb and I typode there we go so now we have our initial commit uh did I actually commit that I did get log okay so let's rename this so I'm going to move symbolic link to um symbolic link we'll do rename symbolic and then I'm going to just create data real quick Echo data to ipsec and then let's get add dot g... | 3,234.18 | 0 | {
"video_id": "6tn30O0SjVQ",
"title": "HackTheBox - Snoopy",
"url": "https://www.youtube.com/watch?v=6tn30O0SjVQ"
} |
um maybe this works let's try it so let's V patch and add this so what we want to do is down here after this rename symbolic link we're going to add a file and this is why I created the file ipsec so we can see the Syntax for adding a file so we want to do B slash renamed symbolic slash authorized keys and then we can ... | 3,338.16 | 0 | {
"video_id": "6tn30O0SjVQ",
"title": "HackTheBox - Snoopy",
"url": "https://www.youtube.com/watch?v=6tn30O0SjVQ"
} |
inconsistent new file name online nine let's see let's do git checkout get on a cat Patch because I don't want to lose this and then get check out 5f369 I wasn't sure if that error was because symbolic was already renamed and like the file existed so I went back to the initial commit we're going to apply our modify pat... | 3,457.26 | 0 | {
"video_id": "6tn30O0SjVQ",
"title": "HackTheBox - Snoopy",
"url": "https://www.youtube.com/watch?v=6tn30O0SjVQ"
} |
actually I just realized what's happening each of these is a whole metadata set or something of what's Happening like this is doing a get difference we got new file mode I don't know what 100 is I'm guessing 644 is the permissions of that file then we have the index um this is probably saying the file did not exist bef... | 3,510.24 | 0 | {
"video_id": "6tn30O0SjVQ",
"title": "HackTheBox - Snoopy",
"url": "https://www.youtube.com/watch?v=6tn30O0SjVQ"
} |
guessing that means a cleanup script went ahead and deleted a directory so that's why I saved it out um let's do make dirt get exploit go back in here um get a net create that symbolic link then we need to add the files initial commit then the next thing we do is move a patch here and let's just try applying this incon... | 3,582.18 | 0 | {
"video_id": "6tn30O0SjVQ",
"title": "HackTheBox - Snoopy",
"url": "https://www.youtube.com/watch?v=6tn30O0SjVQ"
} |
new file mode so this is a more promising error I wonder if we need index and let's just make sure it did not work Sage mod 600 c Brown 10 10 11 to 12. | 3,632.16 | 0 | {
"video_id": "6tn30O0SjVQ",
"title": "HackTheBox - Snoopy",
"url": "https://www.youtube.com/watch?v=6tn30O0SjVQ"
} |
okay did not work let's look at the patch again we can probably remove this whole ipsec piece because we don't need it I am going to take the index though oh we probably need renamed symbolic unable to unlink so let's do chmod 777 so what I think happened here is um S brown did not have permission to um unlink anything... | 3,666.78 | 0 | {
"video_id": "6tn30O0SjVQ",
"title": "HackTheBox - Snoopy",
"url": "https://www.youtube.com/watch?v=6tn30O0SjVQ"
} |
rests Brown SSH that looks good and one of its permissions so I guess the easiest way to troubleshoot this is going to be um it's going to CP patch to dot dot or let's cat stand it out because it gets deleted um let's get check out five three five seven MV renamed let's just do symbolic I actually want to remove the sy... | 3,805.38 | 0 | {
"video_id": "6tn30O0SjVQ",
"title": "HackTheBox - Snoopy",
"url": "https://www.youtube.com/watch?v=6tn30O0SjVQ"
} |
that'll be fine let's CP get exploit patch here and let's see we can say symbolic is now called exploit there's got to be an easier way to do this so we add the authorize key file okay we apply the patch it looks like it applied successfully so if I go in temp exploit there is a authorized key file and it is owned by S... | 3,955.5 | 0 | {
"video_id": "6tn30O0SjVQ",
"title": "HackTheBox - Snoopy",
"url": "https://www.youtube.com/watch?v=6tn30O0SjVQ"
} |
so let's go back and get Dash exploit did I actually call it exploit the second time and that's why I was complaining about a bad file name I think I did ln-s um symbolic and then we'll call it home S brown SSH uh reversed order there we go let's just recreate the get directory okay so now I think we are good symbolic ... | 4,020.18 | 0 | {
"video_id": "6tn30O0SjVQ",
"title": "HackTheBox - Snoopy",
"url": "https://www.youtube.com/watch?v=6tn30O0SjVQ"
} |
apply says it renamed successfully it's still asking me for a password and I just realized I'm an idiot the user's S brown I don't know why I kept thinking C round maybe because the like name is so similar it probably would have worked probably 10 15 minutes ago whenever I first did it but hopefully you learned a littl... | 4,102.44 | 0 | {
"video_id": "6tn30O0SjVQ",
"title": "HackTheBox - Snoopy",
"url": "https://www.youtube.com/watch?v=6tn30O0SjVQ"
} |
brown can run clamscan with the debug flag and he can only scan files and home S brown scan files so the very first thing I would do is attempt to use a SIM link and scan root.txt right so if we go here we do ln-s root root dot text and then just say file we have a file that is pointed there so let's see exactly what h... | 4,170.719 | 0 | {
"video_id": "6tn30O0SjVQ",
"title": "HackTheBox - Snoopy",
"url": "https://www.youtube.com/watch?v=6tn30O0SjVQ"
} |
and I'm going to do script so now all the output is going to be logged to a file called typescript so I can just grab it after I'm done because when you use sudo with pipes um weird things happen so let's go back up grab this and we're just going to let the scan finish and see if we have anything from Etsy past WD now ... | 4,241.76 | 0 | {
"video_id": "6tn30O0SjVQ",
"title": "HackTheBox - Snoopy",
"url": "https://www.youtube.com/watch?v=6tn30O0SjVQ"
} |
so maybe there's something we're supposed to exploit with this debug flag so let's search cve list type clam AV submit and let's see this is an automate module um I'm gonna guess this isn't the case then we have this one a image parser and HFS I did a lot of Googling here I couldn't find any proof of concept and creati... | 4,315.92 | 0 | {
"video_id": "6tn30O0SjVQ",
"title": "HackTheBox - Snoopy",
"url": "https://www.youtube.com/watch?v=6tn30O0SjVQ"
} |
going to take a little longer to scan but that is life right so let's go create a new window move downloads Sublime and then we can do a strings against it to see if XML is visible and we do see it um we have a bunch of XML here and it starts up here so what we're going to want to do is modify this doctype and we're go... | 4,381.86 | 0 | {
"video_id": "6tn30O0SjVQ",
"title": "HackTheBox - Snoopy",
"url": "https://www.youtube.com/watch?v=6tn30O0SjVQ"
} |
xxe injection see if we can get a vanilla exploit classic xxe okay so this is going to be the key I'm gonna zoom in I guess so this is what we want to put um grab this and let's see try and find a good way to get this so I can see it because when I paste it kind of like overwrites it whenever you do Hex editing you alw... | 4,466.1 | 0 | {
"video_id": "6tn30O0SjVQ",
"title": "HackTheBox - Snoopy",
"url": "https://www.youtube.com/watch?v=6tn30O0SjVQ"
} |
we haven't modified it and then we want to do the xxe so it starts out with doctype root the root doesn't matter I'm going to leave P list just in case that does and then oop I'm on insert Mode still let's replace it with our payload so do this entity and then the actual keyname we want to leak I'm just going to do LK ... | 4,545 | 0 | {
"video_id": "6tn30O0SjVQ",
"title": "HackTheBox - Snoopy",
"url": "https://www.youtube.com/watch?v=6tn30O0SjVQ"
} |
I probably should have used double quotes because it's using double quotes everywhere else and I'm using spaces to kind of null this out because a lot of applications do Trims and that will get rid of space anyways so I'm going to go up and this is what I'm going to do insert double quote Escape I hope I did not screw ... | 4,612.92 | 0 | {
"video_id": "6tn30O0SjVQ",
"title": "HackTheBox - Snoopy",
"url": "https://www.youtube.com/watch?v=6tn30O0SjVQ"
} |
information is actually going to be a file because we replaced it in xxe so let's save this and hopefully we did everything good so I'm going to make Dura dub dub dub I'm going to move Sublime in there and then python3 Dash M hdp server and then we can W get 10 10 14 8 8 000 Sublime dot DMG and it's going to take a lit... | 4,680.3 | 0 | {
"video_id": "6tn30O0SjVQ",
"title": "HackTheBox - Snoopy",
"url": "https://www.youtube.com/watch?v=6tn30O0SjVQ"
} |
key okay now that that is done we can see it took um let's see where's duration just over two minutes we're going to do exit that script and then we can do grep Dash I open SSH on typescript and we can see we have a key so if I do less on typescript we can search for that string and we have it so the painful thing now ... | 4,779.06 | 0 | {
"video_id": "6tn30O0SjVQ",
"title": "HackTheBox - Snoopy",
"url": "https://www.youtube.com/watch?v=6tn30O0SjVQ"
} |
what's going on YouTube this is ipsec and we're going to be doing solar lab from hack the box which has an overall theme of password reuse it starts off with an SMB fileer that allows for guest authentication and contains multiple files one being a spreadsheet that has some user credentials we can enumerate the usernam... | 0.24 | 0 | {
"video_id": "BGp_Y3tbLP0",
"title": "HackTheBox - SolarLab",
"url": "https://www.youtube.com/watch?v=BGp_Y3tbLP0"
} |
that there is password reused to the open fire user or just find out the Open Fire server is vulnerable to an authentication bypass either way we get a shell as open fire that enables us to read the database and we discover the database is encrypting not hashing passwords so we can use a tool to recover the password wh... | 44.68 | 0 | {
"video_id": "BGp_Y3tbLP0",
"title": "HackTheBox - SolarLab",
"url": "https://www.youtube.com/watch?v=BGp_Y3tbLP0"
} |
us to solar. htb so I'm going to go ahead and add this into my host file so let's do pseudo V ety host and then we can add 101116 solar. htb and then looking at the other things we can see there are three other ports opened attributed to SMB uh that would be on Port 445 and uh that's about it we have the her scripts te... | 93.68 | 0 | {
"video_id": "BGp_Y3tbLP0",
"title": "HackTheBox - SolarLab",
"url": "https://www.youtube.com/watch?v=BGp_Y3tbLP0"
} |
the shares if we have access to we have this error message here of error getting user um I always like testing with a guest account so we can do- you guest and then I also like just doing like um an account with like that's invalid so with guest accounts I guess you have to specify a blank password and we see we do aut... | 150.319 | 0 | {
"video_id": "BGp_Y3tbLP0",
"title": "HackTheBox - SolarLab",
"url": "https://www.youtube.com/watch?v=BGp_Y3tbLP0"
} |
important to us right so uh we have saved the output to Temp nxe host and nxe spyer plus this. Json so let's move it here and I'm going to call it like um SMP documents. Json just so we have what it's like some context to the name and if we look at this file it is the document share then we have the file name and then ... | 208.28 | 0 | {
"video_id": "BGp_Y3tbLP0",
"title": "HackTheBox - SolarLab",
"url": "https://www.youtube.com/watch?v=BGp_Y3tbLP0"
} |
files on it um you could also like do documents to Traverse that file share and then say is it keys to just get the file names there but I like the map values because it adds the share that it goes to so we can see these files um I'm going to SMB Mount this so we can download all the files so I'm going to do a m/ mount... | 273.84 | 0 | {
"video_id": "BGp_Y3tbLP0",
"title": "HackTheBox - SolarLab",
"url": "https://www.youtube.com/watch?v=BGp_Y3tbLP0"
} |
move documents into SMB just to kind of state organized um if we go in there we can open up each document and as I expanded my t-o window I realized I do want to put solar lab just on this host right because when we ran nxc um where is it we go all the way to the top we can see the host name and domain name it did outp... | 341.12 | 0 | {
"video_id": "BGp_Y3tbLP0",
"title": "HackTheBox - SolarLab",
"url": "https://www.youtube.com/watch?v=BGp_Y3tbLP0"
} |
username so I'd probably like take a note of the full names so if I ever find out the username format I would be able to play with it right so if we do exi tool let's see what the next one old leave uh we have Alice and Melville also Jackie as a first name uh nothing too interesting there if we go into Concepts there a... | 408.08 | 0 | {
"video_id": "BGp_Y3tbLP0",
"title": "HackTheBox - SolarLab",
"url": "https://www.youtube.com/watch?v=BGp_Y3tbLP0"
} |
and how um net exec is displaying it because if we hit an account that does exist on the box let's say administrator because that's the default one and then we put a password we actually get the login failure message so if we have an invalid username we see success if we have a valid username uh we see fail so we know ... | 477.919 | 0 | {
"video_id": "BGp_Y3tbLP0",
"title": "HackTheBox - SolarLab",
"url": "https://www.youtube.com/watch?v=BGp_Y3tbLP0"
} |
and and we're just going to keep a running list of passwords moving forward um we can do net exec again so nxc SMB 10 10 11 16-u users DP I'm just going to put a bad password here and we're going to see if any of the usernames do um authenticate and we have to do what was it D Das continue on success I want to say the ... | 539.279 | 0 | {
"video_id": "BGp_Y3tbLP0",
"title": "HackTheBox - SolarLab",
"url": "https://www.youtube.com/watch?v=BGp_Y3tbLP0"
} |
um what is it users. text and if we wanted to we could run like username Anarchy and do other things or just um actually uh we could probably enumerate users on this because we're getting a success here as a guest account uh let's just do guest again again it doesn't really matter um well I guess guest will have to hav... | 606.56 | 0 | {
"video_id": "BGp_Y3tbLP0",
"title": "HackTheBox - SolarLab",
"url": "https://www.youtube.com/watch?v=BGp_Y3tbLP0"
} |
find a valid hit and I'm also going to add the um continue on success flag so we keep going if we do hit one because who knows we have multiple accounts right so um it's trying the first password with every account and we can let that go on and we do have a hit of Blake right here this can't be typed easily um did that... | 681.16 | 0 | {
"video_id": "BGp_Y3tbLP0",
"title": "HackTheBox - SolarLab",
"url": "https://www.youtube.com/watch?v=BGp_Y3tbLP0"
} |
it um Das oh RDP doesn't have a shares I would see if there's other ways to access the box right and I'm also going to do a pseudo n m-p d-- min rate is equal to 10,000 because I want to do a full port scan of this box to see if there's any other things running that nmap didn't pick up right let's do 10 10 11 16 that's... | 745.04 | 0 | {
"video_id": "BGp_Y3tbLP0",
"title": "HackTheBox - SolarLab",
"url": "https://www.youtube.com/watch?v=BGp_Y3tbLP0"
} |
at like the site headers so if we do a refresh here sending it to to burp Suite let's go here repeater tab we can see the servers engine X um text HTML not really getting much information off of this uh looking at the cookies no cookies are here sometimes cookies tell you what the application is we could try a 404 page... | 804.399 | 0 | {
"video_id": "BGp_Y3tbLP0",
"title": "HackTheBox - SolarLab",
"url": "https://www.youtube.com/watch?v=BGp_Y3tbLP0"
} |
time to time so I'm just going to curl it we can see it does give us a 301 redirect and it's directing us to report. sol. htb on Port 6791 so let's go ahead and add this to a host file as well so let's do a studo v ATC host and then we can add report solar htb and take a look at what's there so if we go um back to burp... | 867.759 | 0 | {
"video_id": "BGp_Y3tbLP0",
"title": "HackTheBox - SolarLab",
"url": "https://www.youtube.com/watch?v=BGp_Y3tbLP0"
} |
if we try logging in here we get user not so if we have a valid user I'm assuming this piece will change right um we could try Blake because we know that's a valid user on SMB we still get user not found so at this point we have to figure out what the um valid user is and I probably should have left users. text as I ha... | 954.759 | 0 | {
"video_id": "BGp_Y3tbLP0",
"title": "HackTheBox - SolarLab",
"url": "https://www.youtube.com/watch?v=BGp_Y3tbLP0"
} |
will let me use fuff and then we can send all the users through this so if I do FFF um- request login. request um request Proto HTTP word list um this is going to be all users. text send this through that looks fine we could do a um filter regex and then say user not found um eyeballing this I'm guessing these two are ... | 1,024.839 | 0 | {
"video_id": "BGp_Y3tbLP0",
"title": "HackTheBox - SolarLab",
"url": "https://www.youtube.com/watch?v=BGp_Y3tbLP0"
} |
text colon first and then we give it a password. text I'm going to call this one second it'll actually go into the word list and look for them both so let's go back to login. request and I'm going to replace fuzz with first so we can do first here and password we're going to replace with second so let's run this again ... | 1,094.84 | 0 | {
"video_id": "BGp_Y3tbLP0",
"title": "HackTheBox - SolarLab",
"url": "https://www.youtube.com/watch?v=BGp_Y3tbLP0"
} |
little bit faster um user authentication error so let's do lowercase I think I misspelled that uh I should just copy this cat all users we can copy this paste do it all lowercase and we get user authentication error so it is not case sensitive on the username so we don't have to care about that it's one of those things... | 1,166.919 | 0 | {
"video_id": "BGp_Y3tbLP0",
"title": "HackTheBox - SolarLab",
"url": "https://www.youtube.com/watch?v=BGp_Y3tbLP0"
} |
password is this can't be typed easily and it lets us log in to report lab so that's how you can use fuff to just Brute Force simple login fields we go Blake b type in the password we get to this page called Welcome to report Hub and we have a few Fields here so if we look at this uh we have a leave request home office... | 1,238.24 | 0 | {
"video_id": "BGp_Y3tbLP0",
"title": "HackTheBox - SolarLab",
"url": "https://www.youtube.com/watch?v=BGp_Y3tbLP0"
} |
file um do I need the semicolon there we go so that's the um mime type for a gif image so it's a simple way to do it uh let's go wait what oh I'm on desktop temp Let's see we go IPC htb what is the where is it home htb s lab we can do test. GI there and then let's upload this signature so we send this we can look at wh... | 1,295.039 | 0 | {
"video_id": "BGp_Y3tbLP0",
"title": "HackTheBox - SolarLab",
"url": "https://www.youtube.com/watch?v=BGp_Y3tbLP0"
} |
jpeg generate PDF and we have a PDF here so let's look at the MIM type of this PDF so I'm going to do I guess we can save it to output.pdf that's fine and I want to see exactly how this is created so if we do exi tool we can see it's created by the report lab PDF Library so what I want to do is go to Google and then le... | 1,372.4 | 0 | {
"video_id": "BGp_Y3tbLP0",
"title": "HackTheBox - SolarLab",
"url": "https://www.youtube.com/watch?v=BGp_Y3tbLP0"
} |
want I just like having as many like free form text as I can noticing there is a 300 character limit on the justification let's see send verify let's intercept is on generate send this to repeater and we want to insert the exploit so right here we can do this and here's where it's running this uh attacker command I'm g... | 1,459.799 | 0 | {
"video_id": "BGp_Y3tbLP0",
"title": "HackTheBox - SolarLab",
"url": "https://www.youtube.com/watch?v=BGp_Y3tbLP0"
} |
the exploit just did not work in the user input field because that's probably limited on the number of characters but doing it on a different field the travel request it looks like that worked just fine so what we have to do now is um get this to execute code so we have it pinging us and my favorite way to do this is j... | 1,541.919 | 0 | {
"video_id": "BGp_Y3tbLP0",
"title": "HackTheBox - SolarLab",
"url": "https://www.youtube.com/watch?v=BGp_Y3tbLP0"
} |
make a dubdub duub directory and put a reverse shell in this I'm going to copy user share Nang Nang shells invoke Powershell TCP on line PS1 to rev. PS1 and then we can edit this shell to have our IP address and Port so we can do 10 10 148 or 901 save this set up a python web server so Python 3 HTTP server then we can ... | 1,614.24 | 0 | {
"video_id": "BGp_Y3tbLP0",
"title": "HackTheBox - SolarLab",
"url": "https://www.youtube.com/watch?v=BGp_Y3tbLP0"
} |
cookie and then we can replace the session cookie it's taking its time and we see we got a hit down here in rev. PS1 and then a connection comes in up there so it looks like we have a shell if I do it who am I SL all we can see let's see we are the Blake user and we don't really have any dangerous privileges normally w... | 1,714.32 | 0 | {
"video_id": "BGp_Y3tbLP0",
"title": "HackTheBox - SolarLab",
"url": "https://www.youtube.com/watch?v=BGp_Y3tbLP0"
} |
probably this hot P Fire Guard but I really rather dump the SQL light database I'm sure we could find a good way to do it on Windows but I'm just more comfortable getting it over to Linux so what I'm going to do is create a SNB share and then copy it to me so we're going to do SMB I'm going to make dir share and I'm go... | 1,782.2 | 0 | {
"video_id": "BGp_Y3tbLP0",
"title": "HackTheBox - SolarLab",
"url": "https://www.youtube.com/watch?v=BGp_Y3tbLP0"
} |
xville is pointed there so I should be able to just do a copy command now so if we copy users. DB over to xville colon that's going to copy it over to this SMB share that I just mounted so if we do SMB share we have users. DB here so if we do sql3 users. db. dump we can get a better output so we already had Blake's pas... | 1,846.6 | 0 | {
"video_id": "BGp_Y3tbLP0",
"title": "HackTheBox - SolarLab",
"url": "https://www.youtube.com/watch?v=BGp_Y3tbLP0"
} |
extra hits and we do have open Fire's password and this is actually unintended um we're supposed to get open fire access another way which I'll show right after we show this I think it just flows better if we show um doing aeration soon as we get new information and seeing this right so we have open fire so what I woul... | 1,919.08 | 0 | {
"video_id": "BGp_Y3tbLP0",
"title": "HackTheBox - SolarLab",
"url": "https://www.youtube.com/watch?v=BGp_Y3tbLP0"
} |
we look at all the ports we also see um like 9090 7070 all these ports are open so um we can forward the port so let's go actually before you forward the report um we could just run a tool called run as C so if we go over to Google let's say run as CS uh GitHub and we're going to download this tool so go here and this ... | 1,993.84 | 0 | {
"video_id": "BGp_Y3tbLP0",
"title": "HackTheBox - SolarLab",
"url": "https://www.youtube.com/watch?v=BGp_Y3tbLP0"
} |
do run as cs. exe open fire and then the actual password so that is the hot P1 wonder if I should put that in quotes there we go and then we can just say run a power shell reverse shell to 10 1048 for 91 and let's see it is taking its time to run I'm guessing because it has to download the binary but I think this will ... | 2,076.72 | 0 | {
"video_id": "BGp_Y3tbLP0",
"title": "HackTheBox - SolarLab",
"url": "https://www.youtube.com/watch?v=BGp_Y3tbLP0"
} |
go so chisel's listening we run chisel and it's going to take again a couple seconds to copy the binary over to the box if we had download it locally this would be instant but um hopefully it works I'm guessing it may just take a little bit longer I'm getting a little worried that I don't see anything pop up here and t... | 2,177.4 | 0 | {
"video_id": "BGp_Y3tbLP0",
"title": "HackTheBox - SolarLab",
"url": "https://www.youtube.com/watch?v=BGp_Y3tbLP0"
} |
paste that and see if we can get proxy chains working to get a power remote shell I actually haven't tested this so I don't know if it's going to work um I'm just thinking of other ways we could get this remote access as open fire it does not look like it is which I'm a little bit surprised about but I guess not really... | 2,248.24 | 0 | {
"video_id": "BGp_Y3tbLP0",
"title": "HackTheBox - SolarLab",
"url": "https://www.youtube.com/watch?v=BGp_Y3tbLP0"
} |
look for exploit 474 open fire I probably have to turn the proxy off uh let's see open fire 474 exploit so I'm going to find a write up but we just I guess have this GitHub thing let's see let's see exactly how this works Works um this is doing 471 is this the exploit it is so this script's going to get us um a shell a... | 2,311.319 | 0 | {
"video_id": "BGp_Y3tbLP0",
"title": "HackTheBox - SolarLab",
"url": "https://www.youtube.com/watch?v=BGp_Y3tbLP0"
} |
this let's see if we can find an issue really quick so let's go over to um PRS I'm just going to search for this cve to see if there's any mention of it there is not um see uni code spark let's see don't see this is probably the fix to it but it's not exactly what I was after so let's let's go back to PRS we can delete... | 2,390.8 | 0 | {
"video_id": "BGp_Y3tbLP0",
"title": "HackTheBox - SolarLab",
"url": "https://www.youtube.com/watch?v=BGp_Y3tbLP0"
} |
reversal um but it didn't do UTF 16 um encoding and eventually the web server um added the feature to do utf16 which broke their previous filter because it wasn't looking for it and I always like looking at the bug reports because you learn other things right um I only like we have this unique code 002e which is what t... | 2,483.48 | 0 | {
"video_id": "BGp_Y3tbLP0",
"title": "HackTheBox - SolarLab",
"url": "https://www.youtube.com/watch?v=BGp_Y3tbLP0"
} |
this I think because I'm not logged into GitHub it's not going to find this quickly um I'm going to pause the video and log into GitHub so we have a bit easier um web interface okay now I'm logged in I can now search for the off check filter and go to the file that is specified and before just looking at the file um I ... | 2,556.839 | 0 | {
"video_id": "BGp_Y3tbLP0",
"title": "HackTheBox - SolarLab",
"url": "https://www.youtube.com/watch?v=BGp_Y3tbLP0"
} |
right now they're only looking for um uni code dot dot I'm guessing this one adds a bit more right so they decode the URL and then they create this big um deny list of characters and what I find interesting is if we look at exactly where this uh function is the name of it we can look at like the current implementation ... | 2,620.76 | 0 | {
"video_id": "BGp_Y3tbLP0",
"title": "HackTheBox - SolarLab",
"url": "https://www.youtube.com/watch?v=BGp_Y3tbLP0"
} |
percent dot dots that we saw on this right decod URL contains percent 2E we don't see that and and the reason we don't is it changed to say the URL dcode is going to be utf8 so this way if it comes across utf16 characters is going to um make them utf8 to begin with right so they only have to again check for dot dot bec... | 2,687.559 | 0 | {
"video_id": "BGp_Y3tbLP0",
"title": "HackTheBox - SolarLab",
"url": "https://www.youtube.com/watch?v=BGp_Y3tbLP0"
} |
better reporting right so with all that being said let's go ahead and take a look at the exploit so um it looks like we abuse a route so if the setup setup s is allowing an unauthenticated user to hit it and then we do dot dot so we get out of the like authentication router as a user and then we can hit this user creat... | 2,750.72 | 0 | {
"video_id": "BGp_Y3tbLP0",
"title": "HackTheBox - SolarLab",
"url": "https://www.youtube.com/watch?v=BGp_Y3tbLP0"
} |
if I like this one if I have to like what is a hack request what the probably shouldn't be installing this but it's on pip so I guess I trust it um what is hack that that's a new one let's see I wonder if like the python request Library would automatically um like do some of the decoding for you so you couldn't put the... | 2,817.04 | 0 | {
"video_id": "BGp_Y3tbLP0",
"title": "HackTheBox - SolarLab",
"url": "https://www.youtube.com/watch?v=BGp_Y3tbLP0"
} |
Pi see hack dot does it have a proxy why is it not autocomp completing for me see how do I set the proxy on this oh um this is not a session object this is just initializing the library I thought this would be a session so everything like after it would take effect um maybe it just takes the HTTP environment variables ... | 2,916.2 | 0 | {
"video_id": "BGp_Y3tbLP0",
"title": "HackTheBox - SolarLab",
"url": "https://www.youtube.com/watch?v=BGp_Y3tbLP0"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.