text stringlengths 4 952 | start float64 0 9.37k | duration float64 0 0 | meta dict |
|---|---|---|---|
So, let's do subject text is equal to subject.get get text strip is equal to true and that is not a parameter. That's going to get rid of like line breaks and things like that. Um, so let's do print subject text. Save rerun this. | 1,492.24 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
Not defined. | 1,525.44 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
Okay, so we have this. Um, I guess we want to remove open a new window. | 1,537.52 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
So here we can doreplace open a new window uh with nothing. There we go. So that's good. Um what else do we need? We need to know who it's from. So we'll do from uh field I guess is equal to uh soup dot uh we want to do a select real quick. Select one. And where is the from? | 1,549.919 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
Uh we can go back to here. Root. | 1,584 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
Is the from going to be here maybe? Let's see. Uh header from TD header from A. So this is probably what we want. Um we're in TD. So that's a TD class. So TD header from and we probably want that a herf. | 1,590.24 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
So we'll do soup select one td header from a and then from text is equal to from field get text uh skip is equal to or not skip strip is equal to true print from text and let's do a subject like that. | 1,615.039 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
Is this right? | 1,660.48 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
Then f from Okay. Save run. | 1,666.799 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
Click. | 1,681.12 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
We did the um that wrong. Wrong. One second. | 1,686.72 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
In Python, I don't think we put the dollar before doing the f string. I think it's just brackets. | 1,692.72 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
So, let's try this again. | 1,699.36 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
Run it. There we go. Um, we have subject twice. | 1,704.799 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
So, let's clean that up real quick. But that looks fine. | 1,710.48 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
So, we don't need to actually put this. There we go. And now we just need to grab the message. So we'll do message body is equal to soup do select one and what do we want to select here? Um please sub. Okay, we want to get the div id of message body. | 1,716.799 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
So here we're just going to say message body like that and then message text is equal to message body get text um strip is equal to true. | 1,744.72 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
Uh we can move these there and then print f. Um let's just do message text. | 1,764.399 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
Okay, I think that's our script. Hopefully you followed that. | 1,782.32 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
Serve. Click unmatched. | 1,788.799 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
Uh something is wrong. | 1,807.279 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
Let's see. This is actually that right. | 1,815.039 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
I think that's right. That's text. | 1,824.08 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
Third time is the term. There we go. Awesome. So now we have everything. Um maybe we want to get rid of this confidentiality notice because I don't want to see that every time. the serve. | 1,831.039 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
Let's doreplace uh let's see. Wonder if I do a triple double quote. | 1,854 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
Will this work? I think it will. | 1,876.24 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
Click. There we go. This looks better. Um, we see this through a lot because that's my cross-ite scripting payloads, right? And we've done that a few times, but this looks good. So, now let us send our payload over to our target, right? And we're going to use bcasedrip.htb. | 1,886 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
That is the email that is in the confidentiality notice. If this doesn't work, then I'd also try like sending it to supportrip.hb. Those are the only two other emails I know of. Right. So, we're going to send this payload and then we're going to wait hopefully a couple seconds and we'll see hits coming in hopefully. Um... | 1,907.76 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
And then we also have this email from Ebble Ford, another user that talks about an analytics dashboard at this domain. So, let's go ahead and copy this. And let's do pseudov Etsy host. | 1,950.24 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
And then I'm going to put this host in. And then let's go over to a browser and navigate there. Um, is my intercept on? It is not. Um, access denied. Please log in. So, if I click login, um, we can try reset password. And I'm going to send it to bcase at drip.htb because we know uh, bcase probably has an account. We co... | 1,962.32 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
the dashboard, um it's safe to say uh they also have an account, right? But let's see. Do we get any hits? Uh which should be coming in any second. There we go. Um welcome to drip mail. Oh, here we go. Subject reset token. So, we can reset it by going here. So, I'm going to copy this link. | 2,021.039 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
Let's go to where it says and then I'm going to set the password to password and now let's try logging in. So we'll do b case as the username password of password and there we go. We get logged in to this application. Uh don't save. There we go. And we don't see too much here. Right. If we click on the analytics tab, i... | 2,044.559 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
Let's try support. Uh we get an actual error. Uh column support does not exist. Line one select star from users where username is equal to support. And this is uh Postgress SQL because pi or sc don't even know how to pronounce that. But that is Postgress's Python library. So we know we're interacting with a Postgress d... | 2,076.079 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
third column is, but essentially it looks like kind of doing a union, right? | 2,139.04 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
But this is just a stacked query. I think that's the terminology where we just run two different queries, right? | 2,144.32 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
Um we could check our user. So if we do a select current uh setting and fix this typo uh what is it? I think is super user. I think that's the um setting. We see on so we know we're a super user and in Postgress you can run commands and that is through the program syntax. So, I'm just going to do select one to program ... | 2,149.839 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
Um, we need a copy. Um, I think it's uh username copy select one to program ID. I think that's actually how we're supposed to do it. | 2,185.44 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
um hit enter and we get an error. And looking at it, it just says select one to program ID. It actually erased our copy because if we look here, we sent copy after the semicolon and we don't have it there. So if I just do ipsack, let's see, username is equal to IPSC. If I do copy username is equal to nothing, right? If... | 2,205.28 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
then wrap it in uh these double quotes or double like dollar signs. So now we can say declare C as text and C is going to stand for command in this case. And now that that says text, we can say begin C. And now we can do some light obuscation. I'm going to use the character. Um, and if I go to manasky, let's look at wh... | 2,286.48 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
So now we can do care. And then what is O? Um, looking down 79. | 2,327.599 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
And then we'll just do care. I want to say 80 is P and then Y is 89 I think. So this is copy right here. So we're just obiscating the string because we expect the application I'm guessing flask because that's what our last one was is um just doing a search and place on copy, right? So hopefully this gets us around that... | 2,337.28 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
then after this we want to end our like string building and we can say execute C to execute this string and then we do end and then the double dollar and I think that's going to be our query. So, let's go ahead and copy this and then let's do nvmpp 90001. | 2,410.64 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
We'll run this and we get a shell. And if you're wondering where I learn all this from, this one's probably from like payload all the things, I'm guessing. So, payload all the things postgress copy program. And this is all stuff you just get from experience, man. Come on, Google. I am not a robot. Don't make me do a ca... | 2,442 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
Uh, bicycles. Come on. No bike there. No bike there. | 2,466.079 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
This should be fine. I passed that test today, thankfully. | 2,471.839 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
Come on. Um, GitHub. | 2,477.92 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
There we go. uh copy to from program. Right? So after you do enough of CTFs, you start getting used to it. This is just doing like an Xfill. This is copying shell from program. Um so we create a table then copy the results to this I think. But yeah, so that's kind of where I learned this. It's just once you do it a 100... | 2,484.079 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
SSH makes it easier not like having to upload chisel and run all that. So uh let's just get our shell real quick. Uh let's do format ED25519. | 2,548 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
Uh file I'll call this PG. | 2,559.2 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
And the format ED25519 just gives me really small uh public keys so it's easier to copy and paste around. Uh echo this to authorized keys then sh-ipg postgress at 10 10 1154 and we get in. Awesome. I'm just going to exit this shell cuz we don't need it. And whenever I land on a web server, I always like going and pilag... | 2,564.88 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
We can do slash dd to show tables. And there is a users table. So we can do select stir from users and Postgress is weird. It wants the table in quotes. I forgot a semicolon. And then we can get hashes for the user. This is going to be the password hashes I believe. Um it says client hash there. And none of these actua... | 2,615.119 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
that account so that's how I would be paging the database um if we do a w or was it a groups command on Linux we just see we're a member of Postgress and SSLERT if we wanted to we can go in the Postgress logs so if we do Postgress SQL um we have files here so if I do like a grap users on star uh we're doing select star... | 2,673.92 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
Crack. And we can see Ford's password is the plague 61780. | 2,740.64 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
This doesn't really get us anything. We could sh to the box as this user, but um there's not really much else we can do from that. I can do everything I need from Postgress. So, I'm not going to worry about that. Um, if we looked at like ver backups, we could see, let's see, um, there is a Postgress folder and we have ... | 2,746 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
things like that to filter. So this is where we see oh we have backup. Uh we have logs, backups, things like that. I always like just looking at what my user and my group um own. And that's a good way to do quick um enumeration of things. But we do see there is um this dev dripmail oldsql.gpg. If we um le this, it's go... | 2,826.16 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
the application itself, but nine times out of 10, it's going to be in an environment file. Right? So, we see the DB pass for this is here. So, let's just go ahead and try this. So, let's do that. GPG um decrypt again. Is it? | 2,898 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
There it is. Paste in that password. And there we go. It decrypts. Um I'm going to just put this as al.ext. And I'll put it in devshm. I like working on dev dev shm because I don't have to remember to delete files. | 2,917.599 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
That's a temporary file system. So as soon as the server reboots, it gets cleared out anyways, right? So I always like putting in there. And we have um looks like more hashes, right? So let's do a um grap- o capital p and we'll do a through f 0 through 9 32. And what this is going to do is um show us only things that m... | 2,934.16 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
Uh, let's go bicycles again. Uh, there's two bikes there. There's a third bike. Verify. Awesome. And we got Ebo Fords again, but we also have Victor one uh Gustav or something. So let's just do GP on this on out. And there we go. Victor R's password is that. So uh what we should do is vcreds.ext I think it's eel Ford a... | 2,974.559 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
Awesome. Save that. And let's see. Um, if we grab everything that ends in sh on Etsy pass WD, we don't see any user for Victor, right? If I cat Etsy host, we do see other um computers. We have the DC. We have drip.dartcore. If I try ping 172 16 22. | 3,020.079 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
We also have another host there. We can try 24 25. | 3,047.44 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
Um, but we have three host. Uh, 21. We know that's the DC. 23. That's going to be the box we're on. I think that's the box we're on. IPA. Yeah, 23 is the box we're on. And 22 we 20.2 is what we don't know. So, let's go ahead and set up a uh proxy. So, that first line on the key is going to be that squiggly C. So, I'm g... | 3,052.559 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
Uh we'll do dco1.d dark quark.htb darkcorp.htb. | 3,108.16 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
Save that. And then let's see if 22 is also going to be a windows host. It is. That is web 01. So this is probably running some type of web server. So let's go ahead again. 1726 23 uh 22 web 01 dark corp htb dark corp htb and I guess we could do drip as well. Might as well. 172623 drip drip darkcp.htb and I don't know ... | 3,115.119 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
through a proxy tunnel. So, this is going to treat all pings as success. And then we can say 1721622. | 3,183.04 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
And this looks like it's starting to work, right? Um there's going to be a lot of failures because it's just trying to go to ports it can't. Uh what else could we do? We can use net exec and try some of these creds, right? So, cat um creds. I probably should have done that up here. And we can say proxy chains SMB uh le... | 3,191.76 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
Man, I should not trust myself typing this whole string. | 3,255.119 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
Let's see. Did I do it justice? Does it work? And awesome, we get in. Well, we don't get in, but we have an authentication. So, from here, I always like running rustound. So, we can do rustound. Um, I think it's like dash user. Let's see. Dash u-p d is probably what I want. Dash u. Oh, that's going to be dashp. We'll j... | 3,260.319 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
And domain is dash d. | 3,291.76 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
I have -ash u twice. Let's see. Does this authenticate? No, it doesn't because we have to proxy change it. | 3,300.16 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
There we go. We're running uh Rust Hound. And we also have the end map finished. So 172622 has 80 5,000 open. We also have SMB. So let's go ahead and try 172620.2. two and we want to change this to be a sock proxy. I already have proxy proxy set up to use 1080 and we just get IIS's page. So let's try changing this to p... | 3,312.72 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
server, we should be able to access it. And I've been in the habit nowadays to use um Chromium for accessing Blood Hound just because I find Firefox for some reason at least from Parrot to be incredibly slow when interacting with Blood Hound. So um that's why you see me switching over to Chromium just for this tool. Ri... | 3,381.359 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
Maybe I screwed it up. Eclimation one. Come on. There we go. Uh let's see. No data available. Let's go to the ingest and we will upload files. Uh htb where is dark corp and give it all these JSON files. So now we'll do upload. And we are now ingesting. It's going to take probably uh 30 45 seconds, maybe a minute to ing... | 3,412.4 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
Uh, I probably should close Burp Suite or something. I may have to just give this VM more resources. Something is using it all. Um, let's do close multiple tabs to the left. We don't need any of those. Okay. Hopefully that speeds it up. Uh, Victor R. Let's mark you as owned. | 3,472.88 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
And then if we look at outbound permissions, we have four. And this looks normal. Domain user, we can enroll in a few certificates. So nothing too fancy here. If we go over to uh cipher queries, we can also go like uh shortest path from owned objects. And what does this say? | 3,497.359 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
nothing. We don't really have anything. | 3,523.39 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
Uh let's see. Let's go to another shortest path. Uh two tier zero or high value targets. | 3,528.48 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
And this seems messy. Let's see. We have administrator highv value of course. Um Taylor B ADM is probably going to be some type of high value because they are a member of GPO managers. So, they can probably like uh create group policies. And I don't really see much else in Blood Hound. So, let's just go back to this pa... | 3,535.52 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
because this is a bit quicker. We can see let's see my post request. | 3,602.96 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
We said port 80. So, we can probably make this any port we want, right? Um, we're probably not limited to the three. It just has three because that's the default, but let's see. We can say 22 send uh response inval. I'm not sure exactly what happened there, but I'm guessing we may be able to change things. Um, or maybe... | 3,609.119 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
socks proxy 127001 1080. Let's use it. | 3,672.72 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
And we will do a check. Now we're here. Let's set it to 22. | 3,679.92 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
Forward. An error occurred. So I think we can actually get this to change things. Um, I'm actually curious. Uh, host. I wonder what if we do 10 1048 and let's change the port to 9,0001, right? NC LVNP 90001 for this. It does not come back to us. Um, we just get a generic error. So maybe we can't change the port to be a... | 3,687.359 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
Um, or it could just be checking web, right? I don't know exactly how this check is working. Uh, let's see. One last thing real quick. Uh, we should have a shell somewhere, right? There we go. Let's do Python 3 MHCP server 9,0001. | 3,722.72 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
Okay, let's see. Let's give the history. | 3,744.24 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
We keep getting not authorized. | 3,751.44 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
That's weird. I wonder if Burp isn't doing this um authentication. Something odd is going on here. I think let's just do check. Intercept is on. 9,01 forward. Error occurred. We didn't get a page. | 3,759.119 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
Um, I'm just going to try this. Turn it off. | 3,782.4 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
Yeah, I think Burp is not doing the NLM authentication correctly because now that I'm proxied, um, we're just getting unauthorized all the time. So, that is definitely odd, but uh let let's just move on. | 3,789.68 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
Uh let's close that, I guess. Definitely don't need it. So, did I was I sending it to the wrong host? | 3,808.319 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
God darn it. I really want to see. I'm sorry for wasting your time, but hopefully um you find this valuable to see. I'm really curious what is going on here. Uh let's go here. And these are the tangents I do when I'm solving the video or solving the box. Uh I always go on these weird things. So now we're definitely goi... | 3,821.2 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
rep 8080 is not listening. So what we can do is listen on AD80 and forward it back to us and then we'll be able to have the server reaching back to our box. So let's go ahead and try this. And the gateway ports is not on the box. So we can't use SSH for this. Normally you could do like - R the um interface the port you... | 3,901.44 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
-ash KR127001 8080 unknown port forwarding. Let's just restart SSH. Uh we can do our dynamic tunnel because we know we need that. And I'm going to use um soat. So let's do a um which socat make dubdubdub cp user bin socat here I'm going to hope this the same architecture we could just run this uh kill that server so le... | 3,964.319 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
And awesome, the program executes. So here we want to make it um listen on 8080. So I'm going to do soat TCP listen colon 8080 reuse address fork and we're going to forward it to 10 1048. Um I'm just going to do 80 right now because I want to show it like working with responder. So hit enter. So now this box is listeni... | 4,018.559 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
So if I do pseudo net lvnp 80 then we make this request again we hit here and it sends the request here. So normally when you have this coming um I probably should have shown the headers. Let's see. This is a Python request header. Um, let's see. | 4,057.68 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
Where's it going with that? We can try responder. This is coming from web 01, which is a Windows box. So, if we do responder ton zero, um, is it lowercase R? There we go. Uh, 53 is fine. We're not using DNS. Run this. | 4,085.68 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
It should come through. Um, I already have the hash. Let's do RM user share responder responder database. So you can see the NLM hash. | 4,106.08 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
There we go. This is actually not crackable, unfortunately. But this is the net NLM v2 hash. Um, we can't crack this. We're going to have to depend on NLM relaying. But before we get into that, I want to show something else that I troubleshooted probably for a day when solving this box. Um, my responder worked, but OXD... | 4,122.4 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
Let's take the socks proxy off so we can go to the internet. And let's see. This is not the right repo because this one is stopped. It's like land x, right? Um let's see deprecated active here. Um let's see. Has my issue got any comments? I did put a notice here. So uh essentially there was an update to responder that ... | 4,153.679 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
And we want to be root because we got to listen on low privilege ports. Um, and I generally don't like using proxy chains with pseudo because weird things happen with capabilities and things break. Um, it actually doesn't matter for Responder because we're not using proxy chains, but I just want to get in the habit of ... | 4,208.96 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.