text
stringlengths
4
952
start
float64
0
9.37k
duration
float64
0
0
meta
dict
If I look because I'm in this CMS group, there's a special access on H Brown for all security identities to give me right access. So, this is the dsaccl command showing you specifically what you have. But again, um, if you just ran the git writable on bloody ad, it's not a big leap to say, "Oh, I can write to, um, P Ad...
2,730.8
0
{ "video_id": "EEMNIIEzq24", "title": "HackTheBox - Scepter", "url": "https://www.youtube.com/watch?v=EEMNIIEzq24" }
So, we're gonna pretty much do the same thing we did from DB Baker to H Brown, except this time we're going to put a X509 alternate security attribute on P. Adams and then change uh DBaker's email to be whatever we set and then log in. So, let's go ahead and do that. So we'll do um let's see we have this bloody ad comm...
2,762.4
0
{ "video_id": "EEMNIIEzq24", "title": "HackTheBox - Scepter", "url": "https://www.youtube.com/watch?v=EEMNIIEzq24" }
X509. This is what I want.
2,812.72
0
{ "video_id": "EEMNIIEzq24", "title": "HackTheBox - Scepter", "url": "https://www.youtube.com/watch?v=EEMNIIEzq24" }
The colon RFC. I don't know if that's um specific. I haven't really tested it without setting it this exact format, but uh normally Windows is picky about those things. And I'm gonna set it to IPSAC. It doesn't matter what it is. Um it should probably be P. Adams to stand out more, but I just want to show that um Activ...
2,819.599
0
{ "video_id": "EEMNIIEzq24", "title": "HackTheBox - Scepter", "url": "https://www.youtube.com/watch?v=EEMNIIEzq24" }
So Bloody AD host scepter a Carter, please subscribe. And I'm going to change dbakers to be IPSC.
2,860.4
0
{ "video_id": "EEMNIIEzq24", "title": "HackTheBox - Scepter", "url": "https://www.youtube.com/watch?v=EEMNIIEzq24" }
And this failed because invalid credentials. Um so I'm going to rerun all the steps I did before here. So if we go to vnotes, um we want to use that net exec to change the password. And then after we change the password, we're going to um want to add the generic all and using controlr and then typing things I typed bef...
2,870.56
0
{ "video_id": "EEMNIIEzq24", "title": "HackTheBox - Scepter", "url": "https://www.youtube.com/watch?v=EEMNIIEzq24" }
See, that's certifiy host. Was it here? Yeah.
2,924.559
0
{ "video_id": "EEMNIIEzq24", "title": "HackTheBox - Scepter", "url": "https://www.youtube.com/watch?v=EEMNIIEzq24" }
So, here we are setting um DBaker's mail to be IPSAC acceptor.htb htb and we have um ipsseack at scepter.htb for p adamoms. So now we just want to do that request um d user h. I guess we should run certify. I don't see it in my um thing. So, we'll do certify O PFX. Uh, I have to generate a new one. Um, I have to get a ...
2,935.92
0
{ "video_id": "EEMNIIEzq24", "title": "HackTheBox - Scepter", "url": "https://www.youtube.com/watch?v=EEMNIIEzq24" }
Put that in. Uh after the hash we want to do target DC1 scepter HDB CA was it? Scepter DC1 CA template staff access certificate DCIP 10165. So this should request a certificate.
3,004.559
0
{ "video_id": "EEMNIIEzq24", "title": "HackTheBox - Scepter", "url": "https://www.youtube.com/watch?v=EEMNIIEzq24" }
Come on. It's thinking about it.
3,033.68
0
{ "video_id": "EEMNIIEzq24", "title": "HackTheBox - Scepter", "url": "https://www.youtube.com/watch?v=EEMNIIEzq24" }
Already exist. Yes, it wrote it. Um, which pane did I do that on? right here.
3,039.599
0
{ "video_id": "EEMNIIEzq24", "title": "HackTheBox - Scepter", "url": "https://www.youtube.com/watch?v=EEMNIIEzq24" }
So now if I look at my certificate, I have the subject alternative name as ipsc at acceptor.htb. That is what we want. So now I should be able to use certify to o. So we'll do certifi pfx dbaker.pfx dcip 1010 1165 domain of scepter htb username uh ptoms and there we go we got the hash for poms. So now we have ptosams a...
3,048.079
0
{ "video_id": "EEMNIIEzq24", "title": "HackTheBox - Scepter", "url": "https://www.youtube.com/watch?v=EEMNIIEzq24" }
If we do cipher uh this is is this shortest path from earned already?
3,085.44
0
{ "video_id": "EEMNIIEzq24", "title": "HackTheBox - Scepter", "url": "https://www.youtube.com/watch?v=EEMNIIEzq24" }
Uh we are a member of replication operators which is going to give us the ability to DC sync. I'm surprised it's not showing that in blood hound. Uh maybe that's why like we had the partial import or something. But P atoms should be able to get to administrator pathf finding. Let's do P atoms destination node administr...
3,096.559
0
{ "video_id": "EEMNIIEzq24", "title": "HackTheBox - Scepter", "url": "https://www.youtube.com/watch?v=EEMNIIEzq24" }
I don't think so. But let's go ahead and do this. So I'm going to do a secrets dump. Uh scepter.htb HDB P atoms at dco1 scepter HDB- k uh no pass and we'll do kob 5cc name is equal to p atomscc cache the reason why um where is it the replication operator can dc sync because that's saying um they can replicate um active...
3,125.04
0
{ "video_id": "EEMNIIEzq24", "title": "HackTheBox - Scepter", "url": "https://www.youtube.com/watch?v=EEMNIIEzq24" }
Administrator at scepter.htb requesting a share. Uploading.
3,184.319
0
{ "video_id": "EEMNIIEzq24", "title": "HackTheBox - Scepter", "url": "https://www.youtube.com/watch?v=EEMNIIEzq24" }
Starting the service. And there we go. So we can go users administrator and then desktop and getroot.ext. So that is how you solve the box. But I do want to take a step back and let us um enable remote desktop log to the box and look at that um making it vulnerable to ESC9. So what I'm going to do is paste something I ...
3,190.72
0
{ "video_id": "EEMNIIEzq24", "title": "HackTheBox - Scepter", "url": "https://www.youtube.com/watch?v=EEMNIIEzq24" }
So I'm just going to change it to please subscribe and then a bang. Um I forgot the user. So let's add net user administrator. So we can do net user administrator. There we go. So now I should be able to xfree RDP into this box. So we'll do slashv the IP address um slash u the username of administrator and slashp pleas...
3,232.96
0
{ "video_id": "EEMNIIEzq24", "title": "HackTheBox - Scepter", "url": "https://www.youtube.com/watch?v=EEMNIIEzq24" }
values. So, let's look at what this looks like in certupy. So let's just do a -varnable and this will be the output we saw earlier and I had mentioned um something missing right. So this command will take probably about 15 more seconds to run. Hopefully a little bit shorter.
3,298.96
0
{ "video_id": "EEMNIIEzq24", "title": "HackTheBox - Scepter", "url": "https://www.youtube.com/watch?v=EEMNIIEzq24" }
I don't know what's taking it so long. There we go. And soon as it gets this configuration it's pretty quick. So vulnerable to ESC9 because the template has no security extension. I think that's just meaning it's not validating information a lot. I don't know exactly what it means but um the certificate name flag this ...
3,317.92
0
{ "video_id": "EEMNIIEzq24", "title": "HackTheBox - Scepter", "url": "https://www.youtube.com/watch?v=EEMNIIEzq24" }
give Ourel generic all. So, we'll do is it generic all? There we go. So, now we're giving Ourel generic all. And here's where we do something slightly different. Instead of setting the alt email, which we did before, we're going to use certify account. Hey, Carter, please subscribe DC IP of 1010 1165.
3,379.599
0
{ "video_id": "EEMNIIEzq24", "title": "HackTheBox - Scepter", "url": "https://www.youtube.com/watch?v=EEMNIIEzq24" }
And we're going to set the user principle name to administrator for the target user DB Baker.
3,405.92
0
{ "video_id": "EEMNIIEzq24", "title": "HackTheBox - Scepter", "url": "https://www.youtube.com/watch?v=EEMNIIEzq24" }
And then after this um we just have to request a new user a new certificate. I bet if I do request uh this looks fine. DBaker target. Yep, that is all still the same. And we're going to attempt to request a certificate. And I think it's going to fail because the UPN does not match and it's causing all sorts of chaos, r...
3,412.88
0
{ "video_id": "EEMNIIEzq24", "title": "HackTheBox - Scepter", "url": "https://www.youtube.com/watch?v=EEMNIIEzq24" }
Um subject email required. So that does not work. So, if I go back and just add this UPN flag, let's do the -ashvulnerable again and we're going to see um the changes in that one field that we were looking at. Um where is it? It's down here. There we go. We have require UPN, but we still have these emails. And if I try...
3,437.76
0
{ "video_id": "EEMNIIEzq24", "title": "HackTheBox - Scepter", "url": "https://www.youtube.com/watch?v=EEMNIIEzq24" }
We do this requesting. It's taking its time. Moment of truth.
3,475.28
0
{ "video_id": "EEMNIIEzq24", "title": "HackTheBox - Scepter", "url": "https://www.youtube.com/watch?v=EEMNIIEzq24" }
Come on. I know it's thinking. There we go. We have the administrator.pfx. So, now we should be able to do was it like dash in?
3,482.64
0
{ "video_id": "EEMNIIEzq24", "title": "HackTheBox - Scepter", "url": "https://www.youtube.com/watch?v=EEMNIIEzq24" }
Uh, this should be fine. I'm going to do dbaker.pfx. PFX type that less and let's see what does the certificate look like. Um we administrator.pfx hold on um terminal is weird.
3,495.599
0
{ "video_id": "EEMNIIEzq24", "title": "HackTheBox - Scepter", "url": "https://www.youtube.com/watch?v=EEMNIIEzq24" }
I'm still not typing. There we go. Uh, we want administrator.pfx.
3,524.16
0
{ "video_id": "EEMNIIEzq24", "title": "HackTheBox - Scepter", "url": "https://www.youtube.com/watch?v=EEMNIIEzq24" }
Here we go. So, let's see. What does this certificate say? Um, scepter. That's fine.
3,535.839
0
{ "video_id": "EEMNIIEzq24", "title": "HackTheBox - Scepter", "url": "https://www.youtube.com/watch?v=EEMNIIEzq24" }
Modulus x509.
3,543.839
0
{ "video_id": "EEMNIIEzq24", "title": "HackTheBox - Scepter", "url": "https://www.youtube.com/watch?v=EEMNIIEzq24" }
Alt name UPN administrator. So, I don't even think Baker is in this.
3,550.079
0
{ "video_id": "EEMNIIEzq24", "title": "HackTheBox - Scepter", "url": "https://www.youtube.com/watch?v=EEMNIIEzq24" }
Okay. subject CN is Baker but the UPN was specified as administrator right so let's see if we can authorpfx I guess I can do username administrator let's see name mismatch between certificate and user verify that username administrator matches the UPN PN if I don't specify that.
3,556.559
0
{ "video_id": "EEMNIIEzq24", "title": "HackTheBox - Scepter", "url": "https://www.youtube.com/watch?v=EEMNIIEzq24" }
So I think we screwed something up and I don't know exactly what. Um certificate and user administrator let's go back to the certify command. Uh where is this?
3,597.92
0
{ "video_id": "EEMNIIEzq24", "title": "HackTheBox - Scepter", "url": "https://www.youtube.com/watch?v=EEMNIIEzq24" }
Sometimes administrator has weird privileges, right? Let's now update this to be um was it P Adams or something? Uh that's H Brown.
3,618.4
0
{ "video_id": "EEMNIIEzq24", "title": "HackTheBox - Scepter", "url": "https://www.youtube.com/watch?v=EEMNIIEzq24" }
Let's do P. Adams. See if I can take over this user.
3,632.96
0
{ "video_id": "EEMNIIEzq24", "title": "HackTheBox - Scepter", "url": "https://www.youtube.com/watch?v=EEMNIIEzq24" }
Let's do the request. username hashes target. That's fine.
3,641.68
0
{ "video_id": "EEMNIIEzq24", "title": "HackTheBox - Scepter", "url": "https://www.youtube.com/watch?v=EEMNIIEzq24" }
This should save the certificate as Ps if it behaves like it did the administrator one.
3,651.839
0
{ "video_id": "EEMNIIEzq24", "title": "HackTheBox - Scepter", "url": "https://www.youtube.com/watch?v=EEMNIIEzq24" }
Okay. So, let's go off specify Paddoms.pfx PFX verify that the name matches the certificate.
3,660.799
0
{ "video_id": "EEMNIIEzq24", "title": "HackTheBox - Scepter", "url": "https://www.youtube.com/watch?v=EEMNIIEzq24" }
Huh, I'm doing something wrong or it's just completely not vulnerable. Uh, let's do administrator at scepter.htb.
3,679.2
0
{ "video_id": "EEMNIIEzq24", "title": "HackTheBox - Scepter", "url": "https://www.youtube.com/watch?v=EEMNIIEzq24" }
Let's request this.
3,694.4
0
{ "video_id": "EEMNIIEzq24", "title": "HackTheBox - Scepter", "url": "https://www.youtube.com/watch?v=EEMNIIEzq24" }
Overwrite it. Sure. And let's specify administrator.
3,699.92
0
{ "video_id": "EEMNIIEzq24", "title": "HackTheBox - Scepter", "url": "https://www.youtube.com/watch?v=EEMNIIEzq24" }
So something is wrong. I don't know exactly what I am doing wrong, but I think I'm going to wrap the video. I mainly wanted to show passing that one error message. Um, what if we do fully distinguish name? I don't think that's going to matter. Uh, I can't imagine that doing anything, but you never know. We wrote it off...
3,713.2
0
{ "video_id": "EEMNIIEzq24", "title": "HackTheBox - Scepter", "url": "https://www.youtube.com/watch?v=EEMNIIEzq24" }
Let's see. Off PFX.
3,745.28
0
{ "video_id": "EEMNIIEzq24", "title": "HackTheBox - Scepter", "url": "https://www.youtube.com/watch?v=EEMNIIEzq24" }
Let's change this UPN back to just administrator.
3,751.599
0
{ "video_id": "EEMNIIEzq24", "title": "HackTheBox - Scepter", "url": "https://www.youtube.com/watch?v=EEMNIIEzq24" }
request. Yes.
3,759.2
0
{ "video_id": "EEMNIIEzq24", "title": "HackTheBox - Scepter", "url": "https://www.youtube.com/watch?v=EEMNIIEzq24" }
So, um I'm going to wrap up the video here. Um if there's more video content, I decided to go back and find out what the issue was. But most likely, um I'm doing something wrong or the box just isn't vulnerable at all. I mainly just wanted to show like you can go ahead and add act um add remote desktop go play with box...
3,769.2
0
{ "video_id": "EEMNIIEzq24", "title": "HackTheBox - Scepter", "url": "https://www.youtube.com/watch?v=EEMNIIEzq24" }
the certificate. We'll overwrite it. And now when we try to off, we're going to get this error message, right? But what we want to do is go back to this update command and then change the UPN to be administrator at um scepter.htb. It's weird that like it says verify the username administrator matches the UPN administra...
3,819.52
0
{ "video_id": "EEMNIIEzq24", "title": "HackTheBox - Scepter", "url": "https://www.youtube.com/watch?v=EEMNIIEzq24" }
weird. So, I was just doing ESC9 wrong um, in the past. Uh, it goes to show you can't do everything off of memory. Uh there's always like those small weird steps, but that is going to be it. Um I can show I guess it failing if we just start off with the UPN is at let's do scepter.htb. We'll request a new certificate an...
3,876.88
0
{ "video_id": "EEMNIIEzq24", "title": "HackTheBox - Scepter", "url": "https://www.youtube.com/watch?v=EEMNIIEzq24" }
I wonder if I take this off, does this work? So can we go the other way? Start with the email and then go down. Uh, looks like we can. Um, so the last question is let's do UPN.
3,932.079
0
{ "video_id": "EEMNIIEzq24", "title": "HackTheBox - Scepter", "url": "https://www.youtube.com/watch?v=EEMNIIEzq24" }
Let's set it to be um does not we'll set it to administrator real quick.
3,954.64
0
{ "video_id": "EEMNIIEzq24", "title": "HackTheBox - Scepter", "url": "https://www.youtube.com/watch?v=EEMNIIEzq24" }
And then let's request a certificate.
3,966.24
0
{ "video_id": "EEMNIIEzq24", "title": "HackTheBox - Scepter", "url": "https://www.youtube.com/watch?v=EEMNIIEzq24" }
And I'm going to say UPN of IPSAC now.
3,976.079
0
{ "video_id": "EEMNIIEzq24", "title": "HackTheBox - Scepter", "url": "https://www.youtube.com/watch?v=EEMNIIEzq24" }
And now does the O work.
3,984.319
0
{ "video_id": "EEMNIIEzq24", "title": "HackTheBox - Scepter", "url": "https://www.youtube.com/watch?v=EEMNIIEzq24" }
It looks like it does. So I think all you have to do after you change the UPN of I think I know what's going on now. Um we change the UPN to our UPN to be administrator, right? And then we request a certificate. Our certificate says um maybe DBaker UPN of administrator and then when we're trying to use it, our account ...
3,992.559
0
{ "video_id": "EEMNIIEzq24", "title": "HackTheBox - Scepter", "url": "https://www.youtube.com/watch?v=EEMNIIEzq24" }
what's going on YouTube this is ipag we doing C from hack the box which starts off with hacking a Wonder CMS web server now identifying its Wonder CMS can be a little bit tricky but I'll show a few ways to do that all centered around enumerating the themes but once you do that you can find a proof of concept exploit sc...
0.12
0
{ "video_id": "eXTQ3z7esjQ", "title": "HackTheBox - Sea", "url": "https://www.youtube.com/watch?v=eXTQ3z7esjQ" }
so- SCC for default scripts SV en numerate versions dvv for double this gives us things like the TTL O A output all formats put the nend map director and call it C and then the IP address of 1010 11.28 this can take some time to run so I've already ran it looking at the results we have just two ports open the first one...
39.76
0
{ "video_id": "eXTQ3z7esjQ", "title": "HackTheBox - Sea", "url": "https://www.youtube.com/watch?v=eXTQ3z7esjQ" }
11.28 and we get the page welcome to see it looks like it's a sign up for some type of biking competition if I go over to how to participate we have this link that directs us to contact.php it's in the bottom left of my screen and it's telling us the website is c. htb so let's go ahead and add that to our host file bec...
91.6
0
{ "video_id": "eXTQ3z7esjQ", "title": "HackTheBox - Sea", "url": "https://www.youtube.com/watch?v=eXTQ3z7esjQ" }
is like the root of the directory right so now that we have gobster running let's go ahead and take a look at this form so we can do name um we'll do IPC email root atp. age we'll do 30 USA um website let's link it back to us and see if anything happens so we'll do 10 10 148 I'm going to do Port 8,000 and I'm just goin...
148.4
0
{ "video_id": "eXTQ3z7esjQ", "title": "HackTheBox - Sea", "url": "https://www.youtube.com/watch?v=eXTQ3z7esjQ" }
could look for like some type of browser exploit but this is an easy box un hack the box and typically that is going to be way out of SCP it's not that easy to hack browsers so I don't know exactly what else we could do um it looks like they are clicking links I guess we should find out more about this actual website r...
203.08
0
{ "video_id": "eXTQ3z7esjQ", "title": "HackTheBox - Sea", "url": "https://www.youtube.com/watch?v=eXTQ3z7esjQ" }
on Burp Suite they you can go here and kind of see it here if we go themes bike we have CSS and image it doesn't show us anything CU by default CSS files are hidden we can unhide it and then see like that right so we we could probably enumerate like this themes bike directory for files we could also just look at this t...
253.319
0
{ "video_id": "eXTQ3z7esjQ", "title": "HackTheBox - Sea", "url": "https://www.youtube.com/watch?v=eXTQ3z7esjQ" }
one we have um this bike and if we click here we can see it looks pretty much exactly like the site right and it is the Wonder CMS bike theme so chances are this is going to be Wonder CMS and we could also look at the bike directory for these type of files so if we went to um what is it it's themes bike and then let's ...
311.88
0
{ "video_id": "eXTQ3z7esjQ", "title": "HackTheBox - Sea", "url": "https://www.youtube.com/watch?v=eXTQ3z7esjQ" }
htb um the word list is in not a normal Place Let's Do opsc List Discovery web content raft small we could do raft medium dictionaries eventually this may find it but I find Fuster the reason why I don't show it in a lot of videos is because it is a recursive scanner which means it's going to go into every single direc...
352.6
0
{ "video_id": "eXTQ3z7esjQ", "title": "HackTheBox - Sea", "url": "https://www.youtube.com/watch?v=eXTQ3z7esjQ" }
so if I go over to bike we do SL license we can see the copyright turbo black and if we went to like GitHub that's probably going to be a user turbo black and then find it this way right so one CMS theme here and then you can guess there is probably a readme.md file that's not in the raft small words I think that's on ...
422
0
{ "video_id": "eXTQ3z7esjQ", "title": "HackTheBox - Sea", "url": "https://www.youtube.com/watch?v=eXTQ3z7esjQ" }
htb uh themes bike readme MD we can see it is telling us it's the Wonder uh CMS bike theme so there's three ways we can find out that we're running on wonder CMS just based upon finding the theme directory and then discovering the theme points references to it I don't think there's any references to like Wonder CMS on ...
487.919
0
{ "video_id": "eXTQ3z7esjQ", "title": "HackTheBox - Sea", "url": "https://www.youtube.com/watch?v=eXTQ3z7esjQ" }
tells us so we want to give it a URL um IP address and Port I'm guessing this going to be where we send the reverse shell to and we probably don't want Wonder CMS here it's probably just SL login URL right let's go C login URL okay let me just double check that Wonder CMS doesn't exist Wonder CMS 44 not found so we def...
559.399
0
{ "video_id": "eXTQ3z7esjQ", "title": "HackTheBox - Sea", "url": "https://www.youtube.com/watch?v=eXTQ3z7esjQ" }
real quick and the way this is coded is not going to be straightforward um at the end of the video we're going to spend a bit more time going over this exploit uh because I think we can make it a lot more simple but when I was initially doing the box I'm just going to show you the path I went through so first we get th...
633.64
0
{ "video_id": "eXTQ3z7esjQ", "title": "HackTheBox - Sea", "url": "https://www.youtube.com/watch?v=eXTQ3z7esjQ" }
it our because the Box can't reach out to the internet but right here it has token so if a token doesn't match what's on the page it's going to reject the request because that's how cross site request forgery tokens work and it's Unique every time the page loads so we have to make sure we grab that token now we're goin...
695.16
0
{ "video_id": "eXTQ3z7esjQ", "title": "HackTheBox - Sea", "url": "https://www.youtube.com/watch?v=eXTQ3z7esjQ" }
file and we're going to do make D dubdub dub I'm going to move exploit into this directory and we can do WG okay and if we unzip main dotzip we can see what it is if we just go in rev shell then rev. PHP we have a PHP reverse shell so okay let's remove rev shell main we don't need that directory um I'll open up exploit...
752.16
0
{ "video_id": "eXTQ3z7esjQ", "title": "HackTheBox - Sea", "url": "https://www.youtube.com/watch?v=eXTQ3z7esjQ" }
switch out to this and let's see we can grab these this should be fine and then I'm going to press F12 we can zoom this in a little bit and go to the console okay so if we see what URL without log is that's just going to be c. htb which looks good um if we do URL without log base though it's just slash and if I look at...
841.16
0
{ "video_id": "eXTQ3z7esjQ", "title": "HackTheBox - Sea", "url": "https://www.youtube.com/watch?v=eXTQ3z7esjQ" }
htb um so here's the script running it's going to attempt to write xs. JS and then sends that so that should all be good so I'm going to run this let's see there we go that looks good we need to copy this and we'll go over to the how to participate contact and then refill out this form paste this submit and it'll proba...
912.92
0
{ "video_id": "eXTQ3z7esjQ", "title": "HackTheBox - Sea", "url": "https://www.youtube.com/watch?v=eXTQ3z7esjQ" }
saw anything hit main. zip so I'm going to assume that the cross state scripting request failed and it probably failed because of that URL um that we looked at before so let's go ahead and go back into our console window do we have it here we don't um it's probably on this contact form if I hit up there we go so what I...
1,006.36
0
{ "video_id": "eXTQ3z7esjQ", "title": "HackTheBox - Sea", "url": "https://www.youtube.com/watch?v=eXTQ3z7esjQ" }
is Slash and that's definitely not good so I'm going to edit the script let's do V exploit. pi and where it says path name I'm just going to put first name and that should make this URL reverse um c. htb install module so I think that's where it was having issues so let's do that and then we can send this form again ma...
1,073.36
0
{ "video_id": "eXTQ3z7esjQ", "title": "HackTheBox - Sea", "url": "https://www.youtube.com/watch?v=eXTQ3z7esjQ" }
box so I'm going to go themes rev. PHP it looks like it did right um and this is the let's unzip that file again we can go over the arguments so if I look at rev shell main rev PHP it's not edited to have our IP address here but there are arguments L host and L port in the reverse shell to send it so let's put those in...
1,158.76
0
{ "video_id": "eXTQ3z7esjQ", "title": "HackTheBox - Sea", "url": "https://www.youtube.com/watch?v=eXTQ3z7esjQ" }
enabled c.com I was going to guess it was in for a dubdub duub but I always like showing the like foolproof way to do it look at the Apache config find out the document route and then we can access it that way right so let's go CD verdc and then let's see we have contact PHP index PHP plugin seams uh let's go to data I...
1,238.96
0
{ "video_id": "eXTQ3z7esjQ", "title": "HackTheBox - Sea", "url": "https://www.youtube.com/watch?v=eXTQ3z7esjQ" }
do let's see no hash mode v hashes c I'm surprised that didn't me work let's do example hashes this is going to be like some form of bcrypt I believe um bcrypt probably 3,200 I'm guessing like two um something dollar this looks fine I'm going to do mode 3200 and we'll see Das mode 3200 the hashes on one token length ex...
1,307.96
0
{ "video_id": "eXTQ3z7esjQ", "title": "HackTheBox - Sea", "url": "https://www.youtube.com/watch?v=eXTQ3z7esjQ" }
that but being double quotes is what like made me start going down that path my mind so if we look we have recovered the hash and the password is My Chemical Romance so we have this password that it gets us into um the CMS the Wonder CMS we could also look at Etsy pass WD grap for every line that ends in sh for users a...
1,421.88
0
{ "video_id": "eXTQ3z7esjQ", "title": "HackTheBox - Sea", "url": "https://www.youtube.com/watch?v=eXTQ3z7esjQ" }
going to grip Das capital r for this port and then let's hide error messages and it looks like my shell has just died oh it came back nothing there let's look at port 8080 and let's see we have system D monitoring service so this is probably going to be what is listening on port 8080 let's cat this file and we see this...
1,497.48
0
{ "video_id": "eXTQ3z7esjQ", "title": "HackTheBox - Sea", "url": "https://www.youtube.com/watch?v=eXTQ3z7esjQ" }
other end and the password is My Chemical Romance logged in so now we should be able to go to 1271 Port 8081 that'll send it through SSH connection and um8 on the host and we want username credentials let's do a My Chemical Romance for the password and we get logged into this system monitoring so we have dis usage syst...
1,572.32
0
{ "video_id": "eXTQ3z7esjQ", "title": "HackTheBox - Sea", "url": "https://www.youtube.com/watch?v=eXTQ3z7esjQ" }
the list actually because this sequential L error okay so maybe we can try to inject PHP into the log file so that's what I'm going to try first um so let's just do a curl 10 10 14 101 1128 slash Please Subscribe and do we see that request we do awesome so now let's put our user agent to be PHP um Echo hello uh that's ...
1,650.48
0
{ "video_id": "eXTQ3z7esjQ", "title": "HackTheBox - Sea", "url": "https://www.youtube.com/watch?v=eXTQ3z7esjQ" }
contents so it's not vulnerable um let's see we could try like command injection right let's do an ID command and something weird happened dis usage analyze log no suspicious traffic detected see can we just get the um root root. text no suspicious traffic let's see Etsy pass WD can we get this we get some things can w...
1,791.6
0
{ "video_id": "eXTQ3z7esjQ", "title": "HackTheBox - Sea", "url": "https://www.youtube.com/watch?v=eXTQ3z7esjQ" }
exits so it looks like the shell may die pretty quickly run this we get the Shell let's see and it exits so let's try using a noop if we do no hop we'll put the plus there to youl encode plus Amper sand you all encode that is that going to give us a better shell it helps if I type no Hub correctly maybe not let's see I...
1,909.72
0
{ "video_id": "eXTQ3z7esjQ", "title": "HackTheBox - Sea", "url": "https://www.youtube.com/watch?v=eXTQ3z7esjQ" }
PTY spawn b bash like that s2i raw minus Echo foreground then export term is equal to X term so I want to see exactly what's killing it so this is all like Beyond rot I want to just look at things that made me curious when I was Sol solving the box I'm going to do pf- forest and this is going to help me find other thin...
2,006.24
0
{ "video_id": "eXTQ3z7esjQ", "title": "HackTheBox - Sea", "url": "https://www.youtube.com/watch?v=eXTQ3z7esjQ" }
zero then it's going to restart the monitoring service so what's happening here is this process on port 8080 is probably running as PHP right let's see p 8 80 funny it's l i wonder if it's screwed up because of my um no Hub because that should be the PHP service um that was in this pane we cat this file right so this i...
2,080.32
0
{ "video_id": "eXTQ3z7esjQ", "title": "HackTheBox - Sea", "url": "https://www.youtube.com/watch?v=eXTQ3z7esjQ" }
this that's the amp understand right yeah so if we do n cvnp 91 make this request that's unauthorized send it we got it one Mississippi two Mississippi now it fails because again it just took two seconds to run and then if we oh that's rude it killed my whole Shell let's get this back CU we still need that to finish th...
2,156
0
{ "video_id": "eXTQ3z7esjQ", "title": "HackTheBox - Sea", "url": "https://www.youtube.com/watch?v=eXTQ3z7esjQ" }
commands as root right so you can do anything you want um another alternative would be like edit the pseudo file so if we cat Etsy PSE sudoers um we can C it on our box pseudoat Etsy pseudo or we can just do it here so let's say we didn't want a reverse shell but since we had a shell already we're free to cat Etsy sors...
2,253.16
0
{ "video_id": "eXTQ3z7esjQ", "title": "HackTheBox - Sea", "url": "https://www.youtube.com/watch?v=eXTQ3z7esjQ" }
running it's going to be a cron somewhere so it's not in cron tab not there verse bu CR CR tabs nothing in rout okay so home goscripts contact. is probably going to be the bot so we can see exactly how this works so we have this xss function and that's just going to go to login URL going to log and then on Main it's go...
2,326.48
0
{ "video_id": "eXTQ3z7esjQ", "title": "HackTheBox - Sea", "url": "https://www.youtube.com/watch?v=eXTQ3z7esjQ" }
HTP where's all those am I intercepting right now I am turn it off uh it was what um login URL My Chemical Romance so this is going to be a really odd thing so whenever a page is sent here so if I do um page is equal to IPC it gets reflected here right but if I wasn't logged in let's just open a new window it doesn't g...
2,390.4
0
{ "video_id": "eXTQ3z7esjQ", "title": "HackTheBox - Sea", "url": "https://www.youtube.com/watch?v=eXTQ3z7esjQ" }
putting a um single quote and that to escape it and then I think it did like that or something right so now let's look at exactly what thing looks like so we have canceled out of the form action and then we kind of broke that but we have straight HTML here so we can probably just do image source at this point if we do ...
2,481.04
0
{ "video_id": "eXTQ3z7esjQ", "title": "HackTheBox - Sea", "url": "https://www.youtube.com/watch?v=eXTQ3z7esjQ" }
directory name the type as a theme and the token so let's go ahead and make our own xss payload and it's going to be a lot simpler than what they had right um so let's go I'm going to rename rev shell main to IPC and then we'll zip-r ic. zip so now we just rename the shell because I think we do ver dubdub duub C and go...
2,595.04
0
{ "video_id": "eXTQ3z7esjQ", "title": "HackTheBox - Sea", "url": "https://www.youtube.com/watch?v=eXTQ3z7esjQ" }
link and then all I want is that and I'm going to get rid of token or the value at least and we're going to do token like this so we're just putting that variable there and then the payload install module will be 10 10 14 8 8,000 I think we called it ic. zip directory name I'll leave it as Sky type theme token that loo...
2,688.599
0
{ "video_id": "eXTQ3z7esjQ", "title": "HackTheBox - Sea", "url": "https://www.youtube.com/watch?v=eXTQ3z7esjQ" }
web server accepts like if it's get post whatever so I like saying no cor so it doesn't do that then we want to put a um credentials to include this is going to include the PHP session ID right and then we can do headers uh this is a get request we don't need to set the header if we're doing a post request then we woul...
2,772.72
0
{ "video_id": "eXTQ3z7esjQ", "title": "HackTheBox - Sea", "url": "https://www.youtube.com/watch?v=eXTQ3z7esjQ" }
intercept mode so we can see things okay so I'm going to intercept the response to this so we can see it so we make the request to this which is going to put the cross a scripting on our page we can see right here if I go PJs script Source htttp 1010 whatever like this so we haven't had the request yet now I'm going to...
2,857
0
{ "video_id": "eXTQ3z7esjQ", "title": "HackTheBox - Sea", "url": "https://www.youtube.com/watch?v=eXTQ3z7esjQ" }
on the login page that could be like maybe the C surf token isn't even there let's see I don't have the web server running right now let's run this again with the log URL there so intercept the response forward and we have token so we do have a token it's going to be 3D whatever so I'm going to forward this and it stil...
2,993.44
0
{ "video_id": "eXTQ3z7esjQ", "title": "HackTheBox - Sea", "url": "https://www.youtube.com/watch?v=eXTQ3z7esjQ" }
this is that it it must be how we'll scre like building the for so what I'm going to do is use their exact payload let's do Python 3 exploit. Pi um like this it's probably because they actually rebuilt the form and we destroyed it that's going to be my guess let's just add that real quick they do login URL question mar...
3,164.079
0
{ "video_id": "eXTQ3z7esjQ", "title": "HackTheBox - Sea", "url": "https://www.youtube.com/watch?v=eXTQ3z7esjQ" }
so we going to for this and do we just not oh we're not listening okay refesh forward we should see p. JS I'm guessing we don't intercept that one but here we go our browser is now requesting to install the module so that's how the exploit works right um this was somewhat tricky to get working because we had to build o...
3,284.28
0
{ "video_id": "eXTQ3z7esjQ", "title": "HackTheBox - Sea", "url": "https://www.youtube.com/watch?v=eXTQ3z7esjQ" }
okay so what I'm going to do is we close out the form and then we can do image source is equal to X and then on error we do a fetch so I'm going to do fetch http 10 10 148 P 8,000 and let's see I'm just going to do xss test real quick let's make sure this works you do fetch that looks fine I'm actually to do single quo...
3,368.839
0
{ "video_id": "eXTQ3z7esjQ", "title": "HackTheBox - Sea", "url": "https://www.youtube.com/watch?v=eXTQ3z7esjQ" }
this so let's send this page now what did I copy up to index paste that and we didn't get anything and looking at it becomes very obvious we didn't URL encode so the plus got translated to a space right so we want to ur en code the plus which I believe is Tob uh we could probably just go in repeater highlight control U...
3,469.68
0
{ "video_id": "eXTQ3z7esjQ", "title": "HackTheBox - Sea", "url": "https://www.youtube.com/watch?v=eXTQ3z7esjQ" }
then install the theme manually instead of like using the um cross site request to instruct the users browser to install the theme we can just do a like session replay attack and take their session and have admin to the CMS our right um that also works let's see JavaScript base 64 in code did I do this wrong b2a I did ...
3,606.16
0
{ "video_id": "eXTQ3z7esjQ", "title": "HackTheBox - Sea", "url": "https://www.youtube.com/watch?v=eXTQ3z7esjQ" }
out go to how to participate contact form website that is good let's do this submit form submitted so now we just have to wait for the bot to kick off um let's see su- goo t-l we can probably just run the script ourselves to speed things up should be logging in there we go so now we have their PHP session ID so we coul...
3,734.839
0
{ "video_id": "eXTQ3z7esjQ", "title": "HackTheBox - Sea", "url": "https://www.youtube.com/watch?v=eXTQ3z7esjQ" }
what's going on YouTube this is IC and today we'll be doing sightless from hack the box which is a nice easy box it starts off with finding an outdated version of SQL pad running which has several vulnerabilities we'll play with the server side request forgery but really this just gets us Recon information it doesn't r...
0.12
0
{ "video_id": "6CsH0DO_00w", "title": "HackTheBox - Sightless", "url": "https://www.youtube.com/watch?v=6CsH0DO_00w" }