text
stringlengths
4
952
start
float64
0
9.37k
duration
float64
0
0
meta
dict
modules and then we can say brute root SSH ID RSA and the guest can be a single Dash and it's true if we did anything else it would be false so now we have verified there is a SSH key at idsa on the box and this logic is pretty much done so we can say if C is equal to a line break then we set loop to false and that's i...
4,634.12
0
{ "video_id": "YmRDV0JR4qg", "title": "HackTheBox - Intentions", "url": "https://www.youtube.com/watch?v=YmRDV0JR4qg" }
in because we already had a line break on a print statement and we can fix that here real quick uh guess and is equal to nothing and we didn't have to flush it because again it flushes when it sees a line break and since one was there we didn't have to and now you can see it exfilling the root SSH character or key one ...
4,722.8
0
{ "video_id": "YmRDV0JR4qg", "title": "HackTheBox - Intentions", "url": "https://www.youtube.com/watch?v=YmRDV0JR4qg" }
I got those parameters backwards there we go and the key works um if we xxd this I bet root. text uh whoops xxd SSH ID RSA let's see equals equals where is that that's here 2D 2D 2D those are the dashes 3d0 a I think 3D has a period or 3D is equal that's it oh our base 64 character set did not have Dash so we got the l...
4,814.36
0
{ "video_id": "YmRDV0JR4qg", "title": "HackTheBox - Intentions", "url": "https://www.youtube.com/watch?v=YmRDV0JR4qg" }
what's going on YouTube this is ipag we doing intuition from hack the box which starts out with some cross-site scripting that gets you access to a web panel that is vulnerable to service side request forgery and when it goes to download that URL it's using an old version of Python's URL lib that is vulnerable to a uh ...
0.199
0
{ "video_id": "uUPj4Qj01-0", "title": "HackTheBox - Intuition", "url": "https://www.youtube.com/watch?v=uUPj4Qj01-0" }
and you can exploit a binary that is um using anible Galaxy to install a roll there's also a really fun unintended if you didn't want to do all that Recon on the box they can just get into the selenium container and use some weird Doo prives that we're going to show you so with that being said let's jump in as always w...
48.52
0
{ "video_id": "uUPj4Qj01-0", "title": "HackTheBox - Intuition", "url": "https://www.youtube.com/watch?v=uUPj4Qj01-0" }
as well and it's also redirecting us to compressor. htb so let's go ahead and add this to our host file so I'm going to do pseudo VC host and then we can add uh 10 10 11 15 and then compressor. htb and let's go take a look at the site so I'm going to go to http uh compressor. htb and we just get a page it says welcome ...
97.52
0
{ "video_id": "uUPj4Qj01-0", "title": "HackTheBox - Intuition", "url": "https://www.youtube.com/watch?v=uUPj4Qj01-0" }
intuitions and we got to give it a text file so let's just do um hello world to test. text so let's see how this compression thing works so select the file I'm going to to send it through burp Suite so we can inspect all the request intercept is on compress it and we're going to send a form that just says hello world a...
163.44
0
{ "video_id": "uUPj4Qj01-0", "title": "HackTheBox - Intuition", "url": "https://www.youtube.com/watch?v=uUPj4Qj01-0" }
so if we look at this uh let's see what is this it looks like it's going to be a um flask cookie I just say flask because it kind of looks like a JWT but with jwt's the data is in the middle one here and flask it's in the first one so I'm just really assuming right now this is flask I don't know what else it could be t...
221.72
0
{ "video_id": "uUPj4Qj01-0", "title": "HackTheBox - Intuition", "url": "https://www.youtube.com/watch?v=uUPj4Qj01-0" }
framework that has something very similar but it won't put this doc type HTML and I think it also closes the HTML tag so these very small things are the fingerprints you can use to identify um where they're coming from and if you went in work Zug if you logged into GitHub you could probably just search for Strings and ...
282.08
0
{ "video_id": "uUPj4Qj01-0", "title": "HackTheBox - Intuition", "url": "https://www.youtube.com/watch?v=uUPj4Qj01-0" }
this is the name uh this is the name again the only thing that's not really making sense is we have um the paragraph tags here and we didn't see paragraph tags here right so it could either be in what Environ is if we look at the 404 exception um we don't see the paragraph tags so this is the name not found right so th...
342.6
0
{ "video_id": "uUPj4Qj01-0", "title": "HackTheBox - Intuition", "url": "https://www.youtube.com/watch?v=uUPj4Qj01-0" }
trailing space somewhere that's just kind of how you can programmatically identify um the Frameworks in play doesn't really matter that was a long tangent hopefully got something from it but I don't have many ideas on how to attack file because again I'm just giving it text and then it's um compressing it and sending i...
403.44
0
{ "video_id": "uUPj4Qj01-0", "title": "HackTheBox - Intuition", "url": "https://www.youtube.com/watch?v=uUPj4Qj01-0" }
off compressor. htb and at this point I probably would be doing some type of Recon in the background like running a go Buster virtual host uh scan to see if there's any other domains um running but in this case I'm not going to do that CU I think it'll be a waste of time we just click report bug it says we need to log ...
461.919
0
{ "video_id": "uUPj4Qj01-0", "title": "HackTheBox - Intuition", "url": "https://www.youtube.com/watch?v=uUPj4Qj01-0" }
this cookie so we have user ID it's just straight um Json and then a pipe and I'm guessing this is going to be some type of uh cryptographic signature so the first thing I'm thinking of can we attack this cookie somehow and I wonder if I can register a name and put a double quote in my name and maybe inject a extra R r...
518.039
0
{ "video_id": "uUPj4Qj01-0", "title": "HackTheBox - Intuition", "url": "https://www.youtube.com/watch?v=uUPj4Qj01-0" }
not going to be vulnerable because this just magically worked um let's look at what my data is and we have um the library or the application escaping that double quote I put in what I was hoping to do is we'd have this cookie and then if I registered a name with a double quote I was hoping I could then kind of like inj...
582.12
0
{ "video_id": "uUPj4Qj01-0", "title": "HackTheBox - Intuition", "url": "https://www.youtube.com/watch?v=uUPj4Qj01-0" }
test for basic cross- site request um not cross site request um xss uh attacks so we can do image source is equal to oh cross a scripting that's what I was trying to say HTTP 101048 we'll put it on Port 8,000 and then we'll end that image tag so let's just stand up a netcat listener on Port 8000 I'm going to add the K ...
647.399
0
{ "video_id": "uUPj4Qj01-0", "title": "HackTheBox - Intuition", "url": "https://www.youtube.com/watch?v=uUPj4Qj01-0" }
do a image source is equal to X and then on error and we can run JavaScript here so I'm going to say fetch and we'll do HTTP 10 10 14 8 Port 8,000 and then cookie is equal to close that out B2 a this is going to um base 64 code and we're going to give it the cookie um let's see actually before we do that we can actuall...
727.72
0
{ "video_id": "uUPj4Qj01-0", "title": "HackTheBox - Intuition", "url": "https://www.youtube.com/watch?v=uUPj4Qj01-0" }
set um doesn't have HTTP only we can just xfill it this way so let's see we've closed out B to a we can close out that and that looks good slash image and I'm I'm actually going to put a semicolon here I don't think that's needed that is listening copy this just in case I made a mistake and then we can wait like 30 sec...
793.519
0
{ "video_id": "uUPj4Qj01-0", "title": "HackTheBox - Intuition", "url": "https://www.youtube.com/watch?v=uUPj4Qj01-0" }
probably just going to be the same type of cookie we had which is a Json object so let's decode this we could pipe it uh we can't pipe it over to JQ just yet because we have this pipe character but we can look at it and user ID to username adom rooll is webdev so let's go ahead and swap out our cookie for this one so l...
864.68
0
{ "video_id": "uUPj4Qj01-0", "title": "HackTheBox - Intuition", "url": "https://www.youtube.com/watch?v=uUPj4Qj01-0" }
number if we click on one we can set to resolved we can delete it and we can set high priority and that looks to be about all we can do so I'm going to examine a request to set high priority and see exactly what it looks like so if we do this set high priority I like saying to repeater just so we can see what it does i...
926.44
0
{ "video_id": "uUPj4Qj01-0", "title": "HackTheBox - Intuition", "url": "https://www.youtube.com/watch?v=uUPj4Qj01-0" }
ticket four priority is zero I'm going to set high priority is one and if we go back here I'm going to set low that's going to be zero so let's go on our repeater Tab and I'm going to get rid of a cookie and I think we on report id4 right yes I will send this request refresh and it doesn't change so we actually don't h...
984.44
0
{ "video_id": "uUPj4Qj01-0", "title": "HackTheBox - Intuition", "url": "https://www.youtube.com/watch?v=uUPj4Qj01-0" }
payload I may actually have to rewrite that payload which is a bit of a pain um let's see proxy HTTP history post let's see I'll just rewrite that that's fine so let's do this again we'll do test and then image source is equal to X X and then on error is equal to fetch HTTP 10 1048 Port 8000 um question mark C is equal...
1,057.48
0
{ "video_id": "uUPj4Qj01-0", "title": "HackTheBox - Intuition", "url": "https://www.youtube.com/watch?v=uUPj4Qj01-0" }
name this um make bug report and then this one will be escalate ticket and that's actually not going to work because I don't have my cookie there uh that's ipx cookie let's see I may just intercept another one real quick we can drop that intercept on escalate ticket put the cookie back okay so we're going to report the...
1,146.559
0
{ "video_id": "uUPj4Qj01-0", "title": "HackTheBox - Intuition", "url": "https://www.youtube.com/watch?v=uUPj4Qj01-0" }
this so Echo b 64- d again and this is the admin cookie so this is the one we definitely want I'm going to guess the other one is a moderator cookie uh let's go and come back here we can go in in storage paste this refresh and now we're at the dashboard for admin and we have a few extra things we have this report ID th...
1,240.52
0
{ "video_id": "uUPj4Qj01-0", "title": "HackTheBox - Intuition", "url": "https://www.youtube.com/watch?v=uUPj4Qj01-0" }
slash and that's it I'm guessing this session right here this is going to be the flask that just says um backup and upload succeeded so that is a bit odd we click create PDF report it wants us to enter a URL so this is probably going to be some type of service side request forgery so let's just have it reach back to us...
1,305.32
0
{ "video_id": "uUPj4Qj01-0", "title": "HackTheBox - Intuition", "url": "https://www.youtube.com/watch?v=uUPj4Qj01-0" }
um HTTP local host Port 8000 um the user agent for request is python request so one of the main differences between URL lib and request is request will only um do HTTP the python URL lib this allows other things like we can do a file rapper so we can try doing file Etsy U yeah Etsy passwd like this and URL lib should p...
1,375.679
0
{ "video_id": "uUPj4Qj01-0", "title": "HackTheBox - Intuition", "url": "https://www.youtube.com/watch?v=uUPj4Qj01-0" }
history um we want to send this line and then we want to send this Line to Line breaks okay so what I'm going to do now is do NC lvmp 8000 and whoever makes that request to us we're going to hand Jam that text in so if I do Local Host 8,000 um that did not work we made that I had a expected it to send a thing back I wo...
1,456.72
0
{ "video_id": "uUPj4Qj01-0", "title": "HackTheBox - Intuition", "url": "https://www.youtube.com/watch?v=uUPj4Qj01-0" }
it cuz this is what we want back and oh we only want two lines back we got five and six is that cut like putting two blank lines didn't do anything there do one line that's bizarre um this should work though so this should still send us the redirect request so let's do HTTP like this okay unexpected error so it made a ...
1,558.799
0
{ "video_id": "uUPj4Qj01-0", "title": "HackTheBox - Intuition", "url": "https://www.youtube.com/watch?v=uUPj4Qj01-0" }
with WK HTML to PDF so let's go ahead and Google that for vulnerabilities see is one that pops up real quick service side request for so this is saying we can potentially use a iframe and get data so let's try that real quick so I'm going to make V index.html and then we can say let's just give it the HTML tag and then...
1,662.519
0
{ "video_id": "uUPj4Qj01-0", "title": "HackTheBox - Intuition", "url": "https://www.youtube.com/watch?v=uUPj4Qj01-0" }
will now tell us to subscribe uh success got it not found still because our message is not in dubdub duub okay so it looks like our iframe is working actually don't see Please Subscribe um but it definitely hit it that's weird let's see success we can say height is equal to 500 width is equal to 500 make the little win...
1,755.88
0
{ "video_id": "uUPj4Qj01-0", "title": "HackTheBox - Intuition", "url": "https://www.youtube.com/watch?v=uUPj4Qj01-0" }
HTTP um 10 10 14 8 8,000 call success so I'm going to do pseudo netcat lvmp 80 we'll pipe the 302 request in and then we can say Python 3 HTTP server did I say Port 8,000 I did so if I curl follow um Local Host 80 we can see my whole logic is working right um it did the 302 we sent it we said hey we're not here go here...
1,844.76
0
{ "video_id": "uUPj4Qj01-0", "title": "HackTheBox - Intuition", "url": "https://www.youtube.com/watch?v=uUPj4Qj01-0" }
first right I always tried all those other attacks because I find those to be more common than something like this so I have this URL lib let's go over and um Google that plus exploit it's normally my first go-to and we see quite a few results see what does this blog post say is this going to be what we want it looks g...
1,928.72
0
{ "video_id": "uUPj4Qj01-0", "title": "HackTheBox - Intuition", "url": "https://www.youtube.com/watch?v=uUPj4Qj01-0" }
does this have a list so like if scheme is equal to file go for expect PHP dict FTP um glob data then it gets blocked but since if we prepend the space the scheme never gets set and we can bypass it um I see expect that's the very first thing I like trying because if the expect library is there then we can just run com...
1,994.72
0
{ "video_id": "uUPj4Qj01-0", "title": "HackTheBox - Intuition", "url": "https://www.youtube.com/watch?v=uUPj4Qj01-0" }
report and there we go we finally have a file disclosure vulnerability so let's go and figure out where we are so I'm going to do proc um self CMD line so this is going to get the CMD line of whatever process we are running whoops CMD line there we go and we are app code app.py so let's go ahead and say app code app.py...
2,055.639
0
{ "video_id": "uUPj4Qj01-0", "title": "HackTheBox - Intuition", "url": "https://www.youtube.com/watch?v=uUPj4Qj01-0" }
then where is it blueprints dashboard dashboard I'm guessing blueprints dashboard dashboard. piy let's see does this line exist it does so this is going to be the code where it uses to generate the dashboard and the main thing I'm looking for here is um what is that backup doing right um glancing through this is okay t...
2,128.839
0
{ "video_id": "uUPj4Qj01-0", "title": "HackTheBox - Intuition", "url": "https://www.youtube.com/watch?v=uUPj4Qj01-0" }
so we have that um let's try that URL lib thing and this is key because it's URL lib not request if there's request I'm pretty sure request doesn't support FTP to begin with so you wouldn't be able to do something like this right so we do FTP admin colon the password at um what is the server FTP dolo generate the repor...
2,218.28
0
{ "video_id": "uUPj4Qj01-0", "title": "HackTheBox - Intuition", "url": "https://www.youtube.com/watch?v=uUPj4Qj01-0" }
that Dash Das whatever and we Basics D4 decode it and then pipe it to xxd normally we see who the key belongs to at the very end because the private key has the public key appended to it um we don't do that here because if we go to the top we can see it is encrypted so this is um a protected key so we need to know the ...
2,297.56
0
{ "video_id": "uUPj4Qj01-0", "title": "HackTheBox - Intuition", "url": "https://www.youtube.com/watch?v=uUPj4Qj01-0" }
go ahead and try this so we can do um SSH key gen- P this is going to change the password to the key we're going to specify the key put it in and it says the key has a comment Dev account at local and we save the key with the new passphrase so if we now do the same thing we did with grep we have Dev account at the end ...
2,366.44
0
{ "video_id": "uUPj4Qj01-0", "title": "HackTheBox - Intuition", "url": "https://www.youtube.com/watch?v=uUPj4Qj01-0" }
subdomain is um that's the thing that we use to like log into the dashboard and things like that so I'm going to C the Etsy engine X um sites enabled and let's see what's running so everything is looking like it's a proxy pass to 1271 880 um if I do sslp we don't get to see the pit of the um web server because we're no...
2,428.319
0
{ "video_id": "uUPj4Qj01-0", "title": "HackTheBox - Intuition", "url": "https://www.youtube.com/watch?v=uUPj4Qj01-0" }
don't know what those are but in dubdub duub we have this app if I go on app it looks like this is the application because we do see blueprints so we want to find the database um I'm just going to do a find.
2,493.04
0
{ "video_id": "uUPj4Qj01-0", "title": "HackTheBox - Intuition", "url": "https://www.youtube.com/watch?v=uUPj4Qj01-0" }
dame. DB and we see there is an off database at users DB and reports DB if I didn't find this then I'd be going through like config files and looking for a like my SQL credential or something like that but most flask websites do use um sqlite so we're going to dump the users so I'll do SQL L 3 users db. dump and we get...
2,506.52
0
{ "video_id": "uUPj4Qj01-0", "title": "HackTheBox - Intuition", "url": "https://www.youtube.com/watch?v=uUPj4Qj01-0" }
this intuition paste this hasat um give it the file and then the word list opt wordlist rocky. text and we also want to give it the-- um user flag because we did admin colon or username colon the hash it's either user or users or username I always get the argument mixed up but looks like it is going to crack it is form...
2,578.16
0
{ "video_id": "uUPj4Qj01-0", "title": "HackTheBox - Intuition", "url": "https://www.youtube.com/watch?v=uUPj4Qj01-0" }
the password I tried um let's do V creds atom atom gray save that so we don't know exactly what that password goes to there was FTP so we could try FTP FTP local and it's taking its time I can't find that FTP directory or was it FTP loal where was it that's in dashboards right CD dashboard cat this what is that FTP uh ...
2,652.559
0
{ "video_id": "uUPj4Qj01-0", "title": "HackTheBox - Intuition", "url": "https://www.youtube.com/watch?v=uUPj4Qj01-0" }
group but we can list running processes on the box which can generally help us out quite a bit so let's go through this um we have audit D DHCP this is SSH so this is going to be us engine X there here we go we have a Docker Docker proxy 1271 going to 8080 172 2102 since we saw the engine X rules um pointing to Local H...
2,746.24
0
{ "video_id": "uUPj4Qj01-0", "title": "HackTheBox - Intuition", "url": "https://www.youtube.com/watch?v=uUPj4Qj01-0" }
piie this is another Docker see do we have IDs up here container Port no we don't so this has a VNC server selenium Firefox so this container is doing some browser automation that's going to be part of the unintended at the end we just have um system D so let's see exactly what port uh Quad 4 was so if we curl Local Ho...
2,827.88
0
{ "video_id": "uUPj4Qj01-0", "title": "HackTheBox - Intuition", "url": "https://www.youtube.com/watch?v=uUPj4Qj01-0" }
then Adam Adam gray was the password if we do Dr there's a backup directory so let's go in there um looks like another directory Runner one and then we have three files so we have run test.sh and then Runner one um run one and run one. C okay let's take a look at what these files are so I'm going to cat the run test.sh...
2,916.24
0
{ "video_id": "uUPj4Qj01-0", "title": "HackTheBox - Intuition", "url": "https://www.youtube.com/watch?v=uUPj4Qj01-0" }
C and this looks to be the source code to the application and I'm guessing it has something to do with anable because we see these defined here and then we also have a off key hash so um right off the bat I'm going to guess that uh let's see cat Runner one run test I'm going to guess the md5 sum is either going to be t...
2,979.359
0
{ "video_id": "uUPj4Qj01-0", "title": "HackTheBox - Intuition", "url": "https://www.youtube.com/watch?v=uUPj4Qj01-0" }
location and then load the playbooks I guess we got run install and right off the bat I'm noticing something dangerous here on run Playbook and install roll it's just doing a system command so if we can inject into this we can do command injection because um system is like doing bin bash d c and then this is where user...
3,041.16
0
{ "video_id": "uUPj4Qj01-0", "title": "HackTheBox - Intuition", "url": "https://www.youtube.com/watch?v=uUPj4Qj01-0" }
Playbook name um I think Playbook name would sounds let's see how is this passed run Playbook uh Playbook name so this looks like it's getting it from the directory listing so in order to get user input there we'd have to be able to write to the directory where playbooks are to put a tainted Playbook and um that's not ...
3,112.599
0
{ "video_id": "uUPj4Qj01-0", "title": "HackTheBox - Intuition", "url": "https://www.youtube.com/watch?v=uUPj4Qj01-0" }
towards system now the downside uh we do p-l we don't have the password for Dev account um the binary has to be running as root right so it either has to be like a set uid a capability or a pseudo Rule and we don't have any of those right now so doesn't really help us uh we can start trying to crack this code real quic...
3,181.04
0
{ "video_id": "uUPj4Qj01-0", "title": "HackTheBox - Intuition", "url": "https://www.youtube.com/watch?v=uUPj4Qj01-0" }
C let's grab the hash go to hashcat and what we want to do is a mask attack um so we do hashcat um if we do dashel let's see does it show us we search for mask so this is going to be attack modes um maybe it's Brute Force attack attack mode three is what we want and what this is going to allow us to do is specify a por...
3,227.48
0
{ "video_id": "uUPj4Qj01-0", "title": "HackTheBox - Intuition", "url": "https://www.youtube.com/watch?v=uUPj4Qj01-0" }
this copy paste and 1 2 3 four there's four characters let's just do um four asky right because we see it's upper and letter so we could probably like make our own character set of just upper and digit but um doesn't matter we can just do the whole asking thing because it's md5 and md5 goes extremely quickly um we see ...
3,292.88
0
{ "video_id": "uUPj4Qj01-0", "title": "HackTheBox - Intuition", "url": "https://www.youtube.com/watch?v=uUPj4Qj01-0" }
the slash here um so this shows this point at Dev shm run one so that's the only place it's at we did briefly see Runner 2 but we can't get into this directory it is owned by CIS admin um see can we do a group or like get an group CIS ADM is that the command of man I cannot type so we can see Lopez and Adam is a member...
3,364.28
0
{ "video_id": "uUPj4Qj01-0", "title": "HackTheBox - Intuition", "url": "https://www.youtube.com/watch?v=uUPj4Qj01-0" }
cata um if you don't know this is like snort it's a network IDs so I'm going to hide every line that starts with the common so we can do grap like this I want to say uh g-v and then grap period for anything that starts and let's see let's just get rid of anything that has a comment so we got the rules it's going to be ...
3,450.4
0
{ "video_id": "uUPj4Qj01-0", "title": "HackTheBox - Intuition", "url": "https://www.youtube.com/watch?v=uUPj4Qj01-0" }
probably put it in here by the system and if we do a stat against it we can confirm that because the time stamp has a bunch of zeros now we look at the ones that have been edited let's look at FTP if we do stat against that you can see the modify time doesn't have all those zeros and so that means this um file was prob...
3,540
0
{ "video_id": "uUPj4Qj01-0", "title": "HackTheBox - Intuition", "url": "https://www.youtube.com/watch?v=uUPj4Qj01-0" }
do stat star and then we can GP for file or modify and this is a quick way of showing it I know if you go to ic. ro it'll give you a find command if you just search like find timestamp it'll come up a f command to show it um like recursing the whole file system doing it but if you just want to look at a directory quick...
3,600.28
0
{ "video_id": "uUPj4Qj01-0", "title": "HackTheBox - Intuition", "url": "https://www.youtube.com/watch?v=uUPj4Qj01-0" }
hit is going to be the HP user agent fuzz faster you fool and this looks like it may be doing a um virtual host scan right because we just see the host name and then the user agent is that so I'm going to not go for Adam let's see what Lopez is hit on so we have two hits and this is going to be um username okay this is...
3,671.92
0
{ "video_id": "uUPj4Qj01-0", "title": "HackTheBox - Intuition", "url": "https://www.youtube.com/watch?v=uUPj4Qj01-0" }
now pipe to JQ uh maybe not uh how's that failing it's probably because it's putting the file name first yeah so let's just specify that file everything was in Eve json. 8. gz JQ dot there we go that's easy to view so let's look at this so the first one it's going to be anomaly um it detected a protocol only in One Dir...
3,745.279
0
{ "video_id": "uUPj4Qj01-0", "title": "HackTheBox - Intuition", "url": "https://www.youtube.com/watch?v=uUPj4Qj01-0" }
password before clearing my clipboard but oh well go here and looking at this username okay send password this has less Z's I think so this was login successful paste this and we get logged in as Lopez if I do a sudo DL put in the password Lopez can run Runner two so we're making progress and at this point we could eit...
3,829.96
0
{ "video_id": "uUPj4Qj01-0", "title": "HackTheBox - Intuition", "url": "https://www.youtube.com/watch?v=uUPj4Qj01-0" }
to do with this run key if we do a strings against this binary and then we look for where run is um right now we're at like error messages this percent s install percent s that's looking very familiar this is going to be in the install Ro we looked at it in runner 1. C right but the main thing I want is around here we ...
3,904.96
0
{ "video_id": "uUPj4Qj01-0", "title": "HackTheBox - Intuition", "url": "https://www.youtube.com/watch?v=uUPj4Qj01-0" }
a strings against that let's do strings we can grap for list run install Let's see we have list there um install I don't see run I wonder if that's like on a different encoding or something um d l was it lb and S so list no not sure what run is maybe it's run Playbook is the action but let's go back to a Json and we ca...
3,976.52
0
{ "video_id": "uUPj4Qj01-0", "title": "HackTheBox - Intuition", "url": "https://www.youtube.com/watch?v=uUPj4Qj01-0" }
it and that looks promising it's at least hanging so it looks like um it's working right the authentication of the host it SSH some oh it SSH to Local Host that's what it just did there but there it's updating the app cache so we have successfully figured that piece out now we looked at it in runner. C and we didn't se...
4,109.319
0
{ "video_id": "uUPj4Qj01-0", "title": "HackTheBox - Intuition", "url": "https://www.youtube.com/watch?v=uUPj4Qj01-0" }
it still going to say that it is so let's remove that let's do tar CF ip. tar and then we'll archive P WD so now we have a valid tar archive and when we run this let's go back to that pseudo it still says inv Valar archive let's see um let's move ic. tar to Dev shm and then test.
4,207.239
0
{ "video_id": "uUPj4Qj01-0", "title": "HackTheBox - Intuition", "url": "https://www.youtube.com/watch?v=uUPj4Qj01-0" }
Json you can say Dev M ic.
4,253
0
{ "video_id": "uUPj4Qj01-0", "title": "HackTheBox - Intuition", "url": "https://www.youtube.com/watch?v=uUPj4Qj01-0" }
tar pseudo still invalid I wonder if it wants it to be like a gzip inv validar archive I was seeing if it gave any indication doesn't and my other thought is um we should move that test. Json here real quick um it's trying to do a file open ic. tar and then semicolon ID and that's where it's failing so let's move this ...
4,258.04
0
{ "video_id": "uUPj4Qj01-0", "title": "HackTheBox - Intuition", "url": "https://www.youtube.com/watch?v=uUPj4Qj01-0" }
ipcar ID to be ic. bash and we can editor test. Json to reflect that so we can do bash there and execute so this is going to take 10 15 seconds for it to um process that tar archive I think it's loading like anible Galaxy right now in the process and that's why it takes a little bit but hopefully once it does this it'l...
4,339.44
0
{ "video_id": "uUPj4Qj01-0", "title": "HackTheBox - Intuition", "url": "https://www.youtube.com/watch?v=uUPj4Qj01-0" }
chance that we can um exploit that right so looking for recent cve one does stick out um we have this an absolute path Traverse of vulnerability exist in anible animation to craft an an a malicious anible role and make the victim execute the role a Sim link can be used to overwrite the file outside of the execution pth...
4,413.44
0
{ "video_id": "uUPj4Qj01-0", "title": "HackTheBox - Intuition", "url": "https://www.youtube.com/watch?v=uUPj4Qj01-0" }
search for the cve and we have one right here prevent rols from using Sim links this sounds like exactly what we want so let's go over to the commits or actually files Chang for this PR and we can see everything that's changed um the really cool thing about this is the anible team actually built a unit test to exploit ...
4,471.48
0
{ "video_id": "uUPj4Qj01-0", "title": "HackTheBox - Intuition", "url": "https://www.youtube.com/watch?v=uUPj4Qj01-0" }
in okay and let's look at exactly what this does so we give it three arguments we give it the archive then the file we want to write and then the path we want to write at so I'm going to say um V I'll call it IPC and I'm going to say Please Subscribe and we can say Python 3 create ipsec um we'll create this as ic. tar ...
4,546.8
0
{ "video_id": "uUPj4Qj01-0", "title": "HackTheBox - Intuition", "url": "https://www.youtube.com/watch?v=uUPj4Qj01-0" }
tar and we want to edit the Json because now we're going to remove the semicolon and we can do the pseudo to run this um Lopez's password oh man um what was Lopez's password we got that from the laral thing or not Lille um cotta do we have in creds we don't verog let's see where is this verog cata and GP Lopez we do da...
4,624.28
0
{ "video_id": "uUPj4Qj01-0", "title": "HackTheBox - Intuition", "url": "https://www.youtube.com/watch?v=uUPj4Qj01-0" }
IPC let's see group yep so it's taking the um permission bits from my box and applying them to that archive so when we run this we want to make sure we run it as root so let's just do a pseudo Su and then we can go back into oh we're already there sweet so I'm going to do sh key gen um- T ed25519 I want to say I'm goin...
4,747.56
0
{ "video_id": "uUPj4Qj01-0", "title": "HackTheBox - Intuition", "url": "https://www.youtube.com/watch?v=uUPj4Qj01-0" }
Pub and that's going to be root SSH authorized Keys okay so let's start up a web server we can C it now so curl 101048 p.
4,827.6
0
{ "video_id": "uUPj4Qj01-0", "title": "HackTheBox - Intuition", "url": "https://www.youtube.com/watch?v=uUPj4Qj01-0" }
ponar we have it so we do test. Json let's create this rooll pseudo again and it says pwned was installed successfully so now let's go over to our key so Dev shm what do we install this uh oh oh and anible okay see root owns it so I have to do pseudo Su again so we can do sh- I key root at compressor. htb accept the ke...
4,850
0
{ "video_id": "uUPj4Qj01-0", "title": "HackTheBox - Intuition", "url": "https://www.youtube.com/watch?v=uUPj4Qj01-0" }
skipped over it because it's part of the unintended route um selenium is running in some weird container that um is automating the cross- site scripting thing right so if we look at this we see um the VNC servers listing on Port 5900 and this container right here the 4444 is um the selenium browser right so let's make ...
4,929
0
{ "video_id": "uUPj4Qj01-0", "title": "HackTheBox - Intuition", "url": "https://www.youtube.com/watch?v=uUPj4Qj01-0" }
oh we can um the default password for this is secret so we can connect oh we don't even have to use a VNC browser so we can do this all from selenium grid the other thing you could do is if we do DL 5900 then 17221 04 5900 then we can run VNC viewer uh type Local Host and then it's going to prompt for the password and ...
5,006.32
0
{ "video_id": "uUPj4Qj01-0", "title": "HackTheBox - Intuition", "url": "https://www.youtube.com/watch?v=uUPj4Qj01-0" }
open and Firefox to go run uh Bin bash if this is not here let's see how do I do this um click here use other so then it pops up this whole dialogue box you can select bash here and now it's going to open up PDFs with bash and why this is good is because um we can do a web server so let's do v.sh I'm going to say bin b...
5,072.639
0
{ "video_id": "uUPj4Qj01-0", "title": "HackTheBox - Intuition", "url": "https://www.youtube.com/watch?v=uUPj4Qj01-0" }
PDF TSH um let's rename TSH to t. PDF because the browser is only going to open as a PDF if it has that extension right so we did that Python 3 HTTP server okay Enter and now we get a shell on the selenium container so let's do a python 3-c import PTY PTY spawn bin bash stty raw minus Echo foreground so we can export t...
5,132.56
0
{ "video_id": "uUPj4Qj01-0", "title": "HackTheBox - Intuition", "url": "https://www.youtube.com/watch?v=uUPj4Qj01-0" }
lsblk and we want to share sda3 particularly lvm so that's going to be 2520 so let's go over to the container and I'm going to use make nod to make a special device we can call it Dev the root um lvm I guess we can call it and then we want to specify block device 2520 and then we go to Dev um lsla root lvm we have that...
5,204.04
0
{ "video_id": "uUPj4Qj01-0", "title": "HackTheBox - Intuition", "url": "https://www.youtube.com/watch?v=uUPj4Qj01-0" }
um we're going to get the uid for a user so we're uid 10001 so I'm going to do a um user ad specify uid 1001 IPC and now we can Su over to IPC and then if I just Echo the P ID 541 64 if I go to proc 541 164 uh that's not this directory um let's see ps- EF grap on Su let's see so supc let's now BF GP on that so shell ok...
5,278.119
0
{ "video_id": "uUPj4Qj01-0", "title": "HackTheBox - Intuition", "url": "https://www.youtube.com/watch?v=uUPj4Qj01-0" }
to Dev and if we look at Dev oh CWD was exactly where I wanted it um root lvm I just couldn't read it because the font sucks here but you can do CWD because that's can go in the current working directory of where the shell is right um for some reason I thought I was in this directory so that's what I was expecting to s...
5,367.4
0
{ "video_id": "uUPj4Qj01-0", "title": "HackTheBox - Intuition", "url": "https://www.youtube.com/watch?v=uUPj4Qj01-0" }
Shadow and get it I bet if we gra GED like um let's see root on root FS what do we call it um root lvm d a we'd probably find it eventually we may have to add like a semicolon um that's past WD right there probably but let's just do debug FS because it's easier so debug fs and we'll give it root lvm and we can cat root...
5,436.239
0
{ "video_id": "uUPj4Qj01-0", "title": "HackTheBox - Intuition", "url": "https://www.youtube.com/watch?v=uUPj4Qj01-0" }
so hope you guys enjoyed that take care and I will see you all next time
5,515.28
0
{ "video_id": "uUPj4Qj01-0", "title": "HackTheBox - Intuition", "url": "https://www.youtube.com/watch?v=uUPj4Qj01-0" }
what's going on YouTube this is ipack I'm doing jab from hack the box which starts off with an as rep roast however the twist is how you generate the username list to perform that roasting attack there's an open jabber server so you can use a client like pigeon in order to register an account and log in and then search...
0.16
0
{ "video_id": "tprP-GDW_6c", "title": "HackTheBox - Jab", "url": "https://www.youtube.com/watch?v=tprP-GDW_6c" }
you can then use chisel in order to forward the open file server back to you and pop that through uploading a management plugin so with that being said let's jump in as always we're going to start off with an end map so Das SC C for default scripts SV enumerate versions - VV for double ver this gives us the TTL and thi...
47.64
0
{ "video_id": "tprP-GDW_6c", "title": "HackTheBox - Jab", "url": "https://www.youtube.com/watch?v=tprP-GDW_6c" }
file so let's do sud V Etsy host and then we can add 101014 jb. htb and then let's get dco1 jaab htb as well and take a look at what else there is so we have elap going to the next Port SMB then we have um Windows RPC another ldap Port then the next thing we have is ldap again ldap still and this one is a little bit od...
96.399
0
{ "video_id": "tprP-GDW_6c", "title": "HackTheBox - Jab", "url": "https://www.youtube.com/watch?v=tprP-GDW_6c" }
a socks 5 it says there's no authentication connection failed so I'm guessing we're on some type of like ACL where we can't connect to that sock server socks is a proxy but that is one of the things I do want to test right so I'm just going to go and edit my proxy chains file so we do proxy chains.com and then I'm goin...
181.28
0
{ "video_id": "tprP-GDW_6c", "title": "HackTheBox - Jab", "url": "https://www.youtube.com/watch?v=tprP-GDW_6c" }
70 70 open fire HTTP binding service and we don't really get anything uh we could go Googling that and see what that is all about but let's see if the um instant messaging server is up right and I'm going to use a program called pigeon uh if you're old like me and use a lot of instant Messengers and L Linux you'll know...
248.4
0
{ "video_id": "tprP-GDW_6c", "title": "HackTheBox - Jab", "url": "https://www.youtube.com/watch?v=tprP-GDW_6c" }
so IPC IPC rout atp. Ro password of password registration successful we can enable the account and it says we're available so we have logged into the Jabber server so we could look at what there is to do uh there on our account we can set mood user info search for users set nickname request pong from server if we go to...
315.479
0
{ "video_id": "tprP-GDW_6c", "title": "HackTheBox - Jab", "url": "https://www.youtube.com/watch?v=tprP-GDW_6c" }
and then user an I'm going to do dasel real quick Let's see we want- DC 101014 D dj. htb and then let's see we need to give it the username file so I'm just going to do Echo B Davis except args one ARG two received I guess it doesn't like me doing it this way uh let's do Echo users or V users B oh D- DC and then- D for...
386.039
0
{ "video_id": "tprP-GDW_6c", "title": "HackTheBox - Jab", "url": "https://www.youtube.com/watch?v=tprP-GDW_6c" }
the first thing I did was wire shark but the protocols encrypted the next thing I tried to do was set up a proxy so I'm going to uh let's see let's turn ourselves offline let's go here if we try to edit the account come on why did it not show edit there we go there is a proxy Tab and we can set it to use HTTP and then ...
471.28
0
{ "video_id": "tprP-GDW_6c", "title": "HackTheBox - Jab", "url": "https://www.youtube.com/watch?v=tprP-GDW_6c" }
come in and it wasn't exactly an HTTP request it was just formatted really oddly um I'm going to close pige and reopen it and then we'll just move on if it doesn't work um we could also put the proxy in the settings because there is a settings for it so you can do a proxy on just the account or um pigeon in general so ...
535.16
0
{ "video_id": "tprP-GDW_6c", "title": "HackTheBox - Jab", "url": "https://www.youtube.com/watch?v=tprP-GDW_6c" }
a certificate logged in awesome so if we go back to tools and then go to plugins we can enable the console so we can enable this console and then if we go tools xmpp console this this is going to show us everything we do so if I went to um tools room get list we see the request it makes in here so it's pretty much what...
614.8
0
{ "video_id": "tprP-GDW_6c", "title": "HackTheBox - Jab", "url": "https://www.youtube.com/watch?v=tprP-GDW_6c" }
everything we got more than we wanted to but um this is fine let's just call it something awesome now I'm going to GP for jab htb on this so we have all the usernames and now we can just do a bunch of um splits so I'm going to do A- Fields then that print 2 uh what do I screw up does this set to be escaped it does a f ...
689.68
0
{ "video_id": "tprP-GDW_6c", "title": "HackTheBox - Jab", "url": "https://www.youtube.com/watch?v=tprP-GDW_6c" }
text and we're searching all the users it's showing them all valid if you have the latest version of curb root it's also going to perform um the as rep roast as well as you saw there was one up here right there we have a hash for that user so I'm going to let this finish and we going to grab everything we probably shou...
754.56
0
{ "video_id": "tprP-GDW_6c", "title": "HackTheBox - Jab", "url": "https://www.youtube.com/watch?v=tprP-GDW_6c" }
hashes slash um what is it jab KOB and we can do cat the hashes and then we'll do opt word list rocky. text and see if any of these end up cracking and it looks like none of them did recovered zero uh let's do rules inside Pro passwords Pro I'm sure one of these was supposed to crack which is odd see I don't think you ...
831
0
{ "video_id": "tprP-GDW_6c", "title": "HackTheBox - Jab", "url": "https://www.youtube.com/watch?v=tprP-GDW_6c" }
that is the issue um I want to say 18 is shaam and 23 is md5 I could be wrong with that but let's do opt curb root curb root uh-h so-- DC 10 1014 - djb htb and then users. text and I'm going to give it the D- downgrade flag and run this again is it just user. text users. text oh I did not specify user an there we go so...
950.639
0
{ "video_id": "tprP-GDW_6c", "title": "HackTheBox - Jab", "url": "https://www.youtube.com/watch?v=tprP-GDW_6c" }
V call it users that nope that's not it um that's not it I was completely blanking on the t-mo key to uh paste uh so if that happens to you happens to me too uh there we go users let's do it what I call it before um hashes there we go okay this one hopefully is better with e type 23 I also find it odd that hashcat stil...
1,034.16
0
{ "video_id": "tprP-GDW_6c", "title": "HackTheBox - Jab", "url": "https://www.youtube.com/watch?v=tprP-GDW_6c" }
114 - UJ Montgomery and then- P was at Mid night 121 let's see if we get a successful authentication we do doesn't say pwned so let's do a d d shares to see if there's anything here does not look like it we just have the standards so we could also try like when RM uh doesn't accept the shar's argument so now I'm going ...
1,125.52
0
{ "video_id": "tprP-GDW_6c", "title": "HackTheBox - Jab", "url": "https://www.youtube.com/watch?v=tprP-GDW_6c" }
to say password but it's not that midnight one 21 click add and right here it's trying to resolve a bunch of computers um the computers don't exist so it's just failing we can ignore all those errors okay let's disable our IPC account so now we're only logged in on J Montgomery and it doesn't look like J Montgomery has...
1,225.559
0
{ "video_id": "tprP-GDW_6c", "title": "HackTheBox - Jab", "url": "https://www.youtube.com/watch?v=tprP-GDW_6c" }
account out so net exact SMB 101014 user SVC open fire and we'll put this as the password let that go Blood Hound is still running and it looks like this does authenticate as well but it just like the last user doesn't look like this service account really buys us too much I'm going to do a winrm still doesn't so let's...
1,300.559
0
{ "video_id": "tprP-GDW_6c", "title": "HackTheBox - Jab", "url": "https://www.youtube.com/watch?v=tprP-GDW_6c" }
upload the zip that it just created so we could drag and drop but I think there is a import button right here we can go and specify this ZIP and we got a bad Json file uh oh um I wonder if the version of Blood Hound I have running is different than um this accepts open users use it does not look like it's working um ht...
1,374.2
0
{ "video_id": "tprP-GDW_6c", "title": "HackTheBox - Jab", "url": "https://www.youtube.com/watch?v=tprP-GDW_6c" }