text
stringlengths
4
952
start
float64
0
9.37k
duration
float64
0
0
meta
dict
we copy this and then I'm going to go over to the Kraken just another box out of my network for you just run on your host I would not try cracking in a VM we can do hashes alert. hdb put in this hashash cat-- user because we have the username colon the hash um the file name opt wordlist rocky. text it should start in a...
1,943.72
0
{ "video_id": "zSBEfW46zd0", "title": "HackTheBox - Alert", "url": "https://www.youtube.com/watch?v=zSBEfW46zd0" }
this whole donate thing um it did nothing let's see if it does anything so probably month January of 2024 well December 2024 I don't think any of these numbers are going to change let's put a 1,000 donate refresh and no numbers changed uh we could try sshing into the box so I know we did Etsy passwd a few times um I'm ...
2,005
0
{ "video_id": "zSBEfW46zd0", "title": "HackTheBox - Alert", "url": "https://www.youtube.com/watch?v=zSBEfW46zd0" }
to see if there's other files um we could be reading it doesn't look like that's the case we go in statistics do we miss anything here uh we can't even go in statistics we don't have Mission um oddly enough but we could go in alert because that 777 statistics is um 77 and we're not dubdub dub data if we wanted to escal...
2,075.32
0
{ "video_id": "zSBEfW46zd0", "title": "HackTheBox - Alert", "url": "https://www.youtube.com/watch?v=zSBEfW46zd0" }
PHP n cvnp 901 already listening let's kill that there we go now we're D du data we wanted we can go up to directories uh maybe I screwed up the shell uh this single quote goes there not sure what I was thinking there send that again let's go up to CD statistics alert htb there's only index.php and we could look at thi...
2,147.16
0
{ "video_id": "zSBEfW46zd0", "title": "HackTheBox - Alert", "url": "https://www.youtube.com/watch?v=zSBEfW46zd0" }
weight which is kind of um it's an easy way to hook I notify which is like file system events so right there there's setting like an event probably if a file gets created it automatically executes a script it's much quicker than doing like a cron every minute right it's just monitoring for files being created and thing...
2,231.56
0
{ "video_id": "zSBEfW46zd0", "title": "HackTheBox - Alert", "url": "https://www.youtube.com/watch?v=zSBEfW46zd0" }
let's see I'm just going to do the same thing find do-able uh we need Dash writable and we can write to monitors and config so let's go in config V shell. PHP and we're going to say the same thing can I just copy that uh copy V dubdub duub HTML alert U no not that alert uploads shell awesome so let's now try uh we can ...
2,295.839
0
{ "video_id": "zSBEfW46zd0", "title": "HackTheBox - Alert", "url": "https://www.youtube.com/watch?v=zSBEfW46zd0" }
PHP and there we go we got a root shell on alert so we can cat root. text and that's it so hope you guys enjoyed that take care and I'll see you all next time actually wait a second there was one thing I wanted to test um and that is because the uh website itself we went back to it ver dubdub dub alert uh less index is...
2,343.319
0
{ "video_id": "zSBEfW46zd0", "title": "HackTheBox - Alert", "url": "https://www.youtube.com/watch?v=zSBEfW46zd0" }
stand it up again send this message it got p index.html p. JS but nothing happened I wonder if there's going to be some type of browser protection let's look at this again turn.js that is sending to 901 that's good I'm going to change this real quick let's just do the alert. htb because I'm going to do this from my web...
2,425.4
0
{ "video_id": "zSBEfW46zd0", "title": "HackTheBox - Alert", "url": "https://www.youtube.com/watch?v=zSBEfW46zd0" }
be the video so take care and I will see you all next time
2,513.119
0
{ "video_id": "zSBEfW46zd0", "title": "HackTheBox - Alert", "url": "https://www.youtube.com/watch?v=zSBEfW46zd0" }
what's going on YouTube this is IPC I'm doing analysis from hack the box and I'm not actually going to cover the intended route we'll just cover the unintended route in this video I know that may disappoint some people but I think the intended route's going to be a better Standalone video and it works its way to be a s...
0.24
0
{ "video_id": "9U7OFdri73g", "title": "HackTheBox - Analysis", "url": "https://www.youtube.com/watch?v=9U7OFdri73g" }
discover a PHP script that is vulnerable to ldap injection and we're going to write a python script using async in order to make this ldap injection fast and then with that you get a shell to the Box you discover that snort is running and you can write inside one of the snort directories that has all the dlls it loads ...
41.079
0
{ "video_id": "9U7OFdri73g", "title": "HackTheBox - Analysis", "url": "https://www.youtube.com/watch?v=9U7OFdri73g" }
I've already ran it looking at the results we have quite a few ports open it looks like 13 since there's 987 we scanned a th000 and the first thing I notice is simple DNS plus whenever I see that as the DNS server I always look down look at ldap and see yep it is going to be Windows Active Directory so we know we're de...
85.28
0
{ "video_id": "9U7OFdri73g", "title": "HackTheBox - Analysis", "url": "https://www.youtube.com/watch?v=9U7OFdri73g" }
to figure out exactly why we're seeing this Banner right uh we have kerberus a bunch of SMB type stuff going down MySQL on 3306 that is a bit odd we get unauthorized so this host isn't allowed to talk to it and then we have the host name which is DC analysis and the domain which is analysis. htb so let's go ahead and a...
135.879
0
{ "video_id": "9U7OFdri73g", "title": "HackTheBox - Analysis", "url": "https://www.youtube.com/watch?v=9U7OFdri73g" }
username of guest and a password of something and then going username of something that doesn't exist normally like period or something just to see if there's any way we can get output but it doesn't look like there is so let's ahead and take a look at the website so if I go to 1010 11250 uh we get HTTP error 404 not f...
195.239
0
{ "video_id": "9U7OFdri73g", "title": "HackTheBox - Analysis", "url": "https://www.youtube.com/watch?v=9U7OFdri73g" }
IIs it goes to the HTTP API and then based upon your request it's going to make some type of decision on which where to send it so that is my understanding right now why we saw that header difference so looking at this website we get not much actually um I it's kind of weird that this whole thing is blank going to pres...
262.96
0
{ "video_id": "9U7OFdri73g", "title": "HackTheBox - Analysis", "url": "https://www.youtube.com/watch?v=9U7OFdri73g" }
do is look for subdomains so let's do a uh FFF we'll use gobster I guess gobster vhost uh- HD p analysis. hdb word list OPC list Discovery DNS then what is it let's just do subdomains top 1 million 5,000. text and we'll see what we get here it's in a numeration mode I guess what else could we check here we could try li...
319.639
0
{ "video_id": "9U7OFdri73g", "title": "HackTheBox - Analysis", "url": "https://www.youtube.com/watch?v=9U7OFdri73g" }
there's any files in the internal site um realistically I would do them both but that would take a little bit more time there's nothing on analysis we want to go here um right now the 403 Forbidden it could just be configured to block like any um open directories and there's no like index configured here so we have to ...
389.8
0
{ "video_id": "9U7OFdri73g", "title": "HackTheBox - Analysis", "url": "https://www.youtube.com/watch?v=9U7OFdri73g" }
users it redirects us to users with a slash and we get a 404 not found um but we wanted to show like Windows not case cense if I put capital r capital u uh s like it all works so using the lowercase in your word list really does speed up things and I'm going to use a tool I don't use often in videos but really I probab...
452.16
0
{ "video_id": "9U7OFdri73g", "title": "HackTheBox - Analysis", "url": "https://www.youtube.com/watch?v=9U7OFdri73g" }
um let's do U internal analysis htb wordless let's put the same word list here and then there's a step I don't like one of the files in a directory is a PHP I don't know how you know this Windows Server runs PHP normally I would look for like the banner if I saw it running um I forget the other the super common web ser...
504.56
0
{ "video_id": "9U7OFdri73g", "title": "HackTheBox - Analysis", "url": "https://www.youtube.com/watch?v=9U7OFdri73g" }
care about a lot of those directories like lib chart so I'm going to hit enter and that brings us into the scan management I'm going to do c for cancel DF of four so it doesn't ask me if I want to cancel and then we'll do three four five so we'll do three to five uh what was five five is image yes and then let's do sev...
566.079
0
{ "video_id": "9U7OFdri73g", "title": "HackTheBox - Analysis", "url": "https://www.youtube.com/watch?v=9U7OFdri73g" }
that is a 403 let's see we have employees login.php and dashboard tickets tickets redirects us to somewhere we could try checking that out real quick just see where it redirects us so if we do dashboard tickets. PHP was that what it was uh what is that ticket dashboard tickets. PHP it redirected us it's not redirecting...
624.36
0
{ "video_id": "9U7OFdri73g", "title": "HackTheBox - Analysis", "url": "https://www.youtube.com/watch?v=9U7OFdri73g" }
anything we can really do with this login form let's see what other files do we have see PHP employees maybe we should just wait for this scan to finish there's log out so I guess I'm going to pause the video we'll let this scan finish and then we'll go through all the files that it found because I'm having trouble kee...
719.32
0
{ "video_id": "9U7OFdri73g", "title": "HackTheBox - Analysis", "url": "https://www.youtube.com/watch?v=9U7OFdri73g" }
pH like this is why I always create out files um pharaoh. out we'll create that I'm going to pause the video and we'll look at this when it's done okay now that this is done we can cat ph. out and I just want to see every PHP hit so we looked at a lot of the dashboard stuff there is this users l list.php so if we look ...
787.44
0
{ "video_id": "9U7OFdri73g", "title": "HackTheBox - Analysis", "url": "https://www.youtube.com/watch?v=9U7OFdri73g" }
um we can say actions. text let's just see what that is uh we can say Das filter words for two you don't get anything um let's just use ra small words Discovery web content raft small words uh we want to use lowercase text and then we'll see if there's any end points here that um come back and we have name so when we s...
858.759
0
{ "video_id": "9U7OFdri73g", "title": "HackTheBox - Analysis", "url": "https://www.youtube.com/watch?v=9U7OFdri73g" }
a wild card we get technician so we get a result here um my SQL normally has wild cards as percent um ldap has things as stars so this looks like it's going to be an ldap query and based upon it being active directory all these fields kind of make sense like mobile office company and whatever if I put the star here on ...
937.079
0
{ "video_id": "9U7OFdri73g", "title": "HackTheBox - Analysis", "url": "https://www.youtube.com/watch?v=9U7OFdri73g" }
call this um ldap users. and we're going to try coding this it's going to be somewhat tough because I want to use async in order to um make this go fast so let's start it off by doing an import htpx which is like the request Library just going to support asynchronous things and then of course we have to import async IO...
1,001.279
0
{ "video_id": "9U7OFdri73g", "title": "HackTheBox - Analysis", "url": "https://www.youtube.com/watch?v=9U7OFdri73g" }
response before this finishes so that's why we use the await there you just say awaits when you want to block the code um there's probably better explanations if you search on YouTube but that's the quick one right so let's now create a another function for ldap um we'll call it search and then we want to give it let's...
1,065.039
0
{ "video_id": "9U7OFdri73g", "title": "HackTheBox - Analysis", "url": "https://www.youtube.com/watch?v=9U7OFdri73g" }
going to tell us um if the request was a match or not and I'm doing negative because if we looked at the page and we gave it a bunch of junk um it returns with contact underscore so that is how we know we get a negative match so let's start this function off by doing a semap and this is going to just limit us to whatev...
1,126.12
0
{ "video_id": "9U7OFdri73g", "title": "HackTheBox - Analysis", "url": "https://www.youtube.com/watch?v=9U7OFdri73g" }
match is in response. text we're going to return false and then otherwise we will return the character okay and that looks fine so what this is going to do it's going to take every single character and then run search against it and specifying each character so we're going to run search I think there's 24 characters so...
1,202.159
0
{ "video_id": "9U7OFdri73g", "title": "HackTheBox - Analysis", "url": "https://www.youtube.com/watch?v=9U7OFdri73g" }
like it got that right probably because we put it in the comment up here did not get the negative match right that's not a surprise because we don't have it in a comment if you curious about all this autocomplete that is GitHub co-pilot so now let's see we're going to do the results we're going to run that and that loo...
1,279.88
0
{ "video_id": "9U7OFdri73g", "title": "HackTheBox - Analysis", "url": "https://www.youtube.com/watch?v=9U7OFdri73g" }
appears only twice on the page so we can grab everything between strong and that's going to be the username so let's go up here we can import port regex and then we can say name is equal to re. find all there's probably like a find one function I just don't know off top my head uh not string strong and then we'll match...
1,339.919
0
{ "video_id": "9U7OFdri73g", "title": "HackTheBox - Analysis", "url": "https://www.youtube.com/watch?v=9U7OFdri73g" }
one so what I want to do is um go for all these names and then we'll do a second search I probably should have made this a set but it's too late now it'll be a pain to switch so I'll say for we'll do name in results and the first character of the name is going to be that and then the second character it's going to be t...
1,422.44
0
{ "video_id": "9U7OFdri73g", "title": "HackTheBox - Analysis", "url": "https://www.youtube.com/watch?v=9U7OFdri73g" }
second character and return the right side so if our string was like AB B CDE e f and we had matched C we're just splitting removing that and keeping DF so we resume the search after that that should be fine and let's see we'll do URL plus first character I think this is going to work let's see oh I probably shouldn't ...
1,503.44
0
{ "video_id": "9U7OFdri73g", "title": "HackTheBox - Analysis", "url": "https://www.youtube.com/watch?v=9U7OFdri73g" }
pretty actually fast uh if we wanted to test this out we can remove the proxy real quick actually let's just comment like that and then this will be a quick way to do it Python 3 LP we'll do a time and see how long this takes uh 5 seconds so let's do V let's change concurrency 8 we could just change it down here as wel...
1,632.52
0
{ "video_id": "9U7OFdri73g", "title": "HackTheBox - Analysis", "url": "https://www.youtube.com/watch?v=9U7OFdri73g" }
and we're going to see if they have any like as rep roasting capabilities so let's do V names. text paste this in op curb root curb root I think it's user an yes it is user an DC 10 10 11250 domain analysis anal that I think that's right word names. text I thought was DW for word list uh maybe there's just no argument ...
1,699.32
0
{ "video_id": "9U7OFdri73g", "title": "HackTheBox - Analysis", "url": "https://www.youtube.com/watch?v=9U7OFdri73g" }
another field if this is active directory would be description so we should probably do this in B Suite so we do the stir elap puts just a bunch of queries just in parentheses right so I'm guessing this is going to be like it looks like Sam account name is equal to this right this is going to be the query that's runnin...
1,785.399
0
{ "video_id": "9U7OFdri73g", "title": "HackTheBox - Analysis", "url": "https://www.youtube.com/watch?v=9U7OFdri73g" }
word list to see if there is a description um I wonder start would match blank if there's not let's see name if we do a star we don't have anything tar so if the description is blank we'll get um the contact word right so we know technician has a description the first two users did not J and L is the next two we'll see...
1,853.64
0
{ "video_id": "9U7OFdri73g", "title": "HackTheBox - Analysis", "url": "https://www.youtube.com/watch?v=9U7OFdri73g" }
wanted to but the main one we want is just the description so what we want to do is replace the URL first um trying to think the best way to do this uh let's see I'm not going to worry about arguments right now we can maybe add it in later you just import CIS and whatever but uh let's see we want to do name we'll say t...
1,916.399
0
{ "video_id": "9U7OFdri73g", "title": "HackTheBox - Analysis", "url": "https://www.youtube.com/watch?v=9U7OFdri73g" }
request and we broke something or something then we'd see contact and we get a false match so technicians only going to Happ on positive match so we should name this positive match and name it other places as well this if posit match is in response then we want to return the character and now we will return false okay ...
1,998.639
0
{ "video_id": "9U7OFdri73g", "title": "HackTheBox - Analysis", "url": "https://www.youtube.com/watch?v=9U7OFdri73g" }
concurrency that looks fine I can't comprehend exactly what that is doing let's just break this up so we'll say the batch is equal to car set so this is going to go like the first eight characters then 9 through 16 whatever now we're going to Loop through the batch append to results that looks fine and then we want to ...
2,071.119
0
{ "video_id": "9U7OFdri73g", "title": "HackTheBox - Analysis", "url": "https://www.youtube.com/watch?v=9U7OFdri73g" }
character name URL let's just see what this happens and we want to change the character set uh this will be printable we want a minus five the last five in printable is um like line breaks and like non print like I don't think it's printable characters uh we don't have regular Expressions anymore um I'm trying to think...
2,174.119
0
{ "video_id": "9U7OFdri73g", "title": "HackTheBox - Analysis", "url": "https://www.youtube.com/watch?v=9U7OFdri73g" }
see how do I do this we'll do while true also going to call this data okay we have results see URL car set name that's fine that did not return a list which is good so if result s look can say data plus equals results and probably want to update the URL as well wonder if we did this will the URL be smart enough to alwa...
2,273.359
0
{ "video_id": "9U7OFdri73g", "title": "HackTheBox - Analysis", "url": "https://www.youtube.com/watch?v=9U7OFdri73g" }
description field uh and we get just it ending here and I don't think that's the password right we could go and grab this and then go let's see net exec dasu technician DP that and we also got to do SMB 10 10 11 to 50 and see what this says uh log on failure so we probably had a bad character and we could play around w...
2,422.52
0
{ "video_id": "9U7OFdri73g", "title": "HackTheBox - Analysis", "url": "https://www.youtube.com/watch?v=9U7OFdri73g" }
though is if you have two wild cards the first one doesn't behave as a wild card it just behaves as a character so if we had this then it'll only match as a character it's not going to behave as another Wild Card which saves a lot of just did we really match the next character do we match two characters from now becaus...
2,504.44
0
{ "video_id": "9U7OFdri73g", "title": "HackTheBox - Analysis", "url": "https://www.youtube.com/watch?v=9U7OFdri73g" }
want to do this going to call another variable and loop is equal to false and the purpose of this is to let us cycle through our list twice if we don't get any hits then it's going to run again and if it runs again and then hits something then um we keep going if it doesn't hit something then we fail so it has to go th...
2,572
0
{ "video_id": "9U7OFdri73g", "title": "HackTheBox - Analysis", "url": "https://www.youtube.com/watch?v=9U7OFdri73g" }
append data as and we will print and then in this result we just want to also say end Loop is equal to false that may be all we need to do let's run it again and see so we're running it and come on 9 n t so we should Loop through everything and it broke don't know why let's see let's set a break point here let it run I...
2,638.359
0
{ "video_id": "9U7OFdri73g", "title": "HackTheBox - Analysis", "url": "https://www.youtube.com/watch?v=9U7OFdri73g" }
97 n TTL should just print a start and keep going we didn't do a print here but if we look you can see what it's doing we're getting each character there so we had this star and it ended with or Star it that's probably not it we just did a bad job printing um so let's see how do I want to handle this I just want to cle...
2,788.48
0
{ "video_id": "9U7OFdri73g", "title": "HackTheBox - Analysis", "url": "https://www.youtube.com/watch?v=9U7OFdri73g" }
look and at the end we'll just print a new line does this do it 9 s this looks better come on Star there we go so this is looking much better now as long as we have everything in the character set we should be good so if I copy this let's right click copy then we can go back here put this password in and we still get a...
2,896.359
0
{ "video_id": "9U7OFdri73g", "title": "HackTheBox - Analysis", "url": "https://www.youtube.com/watch?v=9U7OFdri73g" }
htb put in that password bad data so we have something wrong with our script I think let's head over to burp suite and look at what it's guessing and what it thinks 97 ntl star 4 q oh we're missing a four um when I do this print we also need to add the results because when we hit this um we just magically added the sta...
2,974.44
0
{ "video_id": "9U7OFdri73g", "title": "HackTheBox - Analysis", "url": "https://www.youtube.com/watch?v=9U7OFdri73g" }
analysis. HTV put in the password um I did not have the for in hopefully I'm not making a typo there we go we can log in um I'm going to fix up the script real quick because that should not take long let's see that looks fine um all we want to do is is be able to change the description and uh field so let's do import C...
3,061.599
0
{ "video_id": "9U7OFdri73g", "title": "HackTheBox - Analysis", "url": "https://www.youtube.com/watch?v=9U7OFdri73g" }
run I'm going to guess 8 seconds and then I want to run it with 12 threads and see if it's actually quicker I don't think will be but it's possible it could be just because of how we're doing the blocking so we'll run it again with 12 see how long this takes I guess we could also run it at like 128 to see that's going ...
3,191.89
0
{ "video_id": "9U7OFdri73g", "title": "HackTheBox - Analysis", "url": "https://www.youtube.com/watch?v=9U7OFdri73g" }
just setting the threads as high as possible isn't always good right so there's some more optimization that could be done but that is enough for this script um were we going through brip Suite we were let's do 3 to without burp site I think burp will also slow this down considerably yeah so we can see this is going muc...
3,281.599
0
{ "video_id": "9U7OFdri73g", "title": "HackTheBox - Analysis", "url": "https://www.youtube.com/watch?v=9U7OFdri73g" }
active directory login issues HDA files we click details does it have anything get weird errors let's go to Sock report files will be executed in a sandbox and analyzed by analysis or analyst let's just try putting a file here let's go to htb analysis whoops htb analysis um I'm just going to upload names. text and let'...
3,352.4
0
{ "video_id": "9U7OFdri73g", "title": "HackTheBox - Analysis", "url": "https://www.youtube.com/watch?v=9U7OFdri73g" }
text so let's try making a request there and we get the file so we know this is PHP let's try uploading a PHP file so let's change the file name to call it shell.
3,407.079
0
{ "video_id": "9U7OFdri73g", "title": "HackTheBox - Analysis", "url": "https://www.youtube.com/watch?v=9U7OFdri73g" }
PHP and let's just run a system command we'll do system who am I first and then we'll add it so we can do arguments to get a reverse shell there we go show. PHP exist and we analysis. service web awesome so let's make this just execute command so we can say request CMD like that so now we can pass it a command so we co...
3,428.88
0
{ "video_id": "9U7OFdri73g", "title": "HackTheBox - Analysis", "url": "https://www.youtube.com/watch?v=9U7OFdri73g" }
before we go on we probably should highlight an URL en code so let's go up a directory make D dubdub dub CP user share Nang Powershell or is it shells uh invoke Powershell TCP one line okay I'm just going to move this to shell. PS and let's edit it to put this and hopefully there's no antivirus on the box if there is t...
3,516.28
0
{ "video_id": "9U7OFdri73g", "title": "HackTheBox - Analysis", "url": "https://www.youtube.com/watch?v=9U7OFdri73g" }
first thing that comes to mind is going to be the login form because that has to talk to something in order to authenticate right so let's go to employees and then let's look at login.php and let's see that is just HTML we scroll up we have it doing the login right here so we have host Local Host username DB Master the...
3,600.76
0
{ "video_id": "9U7OFdri73g", "title": "HackTheBox - Analysis", "url": "https://www.youtube.com/watch?v=9U7OFdri73g" }
talk to this server so we could just upload chisel and pivot uh so we access MySQL over Local Host but we've done that in a lot of boxes I don't feel like showing again another thing you can do is always just write a quick PHP script to dump the data and then you don't have to do any pivoting so let's show that real qu...
3,672.72
0
{ "video_id": "9U7OFdri73g", "title": "HackTheBox - Analysis", "url": "https://www.youtube.com/watch?v=9U7OFdri73g" }
statement so let's just say statement is equal to the connect prepare SQL uh there we go that's why it didn't tap Auto uh do my indenting right that time so after this statement connect prepare we have to execute it okay okay and then we can say for each did I spell that right I did not there we go results as row and w...
3,746.2
0
{ "video_id": "9U7OFdri73g", "title": "HackTheBox - Analysis", "url": "https://www.youtube.com/watch?v=9U7OFdri73g" }
fetch results is equal equal to statement fetch all what is it do they have it in this catch PDL execute I think it's PDO fetch Associated try that rate to string conversion PHP dump array I forget this command ver dump that's it try this there we go so we have I guess just technicians password there's only one user he...
3,863.76
0
{ "video_id": "9U7OFdri73g", "title": "HackTheBox - Analysis", "url": "https://www.youtube.com/watch?v=9U7OFdri73g" }
account we can also get the database so we'll say DB master and that is in a PHP script so we'll C dub dub dub dump and grab this and I guess technician we had this from the um ldap dump Command right did end Envy yes okay so we've poked at the web application um it didn't really get us all that much we could try loggi...
4,025.4
0
{ "video_id": "9U7OFdri73g", "title": "HackTheBox - Analysis", "url": "https://www.youtube.com/watch?v=9U7OFdri73g" }
that's really too important if we went to CD slash and did a dir we would see a directory that is really non-standard snort and there's also a snort log that is relatively big but if we go into the snort directory and then look at let's see what do we have we have bin Etsy lib log rules I'm going to go into logs and if...
4,128.359
0
{ "video_id": "9U7OFdri73g", "title": "HackTheBox - Analysis", "url": "https://www.youtube.com/watch?v=9U7OFdri73g" }
and see if this is set so let's go into Etsy and then we can look at snort. and then I'm going to search up for dynamic preprocessor and we see it's going to this directory the dynamic engine is just going to the dynamic engine and specifies the full dll but since this is just specifying the directory anything in here ...
4,203.6
0
{ "video_id": "9U7OFdri73g", "title": "HackTheBox - Analysis", "url": "https://www.youtube.com/watch?v=9U7OFdri73g" }
DL I think that's it right reverse shell TCP it did not find anything is it shell reverse it is almost knew it so I think that should create us a reverse shell that will just uh be a dll so when this runs I'm going to run a file against it and just double check that it is indeed a dll let's do file IC dll be yep window...
4,281.32
0
{ "video_id": "9U7OFdri73g", "title": "HackTheBox - Analysis", "url": "https://www.youtube.com/watch?v=9U7OFdri73g" }
think I'm going to just wait 2 minutes and see what happens so let's do a sleep 120 and I'm going to pause the video and we'll come back when this finishes and the 2 minutes hasn't passed up but we did get a shell and if we do it who am I we are the administrator user and I knew I'd get administrator when I exploited s...
4,390.8
0
{ "video_id": "9U7OFdri73g", "title": "HackTheBox - Analysis", "url": "https://www.youtube.com/watch?v=9U7OFdri73g" }
because it's going to be doing a bunch of dll injection with a binary you can just download right so I'm going to uh do the route that way um but we can cover uh up to that point right because this whole snort thing not really intended um we're supposed to get another user's password and you can get that user password ...
4,449.719
0
{ "video_id": "9U7OFdri73g", "title": "HackTheBox - Analysis", "url": "https://www.youtube.com/watch?v=9U7OFdri73g" }
everyone I don't know exactly why but that's just what it is so we're going to W get it and then once it's downloaded we will run it and this will take some time to run so let's get another shell and look at the other way to get the user's password so let's go back here send this that should have got a shell right uplo...
4,532.32
0
{ "video_id": "9U7OFdri73g", "title": "HackTheBox - Analysis", "url": "https://www.youtube.com/watch?v=9U7OFdri73g" }
PHP why is this not working anymore oh I have a two there there we go I did not RL rep I hope that wipees is running I'm used to seeing some output maybe it'll come when it's finished okay so if we started poking around at all the PHP scripts um let's go do a DI we have a bunch of Yar rules which is a bit odd and the i...
4,574.8
0
{ "video_id": "9U7OFdri73g", "title": "HackTheBox - Analysis", "url": "https://www.youtube.com/watch?v=9U7OFdri73g" }
PHP what is this and then we have alert panel these two are new to me so I want to see exactly what emergency. PHP is and maybe we can just go to it uh analysis let's do internal analysis htb uh employees log in I have to relog into the application technician at analysis.
4,624.44
0
{ "video_id": "9U7OFdri73g", "title": "HackTheBox - Analysis", "url": "https://www.youtube.com/watch?v=9U7OFdri73g" }
HTP and we will put in the password so let's go cat creds technician copy paste oh emergency right here I don't know if I ever looked at this uh we have emergency notification see not exactly sure what this is doing let's look at the alert so we got alert panel. PHP and we can also see if we can access this to see what...
4,655.32
0
{ "video_id": "9U7OFdri73g", "title": "HackTheBox - Analysis", "url": "https://www.youtube.com/watch?v=9U7OFdri73g" }
log let's go to the other one maybe fine string I did that wrong there we go so if we look at this we can see dashboard alert panel off one username J do and then we have this password so this is another way we could have got the password just by looking at the source code and discovering there is an endpoint that has ...
4,788.4
0
{ "video_id": "9U7OFdri73g", "title": "HackTheBox - Analysis", "url": "https://www.youtube.com/watch?v=9U7OFdri73g" }
nxc um SMB 1010 11 250 J do password this is just going to verify we have a successful off because we're not an admin so we can't just get a shelf from here if I look at when RM it is going to say we can access it so we could use like evil wi rm- I 101 11250 d j do- p and log into the box now if we look at jell we can ...
4,863.76
0
{ "video_id": "9U7OFdri73g", "title": "HackTheBox - Analysis", "url": "https://www.youtube.com/watch?v=9U7OFdri73g" }
um there is a private directory as well and if we look at encoded text this is going to be a encoded message from the BC text encoder utility so we have to find a way to decrypt this and um since the J do user has this application running we could hook it and examine all the memory in it you could also potentially run ...
4,944.96
0
{ "video_id": "9U7OFdri73g", "title": "HackTheBox - Analysis", "url": "https://www.youtube.com/watch?v=9U7OFdri73g" }
encoder and then we could also download it this is also just downloadable on the internet so you can download it that way if you don't want to xfill it off the box but that is going to conclude the video I know it's a bit odd that we didn't show the intended route but we showed a pretty cool unintended route with that ...
5,007.32
0
{ "video_id": "9U7OFdri73g", "title": "HackTheBox - Analysis", "url": "https://www.youtube.com/watch?v=9U7OFdri73g" }
what's going on YouTube this is IP doing analytics from hack the box which was a pretty easy machine if you don't care about understanding what exploits are doing because everything is just copy and paste right the foothold was in met exploit so you just discover metabase is running and you can either throw the exploit...
0.399
0
{ "video_id": "p1NsQSGeDv0", "title": "HackTheBox - Analytics", "url": "https://www.youtube.com/watch?v=p1NsQSGeDv0" }
out because the prives actually fits in a tweet you can just copy and paste the prives one lineer throw it in and you root but we're going to understand what each of these exploits are going to do and do everything manually because um I think that's where all the fun is so with that being said let's just jump in as alw...
38.64
0
{ "video_id": "p1NsQSGeDv0", "title": "HackTheBox - Analytics", "url": "https://www.youtube.com/watch?v=p1NsQSGeDv0" }
and then we can add 10 10 11233 analytical htb and let's go browse to it so let's go 10 10 11 233 and looking at this page the first thing I want to try to identify is if I know what framework this is running is this just a static site is it WordPress jumla um what's the backend look like and this nothing really stands...
98.28
0
{ "video_id": "p1NsQSGeDv0", "title": "HackTheBox - Analytics", "url": "https://www.youtube.com/watch?v=p1NsQSGeDv0" }
a lot of hack the Box machines and that's how you know you can kind of ignore this contact form because it just redirects you it's not sending data uh we do have analytical doc as the domain there uh we also have analytical Doom but nothing really sticks out to me if I click these links it looks like goes to the page b...
159.879
0
{ "video_id": "p1NsQSGeDv0", "title": "HackTheBox - Analytics", "url": "https://www.youtube.com/watch?v=p1NsQSGeDv0" }
repeater did I turn intercept back on I did and let's send this to repeater so we don't want Maps fonts there we go okay I'm going to name this request homepage this one's going to be metabase I'm going to make a request on both of them and I just look at the server header so I see engine X I'm going to do here and the...
220.4
0
{ "video_id": "p1NsQSGeDv0", "title": "HackTheBox - Analytics", "url": "https://www.youtube.com/watch?v=p1NsQSGeDv0" }
different as well that points to it being a different um web server the other thing you can look at and I think this is Docker it's not going to do it but the TTL um sometimes you can identify like if there's a firewall or like um some type of router like web application firewall I'm trying to think um reverse proxy th...
285.68
0
{ "video_id": "p1NsQSGeDv0", "title": "HackTheBox - Analytics", "url": "https://www.youtube.com/watch?v=p1NsQSGeDv0" }
done through IP tables on Linux and that doesn't decrement when doing it doesn't treat it as a network despite it going from the probably like e zero adapter to the docker zero adapter to get that it just doesn't decrement the TTL so you can't fingerprint it that way but if this was a different box like we had some typ...
351.199
0
{ "video_id": "p1NsQSGeDv0", "title": "HackTheBox - Analytics", "url": "https://www.youtube.com/watch?v=p1NsQSGeDv0" }
local box I'm bad about keeping my stuff up to date the typical security person right so I always go to the source because I know it's going to be um up to date we have a February 15th of 2024 something was up uploaded metabase 04 6.6 so we want to see if we can get the version of metabase I'm sure if we googled around...
403.639
0
{ "video_id": "p1NsQSGeDv0", "title": "HackTheBox - Analytics", "url": "https://www.youtube.com/watch?v=p1NsQSGeDv0" }
analytical htb and let's just GP for version so we see version right here date tag and we see 0466 so this exploit would work it's in met exploit which is probably what this is talking about or they're using a python one there's also exploit one but I don't think we're going to learn as much if we just run the exploit ...
456.039
0
{ "video_id": "p1NsQSGeDv0", "title": "HackTheBox - Analytics", "url": "https://www.youtube.com/watch?v=p1NsQSGeDv0" }
one there's an exploit analysis there we go this is what I wanted the asset note so we can close these this is a really good one that's talking about it I think these are the people that found the exploit if you didn't want to use heck the Box you could just use Docker to spin up the vulnerable version this is always a...
514.36
0
{ "video_id": "p1NsQSGeDv0", "title": "HackTheBox - Analytics", "url": "https://www.youtube.com/watch?v=p1NsQSGeDv0" }
here and we accessed it we have information here let's see I'm just going to search for token let's go we got two matches go to the second match and we have setup token right here so we're able to get the setup token um so we can complete the setup and through this is where rce is right here they're talking about like ...
573.519
0
{ "video_id": "p1NsQSGeDv0", "title": "HackTheBox - Analytics", "url": "https://www.youtube.com/watch?v=p1NsQSGeDv0" }
use a setup key in order to get code execution they talk about going into the H2 database driver which I think is like a SQL driver in Java maybe I don't know exactly what it is but the normal way they got code execution through the init parameter was blocked by a blacklist because um other vulnerabilities just um use ...
634.88
0
{ "video_id": "p1NsQSGeDv0", "title": "HackTheBox - Analytics", "url": "https://www.youtube.com/watch?v=p1NsQSGeDv0" }
interesting um they can go in the jar file and pick a sample database and they did this because they're touching a database if they screw up they can hose the database itself and take metabase down however um through this ZIP wrapper they can go in the jar and get the sample database so they're never touching the prod ...
694.839
0
{ "video_id": "p1NsQSGeDv0", "title": "HackTheBox - Analytics", "url": "https://www.youtube.com/watch?v=p1NsQSGeDv0" }
it to application Json always modify your content type and then when we paste this and it wasn't properties right it was setup validate we're going to get a failure here because I forgot to do one thing the token so let's go ahead and grab our token uh that was right here so I'm going to grab this go over here we'll pu...
748.8
0
{ "video_id": "p1NsQSGeDv0", "title": "HackTheBox - Analytics", "url": "https://www.youtube.com/watch?v=p1NsQSGeDv0" }
headers like my initial exploit I always like seeing user agent things like that right um so we have that if we keep reading the post they talk about a good way to get code execution is that this one right here zip meta database let's go here yep they're doing a Bash payload here so I'm going to copy this database line...
821
0
{ "video_id": "p1NsQSGeDv0", "title": "HackTheBox - Analytics", "url": "https://www.youtube.com/watch?v=p1NsQSGeDv0" }
we got to replace this and this is just a reverse shell so let's do Echo dasn um let's see they're calling it with bash dasi I think we just do this well they call it with Bashi so that's should be fine 8 90001 Z and one and then let's pipe it over to Bas 64 and they didn't do this I always like doing it and you're uh ...
889.639
0
{ "video_id": "p1NsQSGeDv0", "title": "HackTheBox - Analytics", "url": "https://www.youtube.com/watch?v=p1NsQSGeDv0" }
run uh maybe control z a few times I think I have a connection right now right I don't see anything LS I do but with the V it tells you when that connection's made which is really nice right so it doesn't send you a shell um you'll get one next time like when you type a line so let's do Python 3 import PTY PTY spawn b ...
965.48
0
{ "video_id": "p1NsQSGeDv0", "title": "HackTheBox - Analytics", "url": "https://www.youtube.com/watch?v=p1NsQSGeDv0" }
DB let's see does this like is this a Sim link stat oh it's a directory okay and we could strings it to see if we can get like any credentials out of it um it's probably sqlite oh God that's a lot of data that was a mistake that was a big mistake okay we can file against at metabase DB move DB let's just send it it to ...
1,041
0
{ "video_id": "p1NsQSGeDv0", "title": "HackTheBox - Analytics", "url": "https://www.youtube.com/watch?v=p1NsQSGeDv0" }
variables there are because that may also just hold the credentials if you can't find the config we don't have the DB pass the H name is probably the doc container jdk database file and we have a user and password metalytics and analytics DS 2023 so let's go ahead and try SSH um let's just copy this at 10 10 11 to 33 a...
1,145.52
0
{ "video_id": "p1NsQSGeDv0", "title": "HackTheBox - Analytics", "url": "https://www.youtube.com/watch?v=p1NsQSGeDv0" }
and they all label it somewhat differently and it's just a huge pain um to find if something's affected right because this Ubuntu let's see cat Etsy LSB release um we're on jamming if we're on focal or something like all the versions would be different like sometimes the five version's vulnerable as well as the six it ...
1,215.159
0
{ "video_id": "p1NsQSGeDv0", "title": "HackTheBox - Analytics", "url": "https://www.youtube.com/watch?v=p1NsQSGeDv0" }
these old cves like we can ignore all these 2021 ones um and I don't think it found it and that may just be like it's not in the database or maybe it didn't flag correctly right we see it updated last month so let's just go with un name- a and I'm going to Google this so if we say that exploit I'm guessing we'll get th...
1,272.08
0
{ "video_id": "p1NsQSGeDv0", "title": "HackTheBox - Analytics", "url": "https://www.youtube.com/watch?v=p1NsQSGeDv0" }
rout uh we should have I'm not sure why that one didn't work uh let's see upper import Os Os set uid zero OS system I wonder if it's uh I bet it's bash without the SL p or- p nope it worked that time I don't know why when I pasted it didn't work right but we don't really learn anything doing it that way just running it...
1,344.919
0
{ "video_id": "p1NsQSGeDv0", "title": "HackTheBox - Analytics", "url": "https://www.youtube.com/watch?v=p1NsQSGeDv0" }
four times because that's going to take a lot of dis space so you'd make that root file system on the lower thing and then the upper would be the changes you make to that file system and that would be your container the combination between lower and upper and that way you can use the same base directory structure for m...
1,437.4
0
{ "video_id": "p1NsQSGeDv0", "title": "HackTheBox - Analytics", "url": "https://www.youtube.com/watch?v=p1NsQSGeDv0" }
you create a set uid file get it cloned over then you exit that name space and now um bash has set your ID and you can execute it as root that's bad right um they fix that but they forgot about capabilities which is another way binaries can escalate Privileges and we could um exploit it again and that's what this is so...
1,490.279
0
{ "video_id": "p1NsQSGeDv0", "title": "HackTheBox - Analytics", "url": "https://www.youtube.com/watch?v=p1NsQSGeDv0" }
root Nam space now we're not really root if I go to LS root we can't open it we're just root in the namespace we created so in this Nam space we're going to create a lower directory and upper directory I think this is a working directory and M I think is merge so we create all those and then for the sake of saving spac...
1,571.12
0
{ "video_id": "p1NsQSGeDv0", "title": "HackTheBox - Analytics", "url": "https://www.youtube.com/watch?v=p1NsQSGeDv0" }
we're going to do is we're going to touch every file in this m directory and what that's going to do is signify a change to it so the system copies it from the lower directory to the upper directory okay we've done that and oh they have to put an exit here I think so the exploit is done so now if we do Python 3 on the ...
1,634.36
0
{ "video_id": "p1NsQSGeDv0", "title": "HackTheBox - Analytics", "url": "https://www.youtube.com/watch?v=p1NsQSGeDv0" }