text stringlengths 4 952 | start float64 0 9.37k | duration float64 0 0 | meta dict |
|---|---|---|---|
It's a capital R here, right? LS Python 3. I don't know why I did dash M. It's just responder it ton zero. | 4,248.159 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
So when I do this and we're going to have socks enabled do the check. We don't get any output here, right? I'm going to do a pseudo wire shark and my computer's going to go slow potentially. Free up some memory. | 4,261.36 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
Uh where's ton zero? Hit this. We can see it making requests, right? Uh do follow HTTP stream warrant stream 3. And this header is because it was negotiate. It's trying to do something with Keraros. Um, and how the program works, the first request is always going to come from the Python library. We can see this is Pyth... | 4,280.719 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
Negotiate just means use the strongest one. If you have kerros, use kerros. If not, then fall back to probably um NLM, right? And the older version of responder doesn't have this header. So, this one is where we actually steal the net NLM v2 hash, but it's doing a curb roast request. In the NLM authentication, you'll s... | 4,322.32 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
I'm going to stop this. We're going to switch over to um the other responder and I'll show that real quick. So pseudo responder it ton0. | 4,349.04 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
Let's make sure we are started. Continue without saving. Go here. Check. | 4,364.4 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
So stream two. I'm going to follow this stream. | 4,372.56 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
And we see there's only one dubdubdub authenticate net uh NLM. And then if I go into stream three, we do follow HTTP stream, we see this header is really small. That's just going to be like NLM SSP. I want to say echo base 64-d. Yeah, NLM SSP. | 4,377.92 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
So that's the thing is trying and then we steal the hash, right? So essentially what my um issue is saying is if we remove that extra header then it just magically works. Um so I'll show that real quick. And this took me the better part of a day to figure out. I'm showing it really quick in the video, but lots of troub... | 4,402 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
Right? This authentication did not stick out to me. Um, packets.py is what I want. So, I'm just going to v packets.py. | 4,438.48 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
Go here. And we're going to comment this out. | 4,451.92 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
Change this to just dubdubdub off. Save it. | 4,458.4 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
Run this responder. And hopefully the demo gods don't bite me. And this just magically works. Now, make sure we're on socks. Check. And there we go. We got it. So, hopefully you enjoyed this probably I don't know a 10-minute tangent showing this small troubleshooting. But if you are trying to get this net nm2 hash and ... | 4,464.08 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
there is no um signing required, which means we'll be able to do NLM relaying. | 4,526.159 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
So, let's just um set that up to go here. So, let's make dur um I'm going to do relay because it's going to create a bunch of files and I don't feel like putting it in that directory. Um, I'm going to make sure I'm root because this has to listen on a lot of ports and we will need to use proxy chains because we take th... | 4,532.4 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
And then we want to stand up a HTTP port. Um we could do 80 again. I'm just going to do 9090. Um and then all we have to do is go back to where our SOCAD is and then put this at 9090. | 4,576.32 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
So when a connection comes on 9090, we're going to use that and attempt to authenticate to the domain controllers LDAP, right? So let's send this. We get a client request. We forward it. We authenticate it as Dark Corp service account. We enumerated the privilege dump domain info and we have bunch of information here, ... | 4,595.04 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
If we look at member of, we see we're a member of DNS admin. So chances are we can create DNS accounts, but there's really no other scary privileges, right? If I go down to outbound object control, there's nothing else. Same certificates. So there's not much more we can do but we can create um accounts. We can also try... | 4,632.96 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
What is it? HTTPS 172 1621. | 4,662.08 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
This will probably be the domain controller, right? Uh s serve So, we probably have the certificate service here. Um, instead of disabling the proxy, I'm just going to use Chrome. Where is it? Uh, certify wiki. They have the enrollment URL here. So, what we're going to do is forward the communication over to the certif... | 4,669.92 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
Serve. So the default URL isert serve finish.Aasp. | 4,710.32 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
So let's try um doing ntlm relay there. So the target is no longer going to be ldat. It is going to be um https dco1 dartcp.htb. htbert serve cert finish and we'll do d-adcs to try to um have it enroll in the certificate. I still have this ox proxy up. Go here. We request negotiating NLM has failed. So NLM authenticati... | 4,717.12 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
It looks like NLM is disabled. I don't know how to fingerprint it beyond that, but um we can use KB relay. And now when we use KB relay, we're going to need to give it a um host name. And we're going to have to do a weird trick to marshall something. So we can also become DC1. We can't just make the DNS request DC-1 be... | 4,797.679 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
Server started. Let us do this. | 4,859.52 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
Controll LDAP. Um, there we go. A record has been created. | 4,866.8 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
So now we want to use Kobe B relay. So we have to go ahead and grab that. Um, Kobe relay GitHub. Um, is this the what I used three years ago? I want to say it was this one, right? | 4,875.12 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
This is more recent commits. I hope this is it. Get clone k relay. | 4,895.36 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
Um, we already have a Python VM. Uh, we probably have to install M packet too, right? Um, maybe not. | 4,905.199 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
Uh, oh, I'm not in a VM. Let's just do this real quick. Python 3-m. | 4,920.48 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
Let's create this source VM bin activate. | 4,930 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
Uh, let's go install impact real quick. That's under the Fortra repo, right? | 4,940.639 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
Yep. Let's just clone this. | 4,946.639 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
And I like setting up this VM. It may have worked without it, but um I think it's easier for the video if it's set up because your environment may not be the same as my environment, right? So that's why I like just taking the extra 5 10 minutes to set this up. | 4,952.4 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
Okay. And now we have this weird issue. Um this is what I wanted to show. I think the latest version of impact got rid of this and um the fix I have is probably a bad one. Um, if we gppp this on the M packet, we can see, let's see, let's just go out of here. | 4,972.56 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
GP get file time off this file and we'll do dash A5. There we go. Here's the function of get file time. I think they just removed it out of the library. So let's run this KB relay again. Um it's going in where is it?VM. Uh where is it? Oh KB not VM. We can do lib servers SMB relay server.py. | 4,996.32 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
It's going to attempt to import get file time. Let's just comment that out. and then create that function. I think it's four spaces. Yep, I did 4x. | 5,034.96 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
There we go. And there we go. It rocks. Works. So, let's see. To do a KB relay, uh, what do we have to send? I'm going to put it in debug and we're going to forward it to https dc1 dart corp.htbert htbert serve certin.asp ADCS um address already in use. | 5,047.76 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
Is that going to be DNS again? Oh, that is just DNS. I'm not using DNS, so I'm going to ignore that error. So now if I do check oh I actually have to do something else. Um we're not actually going to use this to set the request because this is going to be the service account for the web the SVC um service. We can also ... | 5,086.159 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
And then what I want to do here is a proxy chains. It's actually in the um KB relay. Proxy chains print a bug. Okay. And we want to authenticate with Dart Corp Victor R. And then that password get creds. Copy. | 5,134.56 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
Put in the password here. And then at web01.darkcp.htb HTB and then we will say um our domain which was IPSAC uh Python 3. Let's see. We authenticate. We receive the connection, but it doesn't do anything with the connection. And this is because um we're foring the Kerros request over to the domain controller. And when... | 5,171.52 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
Why does it really want me to click bicycles? All selecting images. Oh, there's a bike. There's a bike. There we go. | 5,238.4 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
Come on, Google. There we go. This an active article. So, I would highly recommend reading this. | 5,252.32 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
Um, this is how it's going to show like when it does a um cred on Marshall target info. It expects something like this. And it's like a buffer thing, right? And expects like target and then SPN or something. But if we just append our host name with this string like a blank marshall or whatever it wants to be called, it... | 5,259.679 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
So we're going to do the same thing except up here uh we got to go back to NLM relay. We're going to add the record and we're going to do instead of ipsseack DC01 and then that I know it looks weird. So let's copy this. | 5,293.52 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
Um what? | 5,314.159 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
Let's do deactivate. It's probably something weird going on with my VM with impact. There we go. | 5,324.88 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
Um, still in socks. Check. Let's create this host name. | 5,335.84 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
Okay, there we go. We have now created that weird dco1 and that host um source.vm bin activate. Let's do the same kb relay. And now we're going back to printerbug. | 5,341.28 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
And what we're doing is tricking the web 01's printer spool service to connect to this domain or this host name, right? And when it does, it's going to call that credit on Marshall and the target's magically just going to be DC1. But this unique one comes back to us. There we go. Um, it did not work. So, he probably sc... | 5,359.44 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
Petite Podm. See, maybe we want this. Is this what I put in? It is pretty picky. Uh, there is no B. So, I did the wrong uh Marshall. So, you can't just grab anything apparently. Uh, deactivate. | 5,394.4 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
Let's try this again. NLM relay. | 5,413.52 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
Let's add this record. I want to say this is the right record. | 5,419.36 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
Um, check. Should add the host. | 5,425.44 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
There we go. We have now added it. Source GB relay. | 5,431.6 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
Let's do that. Print a bug again attempting to trigger. There we go. So now we have authenticated and we got this certificate and we're actually going to be the um web 01 machine account. So let's use certifi now. I can probably deactivate this. I'm going to copy this unknown certificate up to directories. | 5,440.56 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
Um, we don't need to be root anymore. So, we can do a proxy chains certifi um off pfx unknown domain dark corp.htb htb DCIP 1721621 and hopefully we'll get the NLM hash of this account. There we go. Um, saving credential cache and we have the NLM hash of web01 right here. So, what we can do with this is create a servic... | 5,472.08 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
Uh, what is this? Dartcp.htb.u. Uh, where's the SID? | 5,548.96 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
Uh, we can just get it from any user. Uh, let's do uh we're Victor, right? | 5,556.159 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
So, user account control, the user SID, the last three digits is going to be the user ID, but this is going to be the domain SID. So, we can get that. And then after the domain SID, what do we need? Um, SPN. | 5,564.08 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
So, I'm going to give it the SPN of CIFS, which is SMB of web.dartcp.htb. | 5,580.239 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
And we're going to say we're administrator. So, if we create this ticket correctly, we will now have SMB access to the box. So what we can do is a proxy chains secrets. Do I not have secret dump? Oh, it's probably because um yeah, that's killing my autocomplete. Um, so we'll do proxy chains secret dump-k web01 dark cor... | 5,589.199 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
Proxy chains. Okay. And the whole reason why we're using the printer bug on We screwed something up. Um I was going to say the reason why we keep using web 01 to do this. You can't really forward um things back to the same target. So this is why we can't do the print a bug to DC1 and get DC1's machine account because y... | 5,637.52 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
There we go. We have started the remote um registry. So now we're dumping the SAM of the computer. A lot of people just run secrets dump against domain controllers and that performs a DC sync. If you run it against a workstation with the appropriate privileges, you should be able to dump the SAM which gets you a lot of... | 5,683.04 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
actually local o. So if we specify local o um we should see it say poned right. | 5,733.28 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
Come on. There we go. Poned. So um that's good. And we see now it's dumping dpappy we or domain cache login dpappy is next. So this is the service account. | 5,742 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
We could try cracking this to get this guy's password but we don't need that. Um, let's now use evil winrm to get on the box. So, we'll do evil winrm- i1721622- u administrator- capital h the hash I don't have the hash my clipboard anymore. Let's now copy this paste proxy chains and let's see cache login machine secret... | 5,754.159 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
much into this binary. Um, if we go into documents cleanup, uh, we can look at this file and all it's doing is potentially restarting this W3 service. | 5,816.48 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
I'm not sure exactly what's doing, uh, the purpose of that, but not much there. | 5,829.199 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
Um, another thing I like doing is just like a get scheduled task. And if you just run this, you're going to get a lot of tasks, right? Um, I like just doing a where then task path not like Microsoft. And this generally does a good job filtering out um nonsystem tasks. Right? | 5,834.239 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
So if you just look at this, we only have two um unique tasks. We have cleanup script and HTTP stability. Now if I want to uh we can dig more into this. So I'm going to do task is equal to get scheduled task task name cleanup script like that. And this should put the task as a variable. All right. Just making sure we d... | 5,860 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
But if we run this now, we can look at the XML. | 5,918.48 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
And let's see, this is running every two minutes. Here's the command it's running. It's running that cleanup.ps1. | 5,924 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
But the important thing to see here is login type is password. This means there's a password stored within this task, right? Um, if we just run net exec. So, let's see. Do I have that machine account? Let's just put that back on my clipboard. | 5,931.04 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
um right here net exec will actually dump this credential for us. So if we did um NXE SMB, we have to proxy change it. Uh let's see 1721622- U administrator- capital H and then Dappy. | 5,948.239 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
If we run this uh ad Oh, we have to do local off. | 5,969.36 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
Um, it'll start dumping everything that's in the systems dpappy. Um, I'm going to show you how to do this manually, but I wanted to show this piece as well. Um, because normally I wouldn't go look at all the tasks. This is one of the commands I probably would just run blindly because it's relatively safe. Doesn't creat... | 5,979.84 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
Uh, it's going to be config system profile and then this is going to be like the system users home directory. So, it's now just app data local Microsoft credentials. Uh this is going to be where the task manager stuff is. So if we just do GCI uh we don't have anything. If I do dash force, we do have this. And this is g... | 6,018.08 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
uh it's an S1518 18. | 6,103.84 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
And we have these three blobs. These are going to be the vaults. So, let's copy this C colon program data. Copy this one. | 6,109.199 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
Program data. And then finally this one. | 6,123.84 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
Okay. So, if we go into program data now, we have all these files. They are still hidden. So, I'm just going to do a tri minus h minus s. And that's going to allow um Evo Winterm to download them. | 6,131.92 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
Evo Winterm doesn't like downloading hidden files. It's annoying, but um it is what it is, right? So, let's just remove all this. | 6,145.04 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
Okay. Now we can download each of these files. | 6,159.36 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
Uh, permission denied. What? | 6,164.88 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
Um, I wonder where my evil winterm is here. I'm in Kobe relay X. So I don't have permission to open because I created that directory when I was root. | 6,170.8 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
Go here. CD program data download. Just download each of these. | 6,185.44 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
Got two more. You can really appreciate how quick like um how helpful those impact modules are to speed this all up, right? But still important to be able to do it by hand just in case like edr or something is getting in the way or you're just working from um a backup that you pulled off the like file server or things ... | 6,201.679 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
And then we want to specify master key dash file. I'm going to try each of these dash key. And it's actually the user key. Um we did say secrets dump up on the other pane real quick. There we go. Dump lsa secrets. | 6,240.639 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
Where is it? Dappy. We want this key. | 6,259.92 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
Paste this. Um, cannot decrypt. Let's try another file. Uh, let's do 378. | 6,266.639 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
Can't decrypt. Another file. | 6,278.08 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
Uh, was 73. | 6,284 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
Uh, oh, I think that should have decrypted. | 6,289.199 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
Um, weird. | 6,294.8 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
Maybe I grab the user blobs and not the master. Um, let's try grabbing the machine key and see if this works. If this doesn't work, we have to redownload the files because I grabbed the wrong thing. Um, that seems to have worked. Does this key decrypt it? Uh, let's do dpappy.py. | 6,301.199 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
Uh, what is the next one? It's a credential-file uh 25e key. Padding is incorrect. | 6,328.159 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
So, that's not it. Let's try the other blob. | 6,339.92 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
File 03. Okay, we can try this. | 6,346.88 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
Padding is incorrect. The final one. | 6,357.28 | 0 | {
"video_id": "miOE_yYh1JY",
"title": "HackTheBox - DarkCorp",
"url": "https://www.youtube.com/watch?v=miOE_yYh1JY"
} |
Uh 378. Let's pray this works. | 6,364.239 | 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.