diff --git "a/HackTheBox_-_Infiltrator.jsonl" "b/HackTheBox_-_Infiltrator.jsonl" new file mode 100644--- /dev/null +++ "b/HackTheBox_-_Infiltrator.jsonl" @@ -0,0 +1,326 @@ +{"text": "What's going on, YouTube? This is Ipsac doing Infiltrator from Hack the Box, which is an insanely long machine. It starts off with scraping names off a website and then using username anarchy to find the naming convention because one of the kit users is as rep roastable, which gets us a password that we can run blood hound with. Then we find an active directory attack chain involving several takeovers to get to a user that has WinRM access, which we can use to tunnel into the domain to access output messenger, and we cycle through several accounts there, finding various pieces of information like a net binary. We have to reverse an API key to output messenger which we can use to read more messages and also one of the users is logged in and output messengers calendar feature enables us to run an application", "start": 0.16, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "on a task. So we use that to get access to their account which has a bit locker key saved which allows us to access an encrypted drive and grab the backup that contains ntds. Which we get another password from and do an active directory certificate services attack. Anyways, I probably missed a couple of steps, so let's just jump in. As always, we're going to start off with an end map. So, - SC for default scripts, SV enumerate versions, VVV for double verbose. This gives us things like the TTL O8 output offware map in the end map directory and call it infiltrator and then the IP address of 10101.31. This can take some time to run, so I've already ran it. Looking at the results, we can see 13 ports open. The first one is DNS on port 53. And the banner tells us it's simple DNS plus which is the default for active directory. And scrolling down we do see active", "start": 39.12, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "directory is installed. And it's also giving us the fully qualified name just the domain name and I think the net bios name of the domain. So let's go ahead and add this to our host file just so we have this all ready for us. So pseudo v etsy host. And then we can add 10 10 1131. And then let's paste this in. Delete that. So now we have the fully qualified name, the domain name, and I like just adding the machine name as well. So now that that's done, let's go over the rest of end map. So DNS, not surprising. We have a web server. This is going to be IIS. So it looks like they have some type of homepage set up. Then we have Kerros, some um RPC stuff, LDAP, which we already looked at a little bit, and there's going to be quite a few LDAP services. Um SMB, Keraros, there's the second LDAP, and we'll probably see two more LDAS before this is over. 3268,", "start": 88.96, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "another one, and 3269. That's the SSL of 3268. I want to say this LDAP is for global catalog. That's not really all that important. So, let's just see if there's any other ports. And it looks like there is. We have 3389, which is Microsoft Remote Desktop, or they call it Microsoft terminal services. So, RDP is on this box, which is a little bit odd. We normally don't see RDP on Hack the Box, but that is it. So, let's go ahead and take a look at the site. And because this box is so long, I'm going to skip out on some recon things. Like, normally I'd run net exec to see if there's open shares and things like that. But I'm just going to skip that out because if we did recon at every single step, this video probably would be four hours long. I'm trying to avoid that. We'll see what happens. But going", "start": 145.04, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "to the page, we just see a standard page. Um, we can check if it's like index.html. Looks like it is. If we do an invalid extension, we get 404 file not found. So it looks like a static website. We can look at the page source to see if there's any indications what built this. And I don't think there is. So just scrolling down, let's see. We have a place to enter an email to subscribe. Um, let's see. Looks like employees. We have David Anderson, Olivia Martinez, and this is on a carousel. So, we have a potential list of employees there. And then a contact us form. So, we don't really have any information. We could potentially try to use this for cross- sight scripting, but saying HTML, if it was like ASPX, maybe I'd go for that, but I don't really know what I would fish. Uh we could like run go buster and see if there's any like login panels or like um buzz for virtual", "start": 187.599, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "host but again that's going to take a long time if we do all that recon. Um what I'm going to do is grab a list of all these users and build a potential username list and then we can use um curb routt to identify any valid users. So let's go ahead and do that. So to start off, I'm just going to do a curl 101011.31. And then I remembered Olivia was one of the names. So I'm just going to look at um Oh, I mistyped it. There we go. Uh look at what Olivia looks like around it. We have H4. So she's in header four tags. If we just GP for header 4, let's see. Uh we get a list of the users. We get some stuff we don't really care about. So, what I'm going to do is um grab 84 period and then a number. And that should just get me a list of uh users. Let's see. I screwed something up. I'm going to do - s-q to hide the um", "start": 239.84, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "download thing, but I'm not sure what I messed up there. Okay, I guess I don't need to escape all those, but there we go. So all I want to do is grab the names. I don't want all this um data. We could use like cut said all things like that. But I'm going to do this all in gre. So we're going to do dash op because this is overpowered. Um really this is just doing um reg x pearl syntax I want to say. But what I need to do is we'll do number. We'll say any amount of numbers and then a space. So now that's going to just show us that. Then I'm going to add a dot star like this to match everything after. Maybe I need the question mark there. There we go.", "start": 300.08, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "And we want to go up until that. Okay. So, we have this matched, but we just want to extract the names. So, I'm going to add is a backslash k to say reset the lookup filter right there. And there we go. We just have a list of the names. We still have the less than sign. So, what I'm going to do is change this to a positive lookup filter by doing a parenthesy question mark equals and then that character. And what that means, it's going to look up until that character and not include it. Um, let's see. Can I do um H maybe? So, if we did H, then it's going to go up until the H. So, yeah.", "start": 347.52, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "So, that's the positive lookup filter. There we go. And I'm going to pipe this over to potential names.ext. And then I'm going to use a tool called username anarchy. So do username anarchy. Then the file of potential names. Uh file not found. Let's tell it the full path. And there we go. We have a list of names. Um this probably should have been called potential names. I'll just do users.ext or potential users.ext. I guess and we look at that. There we go. So now we can use curb root. So I'm going to do curbroot and then user an uh let's see dash h. Let's see what flags there are. If we just do curbroot, you can see all the things we have brute force brute user password spray. But I just like the usern feature. So let's specify the DC of 1010 1131. the domain infiltrate. Is it infiltrator? Infiltrator. Um, got", "start": 391.759, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Etsy host. Infiltrator. There we go. HTTP. And then we need the username file, which was potential users.ext. And there we go. And if you're running the development version of Curbroot, which means you have to uh download it from git and then build it yourself. If you just do the release, it's not going to automatically do an as rep roast. So, we see potential valid usernames. L Clark um has his password as I want to say it's like can be stored in reversible encryption or something like that for the as repro. So, let's go over to the Kraken and then let's go cd hashcat and then v hashes and I'll call this infiltrator dot um asrep roast paste this hash and then let's go ahead and run hashcat. So, we can do dot slash um hashcat the hash file opt.ext text and let's see what we end up getting. And it does not crack. Uh why? So it", "start": 457.36, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "detected Kerros 5 Eype 23 and we are Kerros 5 Eype 18. Oh, that's right. Um I don't think Hashcat can actually crack this format. This is going to be um a better version of the encryption. I think it's like AES and we wanted MD5 or something like that. So to do this um let's get out of hashcat and go back to code brute. If we do dash h there is a downgrade. So we can do d- downgrade or we could go to like net exec at this point. There's plenty of ways to do as rep roasting. Um, is there a continue thread safe downgrade? I don't know why it stopped after one. Um, L Clark was the user. So, I'm just going to do Hello.", "start": 531.519, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Clark and that file. That is weird.", "start": 587.04, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "There we go. We have the E type of 23 now. So, let's go ahead and copy this.", "start": 595.68, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Go back into the Kraken cd hashcat v hashes infiltrate.", "start": 602.72, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Replace that with eype of 23. And now we can do um hashcat. So run this again and hopefully it ends up cracking. Uh recovered one out of one. And if we look we have what question mark? What is my pass? So let's go ahead and save that. And I'm going to reattach my T-Mox. Close out a hashcat. And then let's do um was it vcreds.ext L. Clerk. And then we have this password. So let's go ahead and run net exec to look at all the users. So do nxc SMB10101.31 user l clerk and then the password of that. And we should probably use um the full name. I normally use IP addresses with net exec, but we really should get in the habit of using the host names because that does matter when you end up doing kerros things. So that is a success. If we do d- users, it's going to dump a list of all the users. So let's see. There we go. We have", "start": 609.68, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "administrator and we get password last set. Um, and we also have K Turner has a password in this. So this is messenger app pass. So let's go ahead and try logging in with K. Turner just to see if this password works. So we can do this password and then K. Turner and nothing. So at this point um we can do two things really. We can do a password spray and we can also run blood hound. And I'm probably going to do both of them. So let's do v passwords.ext. We're going to put message pass that.", "start": 685.92, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "And then let's see. Um let's grab this. What is my pass?", "start": 727.04, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Okay. And do users. Uh this is in password still.", "start": 732.959, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "There we go. And now let's go ahead and grab a list of all the users.", "start": 739.36, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Okay, that should be fine. B temp. Let's just paste this.", "start": 753.68, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Cat temp hawk. Print. What is that? One, two, three, four, five. Like that. There we go.", "start": 759.76, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Users.ext. We have some extra things that we don't need. Um, so let's clean this computer domain guest 2. There we go. So now let's do nxc 1010. Uh, let's just hit the up arrow a few times. There we go. And we can do dash u user.textp passwords.ext. So that's going to perform a spray. And while that happens, I'm going to run rust hound. Um, and I'm switched over to Rusttown from Python because uh we actually have to do hold on continue on success. There we go. Because Rusttown will capture all the certificate information. I found the Python inester even when use the community uh edition one misses out on a lot of good data. But Rusttown does a better job with that. The downside with Rusttown is you can't do a pass the hash attack, but you can use Cobros. So I think you can normally work with just an NLM hash. But all that is irrelevant", "start": 771.36, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "because um we don't need to use a NLM hash because we have a password. So we want to do dash dash u and p. So let's do rust town-dfiltrator.htb-lark.", "start": 836.639, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "And then let's go ahead and grab this password. So this what is my pass? We can grab that dashp like that. We run it. Looks like it is retrieving things. I could have done the d-zip to also um zip everything up, but everything's fine in JSON files. Uh let's see. Do we have any successes?", "start": 853.86, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "So, there's some with account restriction. So, I wonder if that means the password was valid and it's just a protected account, which means we can't log in that way. Let's see.", "start": 882.24, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "I'm going to go ahead grab all these again.", "start": 898.32, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "V temp. Let's delete this.", "start": 905.279, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Paste. Let's see. GP-V log on fail on temp. And let's see, we have a few hits. D Anderson. M. Harris. We have D. Anderson here multiple times. That's odd. Um, but M.", "start": 910.639, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Harris. Let's see if we can log in with M. Harris and this password. So, if we do this and we'll specify M. Harris testing one, two, three.", "start": 931.6, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "And we still get account restrictions. So, no matter what, we're always going to see that, which is good to know. Um, we could try D. Anderson as well, but I'm sure that's the case. Uh, let's see.", "start": 950.0, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "We already got Blood Hound data, so let's go ahead and run Blood Hound. So, let's do opt uh blood hound server docker compose up-d and this should start blood hound I think on port 8088 is what my docker has it set to um we'll see 127 I think I did local host localhost 8088 it's not up yet so we're just going to wait for this to start shouldn't take too long and there we go hound should be started refresh And looks like we can log in. So let's log in. Then we'll upload all our data and then see what attack paths we have. Still loading. No data is available.", "start": 962.56, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Start uploading. There it is. Upload files.", "start": 1010.56, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "And then let's do HTTP infiltrator. We'll upload all of this JSON.", "start": 1016.399, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Press up to continue. It's ingesting.", "start": 1024.88, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "It doesn't take too long, but I'm going to pause the video and we'll resume uh once this is all ingested. Okay, we're done ingesting. I'm also going to uh disable my dark reader and then use Blood Hound's dark mode because I find dark reader makes Blood Hound go unbearably slow. Um, but now that we're here, we can search for our user that we have, which was L. Clark, and just go ahead and mark them as owned. So, we'll do this. We'll do add to owned. And then let's go over to the cipher queries and let's see what we can do. So, if I go to um active directory, then let's go with shortest paths to assist with unconstrained delegation. Sure. uh we can see a few pads. So right here uh we see this account is probably important this land management account because that can um oh did not mean to mark as owned. Whoops. Hold on. Let's", "start": 1030.64, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "undo that. Let's remove I meant to do high value.", "start": 1094.799, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Stop moving around. But this can read GMSA passwords. So we may want to find a way to get there. Uh yes. And then from that we can get to this infiltrator service account which can perform a ADCS exploit number four over to the domain. So that's potentially a priv. Um not much else we can go off of.", "start": 1100.16, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "I'm going to look at show shortest path from owned objects and let's see what we have. So we see L. Clark is a member of this marketing team, domain users, and not much else.", "start": 1123.36, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Um, I do want to try one thing real quick now that I'm thinking about this. Um, let's do that NXC again. So, we'll do nxc SMB and we want to do user.ext text uh text.", "start": 1140.96, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Where is that? We're going to do the password spray and specify Kurros because if it was a protected user account um then you have to use Kurros to log in.", "start": 1161.28, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "So like that. Let's try this. We'll see if we get any more hits. I probably should add continue on success. Hold on. Get rid of that.", "start": 1172.48, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "continue on success and we'll see if we get anything. Uh D. Anderson, L. Clark. So, um we do get an extra hit of an account. It didn't work for M. Harris, but we do get D. Anderson as well, so we can mark them as owned. So, if I go to search, let's do D. Anderson. like this.", "start": 1185.12, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "We'll do add to owned. Go back to the cipher query of shortest path from own principles. And there we go. We have something else. So, we can see um D. Anderson's over here. And I know this text is small. It's not really easy to show this, right? We see D. Anderson has generic all over this marketing digital@in infiltrator.htbou. HTBOU and that contains the E Rodriguez user who can then add him to add himself to the chief marketing group which then has force change password over M. Harris. So that is the attack chain. We have to go from D Anderson take over this OU take over this user add them to this group and yeah um let's show that. But before I do, I just want to show this real quick because I didn't really explain this. If we do the Anderson with the valid password, because we're doing NLM authentication, we get status account restriction. And", "start": 1216.24, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "even if we put a invalid password there, the error message is the same because NLM login is disabled. Right? So what we have to do is tell it to do a kerros login.", "start": 1281.6, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "And now we get pre-auth failed. And that's because we have an invalid password here. If I fix the password up, that's when we'll get a success. So, whenever you see the status account restriction, um, probably means your password attempts not even working at all just because you can't log in over that protocol. But let's now go ahead and jot down what we want to do, right? Because this is going to be a few steps.", "start": 1294.799, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "We're going to use um D. Anderson to take control of the uh U. So we're going to you abuse that generic all to take control of this. And then after that we're going to um create a shadow credential for E. Rodriguez if I can spell that correctly. Um we could also probably change their password because we have generic all. But if we change the password, um, you always want to avoid that when you can.", "start": 1321.36, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Um, we know the shadow credential is going to work because one of the paths did show us ADCS was installed and that's the prerect to being able to do shadow credentials. So after that, we want to add ourselves to the o um to the group. So add ourselves to marketing group. And once we do that uh we will be able to um let's see force a change password forcem harris password change. So that's going to be the steps overall what we're going to do. So let's go ahead and start that. So I'm going to start off with a dackle edit and this is going to be using impact. We'll do action write dash rights and this is case sensor the full control piece. Um I think we want inheritance.", "start": 1358.24, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Uh what is it? See inheritance. There we go. What else do we need? Um the principal.", "start": 1420.0, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "So that's going to be um who we're giving full control to. And then the target DN is going to be this marketing group. Uh where is the OU CN? There we go. Going to get the distinguished name there.", "start": 1433.36, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Okay. And then we need to specify um Kerros. The IP is going to be infiltrator.htb.", "start": 1454.24, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "And I know that's not an IP, but that flag works either way, I think. And now we have to do our login. So, infiltrator.htcb d Anderson and then that password.", "start": 1466.0, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Uh, it's on this pane, grab this, run it. So, what we're doing is giving ourselves full control, and it's going to inherit on child objects. cash not found. DAL has been modified successfully. So now that we have full ownership there, we're going to use certify now. Um, and that's going to give us the shadow credential. So let's do certify then shadow auto karos the target DC01 infiltrator htb users d Anderson infiltrator.htb HTB password. I don't have that in my clipboard anymore. Let's grab this. Uh, copy. Paste. And then after this, we need to specify the account we want a shadow credential to. So, e.rodriz.", "start": 1478.48, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Let's see if this failed and run the DALE edit again because it's possible that some auto cleanup may have fixed it. But it looks like uh we've done it. We're authenticating with the certificate. It's trying to get the TGT. And after that, we will get the hash. So once we get the hash, then we're going to um add ourselves to the marketing group. So we're just waiting for this TGT to come back. There we go. We have the hash for E. Rodriguez. So, we can copy this. And now we're going to use bloody ad. I hope I have that installed. I do. Awesome. Um, Erod rig. I think I spelled that right. And then the password, we do a colon and this it's going to do um hash authentication. The host is going to be d1 infiltrator.htb domain infiltrator.htb. HDB and then let's see we want add okay so it's going to be um", "start": 1544.81, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "add group member then what is the group called this is chief's marketing so chief's marketing thing.", "start": 1621.679, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "So, Rodriguez has been added to this group, which means we should be able to um set a password.", "start": 1641.84, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "So, let's go back and then we're going to use bloody ad again. And this will just be set password M. Harris and we're going to set to please subscribe exclamation point. And if you use impact or net exec, it's going to set the password, but it's going to be a weird password because it doesn't set the kerros keys. So, um I always like using bloody ad to set the password. There are flags to make it happen in impact, but since it's not a default, I always make that mistake. And when you set it, it says um as key is blank until the user changes the password. Again, that's never a good thing. But there we go. We have E Rodriguez's password changed. So, let's do a get TGT now.", "start": 1648.799, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "uh like that or not e Rodriguez um M. Harris's password has changed. So we can do a get TGT and then infiltrator.htb M Harris colon please subscribe.", "start": 1693.2, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "There we go. And I like just saving the uh ticket at this point because if the password changes back, as long as a Kerros ticket is still within its validity time, it's still going to work. So whenever I change passwords, I always like getting a TGT ticket afterwards, so I don't depend on the password still being changed. So now that I have this, we should be able to um see what M. Harris can do. Let's go search. We can do m carris set to owned. I think it even showed it in the last graph I just had. Um let's see where is M. Harris D. Anderson E. Rodriguez M. Harris. See, it's a member of protected users and remote management. So, this means we can use winrm because we're in remote management users. And to use evil winrm, we'll have to uh fix up our kerros config on our computer. So, I'm going to", "start": 1713.76, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "use nxc smb and then we'll do infiltrator.htb and tell it to um generate the kb5 file.", "start": 1783.44, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "And I'll call it infiltrator-careb.com.", "start": 1794.799, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "And this should um create this file for us. So if I cat it now, we can see um it just does all this config for us. So all I have to do is pseudo cp the file to etsy uh kobb5.com.", "start": 1799.84, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "And now I should be able to use evil winrm. So let's do uh evil winrm.", "start": 1814.08, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Then we'll say dash k what is it? Um I think dash i dc1 infill trader.htb and then the realm of infiltrator.htb and we also have to specify the kob 5cc name and this was created by the get tgt command. Um if I do a ls we can see we have this m harris cache file and that's going to be what it is. So specifying this and we have an error. So evil winner M- I- Rash K. We're missing IP.", "start": 1821.039, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "We have that there. Um do I not do D K for evil winrm? Uh dash k is private key. So definitely not. Let's just do dash i and dash r. And there we go. We have a shell as M.", "start": 1865.679, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Harris. So that was the like big attack chain to get as M. Harris. Now let's see what we can do here. We can start off with like a who am I/hall just to see um what privileges we have. If we're in a dangerous group, I think blood hound would have shown it. So there's nothing really too interesting there. We go and do a treef. We can see any files. There is user.ext. text but nothing really there. If we do a cd slash let's see um there is inet pub so we can try like going into pub and then let's see dubdubdub root can we create files here um echo one to test uh we can't create files so what I was testing for here is like if we create a aspx u aspx file maybe we can get a shell as the um dubdubdub user and then that would let us get like semate privileges or something like that so Nothing there. Um, we can go into program files. We do", "start": 1883.12, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "that. Do a diir. We can see something odd. We have output messenger and output messenger server. That's like the only thing non-standard. We can go do the same thing in the x86.", "start": 1944.88, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Um, nothing non-standard there. If we look at like the running ports, uh, let's do fine string. Um, is it TCP?", "start": 1960.48, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "If we looked at UDP, it would just go on forever. But let's look at what TCP ports are open. There's going to be a ton because this is a domain controller. Um, but the PIDs tell us a lot. If it's like a low number P, this is probably going to be like a system service. Um, we have this 6416 uh P uh 7044 uh 8112. So there is a few um let's see let's just make notes. Um what is it?", "start": 1970.0, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Let's do 6416 70448112.", "start": 2006.32, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "So now I'm going to run a get process and then we can just look at this. So 6416 uh that's going to be OM server service uh 7044 that's output messenger HTTPD I'm guessing 8112 could also be related to it. So we see that's going to be my SQL. So uh let's see we could potentially try to access my SQL um but let's instead first we have to get chisel in the box so we can proxy ports. So that's what we're going to start off with. So let's go ahead and do that. Um we'll do make dubdubdub cd dubdubdub and then cp opt chisel chisel.exe over here. http server program data. And now let's do a curl. HTTP 10148 8000 chisel.exe- chisel.exe.", "start": 2013.84, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Uh, don't know if that downloaded. Let's just copy this. Every now and then, evil winm just crashes. Um, program data.", "start": 2086.639, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Try this again. being used by another process. Uh let's just do c.exe. I think when evil winter crashed, it never like freed up the file, right?", "start": 2100.16, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Uh right on it. And now that's just a weird thing. Um what's in program data? We got my SQL VMware.", "start": 2113.04, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Let's go in output messenger server.", "start": 2126.079, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Uh there's a temp. Let's go in.", "start": 2132.96, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "I'll put messenger profile. What's in here? Uh chat room.", "start": 2140.72, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Maybe we should use the tree command. Nope. We're at that limit. So, I was looking for exactly like where the MySQL config could be so we could just get the password, but I don't think we really do anything with my SQL. So, um we'll just leave that be. So, let's stand uh get Chisel working on our end. So, let's do CD opt. And then we'll do chisel server.", "start": 2156.8, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Um, what is it? SOCOX 5. Port is going to be I like doing 8081.", "start": 2186.32, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "And let's see, we also want to allow reverse. There we go. Let's do dot /c.exe client 1014 88 81. And then we're going to say reverse sucks.", "start": 2194.8, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "There we go. So now we get um logged in or we got the port forward working. I'm going to Google output messenger and we're going to see if we can install this software. Uh let's turn dark reader back on.", "start": 2212.24, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Uh downloads there is a Linux download. So let's go ahead download the Ubuntu 64-bit client.", "start": 2231.119, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Save it. And then we can say pseudo dackage- i downloads output messenger to install it.", "start": 2238.88, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "And while that goes, I'm going to look at my proxy chains config. And we see stock 527001 1080 and my um prox chains is listing on 1080. So that looks good. So, let's do proxy chains output messenger. Hopefully that works. There we go.", "start": 2252.96, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "And this is going to be a little bit small because I don't think there's a way to really zoom in on this window.", "start": 2281.04, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "And we also get a lot of errors. I don't know exactly um what it is, but the Linux client is not great. Um it's not even loading right now.", "start": 2286.88, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "It normally goes better than that. Um, maybe we'll just switch to Windows. Let's see.", "start": 2298.0, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "There we go. So, now we got the page. So, we have username, password, server IP. Since I use proxy chains, I can do 127001 and that's going to proxy to the server.", "start": 2317.76, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "And then we need credentials. Uh we could try um L clerk and then this to see if it's hooked up to Active Directory. So if we do L.clark sign in, we see traffic going and oh, we do sign in as LC clerk. Um I actually did not expect that. So the plat uh this is definitely buggy.", "start": 2329.52, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "We can click on users to see if we have any messages with them. Here's the general complaints regarding the stability. Um it's telling to use the Windows client. Anything with the marketing team.", "start": 2356.4, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Martinez general chat. That's where we were. Marketing team chat.", "start": 2370.079, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Nothing really there. We click on notes.", "start": 2379.04, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "This may take a while to load. Calendar.", "start": 2384.64, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Okay. Um, this is taking a while, but let's see. There was another password we had, which was this messenger app passed to someone. I forget who that was. Uh, we got it with the d- user. So, I'm just going to run that again to see who had that set as their description and we'll see if anything's different when we log in as them. So, let's go through here. That is k.", "start": 2390.96, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Turner. So, let's grab this proxy chains. And we could probably also um use the web client as well, but the web client has even less features than the Linux.", "start": 2420.079, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Uh start it again.", "start": 2441.04, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Come on. There we go.", "start": 2446.4, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Uh that password. And now that it took so long, I forgot what it was. It was like Turner, right?", "start": 2451.52, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Was it K. Turner? Let's see. Yeah, K. Turner.", "start": 2458.4, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "K. Turner. Sign in. Okay. We click on admin.", "start": 2468.88, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "No chats there. Martinez. Nothing there.", "start": 2477.44, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Nothing here. We do have a dev chat. So if we look at dev chat, we have M. Harris.", "start": 2484.4, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Come on. Let's just maximize this. Uh using LDAP.", "start": 2492.48, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "They're talking about some type of program and the admin is asking M. Harris to send it to them. Let's see. Offline users. We click on M. Harris. Do we have any chat with them? We don't.", "start": 2498.96, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Um, we can click on this, which is the wall, and that should have data. I think I think this client's just not pulling that data up.", "start": 2515.76, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Let's see. I may just switch over to Windows New. Okay, there we go. Finally, the data loaded. So, if we look at the wall, um, we see K. Turner is leaking M. Harris's credentials. So, let's try logging in as M. Oh, let's just try. We already logged in as M Harris because we set his password. We can potentially log into him as the um Messenger application. So, let's go ahead and try that. So, let's kill proxy chains here. Start it back up. There's probably a sign out feature that I should be using, but um yeah. Oh, it did not. My clipboard's not there. Shoot. Uh we have to do K Turner again real quick. Um I'm going to pause the video. I'm going to grab that password and put it on my clipboard and we'll log in with him. Okay. Sorry about that. But we got the password here. I always hate it when you close an application, it wipes your clipboard. But there we go. We can sign in as M.", "start": 2530.88, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Harris and we get logged in. And the last message said M. Harris was talking with the admin. So if we click on the admin chat here, we can see there is a executable. So I'm going to click download. And no such file or directory. Did it not download?", "start": 2601.44, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "If we do a ls, let's see. Uh do we have anything here? I don't think it downloaded. Uh, let's see. Can I do like a save as?", "start": 2619.92, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Uh, it's not wanting to download.", "start": 2636.16, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Uh, make directory. No such file. Looks like it can't create a directory.", "start": 2643.52, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "So, let's just go ahead and, uh, switch over to Windows because this is getting a bit buggy. Um, and before we do that, we have to uh forward all the ports. So, let's do output messenger ports.", "start": 2650.0, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "And there's going to be a few we need to forward. Um, let's see. Do we have them?", "start": 2669.119, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "We go to the server installation. I think it will say. So, we have a list of ports here. And the reason why I'm doing this is because our Windows machine um will need to be able to uh what is it? Connect to this box, right? And the easiest way is just to stand up port forwards on a parent box in order to send them over here because I don't know if Windows has like a concept of proxy chains. So I'm just going to do it all this way. So let's make a connection back to the box. We can go into uh program data and then we'll do /c.exe client 101048. Um what port do we use? 8081.", "start": 2676.8, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "And then we're going to need to send a um few ports.", "start": 2724.72, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "So looks like 1421 1422. Uh let's do reverse 14 121. Gonna send it over 14. Is it 14121? It is. And that's going to go to 127 01. 1 14121. Let's do 14125.", "start": 2729.839, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Okay. And then finally we'll do 14126 127001 14126. So that's going to take these ports, send them through chisel and end up on this client and hit it. Right? So on my box here we're going to listen on all uh IP addresses on port 14121. That's right here. So really this um rule looks like this but we don't write them this way that often right but what it's doing is listing on all IPs on 142 14121 sending it through chisel it's coming out the client's end because it's a reverse and then hitting this right so our server is just going to be a complete proxy to this 4121 and I'm also going to Uh no, that should be fine. Let's just send all these. Uh cannot listen.", "start": 2761.359, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "14125. Are we listening already?", "start": 2828.24, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "L&TP. Oh, wait. We need to add the reverse.", "start": 2834.0, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "There we go. because if reverse isn't there, it's going to try to open up port 14125 on the client and it can't because that's where the server is running. There we go. We have all those ports forwarded. If we just grab for 141, we can see all IP addresses listening on those ports. So now I'm going to go over to Windows. We're going to install output Messenger and then we're going to log in. Okay, I'm over on my Windows box. We're going to download the installer.", "start": 2840.16, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Um, I just downloaded the zip. Probably should have downloaded that installer.", "start": 2871.599, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "We'll see if this works. Um, looks like it's just an executable.", "start": 2878.88, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "So, we can copy this here. And I do not know what that background is. I think Windows just randomly changes things. I definitely did not set that.", "start": 2884.4, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "There we go. We'll install it. And while that installs, I forgot I need to get my IP address of my Linux box. I'm trying to There it is. Uh, let's do an IPA. And we are 30.130.", "start": 2896.319, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "I hope that's not I think that's a natted address. Uh, hold on.", "start": 2918.24, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Settings. It is. So, I need to change this to bridged so the two hosts can talk to each other. And that's probably going to screw everything up. Oh, man. Hopefully not. Reconnect.", "start": 2924.88, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Does my chisel will this automatically keep working?", "start": 2943.76, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "TP 8081 curl.", "start": 2950.72, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "I think it may have uh 127001 14121 says it's open. Uh let's do IPA.", "start": 2956.8, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "There we go. This is the IP I want. So we can copy this. Go back to my Windows and server IP or host name. We're going to put this continue.", "start": 2969.839, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "There we go. And what was it? Um I think M. Harris. And I'm going to grab the password again. Paste this in.", "start": 2985.359, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "It's connecting. Hopefully it all works. If it doesn't, I'll probably pause the video and reset the tunnels up. But it looks like we have successfully connected.", "start": 2997.68, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Count has access to a new device. Okay, that's fine. Um, let's see. What did we want to do as M. Harris? Uh, oh, we want to go to admin and download that application. So, we can do this download.", "start": 3009.839, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "I think it's downloading.", "start": 3032.24, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Uh maybe maybe we have to forward more ports download.", "start": 3039.359, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "I think I'm going to go and forward more ports because I'm guessing that's the issue. So let's go get a connection back here again. cd program data and then I'm going to forward a different port. We're just going to copy this command so we have it. If we look here, um, port 14122 is used for file transfer. So, let's just try again forwarding that. So, we can do 14122 like that. Okay, it looks like it has connected.", "start": 3055.839, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Hopefully this now works. Download and still does not look like it wants to.", "start": 3097.68, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Let's see. I don't have Wireshark. Oh, wait. There we go. Finally downloaded.", "start": 3110.319, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "I was going to try to open up Wireshark and see what port it was trying to talk to. Um, in the chats it said this was a net binary. So I'm just going to open up I spy and then we're going to analyze it. So I can do open desktop user explorer and then let's poke around in this.", "start": 3115.76, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "It is looking like it's still probably decompiling decryptor. See decrypt string. So, we got as it's doing UTF8. Um, looks like it's a blank initialization vector.", "start": 3140.079, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Uh, let's see. Cipher text. And we need to see what the key is.", "start": 3158.64, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "See, decrypt. Nothing there. Decrypt string.", "start": 3165.599, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Where is this called? Do we have like I do not.", "start": 3171.52, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Let's go to LDAP app there. Go to main.", "start": 3179.2, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Let's see. We got WinRM service. We got the cipher text. And then we have the key. So this is everything we need. Um I wish I could have these in two tabs easily. Uh, let's go to Cyber Chef real quick.", "start": 3185.68, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Cyberchef. Is this it?", "start": 3204.8, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Looks like it. Uh, is there a dark mode button?", "start": 3210.64, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "I don't think this is the right cyber shaft.", "start": 3217.119, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "There we go. See options theme dark. Awesome. Okay. So let's look at what it gives us. Uh we have the cipher text which is in B 64. So let's copy this. I'm going to put it as the input. And when this is going to be from B 64.", "start": 3225.52, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Okay. And then the decrypt string.", "start": 3251.2, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "This is going to be the key. But if we go in here, it's doing as UTF8. Uh, let's see. Crypto stream. Let's just do it as decrypt real quick. As decrypt. We need the key. We can paste that in the initialization vector. Um, it's just doing 16 bytes, but I don't see it ever being set. So, um, that is annoying all those messages.", "start": 3257.04, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "There we go. That's blank 16. It's unable to decrypt right now.", "start": 3292.0, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Let's see what mode is it. ASIV memory stream stream reader.", "start": 3299.2, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "See decrypt. I could have sworn I saw like what mode it was being decrypted in, but I don't see that anymore.", "start": 3315.839, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "See stream transform.", "start": 3331.52, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "We can just change this to see cfb doesn't look anything.", "start": 3337.04, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "CTR CBC no padding.", "start": 3342.24, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Let's see. Input our input's actually be raw because we B 64 decode this.", "start": 3348.48, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "And then our key I think it's UTF8. Yeah. And I got UTF8 as the key because we see as key UTF8 get bytes. Um so this looks like it is CBC no padding and we get another B 64 string when we try to decrypt it. We paste it again and it looks like we potentially get the password. I don't know if those carrots are part of the password or not.", "start": 3358.16, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Um, but let's try. So the username, if we go back over to main winrm_vc.", "start": 3386.319, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "So let's try seeing if we can log in. So we can do what is it? NXC SMB um d1 infiltrator.htb winrm. I think I did the password. Uh, that correct.", "start": 3397.359, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Come on. There we go. Winrm SVC.", "start": 3418.319, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "WinRM. There we go. Let's see. I'm guessing those carrots are not part of the password. Oh, maybe it is. Take that away.", "start": 3424.16, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Yep. So, now we have the WinRM service password.", "start": 3438.0, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "So, let's go back over to Blood Hound. Uh, we can search and we'll mark the Win RM account as owned. And let's see what we have from here. So, we can mark this as owned. And then if we look down at outbound object control, let's see, we can enroll some certificates, but none of these are dangerous because we don't see like the ADCS exploit. Um, it should tell us if there were any. So, it doesn't look like anything really comes off. Let's rerun our shortest path from owned. And here we go. We see WinRM member of remote management users and that is about it. So let's just go ahead and um log into the messenger as this winrm and then we'll log in as um winrm itself and see if there's anything. If we go back here um how do I log out?", "start": 3443.92, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Display messages. Sign out.", "start": 3513.599, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "I have the I do not uh win rm svc.", "start": 3520.319, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "We can grab this password. Sign in.", "start": 3527.119, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Connecting. Let's see. Account has been accessed from a new device. That's fine. Let's go to admin. Do we have anything here?", "start": 3533.76, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Does not look like it. This is herself, Martinez.", "start": 3546.88, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Okay. So, we have some messages with Martinez. Um, he's saying or she is saying Olivia. Uh, they're getting random pop-ups on the desktop every day at 9:00 a.m. Um, haven't shared the password. No one else.", "start": 3554.24, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "So, it looks like Olivia says the password has been shared to the chief marketing chat group. So, we want to try getting into that chat group. Um, and I don't see a way. Maybe if we click settings, uh, chat rooms, uh, no permission to add and we can't add it. So, it doesn't look like we can get into the chat room from this user. Um, if we click around on other things, if we look at the notes, there's this API management note and there's a land management API key. So, let's copy this and I'm going to send it over to my parent. Let's call it key real quick. Paste that in. And then let's see exactly what the API key can do because maybe um this API key has a different O and we can read chat room messages. That would be pretty much exactly what we need. So, let's go over to Google and then we're going to search for Albert Messenger API", "start": 3568.0, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "and this should bring up some documentation. Looks like maybe this page. Let's see.", "start": 3631.359, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Introduction. Okay, so here we go. We have to give it the header of an API key and they give us the user's endpoint and it's on port 14125.", "start": 3639.839, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "So, let's try this. Um, we're going to do a curl http 127001 and then paste this in. It should fail because we're missing the authorization token. We can also just do a jq dot.", "start": 3651.44, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Let's do - s-q. And there we go. So, let's go ahead and copy this key. And then we'll add a header to our curl. So, let's look at what it is. API dash key paste in our key. And now when we run this, it looks like it works. So we have just dumped all of the users, right? So now let's go look at this API. We want to look at a chat room. I'm guessing it's going to be the room endpoint. So I'm going to go into room, which is chat room API there. And then for creating a chat room, you must you can use post. Um, I just want to get a chat room. Is there a get retrieve? So, we do API chat rooms and then room. So, API chat rooms and then the room. What was that? It was like chief something. Uh, let's see.", "start": 3664.4, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "What chat was that in? Is it admin?", "start": 3728.24, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "That's probably another user. There's like the chief marketing room or something. Let's see. Wonder if there's like a list room. We just hit this. Awesome. So, if we just hit the endpoint, we get a list of all the rooms. It was definitely in the chief's marketing chat that the user said they entered their password.", "start": 3734.0, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "So, let's grab this and then let's see. Uh, we could just retrieve the room.", "start": 3757.359, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Okay, let's see. How do we edit a room or add a user? That's going to be the first thing I do. Uh, we got log. So, we can read the logs my chat room.", "start": 3765.28, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Update. Let's see. We can do a put to potentially update a room. So, I'm going to try that first. Um, so I think we can just do -x put for a method.", "start": 3777.359, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "chief marketing and then let's say room name is equal to this and room users is equal to grab these two and then we're logged in under the winrm service user. So let's see if we can add that. We probably got to put that in single quotes because we have the pipe character which would do funky things to our shell. Uh, this looks fine. Invalid numeral.", "start": 3790.319, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "What? Uh, let's see. What is this length required? 411.", "start": 3828.16, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "So, if we do a dashv, this is going to show what we say. Uh, we put put This goes in. That looks fine. Curl API key. Um, we don't really have a length.", "start": 3839.68, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Length required.", "start": 3854.24, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Don't know. Um, let's see.", "start": 3862.88, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "What if we did H? Was it content length zero?", "start": 3875.039, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "No permission to access. So it does not look like we can edit the room. Let's do 10. Oh, so it's waiting for me to send data. So yeah. Um, so we have no permission to access this endpoint, which means we can't edit the room. Uh, that's weird that we need a content length. I wonder if put request like it's expecting these parameters in the body. Um, that's definitely odd.", "start": 3886.079, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "So, we're left with trying to get the logs for the room. And this is a get. And we need something called the room key. And we don't have this. If we just did a get and looked at all the rooms or this there is no room key for this. So for this we'll need to go back onto the box. Um and we need to get on as the winrm svc user which I don't think I put the password down. Um so I'm going to run nxcdb. This is going to go in the net exec database. I can do proto SMB and then we can type creds because I validated the cred with this, right? So, it saved it for me. We got winrm svc and then here's the password. So, let's try this evil winrm i. We'll do 10 10 1131- u winrm svc-p. put in this password and make sure it's in quotes. And let's see if we need kerros. We don't. Awesome. So now we're the winrm service. Uh we can do a tree to see files in our directory.", "start": 3915.76, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "And it doesn't look like we have anything. Um it tree is not going to go into like app data. And this is going to be where there's um hidden files.", "start": 3995.28, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "So let's see. Is there anything here? Um, let's see.", "start": 4009.039, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Local roaming. So, we got roaming output messenger. And we got two databases here. Hemp. I don't know what those are.", "start": 4014.799, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Nothing interesting. So, let's go ahead and check out the databases. So, we're going to go roaming output messenger. So, CD roaming, CD out. Maybe this will get me there. And then ja. There we go. We got two databases. So, I'm just going to try download and we'll see if download works.", "start": 4029.76, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Looks like it may. Let's do download ot.db3.", "start": 4058.4, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Okay, we can exit the annex database. And now let's use SQLite to dump them.", "start": 4068.24, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "And it looks like OT and OMD db3. So we can do SQLite 3 OT. DB3.dump and see what data is in this. So we have an insert here. It's into task settings.", "start": 4074.88, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "And this does not look really useful to me. Looking through the rest of this, it doesn't look like there's anything here. So, let's try looking at the OM database.", "start": 4087.52, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "We can do this. We probably also need the less. And this has a lot more data.", "start": 4099.359, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "So, we're inserting into output messenger user master. And it looks like we got some users here. So, maybe this is like the buddy list or something. I don't know exactly what it is here, but I don't see any like password hashes. So, I don't think it's like internal database thing. It's probably just how the application works, I'm guessing. Um, user photo.", "start": 4105.52, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Let's see what else we have. The reminder table, custom status, groups. Here we go. We have a chat room. And then one of the uh column names is chat room name and chat room key. And that is going to be the third one.", "start": 4127.759, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "So, if we look here, we got general chat. We're in OM chat room one, two, three. So, this should be the chat room key. So, hopefully this gets us everything we need. So, we can go back to this request. Um, let's see. Chief marketing chat. Let's go here. What do we need? Question mark room key is equal to that.", "start": 4146.0, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "and it did not get me anything. So, let's see. We did API chat rooms.", "start": 4178.0, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Uh, we need logs.", "start": 4185.359, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "So, chat rooms.", "start": 4190.64, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "So, we don't use the chat room name. We just do logs.", "start": 4197.12, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "and logs don't exist. But if we do a from date and to date. So let's just copy this. So we can say and from date data that's not it date. And I also need now put this in single quotes.", "start": 4205.6, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "There we go. Chat room logs don't exist. Let's do a two date. Is it just two? Two date is equal to we'll do 20 25 1212. And we have data. And this looks like it's going to be HTML. So, let's just do a jq.log.", "start": 4235.199, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Is it logs? There we go. Dash R for raw. And then I'm going to put this as page.html. And I'm going to use Firefox page.html to open it. And here we go. Uh, we have this. Hope you're doing well. We're tasks. Thanks. How about you? Sure. And here we go. Oh, we got Olivia's password. So, let's do V creds. I'm going to save it this time.", "start": 4262.96, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Like that. Awesome. And let's go and copy this.", "start": 4294.8, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "And we're going to go back over to Windows to log in. If we remember, Olivia was complaining about uh a box popping up on her computer constantly, right? So, with that in mind, when we sign in, let's do O do was it Martinez? I can't remember. Um I'm taking that as no. Oh, nope.", "start": 4302.88, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "There we go. So, there we go. We're logged in as Olivia. We can look at admin messages to see if she said anything to the admin. It doesn't look like it. Here's that chat room we looked at. Um, if we go over to calendar, don't see I was expecting to see like a bunch of items. Let's do sync calendar.", "start": 4330.719, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Refresh. There we go. So, we can see our calendar is filled with things. And every day there's at 12:00 a.m. it's going to open a website um infiltrator.htb, right? So what we could do is have this run a command. If we do new event, and this is only on the Windows application. If you're using any of the other apps, um it's just not going to work. So we can do this.", "start": 4356.32, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Uh let's do repeat. I wish there was like an every minute. uh and then we can make an application. So what we should do is put a reverse shell on the box since we have a shell there. And then we can run the app at whatever time it is. And as long as this app is open on the computer, it should execute. So let's switch back over to our Linux box where we have WinRM open. I think that's in this pane. Uh five.", "start": 4385.679, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "There we go. Awesome. And now we just need to create a um bat file or an executable that will um send us a reverse shell. So to do that, we're just going to go back to our box, go in our dubdubdub directory and do copy cp user share nang um is it shells? Yep, shells.", "start": 4416.32, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Then invoke PowerShell TCP oneline.ps1 over to shell.ps1.", "start": 4442.88, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "We can edit this. And then I'm going to use that top one.", "start": 4453.92, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "And let's see. We can do 10 10 148.", "start": 4460.88, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Then 9,01. That seems fine.", "start": 4471.199, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Save that. Exit. And let's see. We have to um create our vers shell. So, I'm just going to create a bat file. We'll do um v shell.bat. We can say powershell um trying to think of the best way to do this. I guess we'll just do a oneliner. I was thinking about a web cradle, but we can try this real quick. Do no profile window style of hidden execution policy bypass. Um and then we can do encoded command. And I think we just need C and we need to convert this um shell.ps1 into B 64 that Windows reads. So I convert- target UTF16 little Indian as it UTF.", "start": 4478.64, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Okay. Then B 64 W0. Let's copy this show. Paste that.", "start": 4535.04, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "That looks fine. Cat showed up at. And I'm going to run this command. Make sure it works. And then we will put it into a bat file and then try to execute it through the time run.", "start": 4556.4, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "That doesn't seem good. Oh, wait. There we go. We got a shell diir. Awesome.", "start": 4573.76, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Exit. Get a prompt back. So, let's do a um curl http 101048 port 8000 shell.bat- o shell.bat That looks like the web server is not running.", "start": 4579.6, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Start that back up. Okay, that's running. We do a date. It is 35502.", "start": 4602.48, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "So, I'm going to do it for 357.", "start": 4615.44, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Um, I don't have do I have the ability 57 and we'll set the application.", "start": 4621.04, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "I wonder if I can't remember if it's application on the box or we upload.", "start": 4636.96, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Oh, does not exist. Um, I guess I should have it on my box.", "start": 4645.12, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Catshell.bat. Let's just copy this. There we go. Go to Visual Studio. Let's go Notepad. Um, that did not work. Notepad.", "start": 4654.08, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Paste this file. Save. Let's do shell.bat. That all files save. It seems to be good. Now let's go new event run application specify shell.bat. And I'm just going to set it for 5 p.m. We will save that. And I'm also going to uh create another one at 4 pm because I'm not exactly sure which is it. So hopefully one of those will hit and then we will get a shell. So I'm going to go back to my parrot box and then we will wait.", "start": 4670.4, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "So, if we run date again, I may have missed it. Um, let's do I guess 503 new event. I wish it was like an every minute, right?", "start": 4726.08, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Uh, shell change it to 503. Uh, 53 p.m. Can I not do this?", "start": 4742.4, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Save. Okay, that looked fine. We'll do four 03 save.", "start": 4760.56, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Now hopefully we can get back to my VM quickly.", "start": 4774.88, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Run a date. Okay, I'm going to sleep for a minute and hopefully when we come back we'll have a shell run. And we did not get a shell. So, I'm going to run the command get time zone. And I'm just going to make sure we're on the right time zone. So, UTC Pacific Standard Time. Going to go to my VM. Uh, let's run date again 411.", "start": 4780.32, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "So, let's go back here and we will run PowerShell get time zone. Okay. same time zone. Uh, so let's do a new event. Actually, I just noticed um we're running the application because that's where we saved it. Um, it's probably trying to run that on the ser like on the server and failing because it doesn't exist.", "start": 4809.679, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "So, let's put it in program data. So, the path also matters. So, time zone and path probably do matter. new event. Let's do run an application.", "start": 4840.32, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "It's 409. Uh let's do uh 611. We can do 04. Let's do 15 on PM.", "start": 4853.76, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "And then C colon program data. It's really wonky that we have to do this. Save. Okay. So, we did 4:15 and we'll also do 5:15. The reason why I'm doing that is because that's kind of what this application's defaulting to. So, maybe like the applications on a different time zone. I really don't know, but figured better be safe than sorry.", "start": 4870.719, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "So, now we have 1615 and 1715 C program data showed up at on both of them. So hopefully this works. I wonder if we can rightclick sync refresh sync refresh just in case that matters. And if I could get this back over I would be happy. There we go.", "start": 4900.08, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "So running date now we have probably two minutes. So, let's do sleep. We'll do 60. And I will come back when this is finished. And it looks like we have a shell. I forgot to use RL wrap, so I don't have my up arrows. But we'll just make do because it is a pain getting this shell. We see we're Olivia Martinez. So, let's go into her home directory. So, we can do o.star and that should get us there.", "start": 4928.96, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "And if we do a tree command here, we can see all the files. Nothing really here. If we do the same thing from app data, let's see there's anything different. This is going to be the temp directory probably with all those pictures. We can see received files has a network capture. So let's go into this. It's probably um in the roaming. So let's do cd roaming. What's the next one? output messenger FAA. So the last one was ja. This is fa uh dur let's see receive files and then I think it was a 203, right? Yeah, cd 203301.", "start": 4961.84, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "And we have this network capture. So, I'm just going to copy this over to C colon backs slashprogram data.", "start": 5007.6, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "And we have a winterm shell here. And this will just let us download this pcap. So, we can just do a download, copy, paste, and we should have the pcap here. Grab. There we go. It's this network capture. So, let's open this up in Wireshark. And what I'm looking for is just what is in this, right? So, if we look at it, we see a bunch of HTTP traffic. Scrolling down, that's probably HTTPS, maybe TLSV2. What port is that? Let's see.", "start": 5019.04, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Is that here? Uh, transmission port 443. So, that's HTTPS. I'm just going to filter for HTTP to start off and we can see what endpoints we can see. So we do a get slash and then we have this post to login. So if we look at this uh the login is a post and it's sending form authorization. Where's the username password? Follow TCP stream.", "start": 5060.32, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Apparently that is all it's doing. We don't have anything sensitive there. So let's go back. Search back for HTTP.", "start": 5087.44, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Let's see. We have a Bit Locker um archive a post to change O token.", "start": 5095.679, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "And if we're looking at it, we have potentially a password here. We have new O token is equal to Martinez password.", "start": 5103.76, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Uh let's do follow HTTP. Let us grab this uh NXC SMB 1010 11131- UOO Martinez P. Put in this password and it's good. So, we have got Olivia Martinez's password. There's also that Bit Locker piece. Uh let's see. Is there anything else before we start looking at Bit Locker? It's doing a get on login.", "start": 5111.28, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Um, if it was a post, I'd be more curious at it since you could have a username and password there, but that's just a get uh files login. So, nothing too interesting. So, let's go ahead and export objects and let's save this Bit Locker backup. So, if we um can't just save one, I guess we'll save all. Um let's just create a new folder. Make dur um we'll call this pcap files. Go here. Open.", "start": 5144.96, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "And do we have them all? We do. So if we go into pcap files, let's see which Bit Locker backup is correct. That's just HTML. So I bet if we did like Firefox on that, will it actually open? It doesn't because it thinks it's a sevenzip. Uh move this to be the same thing. HTML.", "start": 5187.199, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Wonder if we do this, we can see the page. It just looks like it is um a file hosting thing, right?", "start": 5209.04, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "So the real Bit Locker password is probably this for backup that is a sevenzip. So we can do 7 Z on that file and it's a password. Um we could try that password we just got the Olivia Martinez one. So, I'm going to copy this.", "start": 5220.239, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Let's run this again. Paste it. And error. Okay. So, let's see. Um, we can do sevenzip to John on that file. And can't find something. So, let's just copy this package name and we'll go over to Google. So Google um pearl this apt install.", "start": 5247.52, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Will this help me maybe copy this paste?", "start": 5275.44, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "It looks like it's installing. Let's do sevenzip to John. There we go.", "start": 5283.6, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "And oh man, that is a big hash.", "start": 5289.679, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Is that like the whole zip? Jesus. Um, we may want to direct that to a file. Let's go to We'll do seven uh infiltrator 7z hash, I guess. Um, let's look at this file real quick. That looks fine. It's got the file name first. So, I think when we hashcat this, we should do dash username um or dash user. I forget what it is, but that's the format like user colon and then hash. So, let's SCP this over to the Kraken uh in hashcat hashes.", "start": 5295.84, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Sage Kraken. Let's go back here and let's see.", "start": 5341.92, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "hashcat and then was it hashes infiltrator sevenzip hash opt word list rocku and dash dash I think it's username let's see if this starts cracking it's autod detecting the hash mode let's see looks like it's going we're initializing the drivers and Let's see. We got attempting to crack. So, I'm going to let this run and hopefully we get a hit. And there we go.", "start": 5348.719, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "It has cracked. So, if we do a d-shell, it should tell us the password. And it looks like it is going to be zipper. So, let's go ahead and try to extract it. So, let's go into our pcap 7zx. Was it Bit Locker backup like this? Put in the password of zipper. And it looks like it has extracted. So now there's a directory bit locker backup. If we go in here, there is a HTML page. So if we look at this, it is in French, but I'm guessing this is going to be the backup key. We don't know exactly what this goes to, but we did have a hit on um Olivia's password.", "start": 5385.92, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "So, let's go up to directories again. And I'm going to um do the NXC DB again. Uh what is it?", "start": 5440.96, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Is it proto SMB creds? There we go. We have her password.", "start": 5450.159, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "And remember, RDP was on the box. So, let's try NXC RDP. Um, I guess doesn't matter. We'll do this or Martinez P. Put in this password.", "start": 5458.639, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "And it shows we have access. So, I'm going to do Xfree RDP. And I don't have that installed. Um, pseudoapp install xf free rdp.", "start": 5477.679, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Um, apt xf free rdp install.", "start": 5492.08, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Go over to Google. And what package is that?", "start": 5497.92, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Uh, there we go.", "start": 5503.679, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Install this. And now we should be able to run x forp.", "start": 5508.96, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "So, Xfree RDP looks good. Um, I'm going to do slashu for the user. Infiltrator.htb then o martinezp the password slashv dco1 infiltrator.htb and I'm going to do plus clipboard. So hopefully it shares the clipboard between my host and the machine because I have a feeling we're going to have to enter that Bit Locker key. So we get logged in. We see she does have that output messenger open. That's why we could get the code execution through the calendar. And let's see um open up C.", "start": 5515.04, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "This get me to my PC. And we have E. So if we try to go here, it wants a key to unlock the drive. We go here. I'm assuming that means key.", "start": 5558.159, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "That looks like what I copied. Password is incorrect.", "start": 5572.32, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "That's probably going to be like a serial, right?", "start": 5578.639, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Unlock. Access new device.", "start": 5584.32, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Am I copying like a space or something?", "start": 5593.199, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "password is incorrect. What's the last character? Dash39.", "start": 5604.32, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "That is not the last character. Uh, time limit two minutes. Oh god, we got to go fast. Okay, that's copied. paste.", "start": 5612.08, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Enter recovery key. Unlock. There we go. So, we had to enter the recovery key. So, we have backups.", "start": 5630.719, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Um, let's see. Users, administrator.", "start": 5639.04, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Oh, there is so much here. Probably not going to find this in two minutes.", "start": 5644.08, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Let's see. CMD E. Is it access denied? I'm assuming we lost access.", "start": 5650.0, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "PC. Yep. Uh, more options. Recovery key. Paste.", "start": 5661.36, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Okay. E tree F. Let's see. Is there anything interesting? Um, administrator documents backup credentials. This sounds good.", "start": 5666.8, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "So C users administrator documents backup credentials. I'm just going to copy this to program data because we can use winrm to easily copy this file off. So let's go back here. Um go to the shell diir download this credential file.", "start": 5679.04, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "We can close close out of that because I have a feeling it's going to disconnect me anyways. So, I want to reconnect if I need anything. Um, it's paused at 51%. That's okay.", "start": 5714.0, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "There we go. And let's see. We have backup credentials there. Let's see. Can we just extract them? Looks like we can.", "start": 5726.639, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "And let's see make dur backup. Let's just do it in its own directory so I can see all the files easily. I'm guessing active directory was what it was. So we have registry and active directory. So we have the ntds.dip. So um we could do a secrets dump and then what is it? local- ntds. uh the file then I think it's all lowercase right dash security registry security dash SAM registry SAM uh OB system This is this going to work? And it's going to start dumping. Awesome. So, we could try to see if this works. So, we can do MXC SMB 10132-U administrator and the hash.", "start": 5737.92, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "And we'll see Uh 31. There we go. And that's invalid. So we probably should just get the um MD uh the NTLM hashes.", "start": 5819.119, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "So let's see. We can do what filters can we say? User status history.", "start": 5841.84, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Is there anything else? Debug SAM.", "start": 5851.679, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Okay. So, let's just specify history and user status. So, we'll do dash history- user status-pw last set.", "start": 5858.08, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "And I'm going to output this to a file. We'll call this ntds.dump.", "start": 5870.4, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "And let's see, we can less it.", "start": 5877.36, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "And we probably want to just get all the hashes out. So I'm going to do a grev aes on this. And let's see what do else do we want to get out of here. Um that there we go. Oddly enough, it didn't get that cleaning up, which is odd.", "start": 5882.88, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Uh we can probably just actually grab for a a we go. That's a good way to do it. Um that's a blank LM hash, right? So as long as we grab that, we get all the NLMs.", "start": 5920.639, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "That looks good. So, what do we want? We have two weird machine accounts.", "start": 5934.239, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "That hash. So, what I want to do, let's just get a list of all the hashes. So, we'll do a all- field separator on a semicolon print. I'm going to guess it's three, maybe four.", "start": 5939.76, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Four. There we go. ntlm.ext. text and we have users already. So we can say nxc um smb dco1.infiltrator.htb- users.ext-h nlm.ext.", "start": 5958.159, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "I'm ask also add the dash k because some users are in the protected user group which means uh we have to do it this way and we probably should say continue on success on success. There we go.", "start": 5984.719, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "And I'm just going to let this run. We'll come back when it's done because it's going to take a little while. Okay, it is all done. If I just search back for pone, we don't have anything. So, none of these hashes got us um admin access to this box. But there's always more data in NTDS, right? We're just using secrets dump right now to dump the easy things. But if we use an actual tool and do a little bit of forensics on the NTDS.d file, we can extract a lot more information. And I think it's NTS sector. Let's see if this pulls it up. It's from Sinactive. I always miss like forget the name but I always know it's from synactive and this is the my normal goto when I want to analyze this file right so I'm just going to do a get clone and then we can do a python 3-m vmvm source VM bin activate and then pip 3 install dot and this will", "start": 6004.96, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "just like extract back to everything. One of the things that um SQL dump doesn't do well is like deleted data like in the recycle bin. This covers everything. Um we just have to have the keep delve flag. Uh I'm going to use it with this. And then we can also do all as well, but we're going to do this one first because um it's quicker. And I have to copy the files here. So let's do cp do slash backup active directory. Uh it wants it in case like that. CP backup registry.", "start": 6069.92, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Okay. So if I just run it as it says with field user and we go into temp nds sector and here we just have one JSON file. Right? If we cat this jq less, we're going to get a bunch of information. Um, I always like doing the less- capital S when I look at it because, um, the line wrapping, all those fields that are super long don't take up a lot of screen space, right?", "start": 6109.679, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "So, we can see right now we're looking at the administrator account. Um, if we go down the next account, let's see, this is going to be guest. and we can see every field for the account. It's going to give us password history and all those things, but it may get us more users because if there's someone that's deleted, um, we'll get it, right? That's when RMSVC.", "start": 6140.159, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Let's see. This is going to be LAN management. And we get the description field out of this. Um, so we have the password for this account most likely in the description and secret stump didn't parse description, so we didn't see it.", "start": 6165.44, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "So, that's one of the reasons why I just like this tool because it gives you absolutely everything. So, you can just um deep dive and hopefully you find something. It's really good when you get stuck and you have the NTDS dump, right?", "start": 6178.159, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "So, we can do NXC um SMB 10131-U.", "start": 6190.8, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "What is it? Uh I don't even know what pane I used. NA sector. There we go. land management land management-p put in that password and we get login failure. Um, could swear that's right. Let's see.", "start": 6197.36, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Maybe I misspelled the name, but we did have it on this because we actually marked that as a high value target because this one could um I think read group polic uh GPMC uh or not that um it could read something group manage service account. That's it. Land management. There we go. So, I probably just had a typo in the name. So, we can now authenticate as them. And if we do um add to owned, I guess we could also just do the outbound object control and see what they have. But we can see land management can read the group manage service account password of this infiltrator service. So I want to say if we do LDAP and then there's a GMSA option, right?", "start": 6227.44, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "D-GMSA, this should be able to just read all the group managed service accounts. And here we go. We have the infiltrator service NTLM hash. So we can test this account out real quick. Let's do dash capital H. Delete this.", "start": 6288.08, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "And we can say infill trader svc.", "start": 6307.199, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "There we go. And there we go. We have a successful password there. So now we're this account. So we can add this to owned. And then we could also just go in outbound object control and see what this can do. Um we have uh generic right over this template which this is going to be um ADCS4 exploit right because we can modify this template which means we can make the template insecure and then use it to authenticate. So that's adecS4. If we did the cipher query of let's go to owned. Let's see shortest path from owned objects. This will actually say oh god um there's a lot. Let's see which account did that to us.", "start": 6312.639, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "This is always the danger of when we um look at certificate data in blood hound. But we can see it is calling out 80 ECS4 right there. So let's go ahead and use certupy in order to exploit this. So I'm going to make sure this is on my clipboard.", "start": 6370.32, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "And we can do uh certify then find let's see we can do dash infiltrator svc I want to say dash hashes I think it wants it like that dcip 10 10 1131 let's just show vulnerable things and output to standard out let's see it looks Looks like it's working. That's good. Able to connect to remote registry, but it is checking web enrollment certificates. Hopefully, it comes back in a couple of seconds. And then we can start the attack.", "start": 6392.639, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "There we go. Uh we see it is calling out ESC4 on the infiltrator template uh certificate which is exactly what we had saw um in Blood Hound. And we also did this exact attack on the escape 2 machine, but it is somewhat common, I guess. So, let's do um certify. We'll say template. This can stay the same. And then we get rid of vulnerable and sedd out. And let's see. Um what do we need? We need the dash template flag. And then we grab the template here.", "start": 6436.56, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "And we want write default configuration I want to say. Let's see if that's enough. Um it looks like it is. Are you sure you want to apply the changes? So what this is going to do is make it vulnerable to um ESC1. Right. And then we backed up the old template. We can see that is here. So if we wanted to res restore it when we're done, we could. But now we can do certupy. Let's do certify U. I'm going to copy this one again. So, we have the username and password there. It's request DC.", "start": 6475.119, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Let's get rid of all of these. So, we do this request. Um, we need the CA.", "start": 6511.36, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "And that CA is going to be here. So, we can copy this paste.", "start": 6518.96, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "And then the template, we had that in the last one. Maybe I should have just left that infiltrator template.json.", "start": 6526.8, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Don't want the JSON. So you specify the template and then I think the UPN and that's all we need. So the user principle name will do administrator atinfiltrator.htb.", "start": 6535.04, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "It's going to request a certificate. And if this fails, I'm going to rerun the last step because it's always possible.", "start": 6547.52, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "The cleanup um reverted the change we had done. But I think I was quick enough. Um hopefully I was uh timed out.", "start": 6552.719, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "That is not what I expected. Ping 10 10 11 31.", "start": 6562.08, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Okay. Run this again. Okay, it worked. I don't know what exactly happened for it to time out, but we have a certificate here. So now we should be able to do certify off bfx administrator specify the DC IP um pfx. There we go. Should get a TGT and then we'll get the hash for administrator and then we should be able to just get right into the box. So hopefully this gets the TGT soon. There we go. We have a hash right here and we can copy this. We can do nxe smb 1010 1131 u administrator h paste this in to just test and come on it says parent. So that is the shell. So if we do ps exec um administrator at 1010 11131 think hashes will work.", "start": 6567.199, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "I accidentally put the a there. Let's see. Is it going to authenticate?", "start": 6633.28, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "No route to host. Try it again. Something must be going on with my Oh, I have 131. There we go. Uploading. If the shell doesn't work, I'm going to assume defender's on. Then we'd use like SMB exec. But it came back. So we can do cd users administrator desktop. And this box is finally done.", "start": 6639.28, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "So hope you guys enjoyed that. Take care and I will see you all next time. Oh wait. Um I kind of forgot. There was something we wanted to show. Um let's close out of this. Do we have ent sector here? Uh, that's not it. Where was that? Here. Yeah. So, I'm going to go back here.", "start": 6664.0, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "Um, dash f. There we go. We can do all here. And then I'm just going to show you all the objects this actually collects. Um, and then we'll wrap up the video because there's a lot of data in the nds. So, there we go. It's now extracted. Let's do temp and dissector out.", "start": 6689.679, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}} +{"text": "And we have a lot. So, um, pretty much the entire active directory domain in like JSON files, right? So, if we want, we can like look at the DNS node jq dot. Not sure exactly what all this data is good for, but if you want data out of nds.dit, I would highly recommend this tool. Most likely you'll only want the users, but there is so much more information in it. So that's going to be the video.", "start": 6712.32, "duration": 0.0, "meta": {"video_id": "YD8uatymgLk", "title": "HackTheBox - Infiltrator", "url": "https://www.youtube.com/watch?v=YD8uatymgLk"}}