text
stringlengths
4
952
start
float64
0
9.37k
duration
float64
0
0
meta
dict
Paste. This is looking better. Awesome. Who am I?
3,759.4
0
{ "video_id": "-JM--KfVhpA", "title": "HackTheBox - Vintage", "url": "https://www.youtube.com/watch?v=-JM--KfVhpA" }
di users administrator desktop. There we go. Awesome. So now we have um rooted the box. I want to set the protected flag to true or the sensitive flag to true and then see if we can still do this impersonation. So, what I'm going to do is move this ticket so it's easier to remember. So, we'll do CP this to um ADM.cc ca...
3,765.24
0
{ "video_id": "-JM--KfVhpA", "title": "HackTheBox - Vintage", "url": "https://www.youtube.com/watch?v=-JM--KfVhpA" }
command. Uh that's not it. Add SPN. Uh SPN. There we go. And I'm going to change dco1 to just be um lb biani adm like that. And there we go. We save this ticket. So we should be able to get back to our Wii exec. Let's just try it with this ticket. It's going to take a second, but looks like everything's working. Okay, ...
3,834.28
0
{ "video_id": "-JM--KfVhpA", "title": "HackTheBox - Vintage", "url": "https://www.youtube.com/watch?v=-JM--KfVhpA" }
So if we now go Google, let's see guidance protected user. So this is going to be what allows us to set to true or like set the sensitive flag I think. So it's saying the built-in administrator account is always exempt from authentication policies. Is this it? How the protected user group works?
3,870.559
0
{ "video_id": "-JM--KfVhpA", "title": "HackTheBox - Vintage", "url": "https://www.youtube.com/watch?v=-JM--KfVhpA" }
So, this isn't the article I was looking for, but I think this is saying we can just add them to the protected users group. There's also a way you can just set the ACL um specifically. Um, let's see. Blood Hound sensitive flag maybe. I'm not sure. Um, let's just try adding them to the um sensitive user group. So, let's...
3,905.68
0
{ "video_id": "-JM--KfVhpA", "title": "HackTheBox - Vintage", "url": "https://www.youtube.com/watch?v=-JM--KfVhpA" }
I'm guessing it does because we already have this ticket, right? But I'm hoping once I generate another um thing. Let's see. Is this it? Yep. I'm hoping this fails now. Uh there we go. KDC bad option cannot accommodate request. So now we have marked our account as sensitive and that now um blocks the ability. Uh to pro...
3,996.559
0
{ "video_id": "-JM--KfVhpA", "title": "HackTheBox - Vintage", "url": "https://www.youtube.com/watch?v=-JM--KfVhpA" }
I do this impersonate, let's just see. Will it work still? Yeah, cuz we get a ticket. So we can impersonate administrator. They just don't have remote access. So that's what blocked us. Um but let's upload the new Blood Hound files. So, I'm going to go administration, upload files, and let's see. We only have to upload...
4,061.839
0
{ "video_id": "-JM--KfVhpA", "title": "HackTheBox - Vintage", "url": "https://www.youtube.com/watch?v=-JM--KfVhpA" }
Upload. And this should only take a minute, but hopefully once it does, we'll see um that user is now merc sensitive, which would be a good way to know in recon before actually attempting to do the um delegation attack, right? See, it is now complete. Let's refresh. Cary ad. Uh no, it's not Cary.
4,094.039
0
{ "video_id": "-JM--KfVhpA", "title": "HackTheBox - Vintage", "url": "https://www.youtube.com/watch?v=-JM--KfVhpA" }
It is L biani. Come on, please say mark sensitive. False. Uh, protected user Elbiani member of I wonder if I didn't upload the groups. That's why I didn't do it. Um, let's do it. Add the groups as well.
4,117.839
0
{ "video_id": "-JM--KfVhpA", "title": "HackTheBox - Vintage", "url": "https://www.youtube.com/watch?v=-JM--KfVhpA" }
Administration. Uh, let's see. Where is domain groups? We'll do Let's just do them all. Uh there. It won't take that much longer to do them all. But I'm guessing maybe Blood Hound will look at the group and if it's a member of protected users, then it says I'm too sensitive. Or maybe it just doesn't look at it at all. ...
4,145.4
0
{ "video_id": "-JM--KfVhpA", "title": "HackTheBox - Vintage", "url": "https://www.youtube.com/watch?v=-JM--KfVhpA" }
False. Mark sensitive is still false. Do we now a member of a new group? 10 protected users, but was still marked false. Maybe I just don't know what I'm talking about. That is very possible. I'm going to delete all my data and then we're going to run it again. Um, but we confirmed adding them to the group did prevent ...
4,183.64
0
{ "video_id": "-JM--KfVhpA", "title": "HackTheBox - Vintage", "url": "https://www.youtube.com/watch?v=-JM--KfVhpA" }
Okay, copy these files.
4,231.679
0
{ "video_id": "-JM--KfVhpA", "title": "HackTheBox - Vintage", "url": "https://www.youtube.com/watch?v=-JM--KfVhpA" }
Upload. It's ingesting. Should not take long to ingest. Come on. This is why I normally pause the video because when it does take a while, it does. Uh maybe maybe that's why it wasn't it was going so quickly because um it wasn't actually updating because we had some of the data already. So maybe I should just pause the...
4,237.239
0
{ "video_id": "-JM--KfVhpA", "title": "HackTheBox - Vintage", "url": "https://www.youtube.com/watch?v=-JM--KfVhpA" }
Bianci. Look at this.
4,276.92
0
{ "video_id": "-JM--KfVhpA", "title": "HackTheBox - Vintage", "url": "https://www.youtube.com/watch?v=-JM--KfVhpA" }
and we're sensitive still false. So that does not do it. Um I wonder if it's like ACL inherent. I don't know exactly um what the case is. I find that to be a bit odd looking at this. We are a member of protected users. See if we look at this. Does this say anything about sensitive? It does not. Um let's see if we can f...
4,283.96
0
{ "video_id": "-JM--KfVhpA", "title": "HackTheBox - Vintage", "url": "https://www.youtube.com/watch?v=-JM--KfVhpA" }
So when we um remove the UAC bit account disable, I want to see exactly where that is defined. So we can list other bits we can remove. Um I wonder if it will have a help. Does it multiple? It does not say. So let's go. Let's see. It's probably in my VM local uh pipex VMs then bloody ad lib python site packages bloody ...
4,330.719
0
{ "video_id": "-JM--KfVhpA", "title": "HackTheBox - Vintage", "url": "https://www.youtube.com/watch?v=-JM--KfVhpA" }
disable. Oh, I lost it. Um, FS01. See, UAC. There we go. So, using bloody AD. This will be UAC. We want to add add UAC.
4,414.92
0
{ "video_id": "-JM--KfVhpA", "title": "HackTheBox - Vintage", "url": "https://www.youtube.com/watch?v=-JM--KfVhpA" }
this and we want it on LBNI ADM and we don't have a user or password because we're using a ticket. Uh we don't need format RC4. KB5 CC name equal ADM cache. Is that what we called it? The flag has been added. So, let's do blood hound yet again. And the third time is the term for getting this sensitive flag to set. Come...
4,442.84
0
{ "video_id": "-JM--KfVhpA", "title": "HackTheBox - Vintage", "url": "https://www.youtube.com/watch?v=-JM--KfVhpA" }
um can't do this. So we can say Dell group member protected users biani adm 5cc name it's not dell it's remove okay and impersonate. We still can't. And now that is ingested. Am I going to lose my mind here? Select account mark sensitive true. So that is why we can't generate a new ticket. But as we showed, if we alrea...
4,543.8
0
{ "video_id": "-JM--KfVhpA", "title": "HackTheBox - Vintage", "url": "https://www.youtube.com/watch?v=-JM--KfVhpA" }
Let's see. Oh, it's probably because um some type of cleanup happened. Let's see. This was a delegated admin thing.
4,641.36
0
{ "video_id": "-JM--KfVhpA", "title": "HackTheBox - Vintage", "url": "https://www.youtube.com/watch?v=-JM--KfVhpA" }
Okay, FS01 has been added to delegated admins. Impersonation works. Awesome.
4,662.719
0
{ "video_id": "-JM--KfVhpA", "title": "HackTheBox - Vintage", "url": "https://www.youtube.com/watch?v=-JM--KfVhpA" }
That is exactly what we expected. Let's now UAC add. We added that back. Impressation's broken. Right.
4,670.239
0
{ "video_id": "-JM--KfVhpA", "title": "HackTheBox - Vintage", "url": "https://www.youtube.com/watch?v=-JM--KfVhpA" }
There we go. Let's do remove impersonation works. And let's look at add group members. And we'll add it to protected users. And the reason why I'm doing this twice is because I realized um the cleanup script removed FS01 from delegated admin which broke my ability to begin with. So that's why I'm just going back and ma...
4,683.36
0
{ "video_id": "-JM--KfVhpA", "title": "HackTheBox - Vintage", "url": "https://www.youtube.com/watch?v=-JM--KfVhpA" }
It should be this one. I think that's remove. Now we can just use add. There we go. And now we want to impersonate. And still can't. So awesome. Uh so that's going to be Lux. Hope you guys enjoyed that beyond route.
4,737.04
0
{ "video_id": "-JM--KfVhpA", "title": "HackTheBox - Vintage", "url": "https://www.youtube.com/watch?v=-JM--KfVhpA" }
But um yeah, take care and I'll see you all next
4,764.719
0
{ "video_id": "-JM--KfVhpA", "title": "HackTheBox - Vintage", "url": "https://www.youtube.com/watch?v=-JM--KfVhpA" }
what's going on YouTube this is IPC I'm doing visual from hack the box which gets its name because the web app is a service that remotely uses Visual Studio to compiled. net apppp so you can just upload your project file and then it will output the compiled binary however most compilers including Visual Studio have som...
0.24
0
{ "video_id": "ZJDefj0K9Jw", "title": "HackTheBox - Visual", "url": "https://www.youtube.com/watch?v=ZJDefj0K9Jw" }
restores all your capabilities and that lets you get SE impersonate where you can use the god potato which is the latest in potato attacks to escalate to Route so with all that being said 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 o a put all f...
43.44
0
{ "video_id": "ZJDefj0K9Jw", "title": "HackTheBox - Visual", "url": "https://www.youtube.com/watch?v=ZJDefj0K9Jw" }
11234 and the banner tells us welcome to visual a revolutionary approach to visual studio project compilation with visual so I guess the Box's name is visual because it hosts Visual Studio on the back end and it also tells us they only support net 6.0 and C programs so make sure repo includes a sln file which is a solu...
93.24
0
{ "video_id": "ZJDefj0K9Jw", "title": "HackTheBox - Visual", "url": "https://www.youtube.com/watch?v=ZJDefj0K9Jw" }
build is being compiled please be patient and then looking back here we just see nothing yet so I'm going to give it some time um I like just waiting like a minute to see if anything happens I'm guessing it's going to happen before that minute's up but we'll see and the main thing I want to see is does it just make a r...
151.12
0
{ "video_id": "ZJDefj0K9Jw", "title": "HackTheBox - Visual", "url": "https://www.youtube.com/watch?v=ZJDefj0K9Jw" }
this is actually taking advantage of a um get service right so my first thing is I just want to Google this to see if it's like standard RFC or specific to um maybe gogs G gitlab there's a lot of various git Reapers right and this just looks like it is going to be standard git so we can stand up any type of repository ...
201.04
0
{ "video_id": "ZJDefj0K9Jw", "title": "HackTheBox - Visual", "url": "https://www.youtube.com/watch?v=ZJDefj0K9Jw" }
have it so it went really quickly so now all we have to do is a run so if I do docko run I'm going to do DD so it start detached I'm going to then do- P Port 300 3000 and what this is going to do is listen on my local host and for it to 3,000 on the container which is the default Port G T runs on um you could probably ...
261.519
0
{ "video_id": "ZJDefj0K9Jw", "title": "HackTheBox - Visual", "url": "https://www.youtube.com/watch?v=ZJDefj0K9Jw" }
the hash and now if I do Local Host Port 3,000 we have a g instance I'm just going to click install G and then we can register an account soon as it's up right we have it loading there where it user login let's create our account I'll say IPC root atp. Ro password of password then we register the account and now we're ...
317.84
0
{ "video_id": "ZJDefj0K9Jw", "title": "HackTheBox - Visual", "url": "https://www.youtube.com/watch?v=ZJDefj0K9Jw" }
easiest way I know is to use Docker right so I want to install a Docker container that's only using net 6 because that's what the website tells us but if you had Net 7 would also work um probably net one through or two through five would also work because it's backwards compatible but let's just do um Microsoft docker ...
394.36
0
{ "video_id": "ZJDefj0K9Jw", "title": "HackTheBox - Visual", "url": "https://www.youtube.com/watch?v=ZJDefj0K9Jw" }
say the runtime 6.0 and then I think I just do bash and it will put me at a prompt there we go so here I have my container if I go to Mount it's shared with my host right now so what that's going to allow me to do is all the net commands to um make a project right so the first thing you want to do is net new console uh...
467.12
0
{ "video_id": "ZJDefj0K9Jw", "title": "HackTheBox - Visual", "url": "https://www.youtube.com/watch?v=ZJDefj0K9Jw" }
this looks like it's just going to point us to net 6.0 and then the program.cs file is just a hello world if I do netrun it will compile this application and run it awesome uh the next thing we need to do is make that sln file because the website tells us um we need it the solution file so if I just do net new sln it s...
564.48
0
{ "video_id": "ZJDefj0K9Jw", "title": "HackTheBox - Visual", "url": "https://www.youtube.com/watch?v=ZJDefj0K9Jw" }
to be a little bit confusing so what we did is give the sln file add the Cs project file and we see it has been added to the solution so now if I go to my Please Subscribe directory we have the visual Studio Pro uh directory I'm going to make a get ignore file and we're going to ignore bin an object because those are j...
635.48
0
{ "video_id": "ZJDefj0K9Jw", "title": "HackTheBox - Visual", "url": "https://www.youtube.com/watch?v=ZJDefj0K9Jw" }
find. Dame start.exe I guess it made an elf file um I don't think that matters too much so let's see the next step we need to do is uh get add dot to add all the files to the git repo we can commit U give it the message doesn't really matter here I'm going to say initial commit then we can get push and then put our g t...
720.399
0
{ "video_id": "ZJDefj0K9Jw", "title": "HackTheBox - Visual", "url": "https://www.youtube.com/watch?v=ZJDefj0K9Jw" }
going to send this and we can wait probably a minute for the Ser to make a request to us and I guess while this goes we can talk about what the next step is because it kind of take some time um the project file is going to tell the um compiler what to do and there are some dangerous options in this uh whenever you open...
799.16
0
{ "video_id": "ZJDefj0K9Jw", "title": "HackTheBox - Visual", "url": "https://www.youtube.com/watch?v=ZJDefj0K9Jw" }
um so we could just call it like in the property group this says read only let's get out of here so it's not read only U maybe I could do uh pseudo V mount.
871.279
0
{ "video_id": "ZJDefj0K9Jw", "title": "HackTheBox - Visual", "url": "https://www.youtube.com/watch?v=ZJDefj0K9Jw" }
CSR okay now I can write so if I do preu event we can run a command here so I'm just going to say um touch ped and we're going to end it prebuild event like this and then if we go back to the docker container and we can see the web server made a request to us um we'll look at the output of the web server in just a minu...
891.6
0
{ "video_id": "ZJDefj0K9Jw", "title": "HackTheBox - Visual", "url": "https://www.youtube.com/watch?v=ZJDefj0K9Jw" }
when writing like c2s because I'll if I'm not using a malleable config if you don't know what that is just go to ip. ro type malleable config and watch that video but let's say I'm creating a um file and I have config Doh I really hate Docker sometimes because it doesn't have V I could like Define a variable let's say ...
960.279
0
{ "video_id": "ZJDefj0K9Jw", "title": "HackTheBox - Visual", "url": "https://www.youtube.com/watch?v=ZJDefj0K9Jw" }
course the compiler is always going to remove all comments so that doesn't make it into the executable and what you're left with is just a bunch of encrypted things and decryption key is a bad one we could say like um C2 URL or something right and that way you don't have plain text strings in your executable because th...
1,036.76
0
{ "video_id": "ZJDefj0K9Jw", "title": "HackTheBox - Visual", "url": "https://www.youtube.com/watch?v=ZJDefj0K9Jw" }
run through a program to create essentially a header file that gives you a lot more functions right this is going to stand up a RPC service named greeter and then it has two functions say hello and say hello again and hello is going to take in a hello request which has the variable name hello again uh pretty much the s...
1,093.48
0
{ "video_id": "ZJDefj0K9Jw", "title": "HackTheBox - Visual", "url": "https://www.youtube.com/watch?v=ZJDefj0K9Jw" }
the protoc C command before building the go program we would use a pre-build event right so that is one of the more legitimate use cases for it um hopefully that all makes sense and you enjoy that tangent always let me know in the comments if you do um so let's see where were we okay we want to see what the website sai...
1,153.039
0
{ "video_id": "ZJDefj0K9Jw", "title": "HackTheBox - Visual", "url": "https://www.youtube.com/watch?v=ZJDefj0K9Jw" }
first let us just um whoops edit that get ignore that's what I want to do so I'm going to remove the object get add dot get commit DM add objdir get push and we can see we added that project assets. Json which it was looking for and now we will go ahead and redo this right if we go back here it already saved submit it ...
1,213.24
0
{ "video_id": "ZJDefj0K9Jw", "title": "HackTheBox - Visual", "url": "https://www.youtube.com/watch?v=ZJDefj0K9Jw" }
here so 10 10 148 901 because that's where the shell is going to listen and then what I'm also going to do is um use a web Cradle to access this file we could just cat rev. PS1 I convert to utf16 little Indian and then base 64- w0 um I thought we could Let's see we a to convert why I convert DT utf16 little andian okay...
1,315.039
0
{ "video_id": "ZJDefj0K9Jw", "title": "HackTheBox - Visual", "url": "https://www.youtube.com/watch?v=ZJDefj0K9Jw" }
getting flagged by antivirus so let's do a uh I'm just going to do it in a file so we'll call it web cradle and we can say new object net.
1,406.6
0
{ "video_id": "ZJDefj0K9Jw", "title": "HackTheBox - Visual", "url": "https://www.youtube.com/watch?v=ZJDefj0K9Jw" }
webclient download string HTTP 10 1048 um 8000 rev. PS1 I can't remember if I want this in double quotes or single quotes I think d uh single quotes would be just fine so let's do a cat command again we'll do the web Creator there we go copy this go to our um CS project file and then we can say this we have to do this ...
1,419.52
0
{ "video_id": "ZJDefj0K9Jw", "title": "HackTheBox - Visual", "url": "https://www.youtube.com/watch?v=ZJDefj0K9Jw" }
command that's interesting right so we get the output of our Command in that so let's see what we want to do let's make sure we have this that looks good so I can say get add dot get command - M add malicious um prebuild get push so now our latest is up there hit enter a few times we can go back hit submit and then we ...
1,506.48
0
{ "video_id": "ZJDefj0K9Jw", "title": "HackTheBox - Visual", "url": "https://www.youtube.com/watch?v=ZJDefj0K9Jw" }
be hit well it still says compiled so maybe it takes a while to do the get pole in the um clone oh there we go so we had it hit and then we got a reverse shell connection here right so awesome um the one thing I wish I did was RL WP this netcat uh command so like I could clear the screen and do other things but um oh w...
1,591.559
0
{ "video_id": "ZJDefj0K9Jw", "title": "HackTheBox - Visual", "url": "https://www.youtube.com/watch?v=ZJDefj0K9Jw" }
right um HTTP there we go httpd like that and I'm going to copy this command okay then we want to select object name that's a process name um image username convert to Json this is ugly using wmi but let's try it so if I Echo earners now I don't know if that worked so I don't know I don't think we can see who owns the ...
1,671.559
0
{ "video_id": "ZJDefj0K9Jw", "title": "HackTheBox - Visual", "url": "https://www.youtube.com/watch?v=ZJDefj0K9Jw" }
web server I want to see if I can write um files so I'm going to echo. pH or let's Echo a webshell let's do PHP like this and we'll say PHP info like that to.php and we didn't error and we can see we wrote the file so now if I go to 101 11234 p. PHP we don't get anything which is odd we see the PHP tag but it did not e...
1,775.2
0
{ "video_id": "ZJDefj0K9Jw", "title": "HackTheBox - Visual", "url": "https://www.youtube.com/watch?v=ZJDefj0K9Jw" }
so let's go copy our Echo command again and then we can say out file.php and encoding um asky so now when I run this command uh it get a lot more output because it's no longer UTF encoded and we have the PHP info output right so now if I just get rid of this view source and view it that works so whenever you're on Wind...
1,858.399
0
{ "video_id": "ZJDefj0K9Jw", "title": "HackTheBox - Visual", "url": "https://www.youtube.com/watch?v=ZJDefj0K9Jw" }
Authority local service if we do who am i/ all uh let's do it and view source so line breaks are treated it looks very similar to this but because we're local service we can actually escalate to um get SE impersonate privilege most likely so let's get a interactive shell here real quick so I'm going to go to a new Pane...
1,941.559
0
{ "video_id": "ZJDefj0K9Jw", "title": "HackTheBox - Visual", "url": "https://www.youtube.com/watch?v=ZJDefj0K9Jw" }
and remember the name let's see net GitHub um full privilege let's see that's not the name restore all privileges local service and quotes there we go full Powers is what the name of this is um I'm sure if I searched hack tricks long enough I would find a reference to it but a lot of Windows pen testing is just knowing...
2,013.84
0
{ "video_id": "ZJDefj0K9Jw", "title": "HackTheBox - Visual", "url": "https://www.youtube.com/watch?v=ZJDefj0K9Jw" }
in uh this Box's name is visual we'll put it right in dubdub duub okay and then I'm going to get a program data because this is normally World writable and we can say uh curl 101 we probably need to do http 10 10 148 8,000 uh it's probably full powers.
2,080.72
0
{ "video_id": "ZJDefj0K9Jw", "title": "HackTheBox - Visual", "url": "https://www.youtube.com/watch?v=ZJDefj0K9Jw" }
exe and we'll name it full powers. exe so if I do a dir we have that binary if I try to execute it and then we do Who Am iall it didn't do anything but something odd happened I'm not sure if you noticed so let's try this again let's do full powers. exe and it starts the dummy thread we create the schedule task we get t...
2,104.16
0
{ "video_id": "ZJDefj0K9Jw", "title": "HackTheBox - Visual", "url": "https://www.youtube.com/watch?v=ZJDefj0K9Jw" }
Google PHP reverse shell um I'm going to Google Ivan because that's the Creator it I forget his exact handle but this brings me to this reverse shell and this is a much better reverse shell than it he credits um the original script here but now it supports Linux Mac and windows so this is one I would definitely recomme...
2,171.64
0
{ "video_id": "ZJDefj0K9Jw", "title": "HackTheBox - Visual", "url": "https://www.youtube.com/watch?v=ZJDefj0K9Jw" }
PHP rev. PHP okay so let's stand up a netcat listener and now all I want to do is hit the rev. PHP file I just uploaded and we have a reverse shell here and we're not in poers Shell um but this reverse shell is a bit better I don't know exactly why the oneliner reverse shell doesn't work but by now Run f Powers we see ...
2,271.48
0
{ "video_id": "ZJDefj0K9Jw", "title": "HackTheBox - Visual", "url": "https://www.youtube.com/watch?v=ZJDefj0K9Jw" }
don't remember all the potatoes it seems like every year or two a new one is created because Microsoft patches the method um I think God potato is the latest one right now um there's also I think local potato which works like there's just so many there's like juicy potato there was one after that there's Rogue potato t...
2,349.04
0
{ "video_id": "ZJDefj0K9Jw", "title": "HackTheBox - Visual", "url": "https://www.youtube.com/watch?v=ZJDefj0K9Jw" }
again uh grab it from the Cs project file grab this okay and that should be it we run it it's hanging and we failed because we're not listening on a port so there we go now we're listening and boom we get a shell who am I now we're the system account over on this one we were service which isn't system this one is local...
2,434.28
0
{ "video_id": "ZJDefj0K9Jw", "title": "HackTheBox - Visual", "url": "https://www.youtube.com/watch?v=ZJDefj0K9Jw" }
What's going on YouTube? This is IPSG me doing Valora from Hack the Box, which is a nice active directory box that's all about lateral privac and pillaging shares. It starts off with discovering a document in a fileshare, giving us credentials to a deleted user and two service accounts. One of these accounts is for LDA...
0.4
0
{ "video_id": "G7FOSfZMC1I", "title": "HackTheBox - Voleur", "url": "https://www.youtube.com/watch?v=G7FOSfZMC1I" }
profile, which contains DPappy encrypted blobs, one of which to another user that can download an AD backup so we can run secret stump to get root. Uh, one quick note, my old keyboard failed, so I switched to acquired a keyboard for this video. Hopefully the clicketity clack is back next video. So with all that being s...
39.92
0
{ "video_id": "G7FOSfZMC1I", "title": "HackTheBox - Voleur", "url": "https://www.youtube.com/watch?v=G7FOSfZMC1I" }
directory is at play. It's giving us the domain name of valor.htb. And that's it. Normally, we're used to seeing like an SSLert with this LDAP that also gives us the host name of the box because that's going to be the common name. Um, also like if you have that SSLert, you can see the certificate authority. And oftenti...
86.24
0
{ "video_id": "G7FOSfZMC1I", "title": "HackTheBox - Voleur", "url": "https://www.youtube.com/watch?v=G7FOSfZMC1I" }
We'll put valor.htb. And I also always like adding the host name of the box since um the LDAP certificate's not giving it. We can just use something like net exec to pull it, right? So, we'll do net exec SMB 101176.
120.719
0
{ "video_id": "G7FOSfZMC1I", "title": "HackTheBox - Voleur", "url": "https://www.youtube.com/watch?v=G7FOSfZMC1I" }
And that will connect us over to the SMB service on this box. and we get the host name which is just DC. Additionally, it tells us NLM is disabled. So, we can't do any NLM authentication. We'll have to be using Cobros. So, let's just go ahead and add the DC. And I'm also going to do DC.valor.htb. So, we have all three ...
136.08
0
{ "video_id": "G7FOSfZMC1I", "title": "HackTheBox - Voleur", "url": "https://www.youtube.com/watch?v=G7FOSfZMC1I" }
The TTL is 127 and then the banner is also telling us it's Ubuntu. So I don't know exactly what's at play here. Maybe it's like WSL, the Windows Subsystem for Linux or something because if this was a complete VM, I would expect the TTL to be decremented an extra time because you got an extra hop. Additionally, um Linux...
179.68
0
{ "video_id": "G7FOSfZMC1I", "title": "HackTheBox - Voleur", "url": "https://www.youtube.com/watch?v=G7FOSfZMC1I" }
hours. So before doing anything Kerros related, we'll probably have to run NTP date to sync the time. And we know we're probably going to have to run Kerros stuff because well, uh, we saw NLM authentication was disabled, right? So let's just go ahead real quick and generate our Kerros host file. I like using net exec f...
228.239
0
{ "video_id": "G7FOSfZMC1I", "title": "HackTheBox - Voleur", "url": "https://www.youtube.com/watch?v=G7FOSfZMC1I" }
Is it KB file? NXE-h. Oh, we have to do SMB.
271.36
0
{ "video_id": "G7FOSfZMC1I", "title": "HackTheBox - Voleur", "url": "https://www.youtube.com/watch?v=G7FOSfZMC1I" }
KB UC cache generate. I have to spell it. Okay, there we go. So, that's going to give us the Kerros file. And if you want to look at it, you can. It's just this, right?
279.12
0
{ "video_id": "G7FOSfZMC1I", "title": "HackTheBox - Voleur", "url": "https://www.youtube.com/watch?v=G7FOSfZMC1I" }
Um, the key thing is it just configures Kerros for us. So, any like default Linux tool we use should just magically work, right? So, let's just do CP um this Valor Kobe B over etsy karobb5.com and then we can start progressing. This is an assumed breach box. So, we start out with a set of credentials. So, I'm just goin...
294.72
0
{ "video_id": "G7FOSfZMC1I", "title": "HackTheBox - Voleur", "url": "https://www.youtube.com/watch?v=G7FOSfZMC1I" }
And we run this and oh, S's not supported. We have to add the Kerros flag, right? So, that's going to um tell us the clock is wrong. Let's do this. The third time is the charm, right? Uh so we're setting the time now with NTP date. Running it again. And come on. Authentication success.
330.96
0
{ "video_id": "G7FOSfZMC1I", "title": "HackTheBox - Voleur", "url": "https://www.youtube.com/watch?v=G7FOSfZMC1I" }
That was odd. Okay. I'm not sure exactly what went on there, but there we go. We have an authentication. Um it doesn't say prone because we don't have any type of shell. Um we could also test SSH. So, I think it's SSH and then um maybe it's like d-port222.
351.919
0
{ "video_id": "G7FOSfZMC1I", "title": "HackTheBox - Voleur", "url": "https://www.youtube.com/watch?v=G7FOSfZMC1I" }
Let's see if that works. There we go. And we don't get in.
371.919
0
{ "video_id": "G7FOSfZMC1I", "title": "HackTheBox - Voleur", "url": "https://www.youtube.com/watch?v=G7FOSfZMC1I" }
Um I think Net Exec does does support Keraros over SSH. I don't know if it does. I know there's APR in order to do that, but um I don't think that um disabling NLM would block us from using a username password on SSH. So, let's go back to the SMB. We can run a d-shares to see if there's any open file shares.
377.84
0
{ "video_id": "G7FOSfZMC1I", "title": "HackTheBox - Voleur", "url": "https://www.youtube.com/watch?v=G7FOSfZMC1I" }
And oh, I'm on port. Okay. I was like, something is going weird. But that is just me forgetting I had that flag in. And we have to do the dash k.
403.039
0
{ "video_id": "G7FOSfZMC1I", "title": "HackTheBox - Voleur", "url": "https://www.youtube.com/watch?v=G7FOSfZMC1I" }
There we go. So, let's see. Do we have any file shares on this box?
416.4
0
{ "video_id": "G7FOSfZMC1I", "title": "HackTheBox - Voleur", "url": "https://www.youtube.com/watch?v=G7FOSfZMC1I" }
Um, it's pulling. It's thinking.
421.759
0
{ "video_id": "G7FOSfZMC1I", "title": "HackTheBox - Voleur", "url": "https://www.youtube.com/watch?v=G7FOSfZMC1I" }
Let's see. We have admin. See, there's a default. Finance, HR. We don't have read permissions there. We have an IT share which we can read net login and cisvall.
427.199
0
{ "video_id": "G7FOSfZMC1I", "title": "HackTheBox - Voleur", "url": "https://www.youtube.com/watch?v=G7FOSfZMC1I" }
So let's go ahead and run rust town. So I'll do um rust town ce the domain valor htb user ryan nailer and the password is not that. We'll delete this and then go ahead and grab that password again.
439.039
0
{ "video_id": "G7FOSfZMC1I", "title": "HackTheBox - Voleur", "url": "https://www.youtube.com/watch?v=G7FOSfZMC1I" }
Save that. And while that's running, let's just go into my opth blood hound server directory. We can do a docker compose up-d to start the Blood Hound service. And we're going to start importing um these files, right? So, let's just click here and then we're going to go to HTB valor, give it all these JSON files, uploa...
460
0
{ "video_id": "G7FOSfZMC1I", "title": "HackTheBox - Voleur", "url": "https://www.youtube.com/watch?v=G7FOSfZMC1I" }
password which is hollow 31 night like that. Let's put this in single quotes. I'm going to add the dash l. It's going to show me all the shares because I just want to make sure I did this um command correctly. So, we run this. You could also use like SMB client.py. Um, I just like using SMB client because I'm used to a...
522
0
{ "video_id": "G7FOSfZMC1I", "title": "HackTheBox - Voleur", "url": "https://www.youtube.com/watch?v=G7FOSfZMC1I" }
also be signatured, but it's more legitimate use case than impact. Right? You may see CIS admins using SMB client, especially when we see there is an SSH server here on port 2222. Um you'll almost never see a CIS admin just randomly deciding to use MP packet, right? That just doesn't happen. Uh we do have an Excel file...
580.8
0
{ "video_id": "G7FOSfZMC1I", "title": "HackTheBox - Voleur", "url": "https://www.youtube.com/watch?v=G7FOSfZMC1I" }
Um we need a password to open it. So we can't open this. Uh let's cancel out whatever. Um, we're going to use is it office to John? There we go. On this file, that's going to give us a hash which we can just pass into hashcat. So, I'm going to do sh to the kraken. Um, you can run hashcat anywhere. I like running it on ...
617.839
0
{ "video_id": "G7FOSfZMC1I", "title": "HackTheBox - Voleur", "url": "https://www.youtube.com/watch?v=G7FOSfZMC1I" }
Um, maybe we need to say d- user because it did put the uh file name and then the hash. Uh, it's probably going to be now mode 9600 ms office. That looks much better than generic hash, right? Um, hopefully this cracks. If it doesn't, then I'll probably just switch over to use John.
677.12
0
{ "video_id": "G7FOSfZMC1I", "title": "HackTheBox - Voleur", "url": "https://www.youtube.com/watch?v=G7FOSfZMC1I" }
But I know hashcat can crack office files. So, um, those other modes are definitely confusing me. The Python interpreter, free threading, things like that. Um, there we go. It has started. How long does this think it will take? Uh, where is the time? Uh, come on. Where's time recovered? I must be blind. We're Oh, we're...
699.2
0
{ "video_id": "G7FOSfZMC1I", "title": "HackTheBox - Voleur", "url": "https://www.youtube.com/watch?v=G7FOSfZMC1I" }
I probably have to get rid of the word list. There we go.
736
0
{ "video_id": "G7FOSfZMC1I", "title": "HackTheBox - Voleur", "url": "https://www.youtube.com/watch?v=G7FOSfZMC1I" }
Um, show with username and diamond calls. Oh, we need the hash. There we go. Um, the password is going to be football one. So, let's go ahead and try this.
749.279
0
{ "video_id": "G7FOSfZMC1I", "title": "HackTheBox - Voleur", "url": "https://www.youtube.com/watch?v=G7FOSfZMC1I" }
So, I'm going to open this file back up. Football one.
764.32
0
{ "video_id": "G7FOSfZMC1I", "title": "HackTheBox - Voleur", "url": "https://www.youtube.com/watch?v=G7FOSfZMC1I" }
And it opens this Excel document. Awesome. So, let's see. Ryan Naylor has Kerros pre-off disabled. Let's see. We have Todd Wolf um who left and it says the password, but the user account is disabled. So, if we try to use this, it's probably just not going to let us.
770.32
0
{ "video_id": "G7FOSfZMC1I", "title": "HackTheBox - Voleur", "url": "https://www.youtube.com/watch?v=G7FOSfZMC1I" }
Um, so let's just go back over to our net exec.
788.56
0
{ "video_id": "G7FOSfZMC1I", "title": "HackTheBox - Voleur", "url": "https://www.youtube.com/watch?v=G7FOSfZMC1I" }
Uh, what is it? Todd dot is it two? Did I spell that correctly? Yep. Wolf with a e. Let's just confirm they have deleted him.
794.32
0
{ "video_id": "G7FOSfZMC1I", "title": "HackTheBox - Voleur", "url": "https://www.youtube.com/watch?v=G7FOSfZMC1I" }
Every now and then you see like they say the account is deleted, but it's not really deleted. Um, but we get a principal unknown. So, chances are this account is definitely gone, right?
805.519
0
{ "video_id": "G7FOSfZMC1I", "title": "HackTheBox - Voleur", "url": "https://www.youtube.com/watch?v=G7FOSfZMC1I" }
Uh, let's see. Jeremy Combmes has access to software folder administrator not to be used for daily tasks. Uh, service backup password is speak to Jeremy. Um, let's see. Service LDAP. And we got a password. So, let's try this. So, svc LDAP. Try this password.
817.279
0
{ "video_id": "G7FOSfZMC1I", "title": "HackTheBox - Voleur", "url": "https://www.youtube.com/watch?v=G7FOSfZMC1I" }
And that works. So we have an LDAT password service IIS and we got this password. So let's see I put this in and we get the password and then WinRM need to ask Lacy if she has reset this recently. So, we got two credentials out of this, LDAP and IIS. Let's go over to the Blood Hound data now that it's definitely done i...
844.88
0
{ "video_id": "G7FOSfZMC1I", "title": "HackTheBox - Voleur", "url": "https://www.youtube.com/watch?v=G7FOSfZMC1I" }
And then we have the service LDAP. We can mark them as owned.
886.32
0
{ "video_id": "G7FOSfZMC1I", "title": "HackTheBox - Voleur", "url": "https://www.youtube.com/watch?v=G7FOSfZMC1I" }
I also want to see what groups LDAP is a part of. So let's just say owned member of users. There is a restore user group and domain users. So it looks like LDAP can undo deletes in active directory. We saw Todd Wolf in the Excel was deleted. So chances are we can use this service LDAP in order to restore them, right? U...
893.44
0
{ "video_id": "G7FOSfZMC1I", "title": "HackTheBox - Voleur", "url": "https://www.youtube.com/watch?v=G7FOSfZMC1I" }
And I like seeing what members this is of only two. Um is going to be users and domain users. So now let's go run our cipher query and we can say shortest paths from owned principles or owned objects I guess it is. Now run this. And we don't want to restore pages. Let's see. Okay, there we go. So, let's see what we hav...
926.639
0
{ "video_id": "G7FOSfZMC1I", "title": "HackTheBox - Voleur", "url": "https://www.youtube.com/watch?v=G7FOSfZMC1I" }
The intended path is meant to be easier. We jump through LDAP to WinRM. We get access to a shell and then we can use run as CS to switch to the LDAP user.
990.72
0
{ "video_id": "G7FOSfZMC1I", "title": "HackTheBox - Voleur", "url": "https://www.youtube.com/watch?v=G7FOSfZMC1I" }
And then with PowerShell on the domain controller, it's much easier to restore the object, right? But there are tools within net exec to automatically restore objects without needing a shell. So the only reason we're going to be doing this whole targeted CBRO step with write SPN is because um it's not common knowledge ...
1,001.36
0
{ "video_id": "G7FOSfZMC1I", "title": "HackTheBox - Voleur", "url": "https://www.youtube.com/watch?v=G7FOSfZMC1I" }