text
stringlengths
4
952
start
float64
0
9.37k
duration
float64
0
0
meta
dict
Do Martin T mark as owned. And then we want rows.
5,704.159
0
{ "video_id": "q9ms9k02fUM", "title": "HackTheBox - University", "url": "https://www.youtube.com/watch?v=q9ms9k02fUM" }
And then Mark Rose. Come on, Blood Hound.
5,719.44
0
{ "video_id": "q9ms9k02fUM", "title": "HackTheBox - University", "url": "https://www.youtube.com/watch?v=q9ms9k02fUM" }
This is going slow. I'm not sure if you can hear me clicking. I am. I think my Firefox froze. Uh you can see like my CPU is not moving here. This when I'm recording this video, everything is going wrong that could be going wrong. Um I'm going to pause the video and we'll resume when my computer starts responding again....
5,725.92
0
{ "video_id": "q9ms9k02fUM", "title": "HackTheBox - University", "url": "https://www.youtube.com/watch?v=q9ms9k02fUM" }
Uh, not high value. Let's just do tier zero.
5,764.48
0
{ "video_id": "q9ms9k02fUM", "title": "HackTheBox - University", "url": "https://www.youtube.com/watch?v=q9ms9k02fUM" }
Uh, mismatch. Uh oh.
5,772.159
0
{ "video_id": "q9ms9k02fUM", "title": "HackTheBox - University", "url": "https://www.youtube.com/watch?v=q9ms9k02fUM" }
Did something not work with my blood hound?
5,779.28
0
{ "video_id": "q9ms9k02fUM", "title": "HackTheBox - University", "url": "https://www.youtube.com/watch?v=q9ms9k02fUM" }
See shortest path. There we go. We click that run. Okay, let's try first path to domain admin owned objects tier zero. Just this that does not seem to be working.
5,789.6
0
{ "video_id": "q9ms9k02fUM", "title": "HackTheBox - University", "url": "https://www.youtube.com/watch?v=q9ms9k02fUM" }
Why is that query like all commented out? I wonder if that one is just broken.
5,825.52
0
{ "video_id": "q9ms9k02fUM", "title": "HackTheBox - University", "url": "https://www.youtube.com/watch?v=q9ms9k02fUM" }
Um, let's go back to Oh my god, it hijacked my control F.
5,831.84
0
{ "video_id": "q9ms9k02fUM", "title": "HackTheBox - University", "url": "https://www.youtube.com/watch?v=q9ms9k02fUM" }
I do not like how big this font is. Let's just run this query. It's messy, but I'm sure the data will be here. So, where are we?
5,841.36
0
{ "video_id": "q9ms9k02fUM", "title": "HackTheBox - University", "url": "https://www.youtube.com/watch?v=q9ms9k02fUM" }
Who are you? So, this is GMSA. So that's a high value target account operator.
5,854.88
0
{ "video_id": "q9ms9k02fUM", "title": "HackTheBox - University", "url": "https://www.youtube.com/watch?v=q9ms9k02fUM" }
See help desk. So rose. So rose is a member of help desk operators which does this say what edge this is? is a member of account operators which can read the group manage password to this group manage service account which is allowed to act on the DC. So if we get this hash we can then impersonate other users to connec...
5,867.76
0
{ "video_id": "q9ms9k02fUM", "title": "HackTheBox - University", "url": "https://www.youtube.com/watch?v=q9ms9k02fUM" }
So, I'm going back to my Rubious output. And then let's go ahead and grab Rose's TGT. And Rubious outputs in Kirby format. So, we'll have to convert this to CC cache so we can use it. Um, so I'm going to do Rose I think by just echo, right? There we go. B 64 D to rose.
5,908.4
0
{ "video_id": "q9ms9k02fUM", "title": "HackTheBox - University", "url": "https://www.youtube.com/watch?v=q9ms9k02fUM" }
Kirby, I think it was rose l.cirby because her name is rose.l. So let's now do ticket converter and then we'll do rose l.cc cache and looks like it's completed. So now that we have um converted it let's see can we just do carab 5cc name is equal to rose lcc cache nxc um ldapc university htb uh is it dash k for kerros G...
5,932.96
0
{ "video_id": "q9ms9k02fUM", "title": "HackTheBox - University", "url": "https://www.youtube.com/watch?v=q9ms9k02fUM" }
We didn't do something correctly. Let's do a - H cobra roasting. Uh, we probably need to use KC cash cache. That's it. like this.
5,986.159
0
{ "video_id": "q9ms9k02fUM", "title": "HackTheBox - University", "url": "https://www.youtube.com/watch?v=q9ms9k02fUM" }
And there we go. We have the NLM hash of the uh GMSAP client. So we'll use the git st again for a git service ticket. And we can do SPN http DC university http specify hashes. And we're going to use the ntlm hash. So like that. And then um the account name. So, university http/gmssap client01 like that. And we want to ...
6,008.32
0
{ "video_id": "q9ms9k02fUM", "title": "HackTheBox - University", "url": "https://www.youtube.com/watch?v=q9ms9k02fUM" }
There we go. So now we have this ticket. So I'm going to copy this. We can say k5cc name is equal to that. And then all we have to do is evil winrm uh DC University HTB and the realm university htb and we have used the group manage service account to impersonate the administrator because they are allowed to act which g...
6,047.04
0
{ "video_id": "q9ms9k02fUM", "title": "HackTheBox - University", "url": "https://www.youtube.com/watch?v=q9ms9k02fUM" }
What's going on YouTube? This is IPS be doing vintage from hack the box which is a heart assumed breach active directory machine. Meaning we'll start with a set of credentials which may surprise you because normally when you get credentials to active directory it's game over. However, this box has some pretty tough to ...
0.08
0
{ "video_id": "-JM--KfVhpA", "title": "HackTheBox - Vintage", "url": "https://www.youtube.com/watch?v=-JM--KfVhpA" }
Kerros to get hashes, we'll miss one account because it's disabled. So, we have to reenable it. Then we can run our kerro attack, get a password that we spray against a domain, discover there's a domain user that also has that password. We log in as them, decrypt their DPappy credential store, and eventually get their ...
41.2
0
{ "video_id": "-JM--KfVhpA", "title": "HackTheBox - Vintage", "url": "https://www.youtube.com/watch?v=-JM--KfVhpA" }
So I've already ran it. Looking at the results, we see 11 ports are open. The first one being DNS on port 53 and the banner is simple DNS plus. And whenever I see this banner, I always look down to confirm. Yes, this is a Windows Active Directory server. And the first thing I do when I see AD is take note of the domain...
85.84
0
{ "video_id": "-JM--KfVhpA", "title": "HackTheBox - Vintage", "url": "https://www.youtube.com/watch?v=-JM--KfVhpA" }
So I'm also going to add that. So we'll do dco1 and also dco1 vintage htb. And we can save the host file. And then what else do we have? Um, when I look for Active Directory, I see if there's any other services running because there's a lot of ports. Um, but a lot of these are just default to AD. I'm looking for things...
118.079
0
{ "video_id": "-JM--KfVhpA", "title": "HackTheBox - Vintage", "url": "https://www.youtube.com/watch?v=-JM--KfVhpA" }
certificate, we can't even get a response from the server. So this is going to be LDAP secure. 3268 is another LDAP port. I don't know the difference between 3268 and 389 but um yeah there's also 3269 which I want to say again this is the SSL version of 3268 but we can't connect to it because we don't have a client cer...
169.2
0
{ "video_id": "-JM--KfVhpA", "title": "HackTheBox - Vintage", "url": "https://www.youtube.com/watch?v=-JM--KfVhpA" }
This is an assumed breach box, so we do have credentials. So, we could go right away with them. But first, I just want to run net exec real quick. So, we'll do nxc 101011.45. And let's see what we get. Interesting enough, it doesn't pick up the name or the domain. Normally, net exec will just instantly tell you the hos...
202.319
0
{ "video_id": "-JM--KfVhpA", "title": "HackTheBox - Vintage", "url": "https://www.youtube.com/watch?v=-JM--KfVhpA" }
let us log in. Maybe not. Uh principal unknown. Did I typo something? Rosa is best one, two, three. Rosa is I think that's all correct. Um, maybe it really wants host names here. So, let's change this to dco1.vintage.htb. And if this still doesn't work, then I'll also add the domain flag back. But there we go. It works...
257.68
0
{ "video_id": "-JM--KfVhpA", "title": "HackTheBox - Vintage", "url": "https://www.youtube.com/watch?v=-JM--KfVhpA" }
Um so we could do SMB. Uh, we could probably also run blood hound. Uh, we could do other enumeration like d- users will list all the users in the domain, but I really don't like doing a lot of enumeration from net exec just because blood hound will give us all this data and it does a really good job at it, right? Um, i...
315.4
0
{ "video_id": "-JM--KfVhpA", "title": "HackTheBox - Vintage", "url": "https://www.youtube.com/watch?v=-JM--KfVhpA" }
Specify the domain of vintage.htb. The user is P Rosa and then Rosa is best 123. And then we'll specify the name server of 101011.45. And this should get us the users. There we go. And while that goes, let's start up Blood Hound. So I'm going to go to op bloodhound server and then we're going to do Blood Hound port 808...
364.96
0
{ "video_id": "-JM--KfVhpA", "title": "HackTheBox - Vintage", "url": "https://www.youtube.com/watch?v=-JM--KfVhpA" }
And then we will go to HTB vintage. And then we'll upload all these JSON files. Upload. Upload. Close. And it normally takes 2 to 3 minutes to ingest. So I'm going to pause the video here and we'll resume when this is done.
422.319
0
{ "video_id": "-JM--KfVhpA", "title": "HackTheBox - Vintage", "url": "https://www.youtube.com/watch?v=-JM--KfVhpA" }
Okay. So now that it's ingested, let's go over to explore and we can search for what our user can do, which is P Rosa.
441.199
0
{ "video_id": "-JM--KfVhpA", "title": "HackTheBox - Vintage", "url": "https://www.youtube.com/watch?v=-JM--KfVhpA" }
So, if we go to P Rosa, we can click on the account and then I always like looking at outbound object control and we don't see anything. So, it doesn't look like this user has any um special privileges. I'm going to mark them as owned anyways. And then let's just go take a look at what cipher queries we have. And I did...
448.88
0
{ "video_id": "-JM--KfVhpA", "title": "HackTheBox - Vintage", "url": "https://www.youtube.com/watch?v=-JM--KfVhpA" }
used for some type of resourcebased con um constrain delegation attack. It's RBCD. I think I'm going to set this as the starting point. And then I'm just going to set the DC as the final point to see exactly what delegated admins can do. And it looks like they're allowed to act. So we want to get over to um one of thos...
514
0
{ "video_id": "-JM--KfVhpA", "title": "HackTheBox - Vintage", "url": "https://www.youtube.com/watch?v=-JM--KfVhpA" }
an administrator, right? This account itself may not be high value, but if we get access to the account, it's probably going to um lead us towards their ADM account. So, I always like marking the low privilege to high value when I really don't have much to go on, right? So, now I want to look at the password set time. ...
570.48
0
{ "video_id": "-JM--KfVhpA", "title": "HackTheBox - Vintage", "url": "https://www.youtube.com/watch?v=-JM--KfVhpA" }
to be SAM account name because that's going to get us even um less lines, right? We can do a wc-l. We see we're at 518 lines because this is going to get things like extra data that we don't care about. Um, so if we do this and then we pipe that over to a select then same account name like this. Uh, we got rid of six l...
630
0
{ "video_id": "-JM--KfVhpA", "title": "HackTheBox - Vintage", "url": "https://www.youtube.com/watch?v=-JM--KfVhpA" }
Let's see. I think I only escaped the first one. I think I forgot the double quote. So, let's get rid of the escape on the closing parenthesy. There we go. So, we're going to do dash r for raw. And this is going to give us the password change time and a user. So, I'm going to do a sort dash n and then see if anything m...
695.519
0
{ "video_id": "-JM--KfVhpA", "title": "HackTheBox - Vintage", "url": "https://www.youtube.com/watch?v=-JM--KfVhpA" }
Those are different. These service accounts are the same. We also have a service account down here that is more recent. So doesn't mean the passwords are the same. It just means they were set at the same exact time which um gives a good chance of these being the same passwords. So I mean service SQL could also be the s...
725.519
0
{ "video_id": "-JM--KfVhpA", "title": "HackTheBox - Vintage", "url": "https://www.youtube.com/watch?v=-JM--KfVhpA" }
and it's probably going to be something easier to write. But the thing that really sticks out to me is we have this um group manage service account. So I just want to take a look at GMSA over in Blood Hound. So we can do GMSA01 and let's look at how we can get to it. U if we look at outbound object control, this is goi...
776.399
0
{ "video_id": "-JM--KfVhpA", "title": "HackTheBox - Vintage", "url": "https://www.youtube.com/watch?v=-JM--KfVhpA" }
And we see FS01 is a member of it. So, if we look at FS01, then I go down. We can look at inbound object control to see if there's anything odd here. And everything kind of looks standard. So, let's look at member of. And we see this account is a member of this pre Windows 2000 compatible access group. And what that fl...
822.24
0
{ "video_id": "-JM--KfVhpA", "title": "HackTheBox - Vintage", "url": "https://www.youtube.com/watch?v=-JM--KfVhpA" }
KB article that you have to use the way back machine to see it. But um the password of this computer account becomes the same as the computer account in lowercase. And I also think I saw um my user is a member of that. Hold on. I just want to check something real quick.
883.76
0
{ "video_id": "-JM--KfVhpA", "title": "HackTheBox - Vintage", "url": "https://www.youtube.com/watch?v=-JM--KfVhpA" }
We check P Rosa member of pre Windows 2000. I'm also going to try it with this account. I don't think this is going to work, but um I always like playing with things as we do them on Hack the Box. So, let's do NXC. So, this authentication obviously works because that's the password, right? Let's just double check. Yes,...
904
0
{ "video_id": "-JM--KfVhpA", "title": "HackTheBox - Vintage", "url": "https://www.youtube.com/watch?v=-JM--KfVhpA" }
password was set as um the name of it. So, this should be able to read GMSA password. So, I'm going to do LDAP and then we can do the GMSA flag. And we see it's trying to connect to LDAP S and then getting a connection reset which in our endmap scan we did note that um LDAP S was TCP wrapped and we couldn't connect to ...
971.68
0
{ "video_id": "-JM--KfVhpA", "title": "HackTheBox - Vintage", "url": "https://www.youtube.com/watch?v=-JM--KfVhpA" }
Right? So if we look at this we can see um the manage password ID this B 64 string let's see do we have the actual password manage password B 64 I'm not sure if it does it if you don't specify password last set um let's just specify the attribute so I'm going to do d-atr mds managed password. And I thought that would g...
1,031.72
0
{ "video_id": "-JM--KfVhpA", "title": "HackTheBox - Vintage", "url": "https://www.youtube.com/watch?v=-JM--KfVhpA" }
Um, let's see. Oh, MSDS. And I just did MDS. There we go. And it has NLM and B 64 encoded. So, I want to search to see if this existed before. So, I'm going to run the previous command where I'm not specifying the attribute. We'll grip for the NLM hash and we don't see it. Um, so it looks like you have to um specify th...
1,072.84
0
{ "video_id": "-JM--KfVhpA", "title": "HackTheBox - Vintage", "url": "https://www.youtube.com/watch?v=-JM--KfVhpA" }
this, how I started was a pseudo wire shark and I just wanted to confirm that bloody ad was not talking to um LDAPS, right? So I'm going to set this on ton zero. Uh let's run the net exec first.
1,132.24
0
{ "video_id": "-JM--KfVhpA", "title": "HackTheBox - Vintage", "url": "https://www.youtube.com/watch?v=-JM--KfVhpA" }
So we can run this and we see we start the TCP and we immediately talk to 636 and it dies. So we could look see if there's a port command. So, let's search. Uh, there should be a port. Uh, server port. That's not it. Uh, d-port.
1,146.64
0
{ "video_id": "-JM--KfVhpA", "title": "HackTheBox - Vintage", "url": "https://www.youtube.com/watch?v=-JM--KfVhpA" }
So, 389. Uh, 636. I don't even see it talking to 389 first.
1,167.36
0
{ "video_id": "-JM--KfVhpA", "title": "HackTheBox - Vintage", "url": "https://www.youtube.com/watch?v=-JM--KfVhpA" }
Weird. So, let's do port 389. And let's see. Do we have anything here? I wonder if I specify the port earlier.
1,174.679
0
{ "video_id": "-JM--KfVhpA", "title": "HackTheBox - Vintage", "url": "https://www.youtube.com/watch?v=-JM--KfVhpA" }
Let's do d-port 389.
1,188.96
0
{ "video_id": "-JM--KfVhpA", "title": "HackTheBox - Vintage", "url": "https://www.youtube.com/watch?v=-JM--KfVhpA" }
Uh, I'm either blind or it's not even going to 389. It's not even going to 389. It's just hardcoded to 636 every time. So, if I now switch over to uh bloody AD, we're going to run the same thing. And we see a lot more traffic and it is talking to uh 389. So what I did from here is I went into my net exec directory. So ...
1,195.72
0
{ "video_id": "-JM--KfVhpA", "title": "HackTheBox - Vintage", "url": "https://www.youtube.com/watch?v=-JM--KfVhpA" }
then removed this line or this like condition. So let's do that real quick.
1,280
0
{ "video_id": "-JM--KfVhpA", "title": "HackTheBox - Vintage", "url": "https://www.youtube.com/watch?v=-JM--KfVhpA" }
So let's do v protocols lap.py and then what is it?
1,286
0
{ "video_id": "-JM--KfVhpA", "title": "HackTheBox - Vintage", "url": "https://www.youtube.com/watch?v=-JM--KfVhpA" }
GMSA and it's set multiple places. So we'll have to do it in a lot. So I'm just going to do a regular expression. So do percent s. And then I'm going to paste self.orgs gmsa or to erase this part. replace it with nothing G and we did 10 substitutions. So now wherever you saw that we just see if selfport is 636. So I'm ...
1,293.32
0
{ "video_id": "-JM--KfVhpA", "title": "HackTheBox - Vintage", "url": "https://www.youtube.com/watch?v=-JM--KfVhpA" }
And I don't think I need this port anymore because I think it defaults to LDAP unless GMSA is set. So now we run this and there we go. It works. So I'm not exactly sure why um Net Exec requires LDAPS s for group managed service accounts. I'm guessing there's some policy in Windows that will um prevent you from reading ...
1,334.88
0
{ "video_id": "-JM--KfVhpA", "title": "HackTheBox - Vintage", "url": "https://www.youtube.com/watch?v=-JM--KfVhpA" }
can see they can add themsel over to this service managers group. So let's see what service managers can do. So I'm going to go back to outbound control and we have generic all against the service accounts. So service, service LDAP, and service arc.
1,391.36
0
{ "video_id": "-JM--KfVhpA", "title": "HackTheBox - Vintage", "url": "https://www.youtube.com/watch?v=-JM--KfVhpA" }
And if we look at each of these, um there's no outbound access. Uh, let's go to service LDAP. Uh, no outbound access service. And I just saw something interesting. We have enabled set to false. So, this account is disabled currently. And no outbound access. Are all these disabled? I don't think so. I think that's the o...
1,409.6
0
{ "video_id": "-JM--KfVhpA", "title": "HackTheBox - Vintage", "url": "https://www.youtube.com/watch?v=-JM--KfVhpA" }
have um we can add ourel to service manager then we have generic goal and then once we enable the account we can do a targeted keraros to get the password hash and then try crack it. So um we can get this password hash to LDAP and arc right away just because they're enabled but might as well get it to all three. So let...
1,474.559
0
{ "video_id": "-JM--KfVhpA", "title": "HackTheBox - Vintage", "url": "https://www.youtube.com/watch?v=-JM--KfVhpA" }
this password to also be um aes it's expecting and we want to specify rc4.
1,539.2
0
{ "video_id": "-JM--KfVhpA", "title": "HackTheBox - Vintage", "url": "https://www.youtube.com/watch?v=-JM--KfVhpA" }
And when you do rc4 you don't do the colon. So, I'm going to make the mistake first and I'm going to walk through it just because I think this is an easy mistake to make and I think one a lot of people did because many people just end up using get pgt and then passing the kerros ticket to bloody ad instead of just lett...
1,545.279
0
{ "video_id": "-JM--KfVhpA", "title": "HackTheBox - Vintage", "url": "https://www.youtube.com/watch?v=-JM--KfVhpA" }
pre-auth failure. So, that just means the password was invalid. If we tried putting a colon first, we're going to get also pre-auth failure. Let's see. I'm just going to put this in quotes like this. And then I looked at the help. I was like, oh, it's trying to use it as AES. So, I'm going to set the format to um RC4, ...
1,597.039
0
{ "video_id": "-JM--KfVhpA", "title": "HackTheBox - Vintage", "url": "https://www.youtube.com/watch?v=-JM--KfVhpA" }
what targeted curb roast is going to do, it's going to set the SPN for the account and then um curb roast it, right? Because curb roasting for it to work, the account needs an SPN. When it does, then you can do um retrieve the password hash and crack it. Um none of these I don't think have SPN enabled. Can we easily se...
1,655.44
0
{ "video_id": "-JM--KfVhpA", "title": "HackTheBox - Vintage", "url": "https://www.youtube.com/watch?v=-JM--KfVhpA" }
I'm not sure exactly what I did, but outbound here, genetic right to here, outbound. There we go. So, none of these accounts have SPN. So, target Kerros is going to add it for us and then remove it. We're going to do that and then we're going to um go back and uh do it through bloody ID adding it. So, you can see it do...
1,719.84
0
{ "video_id": "-JM--KfVhpA", "title": "HackTheBox - Vintage", "url": "https://www.youtube.com/watch?v=-JM--KfVhpA" }
Um, let's get target curb roast up and running first. So, we just Google this. We should go to a repo. And we also use this in the administrator machine. So, you can always go to that video if you're confused. But we can go in targeted Kerarost. And what is the command? So, we're going to do Python 3 uh targeted Keraro...
1,761.559
0
{ "video_id": "-JM--KfVhpA", "title": "HackTheBox - Vintage", "url": "https://www.youtube.com/watch?v=-JM--KfVhpA" }
Vintage.htb DCIP 1010 114 45 uh hashes. Do I still have I don't have the nm on my clipboard. Was B8 I think. Nope. Where is the password hash? Here it is.
1,818.2
0
{ "video_id": "-JM--KfVhpA", "title": "HackTheBox - Vintage", "url": "https://www.youtube.com/watch?v=-JM--KfVhpA" }
unrecognized argument. Uh let's see domain vintage http. What if I do it this way? There we go. We got the ticket. So if I go back to targeted kerarost we can say kab 5cc name equmsa1 cache like that and we didn't get any which is a bit odd. I expected to um let's see dash h is there a way to specify a user use let's d...
1,840.399
0
{ "video_id": "-JM--KfVhpA", "title": "HackTheBox - Vintage", "url": "https://www.youtube.com/watch?v=-JM--KfVhpA" }
See, I don't have to specify request user fetching users. There we go. So, we got two hashes, service arc and service LDAP. But, let's go ahead and use bloody AD and we're going to um reenable the um service LDAP account. So, we'll go back to our bloody AD command and then we're going to do um remove UAC for user acces...
1,939.36
0
{ "video_id": "-JM--KfVhpA", "title": "HackTheBox - Vintage", "url": "https://www.youtube.com/watch?v=-JM--KfVhpA" }
the uh kerros hashes and then we're going to add it and then run net exec again. So let's do nxc ldap dco1.vintage.hcb. The user is gsa01 bang. Then capital h for a password hash. Put in the ntlm hash. Do- k. And then we can do kerber roasting. And I'm going to call this nxc.hashes hashes because the other one I just d...
2,017.279
0
{ "video_id": "-JM--KfVhpA", "title": "HackTheBox - Vintage", "url": "https://www.youtube.com/watch?v=-JM--KfVhpA" }
So let's go back to bloody ad and where we did add group member. I'm just going to run this again to make sure we're still inside this group. Okay, it looks like we are. So what we can do here is add a service principle name. So let's do a set object and if you want you can always do dash h and you can see what functio...
2,051.52
0
{ "video_id": "-JM--KfVhpA", "title": "HackTheBox - Vintage", "url": "https://www.youtube.com/watch?v=-JM--KfVhpA" }
So if we do catnx.hashes, uh, we see that's KB5TGS23. If I just cat hashes K5TGS23. So it dumped them in the same exact format. Let's go ahead now and um, attempt to crack these. And it should be noted if either of these accounts had like outbound access, I could have just changed their password and then attempted to u...
2,125.52
0
{ "video_id": "-JM--KfVhpA", "title": "HackTheBox - Vintage", "url": "https://www.youtube.com/watch?v=-JM--KfVhpA" }
d-show, we can see serviceql was cracked to be zero the one. So we have a password here for the um service. What I want to do now is build a word list of all the users on the box and then we can spray. Right. So if I went back to that jq command I did earlier, I'm just going to grab the same account name of every accou...
2,201.8
0
{ "video_id": "-JM--KfVhpA", "title": "HackTheBox - Vintage", "url": "https://www.youtube.com/watch?v=-JM--KfVhpA" }
We'll just do it this way. And I call it users.ext. And we can go back to nxc. We'll do dash u as users.txt. And then p for password. We're going to put zero the one and see if we get any hits. Uh, pre-auth failure. Okay, we got one c.nary. I also like doing continue on success because maybe there's going to be multipl...
2,235.28
0
{ "video_id": "-JM--KfVhpA", "title": "HackTheBox - Vintage", "url": "https://www.youtube.com/watch?v=-JM--KfVhpA" }
have the password. Then we can do evil winrm i. Uh, let's do 10 10 11. Was that 45? U c.n p 0 the one. Uh, let's see. It's probably going to be something kerros, right? Is it just dash k to do kerros? Let's see.
2,312.96
0
{ "video_id": "-JM--KfVhpA", "title": "HackTheBox - Vintage", "url": "https://www.youtube.com/watch?v=-JM--KfVhpA" }
over here to specify the box name DC01 vintage HTB. We may have to use get TGT.
2,342.8
0
{ "video_id": "-JM--KfVhpA", "title": "HackTheBox - Vintage", "url": "https://www.youtube.com/watch?v=-JM--KfVhpA" }
Um did that. Let's just try that. So going to go back to my get tgt command. We'll do c.n Canary see the other the one stole my clipboard. Put this password in and go back to evil winrm. And we can say kb 5cc name is equal to what is the file? It saved this.
2,354.599
0
{ "video_id": "-JM--KfVhpA", "title": "HackTheBox - Vintage", "url": "https://www.youtube.com/watch?v=-JM--KfVhpA" }
See? K. Oh, we probably needed Realm Vintage HTB. That did not work. Oh, I think it wants It needs to be set in Kobe B5.com. Let's see. I think that's going to be what we have to do. I'm just making sure there's no other options I'm missing. It doesn't look like there is.
2,395.359
0
{ "video_id": "-JM--KfVhpA", "title": "HackTheBox - Vintage", "url": "https://www.youtube.com/watch?v=-JM--KfVhpA" }
So we have to update our um local curb roast config. And to do that we can use net exec and we'll do net exec smb and I'm going to do dash h. There's a generate command right generate kb file. And it's going to be very important when you generate this you have the host name here. So I'm going to do this real quick. We ...
2,424
0
{ "video_id": "-JM--KfVhpA", "title": "HackTheBox - Vintage", "url": "https://www.youtube.com/watch?v=-JM--KfVhpA" }
Nope. See, I don't even think we need a user, but um it was trying to spray. So, we should now have this file. And I was hoping it would not do this because this is wrong. Um, maybe we al also have to specify the domain. Let's do dash d vintage htb. Oh, I got rid of the dash k. That's probably it. Okay, we logged in. T...
2,462.599
0
{ "video_id": "-JM--KfVhpA", "title": "HackTheBox - Vintage", "url": "https://www.youtube.com/watch?v=-JM--KfVhpA" }
that, Etsy kobb5.com. Always good to make backup files before you just um wipe something, right? So, vintage KB Etsy kb5.com evil winrm and there we go. We get logged in.
2,549.4
0
{ "video_id": "-JM--KfVhpA", "title": "HackTheBox - Vintage", "url": "https://www.youtube.com/watch?v=-JM--KfVhpA" }
Awesome. So, I think if we ran like winps and other tools, it would highlight things. But one of the first things I normally do when I get on a user account in Windows is look at like any type of secrets they have stored. And normally you could do like cmd keyl but because we're a um remote session or interact a non-in...
2,570.24
0
{ "video_id": "-JM--KfVhpA", "title": "HackTheBox - Vintage", "url": "https://www.youtube.com/watch?v=-JM--KfVhpA" }
Microsoft credentials and see if we have anything stored here. If I do a diir, there's nothing. If I do a gci-force, we can see there is a file.
2,621.599
0
{ "video_id": "-JM--KfVhpA", "title": "HackTheBox - Vintage", "url": "https://www.youtube.com/watch?v=-JM--KfVhpA" }
So this is going to be a encrypted blob of some stored credentials. If we try to use evil winterm to download it, I don't know exactly why it fails, but it failed and then crashed. So, what I'm going to do is go back into it. Then, we're going to cd to the directory. And then, let's use PowerShell to just B 64 encode i...
2,632.48
0
{ "video_id": "-JM--KfVhpA", "title": "HackTheBox - Vintage", "url": "https://www.youtube.com/watch?v=-JM--KfVhpA" }
v credential blob. And I'm actually going to call it umBB64. Paste this in. Okay. And in order to decrypt this, we have to get the um master key out. And that is going to be in the protect folder. So we go into protect. Then we go to the SID of our user. And I don't know why evil winter keeps crashing.
2,713.319
0
{ "video_id": "-JM--KfVhpA", "title": "HackTheBox - Vintage", "url": "https://www.youtube.com/watch?v=-JM--KfVhpA" }
cd gci-force. We can see two different blobs here. I think one of these is the domain master key and one of these is um the user. Um if you have full domain access, you can get the master key to decrypt all the papy blobs in the domain. And I think that's what one of these is. And then of course, one is just for the us...
2,750.92
0
{ "video_id": "-JM--KfVhpA", "title": "HackTheBox - Vintage", "url": "https://www.youtube.com/watch?v=-JM--KfVhpA" }
Okay. pwd. Copy this. There we go. And I'll call this v dpappy blob 1.b64. Paste that in. And then let's go ahead and grab the other one. So delete this. Copy paste and this would be the second blob. Okay. So now let's just um unbase 64 all these. So we'll do cat credential blob B64 B64-d and this will be credential bl...
2,799.359
0
{ "video_id": "-JM--KfVhpA", "title": "HackTheBox - Vintage", "url": "https://www.youtube.com/watch?v=-JM--KfVhpA" }
own help? It does. We can say u password. Then we need the um SID. So we can specify this. So, copy put the SID and then the password which was zero the one. I hope I typed that right. And what this will do is output the prekey file that's used to unlock.
2,911.68
0
{ "video_id": "-JM--KfVhpA", "title": "HackTheBox - Vintage", "url": "https://www.youtube.com/watch?v=-JM--KfVhpA" }
So, I'm just going to run TP PKF and that outputs it to the file as well.
2,939.68
0
{ "video_id": "-JM--KfVhpA", "title": "HackTheBox - Vintage", "url": "https://www.youtube.com/watch?v=-JM--KfVhpA" }
Right. So, now let's go ahead and start creating the master key file. So I'm going to do pi pi cats dpappy master key dpappy blob one d- o mkf1 uh we need the prekey file as well. So we do pkf there okay and then we can do two. And if we look at these files MKF2 and MKF1 I'm pretty sure we can put multiple master keys....
2,945.48
0
{ "video_id": "-JM--KfVhpA", "title": "HackTheBox - Vintage", "url": "https://www.youtube.com/watch?v=-JM--KfVhpA" }
uh no master key was found. MKF2, we get it right. And there's probably a describe command to show what key goes to what um credential blob, but I like just having a um MKF of a bunch of master keys. And then that way when you try to decrypt things, you have to figure out which key goes where. You just uh decrypt, righ...
3,030.64
0
{ "video_id": "-JM--KfVhpA", "title": "HackTheBox - Vintage", "url": "https://www.youtube.com/watch?v=-JM--KfVhpA" }
well. Was it ADM or admin? scenary think that there we go. Save. Uh we can get rid of this um winterm session and let's just go back to net exec SMB dco1 vintage htb c nadm password.
3,106.28
0
{ "video_id": "-JM--KfVhpA", "title": "HackTheBox - Vintage", "url": "https://www.youtube.com/watch?v=-JM--KfVhpA" }
Okay, hopefully this works. There we go. We are now logged in as Cer admin. So let's close these out and then we'll go back over to Blood Hound and see exactly what this user can do. So let's change our query. I'm actually going to go to pathf finding real quick. We can say cerm and find a path here. Uh let's go to um ...
3,134.359
0
{ "video_id": "-JM--KfVhpA", "title": "HackTheBox - Vintage", "url": "https://www.youtube.com/watch?v=-JM--KfVhpA" }
Okay, so we can see scenery has genetic right member of and add self to this delegated admin group. Delegated admins allowed to act as DC1. So this is going to enable the RBCD that's resourcebased constraint delegation. So essentially we'll be able to create a kerros ticket that says we are um whoever we want and whoev...
3,169.559
0
{ "video_id": "-JM--KfVhpA", "title": "HackTheBox - Vintage", "url": "https://www.youtube.com/watch?v=-JM--KfVhpA" }
So there's probably going to be two paths we can impersonate. We can either just impersonate DC01 itself and then do a DC sync because um if we impersonate the domain controller then we'll have access to do DC syncs. We can also probably go under the other administrator, right? If we look at the members of this, let's ...
3,200.559
0
{ "video_id": "-JM--KfVhpA", "title": "HackTheBox - Vintage", "url": "https://www.youtube.com/watch?v=-JM--KfVhpA" }
protected flag here? There is a way to enumerate protected user. I don't see it here. Tier zero. Okay. ACL will never expire. Huh? Got to check administrator real quick. Mark sensitive false. What if I don't know exactly what that field is? Maybe administrator you just can't do it by default. Is there a mark sensitive ...
3,262.88
0
{ "video_id": "-JM--KfVhpA", "title": "HackTheBox - Vintage", "url": "https://www.youtube.com/watch?v=-JM--KfVhpA" }
So yeah, mark sensitive. I think if Elbian was mark sensitive, then we would not be able to perform this attack. But um you can never do it with just default administrator just because by default that's going to be a sensitive account.
3,305.44
0
{ "video_id": "-JM--KfVhpA", "title": "HackTheBox - Vintage", "url": "https://www.youtube.com/watch?v=-JM--KfVhpA" }
Um maybe at the end of the video we will go explore that more to make sure what I'm saying is correct. Um because I'm not an expert when it comes to this type of stuff. I'm kind of just learning as I go. So what we want to do in order to abuse this attack is we have to have a account that has an SPN and we can use that...
3,318.16
0
{ "video_id": "-JM--KfVhpA", "title": "HackTheBox - Vintage", "url": "https://www.youtube.com/watch?v=-JM--KfVhpA" }
So copy paste uh host DC1 vintage HTB. We can do add group member delegated admins FSO1. And now FS1 has been added. So let's do a get service ticket. Uh the SPN for this is going to just be CIFS. This is just like SMB on dco1.vintage.htb. Who are we going to impersonate? We'll impersonate DC1. And then we will specify...
3,384.799
0
{ "video_id": "-JM--KfVhpA", "title": "HackTheBox - Vintage", "url": "https://www.youtube.com/watch?v=-JM--KfVhpA" }
put the CC name in quotes. And there we go. That looks better. Um, it dumped everything. We're in debug mode, so it's a bit annoying. Take it out of debug mode. We should get exactly what we want. Right. There we go. So, we have a bunch of accounts. And the thing I wanted to see, do we have multiple hashes? Let's see. ...
3,492
0
{ "video_id": "-JM--KfVhpA", "title": "HackTheBox - Vintage", "url": "https://www.youtube.com/watch?v=-JM--KfVhpA" }
The other thing we were curious about was service accounts. So we can see SQL CC and ARC is 1D1. So everything has unique passwords. There's no like password duplication between this. Um so that's good. So let's go ahead and try the impersonation except we're going to um impersonate the ADM account which will just let ...
3,547.04
0
{ "video_id": "-JM--KfVhpA", "title": "HackTheBox - Vintage", "url": "https://www.youtube.com/watch?v=-JM--KfVhpA" }
Awesome. And then we can do get TGT um, dash hashes. Paste that. And then administrator at uh, vintage.htb HTB empty domain vintage HTB like that. Okay. Then we can do KB5 CC name. Let's put this in quotes. evil winrm i 1010 10 11 45 and then realm is going to be uh vintage.htb HTB. How do we do this? Grab evil winner....
3,582.04
0
{ "video_id": "-JM--KfVhpA", "title": "HackTheBox - Vintage", "url": "https://www.youtube.com/watch?v=-JM--KfVhpA" }
That's not what I expected. Administrator at vintage. Let's see. Uh if we just do wi exec d01 vintage htv.
3,658.48
0
{ "video_id": "-JM--KfVhpA", "title": "HackTheBox - Vintage", "url": "https://www.youtube.com/watch?v=-JM--KfVhpA" }
Log and type not granted. Let's try the domain admin. Maybe administrator doesn't have remote login and that's what screwing me up. We can try impersonating this user. Let's try this. Okay.
3,685.839
0
{ "video_id": "-JM--KfVhpA", "title": "HackTheBox - Vintage", "url": "https://www.youtube.com/watch?v=-JM--KfVhpA" }
DGT vintage HTB L do is that it get rid of hashes. Nope. I need hashes. I don't have her password yet.
3,710.52
0
{ "video_id": "-JM--KfVhpA", "title": "HackTheBox - Vintage", "url": "https://www.youtube.com/watch?v=-JM--KfVhpA" }
Okay. Does this user have remote access? Let's Where is it saved? Here it is. Copy.
3,745.48
0
{ "video_id": "-JM--KfVhpA", "title": "HackTheBox - Vintage", "url": "https://www.youtube.com/watch?v=-JM--KfVhpA" }