text stringlengths 4 952 | start float64 0 9.37k | duration float64 0 0 | meta dict |
|---|---|---|---|
Doesn't look like I added myself. | 2,409.52 | 0 | {
"video_id": "14X4yCgNRVQ",
"title": "HackTheBox - Eureka",
"url": "https://www.youtube.com/watch?v=14X4yCgNRVQ"
} |
10 10 14. | 2,417.04 | 0 | {
"video_id": "14X4yCgNRVQ",
"title": "HackTheBox - Eureka",
"url": "https://www.youtube.com/watch?v=14X4yCgNRVQ"
} |
No. So, we screwed something up here. Let's see. So, we have the Eureka server. That looks fine. App name at port. | 2,425.76 | 0 | {
"video_id": "14X4yCgNRVQ",
"title": "HackTheBox - Eureka",
"url": "https://www.youtube.com/watch?v=14X4yCgNRVQ"
} |
Where do we Here we go. So, we have the Eureka server. | 2,438.96 | 0 | {
"video_id": "14X4yCgNRVQ",
"title": "HackTheBox - Eureka",
"url": "https://www.youtube.com/watch?v=14X4yCgNRVQ"
} |
the app name, the instance port. | 2,445.68 | 0 | {
"video_id": "14X4yCgNRVQ",
"title": "HackTheBox - Eureka",
"url": "https://www.youtube.com/watch?v=14X4yCgNRVQ"
} |
We need to give it the IP address. Um, let's see. I want Eureka to send login to me. | 2,450.72 | 0 | {
"video_id": "14X4yCgNRVQ",
"title": "HackTheBox - Eureka",
"url": "https://www.youtube.com/watch?v=14X4yCgNRVQ"
} |
Let's see. Client is it going to give me? So I'm just going to add I think it's instance IP is equal to let's do 10 10148 and there's also like instance host 1010 10148 and let's see we got instance port instance IP instance host and I'm going to give it the metadata and I got this from um AI when I solving it. I don't... | 2,465.44 | 0 | {
"video_id": "14X4yCgNRVQ",
"title": "HackTheBox - Eureka",
"url": "https://www.youtube.com/watch?v=14X4yCgNRVQ"
} |
Let's see. It's still Oh, there we go. We got post to login, but we're not printing any data. Let's see. Where's that login data request? Oh, we're doing get JSON. Uh, let's do get data. | 2,533.2 | 0 | {
"video_id": "14X4yCgNRVQ",
"title": "HackTheBox - Eureka",
"url": "https://www.youtube.com/watch?v=14X4yCgNRVQ"
} |
Run this. | 2,554.16 | 0 | {
"video_id": "14X4yCgNRVQ",
"title": "HackTheBox - Eureka",
"url": "https://www.youtube.com/watch?v=14X4yCgNRVQ"
} |
10 10 14. There we go. So we can see the instance 1010148 user management service and now we're a part of the Eureka cluster. So it will send some requests to the user management service back to us. So now we just want to wait and I'm going to give it let's give it two minutes, right? So just sleep 120 and we'll see if... | 2,560.8 | 0 | {
"video_id": "14X4yCgNRVQ",
"title": "HackTheBox - Eureka",
"url": "https://www.youtube.com/watch?v=14X4yCgNRVQ"
} |
and there was code injection in the HTTP statuses because we have this um equals and now we can poison this log file. So what we want to do is let's go to ver dubdubdub uh web then we can go into I think it was cloud gateways logs right log and we can't edit this file directly. So if we do echo one to application log w... | 2,637.76 | 0 | {
"video_id": "14X4yCgNRVQ",
"title": "HackTheBox - Eureka",
"url": "https://www.youtube.com/watch?v=14X4yCgNRVQ"
} |
let's do echo. And what we need to have is it needs to start with what http status then colon. | 2,705.28 | 0 | {
"video_id": "14X4yCgNRVQ",
"title": "HackTheBox - Eureka",
"url": "https://www.youtube.com/watch?v=14X4yCgNRVQ"
} |
Um and then we can put our code execution. So, we can do like this bin bash um dash c. Let's see. I'm going to see if we can do it without the dash c because if we do dash c, we need to have another single quote and that's going to make it a little bit more challenging. We may just do bin b- i um let's see, hold on. b-... | 2,714.319 | 0 | {
"video_id": "14X4yCgNRVQ",
"title": "HackTheBox - Eureka",
"url": "https://www.youtube.com/watch?v=14X4yCgNRVQ"
} |
So that looks good, right? Okay. So I'm going to write this to application.log and let's close this nclvnp 90001. | 2,770.88 | 0 | {
"video_id": "14X4yCgNRVQ",
"title": "HackTheBox - Eureka",
"url": "https://www.youtube.com/watch?v=14X4yCgNRVQ"
} |
Um let's move this again. | 2,783.44 | 0 | {
"video_id": "14X4yCgNRVQ",
"title": "HackTheBox - Eureka",
"url": "https://www.youtube.com/watch?v=14X4yCgNRVQ"
} |
Yes. Now we can write it. | 2,788.88 | 0 | {
"video_id": "14X4yCgNRVQ",
"title": "HackTheBox - Eureka",
"url": "https://www.youtube.com/watch?v=14X4yCgNRVQ"
} |
Awesome. And I guess what we can do while we wait, if we go op log analyze.sh, it's doing a GP, right? We want to make sure uh we match that. Where is it? This GP status K and we have to put HTTP because it's doing a GP here. So it's cing the log file. Well, it's gpping the log file for HTTP status. So we have to have ... | 2,796.16 | 0 | {
"video_id": "14X4yCgNRVQ",
"title": "HackTheBox - Eureka",
"url": "https://www.youtube.com/watch?v=14X4yCgNRVQ"
} |
what's going on YouTube this is ipeg we're doing evil cups from hack the box which is a non-competitive release so we can do a video on it right away the box is based on all the work evil socket did finding a vulnerability in cups which is the main Linux print server and by default it listens on UDP Port 631 on all hos... | 0.28 | 0 | {
"video_id": "7oMSQPST7H8",
"title": "HackTheBox - EvilCUPS",
"url": "https://www.youtube.com/watch?v=7oMSQPST7H8"
} |
that's listenting on TCP 631 to print a test page and give us a shell on the box with that shell we'll then View cast print jobs on the box and discover that someone printed the server's root password and recover that job view it and log into the box as root so with that being said let's just jump in as we're going to ... | 41.48 | 0 | {
"video_id": "7oMSQPST7H8",
"title": "HackTheBox - EvilCUPS",
"url": "https://www.youtube.com/watch?v=7oMSQPST7H8"
} |
version 2.4 and then we have some web scripts of nmap running that tells us there is a web server on this interface so let's go ahead and take a look at it so I'm going to go to my browser HTP 101014 631 and we get the cups management interface and now normally this isn't exposed to all interfaces it's normally just bo... | 92.079 | 0 | {
"video_id": "7oMSQPST7H8",
"title": "HackTheBox - EvilCUPS",
"url": "https://www.youtube.com/watch?v=7oMSQPST7H8"
} |
printing cups 242 change log and we see it was um on Google it told us it was in 2022 um there's a fix for CVN 2022 but this page was published May 26 2022 and also if we look at the further here the copyright is telling us 2022 and that's normally a good indicator at the last time a code has changed on a web server um... | 141.64 | 0 | {
"video_id": "7oMSQPST7H8",
"title": "HackTheBox - EvilCUPS",
"url": "https://www.youtube.com/watch?v=7oMSQPST7H8"
} |
jobs and then we can see there is one job that has been completed um we can also click on this drop down and do like print a test page and then if we look at the show completed jobs we see there are now two jobs completed and since we did this as Anonymous user it is disclosing the information we can see Anonymous crea... | 198.56 | 0 | {
"video_id": "7oMSQPST7H8",
"title": "HackTheBox - EvilCUPS",
"url": "https://www.youtube.com/watch?v=7oMSQPST7H8"
} |
and we have to specify Port 631 whenever I do UDP scans I like uh gaining multiple ports because um UDP doesn't have a good way to tell you if it's open or not so I like having a like control that I know this should respond closed this one's open so I know 631 UDP is is listening which is the case on a lot of just cups... | 251 | 0 | {
"video_id": "7oMSQPST7H8",
"title": "HackTheBox - EvilCUPS",
"url": "https://www.youtube.com/watch?v=7oMSQPST7H8"
} |
exploiting it right it really boils down to these four cves and combined they get a CVSs score of like 9.8 or 9.9 from Red Hat um I think he does talk about it somewhere here let's see CV SS there we go it's a 9.9 from red hat but let's just talk about the cve the first cve is going to be cups browse D binds on UDP any... | 303.96 | 0 | {
"video_id": "7oMSQPST7H8",
"title": "HackTheBox - EvilCUPS",
"url": "https://www.youtube.com/watch?v=7oMSQPST7H8"
} |
postcript printer description file and that lets it print to it right um newer ways use things like aahi bonjour zeroc com um whatever you want to call like those new ways to discover things and what really changed was the client sends a multicast DNS message out to the network and then things respond to it so the clie... | 361.44 | 0 | {
"video_id": "7oMSQPST7H8",
"title": "HackTheBox - EvilCUPS",
"url": "https://www.youtube.com/watch?v=7oMSQPST7H8"
} |
default browse protocol all they're doing is Dev vating to only DNS SSD which I forget exactly what that stands for but that's going to be using like aahi zeroc conf bonjour I forget there other names people call those type of Discovery things but in the blog post it also recommends disabling those because they're rela... | 419.199 | 0 | {
"video_id": "7oMSQPST7H8",
"title": "HackTheBox - EvilCUPS",
"url": "https://www.youtube.com/watch?v=7oMSQPST7H8"
} |
so you could do them either place and then this attack chain would be fixed so that's what that is and again we're probably going to go over these again as we start exploiting them and then the final one is going to be this fumatic rip this again is going to be like one of those needed uh functionalities it was a big t... | 480.08 | 0 | {
"video_id": "7oMSQPST7H8",
"title": "HackTheBox - EvilCUPS",
"url": "https://www.youtube.com/watch?v=7oMSQPST7H8"
} |
um generally it goes through some conversion I'll probably convert it to a postcript format and then send it to the printer so fumatic rip is the way that the program does this and it's probably easy to just Google um let's say what do I want to Google exactly to pull this up fumatic rip command line issues maybe and f... | 527.76 | 0 | {
"video_id": "7oMSQPST7H8",
"title": "HackTheBox - EvilCUPS",
"url": "https://www.youtube.com/watch?v=7oMSQPST7H8"
} |
rip command line and then they're doing some bunch of magic to do a pearl conversion before it sends to the printer so the whole purpose of this is essentially it runs system on the parameter so if we can inject this into a uh PPD file then we can just put any command we want here and then it's going to execute it when... | 587.079 | 0 | {
"video_id": "7oMSQPST7H8",
"title": "HackTheBox - EvilCUPS",
"url": "https://www.youtube.com/watch?v=7oMSQPST7H8"
} |
that is just system it's just a bad design right so um let's go ahead and go to exploit these I bet if we went to the cups page now so if we do cups um that's Apple cups Cups GitHub there is a security um advisory that has some source code that we could potentially use however I have found that the code didn't work tha... | 638.8 | 0 | {
"video_id": "7oMSQPST7H8",
"title": "HackTheBox - EvilCUPS",
"url": "https://www.youtube.com/watch?v=7oMSQPST7H8"
} |
my GitHub repost if you just go to GitHub IPC and I called it evil cups you should be able to download this script so let's just clone this to a box and then we can run it so I'm going to go code copy this and we can get clone CD evil cups and then to run this we're going to have to install the IP server so I'm going t... | 699.76 | 0 | {
"video_id": "7oMSQPST7H8",
"title": "HackTheBox - EvilCUPS",
"url": "https://www.youtube.com/watch?v=7oMSQPST7H8"
} |
the reverse shell and standard in so right here we're going to stand up our um internet printing protocol server this is a HTP server and it's going to handle all the attributes building the PPD file for the client um but first let's talk about the send browse D packet and I'm actually going to comment this out real qu... | 764.24 | 0 | {
"video_id": "7oMSQPST7H8",
"title": "HackTheBox - EvilCUPS",
"url": "https://www.youtube.com/watch?v=7oMSQPST7H8"
} |
you um what the request looks like and every time you attempt to add the printer it's probably going to take about 30 seconds to get the request sometimes this is instantaneous I think it's not working because there's not DNS on the server and it's like timing out or something so we just got to wait the 30 seconds and ... | 818.24 | 0 | {
"video_id": "7oMSQPST7H8",
"title": "HackTheBox - EvilCUPS",
"url": "https://www.youtube.com/watch?v=7oMSQPST7H8"
} |
inside that UDP packet was the following let's just go up to here um we sent the printer type of two the printer state of three then we told it hey this is where the printer exist and then we gave it the location the info and the model and then it goes and sends a post and says hey we want to um get all the attributes ... | 888.279 | 0 | {
"video_id": "7oMSQPST7H8",
"title": "HackTheBox - EvilCUPS",
"url": "https://www.youtube.com/watch?v=7oMSQPST7H8"
} |
so now we'll respond with actual printer attributes and the attributes we send are going to be all of this right so we use the python Library I server just so we can put it in the correct format because it is a serialized format I guess we can look at it in wi shark when it goes but these are going to be all the um var... | 956.88 | 0 | {
"video_id": "7oMSQPST7H8",
"title": "HackTheBox - EvilCUPS",
"url": "https://www.youtube.com/watch?v=7oMSQPST7H8"
} |
we'll look at the PPD file and I'm assuming this will make much more sense um once you can see the config but this is where that CV comes into play so we start the line off with a single quote because we just want to insert a blank variable so what it's going to do is like um star print more info and then this is where... | 1,013.839 | 0 | {
"video_id": "7oMSQPST7H8",
"title": "HackTheBox - EvilCUPS",
"url": "https://www.youtube.com/watch?v=7oMSQPST7H8"
} |
that writes directly into the PPD file um I know that's probably not making much sense but hopefully it will in hindsight once we finish the video so let's get rid of all this stuff and run the exploit and I probably should have ran that first because it does take 30 seconds and the command we want to run is going to b... | 1,074.32 | 0 | {
"video_id": "7oMSQPST7H8",
"title": "HackTheBox - EvilCUPS",
"url": "https://www.youtube.com/watch?v=7oMSQPST7H8"
} |
to um any of like the cups rfc's and understand it so if we went to like op Source Apple cups browse D protocol I think this is how I found it let's go here uh maybe this spe browsing Yep this is it and this says how it works right so we have type one is a hex digit or first we should say this is the whole packet so we... | 1,142.24 | 0 | {
"video_id": "7oMSQPST7H8",
"title": "HackTheBox - EvilCUPS",
"url": "https://www.youtube.com/watch?v=7oMSQPST7H8"
} |
and hex it's not until we go after nine that things really differ but I just want to try to obey this then we have the URI so after that we put the URL and then the really weird thing is location info make model it says quoted string so that's why you see when I do printer location info model these are strings and quot... | 1,210.24 | 0 | {
"video_id": "7oMSQPST7H8",
"title": "HackTheBox - EvilCUPS",
"url": "https://www.youtube.com/watch?v=7oMSQPST7H8"
} |
our shell so we'll do Python 3 import PTY PTY spawn Ben bash like that there we go s2y raw minus Echo foreground enter twice so now we have a reverse shell as the um LP user and let's export term equal x term so I can clear the screen so what can we do as this user well remember at the start of the video we talked abou... | 1,271.52 | 0 | {
"video_id": "7oMSQPST7H8",
"title": "HackTheBox - EvilCUPS",
"url": "https://www.youtube.com/watch?v=7oMSQPST7H8"
} |
to use is just one I make so I'm going to go back over to to um my command line and I'm going to run LP admin and then we can say I think it's- P for Destination that's going to be I think the Q name I'm going to call it the void - capital E is going to enable it right away and then DV is going to be the device URI I'm... | 1,345.08 | 0 | {
"video_id": "7oMSQPST7H8",
"title": "HackTheBox - EvilCUPS",
"url": "https://www.youtube.com/watch?v=7oMSQPST7H8"
} |
Google tells us verse bu cups cach so let's do CD verse bu cups cach no follow directory that should exist oh yes it's just vers cups there's no cash there's also ver cash cups and if we do that then we could also look at the jobs cache so if we cut this job. we can see the um like metadata around that like the name th... | 1,406.919 | 0 | {
"video_id": "7oMSQPST7H8",
"title": "HackTheBox - EvilCUPS",
"url": "https://www.youtube.com/watch?v=7oMSQPST7H8"
} |
is um a no hop so I'm going to go back to this and we're going to do no hop and then we do a space Amper sand at the end so this is going to automatically background it and it's going to take 30 seconds for to come back and there is some automation on the box itself to clean up bad printers so once it goes into um a ba... | 1,480.52 | 0 | {
"video_id": "7oMSQPST7H8",
"title": "HackTheBox - EvilCUPS",
"url": "https://www.youtube.com/watch?v=7oMSQPST7H8"
} |
Hacked stand up my test page and we have this so if I do a ps- ef-- forest we can explain exactly what happened um let's see python 3C we have to upgrade a shell real quick and I'll probably do this again at the very end of the video um maybe let's see we did Python 3 St raw Echo foreground okay PS ef-- Forest let's do... | 1,547.559 | 0 | {
"video_id": "7oMSQPST7H8",
"title": "HackTheBox - EvilCUPS",
"url": "https://www.youtube.com/watch?v=7oMSQPST7H8"
} |
it just timed out it took her shell with it but now we have forked to a new parent PID which is just one with no hop um when it goes and kills this job it's not going to kill this one so when you're exploiting this that no hop uh definitely makes it a lot more stable so where were we we were looking at the cache right ... | 1,623.48 | 0 | {
"video_id": "7oMSQPST7H8",
"title": "HackTheBox - EvilCUPS",
"url": "https://www.youtube.com/watch?v=7oMSQPST7H8"
} |
to um this we can see where is we have to go to the printer so the Canon show completed jobs we want job one so if I do cat D and then 4 Zer one and then we want page one we get the post fix and it's telling us the title of the page is p. text and giving us this string so chances are it's going to be um the password ri... | 1,680.6 | 0 | {
"video_id": "7oMSQPST7H8",
"title": "HackTheBox - EvilCUPS",
"url": "https://www.youtube.com/watch?v=7oMSQPST7H8"
} |
the whole theory behind this is the admin is sitting at his desk and his Cube and he want wants to go log into a box physically because maybe like it's not responding he needs to log into the local terminal so what he did was just print the password to the server room printer grabs the piece of paper and then you can g... | 1,761.64 | 0 | {
"video_id": "7oMSQPST7H8",
"title": "HackTheBox - EvilCUPS",
"url": "https://www.youtube.com/watch?v=7oMSQPST7H8"
} |
this is what we had sent right so if we look at it we have AP supplies and I think AP supplies is actually what print more info means it's just a single quote a double quote and then another double quote and this line is what we're sending right here this print more info somehow gets translated to AP supplies I'm not s... | 1,811.84 | 0 | {
"video_id": "7oMSQPST7H8",
"title": "HackTheBox - EvilCUPS",
"url": "https://www.youtube.com/watch?v=7oMSQPST7H8"
} |
positive I'm confused here um I guess we can try taking the space away and trying the exploit again let's see let's do that is that space needed so what I'm doing here is a PF Forest oh I'm root right now um let's see if I go back here okay the printer's probably gone um normally when this error comes at least on this ... | 1,873.279 | 0 | {
"video_id": "7oMSQPST7H8",
"title": "HackTheBox - EvilCUPS",
"url": "https://www.youtube.com/watch?v=7oMSQPST7H8"
} |
I don't know exactly what that wants so let's just keep it simple run the script again we'll wait 30 seconds and then we'll see if we can get a shell um without that one space and I guess I should have um did this without no hop so you could look at what the psf force looks like um I guess we'll fail one more time and ... | 1,938.36 | 0 | {
"video_id": "7oMSQPST7H8",
"title": "HackTheBox - EvilCUPS",
"url": "https://www.youtube.com/watch?v=7oMSQPST7H8"
} |
it doesn't appear to matter so I'm just going to do this again CU I think for some reason if you didn't do the upgrade to a shell um and it cleaned up the job it would not actually kill your shell it's really bizarre um whoa I don't want that um FG I went into a different teamu session did I close t-u completely there ... | 2,003.48 | 0 | {
"video_id": "7oMSQPST7H8",
"title": "HackTheBox - EvilCUPS",
"url": "https://www.youtube.com/watch?v=7oMSQPST7H8"
} |
okay so it has errored um this shell did not die because we did use the no hop so let's go ahead and what we want to do is change this to not use no hup so we can see exactly what the um call tree looks like so we're going to do this bash again and then while we wait um it's going to take again 30 seconds what do we wa... | 2,076.119 | 0 | {
"video_id": "7oMSQPST7H8",
"title": "HackTheBox - EvilCUPS",
"url": "https://www.youtube.com/watch?v=7oMSQPST7H8"
} |
not exist so we definitely dorked something up thankfully we have a root sh the printer doesn't exist SL printers doesn't exist at all so I think us putting that please subscribe caused it not the purse um not a huge surprise so let's change this to just an integer and maybe that will work better if not then we'll give... | 2,135.599 | 0 | {
"video_id": "7oMSQPST7H8",
"title": "HackTheBox - EvilCUPS",
"url": "https://www.youtube.com/watch?v=7oMSQPST7H8"
} |
Okay um printers sometimes they just work right we sent the job we got this everything's working okay okay um ignore that tangent let's Now quickly do the Python 3 C import PTY PTY spawn b bash and we're going to look at the PPD file after this because I'm not exactly sure what just happened Dy raw minus Echo foregroun... | 2,208.52 | 0 | {
"video_id": "7oMSQPST7H8",
"title": "HackTheBox - EvilCUPS",
"url": "https://www.youtube.com/watch?v=7oMSQPST7H8"
} |
we don't need it anymore this one we want to look at the PPD file real quick so if I look at this let's go to fumatic um the space colon doesn't seem to matter and the AP supplies please subscribe that work so um that proves that we wrote this one double quote then put the line break and did everything right so that's ... | 2,293.72 | 0 | {
"video_id": "7oMSQPST7H8",
"title": "HackTheBox - EvilCUPS",
"url": "https://www.youtube.com/watch?v=7oMSQPST7H8"
} |
have the background of the video it may make more sense right so this cups browse D the vulnerability is it's listening on all host on Port 631 but it needs to that's how it functions right this is a legacy protocol though so you can disable this and um nothing happens you don't want to disable the whole browse D itsel... | 2,354.48 | 0 | {
"video_id": "7oMSQPST7H8",
"title": "HackTheBox - EvilCUPS",
"url": "https://www.youtube.com/watch?v=7oMSQPST7H8"
} |
able to attack it across the network right if we're still on the local network we can respond to that mdns request and say hey here's the URI for a printer go download it and get code execution right um well as long as nothing else is patched right we can still make the cup server reach out to us to install a printer i... | 2,432.079 | 0 | {
"video_id": "7oMSQPST7H8",
"title": "HackTheBox - EvilCUPS",
"url": "https://www.youtube.com/watch?v=7oMSQPST7H8"
} |
argument and then run system against that to run the command so that's just dangerous um the whole report is talking about like how bad the experience was reporting this and I kind of get it from both sides right this is going to be one of those normal situations where a lot of people don't know how to fix the vulnerab... | 2,481.76 | 0 | {
"video_id": "7oMSQPST7H8",
"title": "HackTheBox - EvilCUPS",
"url": "https://www.youtube.com/watch?v=7oMSQPST7H8"
} |
command line because so many printers use it if we do no one will be able to print so we're kind of screwed right um it's one of those just odd scenarios that you H that happens quite a bit when you do um pen testing the security people always just say well it should be fixed if it's not fixed then we can run code that... | 2,524.48 | 0 | {
"video_id": "7oMSQPST7H8",
"title": "HackTheBox - EvilCUPS",
"url": "https://www.youtube.com/watch?v=7oMSQPST7H8"
} |
just listening on Local Host there may be a way to interact with the page still maybe like cross- a scripting so it's no longer um completely void of any user interaction but if they click on a malicious link then you can send them the print driver then have them um they'll browser go to Local Host and print the test p... | 2,573.68 | 0 | {
"video_id": "7oMSQPST7H8",
"title": "HackTheBox - EvilCUPS",
"url": "https://www.youtube.com/watch?v=7oMSQPST7H8"
} |
What's going on YouTube? This is IPS doing Fluffy from Hack the Box, which is an easy assumed breach active directory box. Well, easy as long as you keep your tools up to date as the priv was ADCS ESC16. I know I read off a bunch of letters. That's active directory certificate services escalation number 16. And that's ... | 0.16 | 0 | {
"video_id": "KvUC7bakm-E",
"title": "HackTheBox - Fluffy",
"url": "https://www.youtube.com/watch?v=KvUC7bakm-E"
} |
access to an account that gives the ability to add itself to a group and can take over a few service accounts. One of these accounts we can perform ESC number 16 to get root. So with that being said, let's just jump in. As always, we're going to start off with an end map. So - sc for default scripts. SV enumerate versi... | 41.84 | 0 | {
"video_id": "KvUC7bakm-E",
"title": "HackTheBox - Fluffy",
"url": "https://www.youtube.com/watch?v=KvUC7bakm-E"
} |
my host file. Also dco1. We have the fully qualified domain name right there. So let's do pseudo v etsy host. Then we can add 1010169 fluffy.htb. Let's do dcco1.fluffy.htb. | 90.32 | 0 | {
"video_id": "KvUC7bakm-E",
"title": "HackTheBox - Fluffy",
"url": "https://www.youtube.com/watch?v=KvUC7bakm-E"
} |
And I'm just going to add dco1 as well. The three names that um can be applicable to this. Right. So, let's look at what else we have here. Uh, let's see. Um, Kerros, uh, the LDAP, it's showing that we do have a certificate authority on this box. So, we may want to run like certify things like that to just look at cert... | 106 | 0 | {
"video_id": "KvUC7bakm-E",
"title": "HackTheBox - Fluffy",
"url": "https://www.youtube.com/watch?v=KvUC7bakm-E"
} |
box is 7 hours different from us. So if we do anything Keraros related, we probably should sync our time, right? | 155.599 | 0 | {
"video_id": "KvUC7bakm-E",
"title": "HackTheBox - Fluffy",
"url": "https://www.youtube.com/watch?v=KvUC7bakm-E"
} |
Let's see. Um more LDAP again. Just kind of skipping over that. The clock skew and this host script results. So nothing really there, right? So um this is a assumed breach box. So we start off with a set of credentials. So I'm going to add this to a creds.ext just so I have them and don't have to keep going back to the... | 162.56 | 0 | {
"video_id": "KvUC7bakm-E",
"title": "HackTheBox - Fluffy",
"url": "https://www.youtube.com/watch?v=KvUC7bakm-E"
} |
Okay. So to start off, I always like just using net exec. So, do net exec SMB. Um, let's do DC01 fluffy HTB. I don't know why I keep saying fluffly, but there we go. J uh, fleshman NP. I think I stole my clipboard, right? And since it has a special character, I'm just going to put that in single quotes. And what I want... | 189.76 | 0 | {
"video_id": "KvUC7bakm-E",
"title": "HackTheBox - Fluffy",
"url": "https://www.youtube.com/watch?v=KvUC7bakm-E"
} |
let's do domain fluffy. I typed that again. Uh, dash jmen. | 252 | 0 | {
"video_id": "KvUC7bakm-E",
"title": "HackTheBox - Fluffy",
"url": "https://www.youtube.com/watch?v=KvUC7bakm-E"
} |
Hopefully, I did that correct. And put that password in. And this has errored because we have a clock skew. So, let's do pseudo NTP date and then fluffy. | 260.079 | 0 | {
"video_id": "KvUC7bakm-E",
"title": "HackTheBox - Fluffy",
"url": "https://www.youtube.com/watch?v=KvUC7bakm-E"
} |
HTTP. That should set my time correctly. Run this again. | 274 | 0 | {
"video_id": "KvUC7bakm-E",
"title": "HackTheBox - Fluffy",
"url": "https://www.youtube.com/watch?v=KvUC7bakm-E"
} |
And let's see, lap result. I wonder if that was also time related. We probably just typoed the username. | 279.84 | 0 | {
"video_id": "KvUC7bakm-E",
"title": "HackTheBox - Fluffy",
"url": "https://www.youtube.com/watch?v=KvUC7bakm-E"
} |
So, let's do catcreds.ext. Let's go ahead and grab this and we can paste this in. There we go. So, Rust Hound is working. | 288 | 0 | {
"video_id": "KvUC7bakm-E",
"title": "HackTheBox - Fluffy",
"url": "https://www.youtube.com/watch?v=KvUC7bakm-E"
} |
We do have some coarse creds. So, if I cat um output.ext text where it's saved. | 302.639 | 0 | {
"video_id": "KvUC7bakm-E",
"title": "HackTheBox - Fluffy",
"url": "https://www.youtube.com/watch?v=KvUC7bakm-E"
} |
We have um a few like WinRM service. Let's see what else we have. Um going up LDAP service and CA service. So we have the certificate service, LDAP, and WinRM. So I'm going to just SCP this over to the Kraken. And this is just a box on my network where I run hashcat out of. You can do it on your local host. I just woul... | 307.759 | 0 | {
"video_id": "KvUC7bakm-E",
"title": "HackTheBox - Fluffy",
"url": "https://www.youtube.com/watch?v=KvUC7bakm-E"
} |
I'll copy it into hashes. And I'll call this um fluffy kb. I guess that seems fine. cd hashcat. And let's do dot /hashcat. | 342.72 | 0 | {
"video_id": "KvUC7bakm-E",
"title": "HackTheBox - Fluffy",
"url": "https://www.youtube.com/watch?v=KvUC7bakm-E"
} |
I cannot type today. Um, put that there and then opt word list rocku.ext and let's see if we start cracking anything. | 357.6 | 0 | {
"video_id": "KvUC7bakm-E",
"title": "HackTheBox - Fluffy",
"url": "https://www.youtube.com/watch?v=KvUC7bakm-E"
} |
Uh, we need to specify the hashcat mode. This is going to be a keraros 5. So I'm just going to do dashm 13100. Let that go. And we do have a bunch of files from blood hound. So let's go cdop bloodhound server docker compose up-d to start this service and none of these hashes cracked. So um it bought us nothing. We do h... | 369.68 | 0 | {
"video_id": "KvUC7bakm-E",
"title": "HackTheBox - Fluffy",
"url": "https://www.youtube.com/watch?v=KvUC7bakm-E"
} |
I would recommend if you wanted to run um, certify early would be uh, certifi jQ I guess if you go to IPSC.rocks and I'd go to watch this video, right? Because the user we have isn't going to be vulnerable. Um, so the exploit doesn't really stick out in the soda pie results. This video we talk about using jq to just sh... | 435.68 | 0 | {
"video_id": "KvUC7bakm-E",
"title": "HackTheBox - Fluffy",
"url": "https://www.youtube.com/watch?v=KvUC7bakm-E"
} |
It says it is personally complete. So let's go down to explore and then I'm just going to search for the user I have which is that J uh Fleshman. And let's see we can click and I like looking at member of uh we are users domain users so no interesting groups outbound object control we can see what data we have um we ca... | 478.96 | 0 | {
"video_id": "KvUC7bakm-E",
"title": "HackTheBox - Fluffy",
"url": "https://www.youtube.com/watch?v=KvUC7bakm-E"
} |
not do, um, is look at the, uh, what is it? Let's go back to NXC the file shares, right? So, I can change this back to SMB. And if I do a D-shares, we can see if we have access to any of the file shares. Um, we could also use like SMB client for this as well. I think it's - J. Uh, f L EI like this. And then what is it?... | 550 | 0 | {
"video_id": "KvUC7bakm-E",
"title": "HackTheBox - Fluffy",
"url": "https://www.youtube.com/watch?v=KvUC7bakm-E"
} |
Maybe user is a capital U like this. Wow. I am There we go. So we can paste this password in and this will show near the same thing, right? Uh we see admin C dollar ipc it. | 590.72 | 0 | {
"video_id": "KvUC7bakm-E",
"title": "HackTheBox - Fluffy",
"url": "https://www.youtube.com/watch?v=KvUC7bakm-E"
} |
I like using crackmap exec because it tells us the permissions, right? We have read write over the IT directory. So if I get rid of this and just do it, we should be able to access it. And it's worth noting if this was a file server, not a domain controller, this authentication would fail because I'm authenticating as ... | 615.76 | 0 | {
"video_id": "KvUC7bakm-E",
"title": "HackTheBox - Fluffy",
"url": "https://www.youtube.com/watch?v=KvUC7bakm-E"
} |
Let's now put this in. Copy. Paste. So, this is the better way to access it. Right. So, now if I just take this dashl off, we could access the file share. If I do a diir, we can see we have everything key pass upgrade notice. So, I'm just going to get the PDF and then let's just open this PDF. Uh, upgrade notice. Did I... | 659.6 | 0 | {
"video_id": "KvUC7bakm-E",
"title": "HackTheBox - Fluffy",
"url": "https://www.youtube.com/watch?v=KvUC7bakm-E"
} |
Where is my directory? Oh, I'm in Blood Hound server. Opt blood hound server upgrade notice. Copy it here. And now I can just open this. So looking at it, we have multiple high impact vulnerabilities have been publicly disclosed. So if we start scrolling down, we can see which vulnerabilities are talking about. They do... | 697.68 | 0 | {
"video_id": "KvUC7bakm-E",
"title": "HackTheBox - Fluffy",
"url": "https://www.youtube.com/watch?v=KvUC7bakm-E"
} |
some reason. Um, and that's actually doing the same thing, but my eyes are used to seeing this page much more. And I do a search. Nothing's highlighted. So, I don't think this CVE has anything interesting. We do this one. Let's change out the CVE. Put this in. And I expected like my browser to highlight things. Uh, I g... | 765.2 | 0 | {
"video_id": "KvUC7bakm-E",
"title": "HackTheBox - Fluffy",
"url": "https://www.youtube.com/watch?v=KvUC7bakm-E"
} |
So, there are various PC's. Um, I don't see the one I'm used to seeing. Let's see. This is also a good one. So, this is going to be a metas-ploit thing. Um, I don't like this page because it's not telling me like a good blog post that has a lot of information, but it's pretty easy to figure it out based upon the descri... | 792.16 | 0 | {
"video_id": "KvUC7bakm-E",
"title": "HackTheBox - Fluffy",
"url": "https://www.youtube.com/watch?v=KvUC7bakm-E"
} |
Um, it's a domain, but it's a really good um blog post about it, right? Essentially, if we have a zip file and we put a specially crafted library ms inside of that, um when Windows unzips it, it's going to hit this URL. And because Windows likes doing um automatic login, if we point this at our box, then Windows will a... | 817.44 | 0 | {
"video_id": "KvUC7bakm-E",
"title": "HackTheBox - Fluffy",
"url": "https://www.youtube.com/watch?v=KvUC7bakm-E"
} |
Um, this is mainly going to be a vector that you have to be on the same network or at least the same company network because when Windows sees a SMB path from a non-local address, so that's one that's not like 192 168 172610 uh 1010 like or that's something that's actually 10.0.0. So, um, if it's not one of those RFC19... | 849.76 | 0 | {
"video_id": "KvUC7bakm-E",
"title": "HackTheBox - Fluffy",
"url": "https://www.youtube.com/watch?v=KvUC7bakm-E"
} |
essentially, all you're doing is, uh, creating a zip file, right? We can look at this p.py. | 910.88 | 0 | {
"video_id": "KvUC7bakm-E",
"title": "HackTheBox - Fluffy",
"url": "https://www.youtube.com/watch?v=KvUC7bakm-E"
} |
And we see it's starting to create that XML. We have IP address here, and it's just going to compress a zip file for us, right? So, let's go ahead and clone this. So, I'm going to do a uh let's just do a new window. Get clone on this. Go into the CVE directory. | 917.279 | 0 | {
"video_id": "KvUC7bakm-E",
"title": "HackTheBox - Fluffy",
"url": "https://www.youtube.com/watch?v=KvUC7bakm-E"
} |
Python 3 pc.py. Enter my file name. Um I'm going to call it malware.zip. Obviously, you wouldn't do that, but um my IP address is 1010148. And now, all we have to do is set up responder. So, let's do pseudo responder- ton zero. And I think that's all we have to do, right? Um, we have a SMB server on, so I don't think w... | 938.88 | 0 | {
"video_id": "KvUC7bakm-E",
"title": "HackTheBox - Fluffy",
"url": "https://www.youtube.com/watch?v=KvUC7bakm-E"
} |
Let's copy this password. capital J paste. There we go. DIR and I'm going to put malware.zip and see if anyone clicks it. Um, I probably have it in that CVE directory. So, let's copy that. | 981.839 | 0 | {
"video_id": "KvUC7bakm-E",
"title": "HackTheBox - Fluffy",
"url": "https://www.youtube.com/watch?v=KvUC7bakm-E"
} |
Uh, ls CVE DC uh 7z L. I wonder if it just Okay, so it's malware.zip. Library MS. Um, so that's the file name. That's fine. So move this here. | 1,006.72 | 0 | {
"video_id": "KvUC7bakm-E",
"title": "HackTheBox - Fluffy",
"url": "https://www.youtube.com/watch?v=KvUC7bakm-E"
} |
Put exploit.zip. So we have now put it in and we just want to wait to see if anyone makes a connection to us. Right. If I do ss lnttp g 445, we can see I am listening on ton0, which is 101048 on 445. So hopefully someone will make a connection within um I'm going to give it 2 minutes. So I can do sleep 120 and then I'm... | 1,030.24 | 0 | {
"video_id": "KvUC7bakm-E",
"title": "HackTheBox - Fluffy",
"url": "https://www.youtube.com/watch?v=KvUC7bakm-E"
} |
Then we can say sh kraken cd um hashcat v hashes we called it fluffy dot um we'll do ntlmv2 paste this in dot slash hashcat the hash opt word list rocku.ext text and we'll see if this ends up cracking. | 1,089.28 | 0 | {
"video_id": "KvUC7bakm-E",
"title": "HackTheBox - Fluffy",
"url": "https://www.youtube.com/watch?v=KvUC7bakm-E"
} |
Right. And while that starts, I'm going to copy this username. Uh, we can close this PDF out. We can go back to Blood Hound and pull up this user because if we get the user, what does this give us access to? That's my main question. So, we can start this. I'm just going to go ahead mark as owned. And if we don't crack ... | 1,111.679 | 0 | {
"video_id": "KvUC7bakm-E",
"title": "HackTheBox - Fluffy",
"url": "https://www.youtube.com/watch?v=KvUC7bakm-E"
} |
But let's see. Uh, we're member of three groups. So if I look at this um we're a member of service account managers. So that is what's different currently. If I look at outbound object control, we can see I'm a member of domain users. We saw that before with the last user, but we can see service account managers has ge... | 1,133.76 | 0 | {
"video_id": "KvUC7bakm-E",
"title": "HackTheBox - Fluffy",
"url": "https://www.youtube.com/watch?v=KvUC7bakm-E"
} |
Since we have generic write, this is going to allow us to um update the password for for these accounts. I'm going to use a um shadow password I think is what it's called. It's essentially configuring certificate login for these accounts. So that's going to enable me to gain access to the account without updating the p... | 1,181.76 | 0 | {
"video_id": "KvUC7bakm-E",
"title": "HackTheBox - Fluffy",
"url": "https://www.youtube.com/watch?v=KvUC7bakm-E"
} |
So there's a less chance at breaking services, right? Um whenever you can use the shadow one, I'd highly recommend it because if you just update the password, um if anyone goes to use it, then it breaks, right? like if they're using this LDAP service account in um applications and they're using that as like the bind so... | 1,200.64 | 0 | {
"video_id": "KvUC7bakm-E",
"title": "HackTheBox - Fluffy",
"url": "https://www.youtube.com/watch?v=KvUC7bakm-E"
} |
I'm going to do vcreds.ext. We can say p agula. Put this password in. And then I'm just going to do nxc bluffy.htb p agula p like this. Just make sure the credential works. Give it a second. I don't know why this is taking its time, but we do have the um credential. So, let's go ahead and take over these accounts. Um y... | 1,244.72 | 0 | {
"video_id": "KvUC7bakm-E",
"title": "HackTheBox - Fluffy",
"url": "https://www.youtube.com/watch?v=KvUC7bakm-E"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.