text stringlengths 4 952 | start float64 0 9.37k | duration float64 0 0 | meta dict |
|---|---|---|---|
this is just probably another way to um ex you commands through like net exec so let's do net exac SMB that- u d Matrix DP like this did I get the username right let's see does this credential work yes it does so we should be able to run um blun Hound this way so let's do opt let's go blood hound. py I'm going to run a... | 1,633.32 | 0 | {
"video_id": "cAXptAMDXuY",
"title": "HackTheBox - Axlle",
"url": "https://www.youtube.com/watch?v=cAXptAMDXuY"
} |
whatnot d-p like that and then let's see op wonder if we just run it like this there we go um a lot of impacted scripts like the host name a different way see DNS is timing out king 10 10 1121 let's see let's get rid of dnst TCP DNS still timed out and it's doing a SRV request and let's see I think that's because we di... | 1,726.84 | 0 | {
"video_id": "cAXptAMDXuY",
"title": "HackTheBox - Axlle",
"url": "https://www.youtube.com/watch?v=cAXptAMDXuY"
} |
go up uh blood hound and then we want to go in let's see examples Docker compose and then it's like let's see what is it Blood Hound Port there we go so when running Blood Hound um if you specify this environment variable before you run it it's going to bind Blood Hound on that Port by default it is 8080 and if you hav... | 1,821.48 | 0 | {
"video_id": "cAXptAMDXuY",
"title": "HackTheBox - Axlle",
"url": "https://www.youtube.com/watch?v=cAXptAMDXuY"
} |
then upload it so we'll find out um I don't have a lot of experience with this Blood Hound Community Edition but um we'll see what happens right let's do Local Host Port 8888 see if it's up yet it is not um it is still starting up refresh there we go um spam at example.com and then my default password was 2024 this sho... | 1,882.639 | 0 | {
"video_id": "cAXptAMDXuY",
"title": "HackTheBox - Axlle",
"url": "https://www.youtube.com/watch?v=cAXptAMDXuY"
} |
let's go over to our Administration tab so we can go to whoops upload files is what I wanted and then let's pfy HTP axle oh no they're just in opt blood hound. right now go in this directory specify these Json files upload them all upload to continue it looks like it does work all files have been uploaded for inest clo... | 1,946.639 | 0 | {
"video_id": "cAXptAMDXuY",
"title": "HackTheBox - Axlle",
"url": "https://www.youtube.com/watch?v=cAXptAMDXuY"
} |
they're a member of um accounts authenticated users domain whatever nothing too interesting so let's look at the next user um D Matrix we can Mark D as earned and there should be an outbound object control so maybe I did not capture everything with blood hound that I wanted to um shoot let's go back let's do RM star. | 2,021.72 | 0 | {
"video_id": "cAXptAMDXuY",
"title": "HackTheBox - Axlle",
"url": "https://www.youtube.com/watch?v=cAXptAMDXuY"
} |
Json or maybe it only did one of these I probably should have deleted that right away let's run this again we'll do d c all for all collection methods and and see if we get anything else um because I think we should have outbound object control for this user let's see do we get anything web devs so a member of webdev u... | 2,058.679 | 0 | {
"video_id": "cAXptAMDXuY",
"title": "HackTheBox - Axlle",
"url": "https://www.youtube.com/watch?v=cAXptAMDXuY"
} |
again and we'll wait till this one's complete um it just really sucks if you run Blood Hound you don't know what you're supposed to be seeing and you forget to do the dash C all because you're going to miss a lot of things I think the reason why it doesn't collect it by default is because I mean probably opsc reasons a... | 2,128.079 | 0 | {
"video_id": "cAXptAMDXuY",
"title": "HackTheBox - Axlle",
"url": "https://www.youtube.com/watch?v=cAXptAMDXuY"
} |
else nope uh what is this oh administrator so let's go back to our users and let's look at Gideon make sure there's no outbound control oh Gideon does have outbound let's see why is it marked on I'm on web dev still Gideon there we go only inbound control there is no outbound if we look at inbound we can kind of just s... | 2,185.52 | 0 | {
"video_id": "cAXptAMDXuY",
"title": "HackTheBox - Axlle",
"url": "https://www.youtube.com/watch?v=cAXptAMDXuY"
} |
copy and paste out of there so let's go back to D Matrix and do this SEC password command and the next thing we do is a set domain user password we can skip this because um we're already the user we want to this whole cred step is if we want to run the um password change as a different user but since we're running it a... | 2,257.96 | 0 | {
"video_id": "cAXptAMDXuY",
"title": "HackTheBox - Axlle",
"url": "https://www.youtube.com/watch?v=cAXptAMDXuY"
} |
exploit get check out Dev get pull does that put us in Dev okay we should have the dev Branch now hopefully uh let's go to Recon and then where is Power view oh right there there powerview PS1 let's put this in dubdub duub okay so now we can do new object net. web client download string HTTP 10148 or 8000 and where's t... | 2,322.599 | 0 | {
"video_id": "cAXptAMDXuY",
"title": "HackTheBox - Axlle",
"url": "https://www.youtube.com/watch?v=cAXptAMDXuY"
} |
finding do Jacob greeny to let's do the main frame path not found baz Humphries no path found I swear when I did this before I saw like an edge that said one of these users could win RM um did something change so that's still the password I'm going to try evil wi RM real quick wi rm- I 10 10 1121 U Jacob greeny P we'll... | 2,435.88 | 0 | {
"video_id": "cAXptAMDXuY",
"title": "HackTheBox - Axlle",
"url": "https://www.youtube.com/watch?v=cAXptAMDXuY"
} |
latest version of python if I try to update then it fails so not sure what's going on but obviously we can win orm um I do want to take a step back because I don't like that uh let's see I'm G to run sharp Hound I think cuzz I don't know why blood hound isn't showing the winrm Edge like I should be able to see that so ... | 2,523.48 | 0 | {
"video_id": "cAXptAMDXuY",
"title": "HackTheBox - Axlle",
"url": "https://www.youtube.com/watch?v=cAXptAMDXuY"
} |
exe and then we'll run it program data curl HTTP 10 1048 8000 sharp hound. EXE Shar pound exe to download it cound exe collection all okay go back to winrm this will just give us an easy way to download it program data then we can download the zip and we'll get an upload and hopefully I see the edge um because I'm baff... | 2,592.24 | 0 | {
"video_id": "cAXptAMDXuY",
"title": "HackTheBox - Axlle",
"url": "https://www.youtube.com/watch?v=cAXptAMDXuY"
} |
um python data let's check the other one what is it uh not baz Humphrey um Jacob okay execution privilege yes it is there so I'm not sure exactly what's going on with that python ingester um I'm guessing it just hasn't been updated but we can see this definitely does work so um definitely recommend using sharp pound wh... | 2,693.839 | 0 | {
"video_id": "cAXptAMDXuY",
"title": "HackTheBox - Axlle",
"url": "https://www.youtube.com/watch?v=cAXptAMDXuY"
} |
before let's do get ACL um select star to get that property name uh I don't know why that's taking a while that should be instantaneous there we go access to string oh we can see it here right but nor normally I would do select whoops not that uh select access to string then format list and we can see um appdev can rea... | 2,765.96 | 0 | {
"video_id": "cAXptAMDXuY",
"title": "HackTheBox - Axlle",
"url": "https://www.youtube.com/watch?v=cAXptAMDXuY"
} |
or Standalone runner. exes system to test and debug this driver so we want to see exactly what this program is so I'm going to do a dir um let's do GCI dforce is there like a dogit directory there is not um KB filter. SN is this a thing driver samples KB filter read me so this is a sample driver this is looking somewha... | 2,842.119 | 0 | {
"video_id": "cAXptAMDXuY",
"title": "HackTheBox - Axlle",
"url": "https://www.youtube.com/watch?v=cAXptAMDXuY"
} |
debugging drivers on window window systems so we know there's a note that is um saying it's automatically running it and this is on a living off the land binary so there's probably a way for us to um drop a file next to this and get command execution so I'm going to go in this directory real quick so let's do CD like t... | 2,935.24 | 0 | {
"video_id": "cAXptAMDXuY",
"title": "HackTheBox - Axlle",
"url": "https://www.youtube.com/watch?v=cAXptAMDXuY"
} |
slork and then create a file CMD dotex in the execution directory and fill it with the contents okay so let's try this um we want to create a file like this let's see create a file and put it in that I'm going to go in program data to write this just because there looks like there's a scheduled task running and a I was... | 3,022.52 | 0 | {
"video_id": "cAXptAMDXuY",
"title": "HackTheBox - Axlle",
"url": "https://www.youtube.com/watch?v=cAXptAMDXuY"
} |
this and then slw working so makeer my tester makeer my tester working okay create a file named F rsf and put it in that directory so we'll Echo nothing to my test dur working rsf rsf okay and then create a file named cmd.exe C colon program data shell. exe oh let's see if we can just run a Powershell command real quic... | 3,104.88 | 0 | {
"video_id": "cAXptAMDXuY",
"title": "HackTheBox - Axlle",
"url": "https://www.youtube.com/watch?v=cAXptAMDXuY"
} |
text to command. text okay that looks good I believe so now let's go and get the directory wanted to copy to which is here so we'll copy this and we can say copy command. text to that directory uh we need to put that in quotes because they're spaces uh copy reboot rsf to this directory and then we want to do copy um wa... | 3,165.359 | 0 | {
"video_id": "cAXptAMDXuY",
"title": "HackTheBox - Axlle",
"url": "https://www.youtube.com/watch?v=cAXptAMDXuY"
} |
that PO shell command let's do copy program data reboot rsf okay we have that um let's do Echo cprogram data shell. EXE uh we want to put that actually as command. | 3,274.44 | 0 | {
"video_id": "cAXptAMDXuY",
"title": "HackTheBox - Axlle",
"url": "https://www.youtube.com/watch?v=cAXptAMDXuY"
} |
text like that there we go let's see did we do everything correct reboot rsf that's there we have command. text that's pointing to our executable and if we wait about 60 seconds we should get something send this this to pan four so now we have everything on the same pane di file still exist I'm going to do the gutsy th... | 3,303.04 | 0 | {
"video_id": "cAXptAMDXuY",
"title": "HackTheBox - Axlle",
"url": "https://www.youtube.com/watch?v=cAXptAMDXuY"
} |
so let's do um Echo and I'm going to put my oneliner in so if we cat xl. C let's copy this let's see I'm going to do cmd.exe c and we will put this in single quotes like that D type command. ex txt that looks good I wish there was quotes in it though um the next thing we need to do is copy that rsf program data like th... | 3,397.359 | 0 | {
"video_id": "cAXptAMDXuY",
"title": "HackTheBox - Axlle",
"url": "https://www.youtube.com/watch?v=cAXptAMDXuY"
} |
shell if it gives us a shell we probably just like weren't listening or we did something odd where um administrator didn't give us a shell I'm guessing this is not going to work um maybe command. | 3,502.92 | 0 | {
"video_id": "cAXptAMDXuY",
"title": "HackTheBox - Axlle",
"url": "https://www.youtube.com/watch?v=cAXptAMDXuY"
} |
text maybe you can't specify arguments so maybe that's why our Powershell command just didn't work maybe if we pointed to like a bat file it may work I'm not sure but um executables definitely do seem to work but um yeah I'm going to pause the video and we'll come back probably in 30 seconds okay um it was pretty much ... | 3,516.44 | 0 | {
"video_id": "cAXptAMDXuY",
"title": "HackTheBox - Axlle",
"url": "https://www.youtube.com/watch?v=cAXptAMDXuY"
} |
text okay Standalone run.exe uh I'm just going to um sleep for 2 minutes and we'll see if we get a shell I just want to double check that everything I did was standard and then actually make sure the administrator user can read the flag since I did not show that so uh that looks good we have reboot rsf command. | 3,579.559 | 0 | {
"video_id": "cAXptAMDXuY",
"title": "HackTheBox - Axlle",
"url": "https://www.youtube.com/watch?v=cAXptAMDXuY"
} |
text rsf rsf so okay I'm going to pause the video and we'll come back probably in a minute or two okay we have the shell again as administrator so if we go in users administrator desktop we should be able to see root. Tech so with that being said that's going to be the video hope you guys enjoyed it take care and I wil... | 3,608.92 | 0 | {
"video_id": "cAXptAMDXuY",
"title": "HackTheBox - Axlle",
"url": "https://www.youtube.com/watch?v=cAXptAMDXuY"
} |
What's going on YouTube? This is IPSC and be doing backfire from hack the box which has us hacking two different C2s. | 0.08 | 0 | {
"video_id": "dZjd4XTms7E",
"title": "HackTheBox - Backfire",
"url": "https://www.youtube.com/watch?v=dZjd4XTms7E"
} |
The first is Havoc which has a really cool exploit chain. We spoof an implant that enables us to perform a serverside request forgery attack via the port forwarding command feature which lets us set up a websocket connection to the administration interface authenticate as an operator and trigger a command injection vul... | 5.44 | 0 | {
"video_id": "dZjd4XTms7E",
"title": "HackTheBox - Backfire",
"url": "https://www.youtube.com/watch?v=dZjd4XTms7E"
} |
some C2s. As always, we're going to start off with an end map. So - SC for default scripts, SV enumerate versions VVV for double verbose. This gives us things like the TTL 08 output all formats in the end map directory and call it backfire and then the IP address of 1010 1149. And this can take some time to run. So I'v... | 47.44 | 0 | {
"video_id": "dZjd4XTms7E",
"title": "HackTheBox - Backfire",
"url": "https://www.youtube.com/watch?v=dZjd4XTms7E"
} |
And then we have two files, disable TLS.patch and then havoc.ya. I don't even know what that extension is. But let's go ahead and take a look at the server. And there's going to be one interesting thing here, right? Um, if we do https 1010149 and I should send this over to burp. I think I am. Let's accept the certifica... | 100.88 | 0 | {
"video_id": "dZjd4XTms7E",
"title": "HackTheBox - Backfire",
"url": "https://www.youtube.com/watch?v=dZjd4XTms7E"
} |
But if we changed it to like a head request, it doesn't get added. I wonder if it's on a uh post request. It's on post. So, let's try a put. Uh put is not there and it's just an different error page. So, different verbs are behaving differently. Um which is somewhat interesting. However, I found it interesting that the... | 139.04 | 0 | {
"video_id": "dZjd4XTms7E",
"title": "HackTheBox - Backfire",
"url": "https://www.youtube.com/watch?v=dZjd4XTms7E"
} |
let's move those files here. So, let's go downloads disable TLS. And then we also want to grab um the havoc whatever that extension is. And if we look at disable TLS, let's see. Uh we see it's just changing the websocket from secure to plain text. Don't know exactly what that's doing, but it is just disabling SSL on we... | 197.519 | 0 | {
"video_id": "dZjd4XTms7E",
"title": "HackTheBox - Backfire",
"url": "https://www.youtube.com/watch?v=dZjd4XTms7E"
} |
We have credentials for two users. And these credentials are what they use to log into the Havoc team server. Uh let's see. And the Havoc team server is listing on port 40056. So let's try accessing this. So if we try to access it, we get connection refused. So we have 443. Most likely this port is going to be the one ... | 252 | 0 | {
"video_id": "dZjd4XTms7E",
"title": "HackTheBox - Backfire",
"url": "https://www.youtube.com/watch?v=dZjd4XTms7E"
} |
We can search this product. uh one vulnerability and there's going to be actually two vulnerabilities. The other one just doesn't have a CVE, but we'll get there when we do. This is going to be a serverside request forgery and there's no proof of concept here. So, I'm just going to go ahead and Google this to see if we... | 296.08 | 0 | {
"video_id": "dZjd4XTms7E",
"title": "HackTheBox - Backfire",
"url": "https://www.youtube.com/watch?v=dZjd4XTms7E"
} |
Uh, that blog post is good. I'm going to go ahead and um clone this down. And we're going to look at the I don't know if I want to look at the exploit code first or go over the blog code first. | 347.199 | 0 | {
"video_id": "dZjd4XTms7E",
"title": "HackTheBox - Backfire",
"url": "https://www.youtube.com/watch?v=dZjd4XTms7E"
} |
Um, I'll probably go over the exploit code first. That seems like a better spot to start. Um, the blog has a lot of good detail, but you can see just how much it is here. We'd probably spend like 15 20 minutes going over the blog post and then having to go over the exploit script. It's just a lot, right? So, I'm going ... | 358.08 | 0 | {
"video_id": "dZjd4XTms7E",
"title": "HackTheBox - Backfire",
"url": "https://www.youtube.com/watch?v=dZjd4XTms7E"
} |
going to be a websocket connection. It's not really even HTTP. And then you also have something the implants, demons, or beacons talk to, right? And that's going to be normally a redirector. Most of the time it's HTTP. And the reason you do this is number one, you don't want your um implants talking directly to the C2 ... | 408.24 | 0 | {
"video_id": "dZjd4XTms7E",
"title": "HackTheBox - Backfire",
"url": "https://www.youtube.com/watch?v=dZjd4XTms7E"
} |
ones so you can still keep a little bit of access, right? And then in terms of C2s, you normally have two forms of authentication, right? We have the authentication around the administration service. But additionally, each service here, the redirector will have a form of authentication. And we're only going to talk abo... | 452.16 | 0 | {
"video_id": "dZjd4XTms7E",
"title": "HackTheBox - Backfire",
"url": "https://www.youtube.com/watch?v=dZjd4XTms7E"
} |
to have some form of authentication. So that's going to be authentication around the beacon. And this is going to be important because at the first stage of this um server side request forgery, we're going to do a authentication packet to authenticate as a beacon to um spoof. And I keep saying beacon. That's cobalt str... | 499.599 | 0 | {
"video_id": "dZjd4XTms7E",
"title": "HackTheBox - Backfire",
"url": "https://www.youtube.com/watch?v=dZjd4XTms7E"
} |
change the protocol up. Right. So right here we have the register agent and we're doing a demon initialize 99 and that's what this command is. You may be thinking this is a bit odd. Why is it just in hex? This 63 is 99. But why do we have four bytes here? Again this is going to come to serialization. If we do um GitHub... | 547.12 | 0 | {
"video_id": "dZjd4XTms7E",
"title": "HackTheBox - Backfire",
"url": "https://www.youtube.com/watch?v=dZjd4XTms7E"
} |
signify all our commands, right? So you could think of demon initialize and the traditional concept would be just going to your application/lo, right? And then checkin could just be going to the homepage. Um sleep could be going to like slactions, but again, we're not using URLs to um determine commands. We're just doi... | 605.04 | 0 | {
"video_id": "dZjd4XTms7E",
"title": "HackTheBox - Backfire",
"url": "https://www.youtube.com/watch?v=dZjd4XTms7E"
} |
um, it's just talking about how the packet is, but we're just creating a packet to register the agent, right? And if we were importing the library, we just do like um, agent docomand is equal to demon initialize and then would handle this all for us. But since we don't have all the like headers or whatever it is the li... | 658.959 | 0 | {
"video_id": "dZjd4XTms7E",
"title": "HackTheBox - Backfire",
"url": "https://www.youtube.com/watch?v=dZjd4XTms7E"
} |
Um socket open. I know there's a right. | 721.76 | 0 | {
"video_id": "dZjd4XTms7E",
"title": "HackTheBox - Backfire",
"url": "https://www.youtube.com/watch?v=dZjd4XTms7E"
} |
Uh right, right socket. There we go. | 729.68 | 0 | {
"video_id": "dZjd4XTms7E",
"title": "HackTheBox - Backfire",
"url": "https://www.youtube.com/watch?v=dZjd4XTms7E"
} |
11 subcomand. Do we have subcomands here? | 739.68 | 0 | {
"video_id": "dZjd4XTms7E",
"title": "HackTheBox - Backfire",
"url": "https://www.youtube.com/watch?v=dZjd4XTms7E"
} |
Let's see. | 748.32 | 0 | {
"video_id": "dZjd4XTms7E",
"title": "HackTheBox - Backfire",
"url": "https://www.youtube.com/watch?v=dZjd4XTms7E"
} |
Socket command write is going to be 12. | 754.24 | 0 | {
"video_id": "dZjd4XTms7E",
"title": "HackTheBox - Backfire",
"url": "https://www.youtube.com/watch?v=dZjd4XTms7E"
} |
It's odd that this is 11, but maybe it reads the socket, then writes the socket. Um, so we'll just see if the exploit works. But that's essentially how it's going. There is something else I wanted to point out that I thought was really cool in Havoc that I haven't seen before, and that is under the task dispatch. The r... | 760.24 | 0 | {
"video_id": "dZjd4XTms7E",
"title": "HackTheBox - Backfire",
"url": "https://www.youtube.com/watch?v=dZjd4XTms7E"
} |
So if we did a fs upload command right it would reject it because it doesn't have a known task associated with it right. So is known request ID. If it's not um let's see yeah so we go through this whole thing and if we don't know the task ID it's going to return false. But with sockets and pivots, no matter what, it re... | 813.44 | 0 | {
"video_id": "dZjd4XTms7E",
"title": "HackTheBox - Backfire",
"url": "https://www.youtube.com/watch?v=dZjd4XTms7E"
} |
nearly as much as read and write but they whitelisted the entire command socket. So that's where this serverside request forgery vulnerability comes into play. So let's see if this just works. | 864.48 | 0 | {
"video_id": "dZjd4XTms7E",
"title": "HackTheBox - Backfire",
"url": "https://www.youtube.com/watch?v=dZjd4XTms7E"
} |
Um we're going to do write q. Let's do python 3 exploit.py-h uh we need the module crypto. Let's do python 3 m vm.vn VN to create the virtual environment. I probably should be using UV in Python because that's the better way to do all these virtual environments nowadays. But um old habits die hard, right? So let's do s... | 876.8 | 0 | {
"video_id": "dZjd4XTms7E",
"title": "HackTheBox - Backfire",
"url": "https://www.youtube.com/watch?v=dZjd4XTms7E"
} |
And now we can do pip 3 install is it pi? I think it's cryptodome, right? Or maybe it's just cryptodome. Okay, let's try to run this script again. Uh, we need request. So, let's install this. I'm curious what other libraries we're going to end up needing. Exploit. Nope. We're good. So, let's see. We need to do a um IP ... | 904.399 | 0 | {
"video_id": "dZjd4XTms7E",
"title": "HackTheBox - Backfire",
"url": "https://www.youtube.com/watch?v=dZjd4XTms7E"
} |
And then, let's see. We need the port. We'll do 8,000. | 942.72 | 0 | {
"video_id": "dZjd4XTms7E",
"title": "HackTheBox - Backfire",
"url": "https://www.youtube.com/watch?v=dZjd4XTms7E"
} |
What are the other things we need? We just run this. Uh, we need the target, of course. So, this will be HTTPS 1014. Nope. 1010 1149 trying to register. And there we go. We see a connection back from 1010 1149. | 948.32 | 0 | {
"video_id": "dZjd4XTms7E",
"title": "HackTheBox - Backfire",
"url": "https://www.youtube.com/watch?v=dZjd4XTms7E"
} |
And it sent the request here, right? And that's what it's writing. Let's go back to this exploit script. Let's see. | 968 | 0 | {
"video_id": "dZjd4XTms7E",
"title": "HackTheBox - Backfire",
"url": "https://www.youtube.com/watch?v=dZjd4XTms7E"
} |
We open the socket. Now we're doing a request data on get/vulnerable. | 980.639 | 0 | {
"video_id": "dZjd4XTms7E",
"title": "HackTheBox - Backfire",
"url": "https://www.youtube.com/watch?v=dZjd4XTms7E"
} |
And this is just hand jamming the HTML in. We do a write socket and then we read. So this is the um server side request forger. It kind of makes sense. It's in the uh pivoting thing because when you do or I guess it's in the port forwarding thing I should say because when you do a port forward you need to be able to op... | 987.199 | 0 | {
"video_id": "dZjd4XTms7E",
"title": "HackTheBox - Backfire",
"url": "https://www.youtube.com/watch?v=dZjd4XTms7E"
} |
So that's how we can leak the team server ID um IP address. However, there's also a rce vulnerability in Havoc when it comes to the operator and that was not actually in that doesn't have ACVE associated with it. Let's just um see if I can find it real quick. Vulnerabilities in C2 networks. I want to say it's a pretty ... | 1,024.48 | 0 | {
"video_id": "dZjd4XTms7E",
"title": "HackTheBox - Backfire",
"url": "https://www.youtube.com/watch?v=dZjd4XTms7E"
} |
Yes. So, there's a good blog here. Um, again, I'd highly recommend you read this. I'm not going to read it because it would just take a lot of time, but we can quickly go over it, right? It's just got a few C2s and a lot of them are suffering from the same vulnerability. And like whenever I thought about C2 vulnerabili... | 1,060 | 0 | {
"video_id": "dZjd4XTms7E",
"title": "HackTheBox - Backfire",
"url": "https://www.youtube.com/watch?v=dZjd4XTms7E"
} |
certain ways, it is injected into the system compile command, which is somewhat interesting, right? Um, and that's going to be similar to havoc. Let's go over sliver. Slivers is a little bit different, but it's kind of the same thing. Um, if we look at this, what we do is generate a metas-ploit sager and specify the ou... | 1,105.12 | 0 | {
"video_id": "dZjd4XTms7E",
"title": "HackTheBox - Backfire",
"url": "https://www.youtube.com/watch?v=dZjd4XTms7E"
} |
And then there's no sanitization there. So we can look at what that looks like. If we look at the um builder, let's see. | 1,170.16 | 0 | {
"video_id": "dZjd4XTms7E",
"title": "HackTheBox - Backfire",
"url": "https://www.youtube.com/watch?v=dZjd4XTms7E"
} |
There we go. So when it builds the command, it does a shell- c and then pipes in this command here. And where it generates that is going to be uh I want to say here, right? | 1,181.6 | 0 | {
"video_id": "dZjd4XTms7E",
"title": "HackTheBox - Backfire",
"url": "https://www.youtube.com/watch?v=dZjd4XTms7E"
} |
Let's see. That's not it. | 1,198.559 | 0 | {
"video_id": "dZjd4XTms7E",
"title": "HackTheBox - Backfire",
"url": "https://www.youtube.com/watch?v=dZjd4XTms7E"
} |
Builder code service name field. Am I here? There we go. Um, so it's setting the service name here. There was another piece that had all like the make options, but I can't find it now. But essentially, it's just piping it to a GCC command. Um, is that here? There we go. Here's all the flags, right? Dash OS F no synchro... | 1,205.44 | 0 | {
"video_id": "dZjd4XTms7E",
"title": "HackTheBox - Backfire",
"url": "https://www.youtube.com/watch?v=dZjd4XTms7E"
} |
Now the issue is if I can find this um the rce itself we're talking to the team server IP address port 40056. We can't talk to that IP address. So what we have to do is use the server side request forgery to smuggle websocket request into it and then from the beacon use that SSRF to authenticate over websockets. Then w... | 1,242.24 | 0 | {
"video_id": "dZjd4XTms7E",
"title": "HackTheBox - Backfire",
"url": "https://www.youtube.com/watch?v=dZjd4XTms7E"
} |
paste it in some code. And right here you're just asking the AI to generate some raw HTTP code to initiate a websocket handshake. Right. Um, and this is all it is when you start a websocket. | 1,310.159 | 0 | {
"video_id": "dZjd4XTms7E",
"title": "HackTheBox - Backfire",
"url": "https://www.youtube.com/watch?v=dZjd4XTms7E"
} |
This is kind of what it looks like. And let us just um use this real quick. So before we actually smuggle it to the team server, I like doing it back to my local host so I can see the data. So we'll just do request data is equal to create web soocket init request and then the host I'm going to send it to 127001. The po... | 1,322.96 | 0 | {
"video_id": "dZjd4XTms7E",
"title": "HackTheBox - Backfire",
"url": "https://www.youtube.com/watch?v=dZjd4XTms7E"
} |
And then the path that's going to be SLHavoc, right? And if we look at the code here, um, this is what we're mimicking, right? This request and then we do post to SLHavoc. So let's save this. And then when we run it, hopefully we see the data. So, nvnp 8000. Let's run this. | 1,353.28 | 0 | {
"video_id": "dZjd4XTms7E",
"title": "HackTheBox - Backfire",
"url": "https://www.youtube.com/watch?v=dZjd4XTms7E"
} |
Uh, B 64 is not defined. So, we need to import B 64. How are we using it? We just do B 64.dode. That's fine. Import B 64. Save. | 1,384.4 | 0 | {
"video_id": "dZjd4XTms7E",
"title": "HackTheBox - Backfire",
"url": "https://www.youtube.com/watch?v=dZjd4XTms7E"
} |
Run. There we go. So, this is what we want to see. This is initializing the websocket. | 1,400.08 | 0 | {
"video_id": "dZjd4XTms7E",
"title": "HackTheBox - Backfire",
"url": "https://www.youtube.com/watch?v=dZjd4XTms7E"
} |
So now we can just send websocket frames to the server. And then that's how we communicate over websockets. Now again, we're going to use the magic of um copy and paste from what I've previously done, but you just ask the AI to generate a websocket frame for you. And they give you a lot of code, but it's normally going... | 1,407.28 | 0 | {
"video_id": "dZjd4XTms7E",
"title": "HackTheBox - Backfire",
"url": "https://www.youtube.com/watch?v=dZjd4XTms7E"
} |
Don't really have to explain that much because uh we don't really need to understand it. We just have to be able to write it. So let's do request data now is equal to create websocket frame and then whatever message we want. I'll just say please subscribe. It's not going to look like please subscribe, but we'll just se... | 1,436.64 | 0 | {
"video_id": "dZjd4XTms7E",
"title": "HackTheBox - Backfire",
"url": "https://www.youtube.com/watch?v=dZjd4XTms7E"
} |
That looks fine. So, let's now run the exploit again. We will and see. Run this. And strruct is not defined. We have to import strruct. | 1,462.159 | 0 | {
"video_id": "dZjd4XTms7E",
"title": "HackTheBox - Backfire",
"url": "https://www.youtube.com/watch?v=dZjd4XTms7E"
} |
Import strruct. There we go. | 1,477.52 | 0 | {
"video_id": "dZjd4XTms7E",
"title": "HackTheBox - Backfire",
"url": "https://www.youtube.com/watch?v=dZjd4XTms7E"
} |
Let's stand netcat up again. And we did not write the next thing. | 1,484.24 | 0 | {
"video_id": "dZjd4XTms7E",
"title": "HackTheBox - Backfire",
"url": "https://www.youtube.com/watch?v=dZjd4XTms7E"
} |
That's not good. Uh because I didn't send the right request. We just created it. There we go. | 1,494.24 | 0 | {
"video_id": "dZjd4XTms7E",
"title": "HackTheBox - Backfire",
"url": "https://www.youtube.com/watch?v=dZjd4XTms7E"
} |
Run this. We connect. And then that is please subscribe encoded in websocket. So now we can initiate this and then send data. Right? So the next thing is we just have to be able to authenticate to the team server. So I'm going to uh let's copy this whole thing and this is what we're going to have to send. So we'll do v... | 1,505.84 | 0 | {
"video_id": "dZjd4XTms7E",
"title": "HackTheBox - Backfire",
"url": "https://www.youtube.com/watch?v=dZjd4XTms7E"
} |
So we initialize the request and now we want to create this frame. So let's do uh payload is equal to or actually I think I copied the entire thing. Okay. | 1,530.72 | 0 | {
"video_id": "dZjd4XTms7E",
"title": "HackTheBox - Backfire",
"url": "https://www.youtube.com/watch?v=dZjd4XTms7E"
} |
And this is using password user. So we got two variables to add. So let's go back up here. And then we can add um we'll say um ts we'll do dash capital u for the team server user and we'll say ts- user and the default is going to be Ilia. | 1,544.24 | 0 | {
"video_id": "dZjd4XTms7E",
"title": "HackTheBox - Backfire",
"url": "https://www.youtube.com/watch?v=dZjd4XTms7E"
} |
I'm not going to bother modifying that help. You can do that but um yeah. So the password we'll do ts d- pass and then this is Ilia's default password which we have in this config and that's going to be cobalt strike sucks. Okay, we can paste that in for the default. And then here for a password we can just do args.ts-... | 1,574.64 | 0 | {
"video_id": "dZjd4XTms7E",
"title": "HackTheBox - Backfire",
"url": "https://www.youtube.com/watch?v=dZjd4XTms7E"
} |
And we'll do it here as well. Okay. | 1,628.48 | 0 | {
"video_id": "dZjd4XTms7E",
"title": "HackTheBox - Backfire",
"url": "https://www.youtube.com/watch?v=dZjd4XTms7E"
} |
And then the payload we need to do like a JSON dumps on payload. | 1,634.48 | 0 | {
"video_id": "dZjd4XTms7E",
"title": "HackTheBox - Backfire",
"url": "https://www.youtube.com/watch?v=dZjd4XTms7E"
} |
So JSON.dumps payload. | 1,643.12 | 0 | {
"video_id": "dZjd4XTms7E",
"title": "HackTheBox - Backfire",
"url": "https://www.youtube.com/watch?v=dZjd4XTms7E"
} |
And I want have to encode this. I guess we'll see. | 1,648.48 | 0 | {
"video_id": "dZjd4XTms7E",
"title": "HackTheBox - Backfire",
"url": "https://www.youtube.com/watch?v=dZjd4XTms7E"
} |
Import JSON. Save. Let's just make sure it works against us. Uh, invalid syntax. | 1,654.48 | 0 | {
"video_id": "dZjd4XTms7E",
"title": "HackTheBox - Backfire",
"url": "https://www.youtube.com/watch?v=dZjd4XTms7E"
} |
I don't know what it doesn't like. | 1,667.76 | 0 | {
"video_id": "dZjd4XTms7E",
"title": "HackTheBox - Backfire",
"url": "https://www.youtube.com/watch?v=dZjd4XTms7E"
} |
Let's see. Actually, I think that highlighting I need to do underscores. | 1,673.52 | 0 | {
"video_id": "dZjd4XTms7E",
"title": "HackTheBox - Backfire",
"url": "https://www.youtube.com/watch?v=dZjd4XTms7E"
} |
And that may be it. Let's see. | 1,680.32 | 0 | {
"video_id": "dZjd4XTms7E",
"title": "HackTheBox - Backfire",
"url": "https://www.youtube.com/watch?v=dZjd4XTms7E"
} |
Save. Please run. Okay, that may have been it. | 1,686.559 | 0 | {
"video_id": "dZjd4XTms7E",
"title": "HackTheBox - Backfire",
"url": "https://www.youtube.com/watch?v=dZjd4XTms7E"
} |
Uh, we need to import hashlib now. So, let's do a import hash lib. Save that. | 1,692.32 | 0 | {
"video_id": "dZjd4XTms7E",
"title": "HackTheBox - Backfire",
"url": "https://www.youtube.com/watch?v=dZjd4XTms7E"
} |
Then try this again. It sent a bunch of data. I'm assuming that's good. So, let's go ahead and um change this up to say we want to now talk to 40056 and this will be 127001. And that looks we don't get any data back, right? But let's try changing. That was odd. The second time it did not work. We got a moved permanentl... | 1,705.2 | 0 | {
"video_id": "dZjd4XTms7E",
"title": "HackTheBox - Backfire",
"url": "https://www.youtube.com/watch?v=dZjd4XTms7E"
} |
So something definitely odd goes on when we have a invalid username. We can try it again. Uh that time it worked. I think our code is not really working. | 1,771.679 | 0 | {
"video_id": "dZjd4XTms7E",
"title": "HackTheBox - Backfire",
"url": "https://www.youtube.com/watch?v=dZjd4XTms7E"
} |
Let's see. We write. | 1,787.12 | 0 | {
"video_id": "dZjd4XTms7E",
"title": "HackTheBox - Backfire",
"url": "https://www.youtube.com/watch?v=dZjd4XTms7E"
} |
Maybe it is. I am honestly not sure. | 1,797.2 | 0 | {
"video_id": "dZjd4XTms7E",
"title": "HackTheBox - Backfire",
"url": "https://www.youtube.com/watch?v=dZjd4XTms7E"
} |
I don't like that we get that bad request occasionally. Let's see. Do I have V exploit Havoc? I may be need that slash here. | 1,809.2 | 0 | {
"video_id": "dZjd4XTms7E",
"title": "HackTheBox - Backfire",
"url": "https://www.youtube.com/watch?v=dZjd4XTms7E"
} |
Let's see. That seems to be working more. | 1,825.84 | 0 | {
"video_id": "dZjd4XTms7E",
"title": "HackTheBox - Backfire",
"url": "https://www.youtube.com/watch?v=dZjd4XTms7E"
} |
So, we're getting the same result. Let's put a invalid password. See what happens. | 1,834.24 | 0 | {
"video_id": "dZjd4XTms7E",
"title": "HackTheBox - Backfire",
"url": "https://www.youtube.com/watch?v=dZjd4XTms7E"
} |
And we got an error with invalid password. I think that's good. | 1,840.88 | 0 | {
"video_id": "dZjd4XTms7E",
"title": "HackTheBox - Backfire",
"url": "https://www.youtube.com/watch?v=dZjd4XTms7E"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.