text
stringlengths
4
952
start
float64
0
9.37k
duration
float64
0
0
meta
dict
here we see the file was uploaded but if we attempted to go to this file let's just turn intercept off so a browser gives it to us let's see um that's not what I wanted go back here repeater we going to get this hash if I go in this directory the file is not here and that's because um let's go back into zip Vim upload....
2,166.359
0
{ "video_id": "C78yku9WC0o", "title": "HackTheBox Zipping", "url": "https://www.youtube.com/watch?v=C78yku9WC0o" }
Behavior between how PHP is handling Zips and how seven zip does right the actual format of a zip file is weird um szip is treating it as null terminated but there's also a length somewhere so PHP is take using the length so it reads past the null bite right so let's see where shell so probably this is some type of len...
2,259.319
0
{ "video_id": "C78yku9WC0o", "title": "HackTheBox Zipping", "url": "https://www.youtube.com/watch?v=C78yku9WC0o" }
exist because the upload path file name this includes the null bite and it's saying um the file doesn't exist because the PDF extension does not exist so we never rename it which moves it out of the temp directory so hopefully that makes sense um so that was the other unended with the Box we can finally go and talk abo...
2,327.44
0
{ "video_id": "C78yku9WC0o", "title": "HackTheBox Zipping", "url": "https://www.youtube.com/watch?v=C78yku9WC0o" }
let's go to product um let's just do two I guess I'm going to send this over to burp Suite intercept on there there we go so if the product um matches this regular expression we just get a redirect so let's see it looks like we can't have any special characters or numbers so if I just do ideas 2 a we get a redirect so ...
2,402.64
0
{ "video_id": "C78yku9WC0o", "title": "HackTheBox Zipping", "url": "https://www.youtube.com/watch?v=C78yku9WC0o" }
beginning of a line the carrot inside of these brackets that means not if you put a carrot soon as you put like the bracket that is it's not one of these characters if it's not within that that's like when the string begins so we have if the string begins then match any character star and then we have bunch of special ...
2,479.2
0
{ "video_id": "C78yku9WC0o", "title": "HackTheBox Zipping", "url": "https://www.youtube.com/watch?v=C78yku9WC0o" }
with a number right we go 30 or2 found now let's insert a line break so I'm just going to do Echo xxd a line break should be 0 a so I do percent 0 a and we get the product does not exist because we have a line break here so what was stopping us before uh where was I here was this rag X right but by putting the line in ...
2,536.48
0
{ "video_id": "C78yku9WC0o", "title": "HackTheBox Zipping", "url": "https://www.youtube.com/watch?v=C78yku9WC0o" }
have a match but again that's because of the reg X I'm going to end it in a number and now we suddenly have Smartwatch so we have validated we have SQL injection we just have to make sure we have a line break and we end with a number um let's kind of go into why that's SQL injected right the comments do tell us but let...
2,609.079
0
{ "video_id": "C78yku9WC0o", "title": "HackTheBox Zipping", "url": "https://www.youtube.com/watch?v=C78yku9WC0o" }
the variables it's going to want to use probably like a question mark right they give three examples the one I like is just doing question mark So how we would Harden this is we'd put a question mark here and then on execute then we'd say ID right so now it knows this parameter is going to be the first parameter here a...
2,674.359
0
{ "video_id": "C78yku9WC0o", "title": "HackTheBox Zipping", "url": "https://www.youtube.com/watch?v=C78yku9WC0o" }
functions and here we have my SQL running as root and root can generally write files right so let us try this um so we have id1 so we write a file where we could do Union injection grab all the passwords right um that's not going to help us here and I think the video's gone long enough where you don't need to uh watch ...
2,754.88
0
{ "video_id": "C78yku9WC0o", "title": "HackTheBox Zipping", "url": "https://www.youtube.com/watch?v=C78yku9WC0o" }
right so what I did here is before my SQL injection we had a one here which was matching the Smartwatch product and was grabbing the very first line so it always grabbed that so we couldn't see all the parameters we were writing through the SQL injection so what I did was I made sure we got a product that did not exist...
2,846.72
0
{ "video_id": "C78yku9WC0o", "title": "HackTheBox Zipping", "url": "https://www.youtube.com/watch?v=C78yku9WC0o" }
first we have to just dump a list of all the databases on the server so let's do a select and then schema name from information schema. schemata like that and we have to um do a group concat because this is going to return multiple rows we want to put them all on one row and of course we have to URL encode this so do t...
2,900.319
0
{ "video_id": "C78yku9WC0o", "title": "HackTheBox Zipping", "url": "https://www.youtube.com/watch?v=C78yku9WC0o" }
break so back sln we do information schema. columns because that's the table we want and then we say where table schema because this is going to be the database is equal to zipping and again URL encode this and we can see all the tables and columns here there's nothing really of Interest right we just have the products...
2,982.76
0
{ "video_id": "C78yku9WC0o", "title": "HackTheBox Zipping", "url": "https://www.youtube.com/watch?v=C78yku9WC0o" }
rid of all this and I'm going to do a um select and we'll do a double quote curl 10 10 148 um yeah we can do a curl that's fine let's do Port 8,000 and maybe the Box doesn't have curl I always hate using binaries like that um let's EO a shell so to do that I'm going to go back to my terminal and we're going to just wri...
3,046.4
0
{ "video_id": "C78yku9WC0o", "title": "HackTheBox Zipping", "url": "https://www.youtube.com/watch?v=C78yku9WC0o" }
do um like that PHP and then system Echo this b 64- d then Bash we end the single quote end the system call and the PHP call and the double quote so if we yl en code this just want to look at it make sure this looks good PHP system Echo we don't have a semicolon I don't think we need one because it's only one thing but...
3,130.839
0
{ "video_id": "C78yku9WC0o", "title": "HackTheBox Zipping", "url": "https://www.youtube.com/watch?v=C78yku9WC0o" }
happens a lot when you do Union injections and write a file so let's go back to the lfi and what do we call it we called it shell right shell.
3,229.04
0
{ "video_id": "C78yku9WC0o", "title": "HackTheBox Zipping", "url": "https://www.youtube.com/watch?v=C78yku9WC0o" }
PHP uh let's lfi we can say Dev shm shell and we should listen we don't have anything let's see I don't know if this actually wrote so we do that select this should have wrote PHP system Echo 64- D let's try ver lib MySQL can we WR there we still go in here let's do LF if I ver li My SQL still not so we have something ...
3,239.92
0
{ "video_id": "C78yku9WC0o", "title": "HackTheBox Zipping", "url": "https://www.youtube.com/watch?v=C78yku9WC0o" }
I wonder if the nesting is what breaks it uh we can't overwrite so I think that's what did it so it's the whole nesting these selects into out file so that's what broke it so since we know that let's now take this we can remove this piece so now we just have the shell and I'm going to put it at the end so we do plus in...
3,381.48
0
{ "video_id": "C78yku9WC0o", "title": "HackTheBox Zipping", "url": "https://www.youtube.com/watch?v=C78yku9WC0o" }
PHP we get product doesn't exist so if we go back to the lfi we can try Dev shm shell it's hanging that's a good sign um go down here and we have a shell so that is doing it the inted way so let's do Python 3 UT PTY pt. spawn b bash then stty raw minus Echo for ground and then we can export term is equal to X term so w...
3,427.839
0
{ "video_id": "C78yku9WC0o", "title": "HackTheBox Zipping", "url": "https://www.youtube.com/watch?v=C78yku9WC0o" }
stock I have no clue what I'm doing or we can exit the program so we could open this up in gedra but before I do that I always like just running srace on the program so let's just do srace on this and if we enter the password this is going to be like CIS call tracing it's going to tell us everything it's doing and when...
3,511.799
0
{ "video_id": "C78yku9WC0o", "title": "HackTheBox Zipping", "url": "https://www.youtube.com/watch?v=C78yku9WC0o" }
a c program for us but I mean let's just stick to the classics right uh we don't need to use AI when we have msf venom so we can do uh msf Venom and then list payloads I know I want like reverse TCP so let's see what it goes with um this always takes longer than I'd ever expected to but what we're going to do is create...
3,573.559
0
{ "video_id": "C78yku9WC0o", "title": "HackTheBox Zipping", "url": "https://www.youtube.com/watch?v=C78yku9WC0o" }
the srace told us um it was trying to load this so I'm going to go in do config okay so let's move lib counter to be HB zipping dubdub dub Python 3 mhtp server and we can W get 10 1048 P 8000 lib counter. so okay so what was that password again let's strings or pseudo- L strings user B stock to get the password I shoul...
3,644.599
0
{ "video_id": "C78yku9WC0o", "title": "HackTheBox Zipping", "url": "https://www.youtube.com/watch?v=C78yku9WC0o" }
what's going on YouTube this is IPC and we doing board light from hack the box which is a nice easy machine because really it's just some enumeration and two cves with public PC's that work out of the box so if you want to solve the Box nothing is too technical that being said we will be digging into both of the exploi...
0.199
0
{ "video_id": "SM6OhymnMbg", "title": "HackThebox - Boardlight", "url": "https://www.youtube.com/watch?v=SM6OhymnMbg" }
switch to that user who can execute a set uid binary that's part of the Enlightenment system and it has a cve that allows us to escalate to Route so with that being said let's just jump in as always we're going to start off with an end map so- SCC for default scripts SV numerate versions dvv for double ver boost this g...
41.92
0
{ "video_id": "SM6OhymnMbg", "title": "HackThebox - Boardlight", "url": "https://www.youtube.com/watch?v=SM6OhymnMbg" }
I'm going to go to 101 1111 and we get a page that just says welcome to board light now the first thing I really look at when I'm looking at a web server is trying to identify what framework it uses so we can first just try like index.html we get a 404 not found if we do index.php we get a page so we know this is a PHP...
91.04
0
{ "video_id": "SM6OhymnMbg", "title": "HackThebox - Boardlight", "url": "https://www.youtube.com/watch?v=SM6OhymnMbg" }
website so um a bit odd there but nothing too interesting yet we do have a host name right here as an email address info@ board. htb we also have board. htb here and that link goes to html. design which is a bit odd but let's just go take a look at the um board. htb website so I'm going to go into my host file and do 1...
145.12
0
{ "video_id": "SM6OhymnMbg", "title": "HackThebox - Boardlight", "url": "https://www.youtube.com/watch?v=SM6OhymnMbg" }
this sends anything right we'll turn intercept on and actually instead of just sending test let's just do image source as equal to http 10 1048 we'll do on Port 8,000 and this way if there's like a user getting this and it's vulnerable to cross-site scripting they should make a call back back to us right so let's start...
203.56
0
{ "video_id": "SM6OhymnMbg", "title": "HackThebox - Boardlight", "url": "https://www.youtube.com/watch?v=SM6OhymnMbg" }
secist Discovery DNS we'll do subdomains uh let's just do top million 5,000 and see if we get any hits right um if first thing is board. htb so let's add that to our host file so Pudo V host and then we can add or cm. board. htb add that and let's take a look at this website so we do HTTP CRM board htb and we get an in...
260.28
0
{ "video_id": "SM6OhymnMbg", "title": "HackThebox - Boardlight", "url": "https://www.youtube.com/watch?v=SM6OhymnMbg" }
username and see if Google tells us anything um if you did not change log and admin and oh admin admin right here so if we try to log in with admin admin we get logged in so we should be able to now try this exploit out so let's do a get clone on the exploit script and then let's see Python 3 exploit we want the target...
324.52
0
{ "video_id": "SM6OhymnMbg", "title": "HackThebox - Boardlight", "url": "https://www.youtube.com/watch?v=SM6OhymnMbg" }
it so let's see we have the off function create site and at this point it's sending a lot of HTML in the request that I don't fully understand so I just want to proxy it um because I like looking at this type of stuff in burp Suite so to do this we can easily just look for any like um request we have a request.get um a...
396.68
0
{ "video_id": "SM6OhymnMbg", "title": "HackThebox - Boardlight", "url": "https://www.youtube.com/watch?v=SM6OhymnMbg" }
that's the one request we had edited it should go over here right but we're going to miss a lot of other request so what I would recommend doing in this type of case if you don't want to go and um edit the exploit script maybe it's not in Python and it's just hard to edit right we could go to burp Suite go over to our ...
467.639
0
{ "video_id": "SM6OhymnMbg", "title": "HackThebox - Boardlight", "url": "https://www.youtube.com/watch?v=SM6OhymnMbg" }
htb and I probably should delete it from here but um the host file is going to pick the very first one so if I ping CRM board htb it's always going to go 127 so H file picks the first one probably shouldn't have multiple entries I guess we'll comment it out but there we go so now with this exploit script if I go to um ...
536.959
0
{ "video_id": "SM6OhymnMbg", "title": "HackThebox - Boardlight", "url": "https://www.youtube.com/watch?v=SM6OhymnMbg" }
server right so this is kind of a inline or transparent proxy which just means there's a proxy there but you didn't have to tell the client about it because the proxy is sitting on the wire and just doing the man the middling that way so let's go and run this and if we look at the request we can see the first one comes...
621.839
0
{ "video_id": "SM6OhymnMbg", "title": "HackThebox - Boardlight", "url": "https://www.youtube.com/watch?v=SM6OhymnMbg" }
complete set not complete I'm not exactly sure why we are making so many requests but okay um and then here we're making a post to website index.php and the virtual host I don't fully understand what's going on here so I'm actually going to step away from the exploit script and do something we should have done log doll...
679.279
0
{ "video_id": "SM6OhymnMbg", "title": "HackThebox - Boardlight", "url": "https://www.youtube.com/watch?v=SM6OhymnMbg" }
1271 okay that all makes sense um sorry if you're confused I was for a minute there um long story short I was intercepting I didn't think I was but I was um so we go over to websites we can create a website so if we do name description and then virtual host it looks like virtual host must start with HTTP so we'll do HT...
751.92
0
{ "video_id": "SM6OhymnMbg", "title": "HackThebox - Boardlight", "url": "https://www.youtube.com/watch?v=SM6OhymnMbg" }
like this and we can click save it says you don't have permissions to add or edit PHP content on the site maybe we can do like PHP 5 save and we don't have access so let's just see exactly what the script is doing um if we go to HD history or we probably should just intercept go through the process again so intercept o...
822.279
0
{ "video_id": "SM6OhymnMbg", "title": "HackThebox - Boardlight", "url": "https://www.youtube.com/watch?v=SM6OhymnMbg" }
localhost then what they're doing is sending another request and we're looking for PHP code there we go uh I think I did a hotkey to forward the request I did contr F thinking I'd find but I think it actually fored the one request we got to a second one and here they're creating a um PHP string but they capitalize one ...
871.519
0
{ "video_id": "SM6OhymnMbg", "title": "HackThebox - Boardlight", "url": "https://www.youtube.com/watch?v=SM6OhymnMbg" }
with PHP I'd rather just um copy the PHP reverse sh uh shell I think it's user share La num PHP this shell because I find this shell to be a bit more reliable right and I know if you search ic. Ro you'll find an even better one that actually supports Windows 2 um I can't remember the name of that shell off the top of m...
947.279
0
{ "video_id": "SM6OhymnMbg", "title": "HackThebox - Boardlight", "url": "https://www.youtube.com/watch?v=SM6OhymnMbg" }
shell this is going to be a good one to use so we can copy this and then let's remove that old one we copied W get this and let's see exactly how to use this one so at the very bottom it has an IP address and we're just going to put 10 10 148 and change the port to be 91 okay so let's now copy this so we can cat PHP re...
1,004.48
0
{ "video_id": "SM6OhymnMbg", "title": "HackThebox - Boardlight", "url": "https://www.youtube.com/watch?v=SM6OhymnMbg" }
we create a page uh from scratch give it a name in Alias and we can edit the HTML source and paste in our script so we do save we probably need to listen on a port and then let's go and click this little preview page and since I am having it go through burp Suite as this weird way I have to add 8081 there and I get a c...
1,081.6
0
{ "video_id": "SM6OhymnMbg", "title": "HackThebox - Boardlight", "url": "https://www.youtube.com/watch?v=SM6OhymnMbg" }
work now let's see stty rows 28 columns 110 I'm not sure why that's behaving that way um it's weird I'm doing something wrong not exactly sure um I do st- a rows 28 columns 11 it's not actually letting me hit zero there what this is this is bizarre stty rows 28 calls 1 0 11 n is my zero key just not working Z's working...
1,167.72
0
{ "video_id": "SM6OhymnMbg", "title": "HackThebox - Boardlight", "url": "https://www.youtube.com/watch?v=SM6OhymnMbg" }
inside a comp we have a few PHP file so if I cat comp. PHP uh we get that I'm going to g-v to hide everything that begins with two slashes and then I'm going to grab period to just show me um the all the blank lines and right off the bat we have the DB user Dolly bar owner and this password so let's go and uh V creds m...
1,300.799
0
{ "video_id": "SM6OhymnMbg", "title": "HackThebox - Boardlight", "url": "https://www.youtube.com/watch?v=SM6OhymnMbg" }
old and there is no password Here so my first step is let's log into the database so let's go MySQL D Dolly bar owner DP put in that password and then we can use probably dollar as the database name let's do show tables uh let's describe the llx user table because what we want to do is dump users right so I see email I...
1,345.559
0
{ "video_id": "SM6OhymnMbg", "title": "HackThebox - Boardlight", "url": "https://www.youtube.com/watch?v=SM6OhymnMbg" }
add these to my query and it's all just blank it looks like it's a default super admin user um but the Step is if we look at users on the box Etsy passwd um grab every line that ends with SH we have Lissa and if we do an Su to Lissa and then use this password we have server fun uh 2023 right did I not paste that correc...
1,416.559
0
{ "video_id": "SM6OhymnMbg", "title": "HackThebox - Boardlight", "url": "https://www.youtube.com/watch?v=SM6OhymnMbg" }
run it m oh I can't hit zero I can't do- 4000 um let's see can I copy a ZL see fine perm I can sweet we need to copy three that is the weirdest bug we do this and then we hide error messages I don't know if it's- 4000 or just 4,000 to show set u ID files I want to say it's Dash it is so these are all set uid files um l...
1,489.76
0
{ "video_id": "SM6OhymnMbg", "title": "HackThebox - Boardlight", "url": "https://www.youtube.com/watch?v=SM6OhymnMbg" }
running so if we look for cve against Enlightenment um let's just do Enlightenment exploit we have uh 02 5-3 and let's see this exploit really just runs these commands these are the only ones we need to run let's see um this is just going to remove things so if we ran this from the dubdub duub data directory uh it did ...
1,566.76
0
{ "video_id": "SM6OhymnMbg", "title": "HackThebox - Boardlight", "url": "https://www.youtube.com/watch?v=SM6OhymnMbg" }
then it makes this weird directory Dev do dot temp semicolon temp exploit and then we make the file temp exploit and make it executable and then it runs Enlightenment with all these arguments and I know this isn't going to make much sense it doesn't have to make sense to um do the video like if you're just trying to fo...
1,684.64
0
{ "video_id": "SM6OhymnMbg", "title": "HackThebox - Boardlight", "url": "https://www.youtube.com/watch?v=SM6OhymnMbg" }
issue if I run this we get action not allowed but if I run the command as Lissa I'm root so one of the things that confus me is why is dubdub duub data can I not exploit this but as Lara I can because my first thought was maybe like I don't have some type of permission on this but if we look at it the binary itself um ...
1,760.919
0
{ "video_id": "SM6OhymnMbg", "title": "HackThebox - Boardlight", "url": "https://www.youtube.com/watch?v=SM6OhymnMbg" }
cve and then find some better articles um this cve GitHub repo is the one I had initially found when solving this box and it's from the person that did find it however I don't really like their explanation of it because they went through the whole blackbox perspective which it's definitely good because you normally won...
1,824.039
0
{ "video_id": "SM6OhymnMbg", "title": "HackThebox - Boardlight", "url": "https://www.youtube.com/watch?v=SM6OhymnMbg" }
you'll find oh it wasn't patched fully and find a loophole around it or you just learned how things work right and the Heart of this patch is they added this function check say path and we can step through what this does um we have a bunch of forbidden characters so a lot of these symbols that like allow for command ex...
1,876.399
0
{ "video_id": "SM6OhymnMbg", "title": "HackThebox - Boardlight", "url": "https://www.youtube.com/watch?v=SM6OhymnMbg" }
is interesting so this is going to be nothing in lower asky or high asky so when I was first looking at San path I kind of just ignored this last check I was like oh um it's going to eventually lead to a system call and I can probably do an injection with like a line break because that's another way to inject in system...
1,928.159
0
{ "video_id": "SM6OhymnMbg", "title": "HackThebox - Boardlight", "url": "https://www.youtube.com/watch?v=SM6OhymnMbg" }
delete and above so again what they're doing is just saying you can only do characters between hex 21 and hex 7e and then they also put a lot of exclusion so you can't use dangerous special characters like the dollar sign back Tex things like that so it looks like a relatively good way to prevent command injection ther...
1,989.519
0
{ "video_id": "SM6OhymnMbg", "title": "HackThebox - Boardlight", "url": "https://www.youtube.com/watch?v=SM6OhymnMbg" }
and then we can kind of understand how it works from there so let's see actually that's not what I want uh let's just go here awesome uh let's look at the commit history then I'm going to find one that is really old so we know it's still vulnerable here and then we can just take a step through it right so let's see bro...
2,044.96
0
{ "video_id": "SM6OhymnMbg", "title": "HackThebox - Boardlight", "url": "https://www.youtube.com/watch?v=SM6OhymnMbg" }
code pulls this very last argument and we can kind of just examine how that works like why do they have these three slashes that's really odd so here we're assigning the last argument to MP and then we're running stat on media so making sure that directory exists is that needed so that's not important okay I don't thin...
2,134.56
0
{ "video_id": "SM6OhymnMbg", "title": "HackThebox - Boardlight", "url": "https://www.youtube.com/watch?v=SM6OhymnMbg" }
here what we're doing is is calculating the space between the last slash and the start of the string and if it's not six return false and this piece is really odd um I think it's expecting the path to be media because here's the example of the arguments it looks very similar to our arguments like the the- O and then U ...
2,215.359
0
{ "video_id": "SM6OhymnMbg", "title": "HackThebox - Boardlight", "url": "https://www.youtube.com/watch?v=SM6OhymnMbg" }
look like it was media to the check right because it gets the string here and that's looking back six really really odd um not sure why maybe someone in the comments knows and then we're going to create a um new string and we're going to dodev uh and then um whatever is after the slash last slash so that creates a new ...
2,279.44
0
{ "video_id": "SM6OhymnMbg", "title": "HackThebox - Boardlight", "url": "https://www.youtube.com/watch?v=SM6OhymnMbg" }
exists because if we go back to the exploit um let's see where is it we actually make that directory we makeer I don't know why the they dodev do dotm you could just do makeer sltm and then semicolon whatever so semicolon is a valid character for a directory so if I went back to the Box and we go to SLT we do see a sem...
2,347.2
0
{ "video_id": "SM6OhymnMbg", "title": "HackThebox - Boardlight", "url": "https://www.youtube.com/watch?v=SM6OhymnMbg" }
through every argument and then create a big buffer and then do a system command against that right so all it's doing is running system against this whole string and since we managed to inject the semicolon here this is where we do the command injection and the system goes okay I'm going to execute temp exploit which w...
2,417.76
0
{ "video_id": "SM6OhymnMbg", "title": "HackThebox - Boardlight", "url": "https://www.youtube.com/watch?v=SM6OhymnMbg" }
into the source code and we're going to step through things from the beginning to understand exactly how this program works so here's the main function um right here we're comparing see all their arguments so We're looping through them and if any your help or H we're just going to say this is an internal Tool uh go awa...
2,475
0
{ "video_id": "SM6OhymnMbg", "title": "HackThebox - Boardlight", "url": "https://www.youtube.com/watch?v=SM6OhymnMbg" }
with the slash then we're also going to error well we're going to exit if there is no slash and it ends in a slash so that's what that's doing then we're going to move up one character so we were right here now we're going to move up and then we're going to see if the leftover is Mount you mount or exit and then we're ...
2,544
0
{ "video_id": "SM6OhymnMbg", "title": "HackThebox - Boardlight", "url": "https://www.youtube.com/watch?v=SM6OhymnMbg" }
going to be set uable then we're going to say oh we can't escalate the Privileges that's fine and then we get to this Au action so Au action okay this is probably going to be where we want because when we were dubdub dub data this is the exact error message we got action not allowed and then it said mount so let's look...
2,603.04
0
{ "video_id": "SM6OhymnMbg", "title": "HackThebox - Boardlight", "url": "https://www.youtube.com/watch?v=SM6OhymnMbg" }
every single group and just building like a list of the groups that we're a member of right so all this code is just building information about a user and then we're going to um call this all Etsy alignment CIS actions so let's look at this this another function looks like we're going to probably read this file it can ...
2,674
0
{ "video_id": "SM6OhymnMbg", "title": "HackThebox - Boardlight", "url": "https://www.youtube.com/watch?v=SM6OhymnMbg" }
that's why she can call this binary so we go here we're doing gets and over here it's comparing and let's see one of these will return true so if it ever hits a um allow then the function exits returning true so that is why dubdub duub data couldn't use Enlightenment for a privas but Lissa could uh let's see is there a...
2,742.359
0
{ "video_id": "SM6OhymnMbg", "title": "HackThebox - Boardlight", "url": "https://www.youtube.com/watch?v=SM6OhymnMbg" }
what's going on YouTube this is episode we're doing Wi-Fi network from hack the box which has a technology I've never seen before used in a VM and that is Wi-Fi and that's not to say I haven't seen someone hook up a wireless dongle pass it to the VM and get Wi-Fi this actually has full Hardware simulation so it has a W...
0
0
{ "video_id": "jj4r5lwnCp8", "title": "HackThebox - Wifinetic", "url": "https://www.youtube.com/watch?v=jj4r5lwnCp8" }
for creating a password spray program for Su along with explaining exactly how WPS works and its flaws because if you ever see WPS enabled you should always disable it it's a horrible service so with that being said let's jump in as always we start off with an end map so Dash SC for default scripts as V enumerate versi...
45.96
0
{ "video_id": "jj4r5lwnCp8", "title": "HackThebox - Wifinetic", "url": "https://www.youtube.com/watch?v=jj4r5lwnCp8" }
have a list of files that are on the web server all uploaded July 31st we also have SSH on the box it is listening on Port 22 and a Ubuntu server then we also have Port 53 which just says open it's TCP wrapped chances are this is going to be um a DNS server but let's go take a look at the FTP server and to download all...
97.979
0
{ "video_id": "jj4r5lwnCp8", "title": "HackThebox - Wifinetic", "url": "https://www.youtube.com/watch?v=jj4r5lwnCp8" }
the PDFs and the txt file I'm going to look at DOT txt first and if we do it it looks like it has a road map of something right I don't want to read all this we can see something like open wrt which is a open source wireless router and a lot of things about testing Wi-Fi we also have a bunch of PDFs the first thing I l...
158.4
0
{ "video_id": "jj4r5lwnCp8", "title": "HackThebox - Wifinetic", "url": "https://www.youtube.com/watch?v=jj4r5lwnCp8" }
potential username Samantha wood93 and glancing over this nothing of that really seemed too interesting it's just about um well-being of employees but I'm going to start creating a user's list and I should have called like users.txt so we have a list of valid usernames we can also look at project Great Migration and th...
222.48
0
{ "video_id": "jj4r5lwnCp8", "title": "HackThebox - Wifinetic", "url": "https://www.youtube.com/watch?v=jj4r5lwnCp8" }
and there's only an Etsy directory so let's go into Etsy and let's see this looks like it's just Etsy of a Linux system we have like group um pass WD and there is a user called net admin this is a non-default user so I'm also going to add net admin into users.txt and let's see there is drop bear and drop bear is a SSH ...
291.84
0
{ "video_id": "jj4r5lwnCp8", "title": "HackThebox - Wifinetic", "url": "https://www.youtube.com/watch?v=jj4r5lwnCp8" }
open port 22 drop bear doesn't really interest me that much because the nmap scan if we looked at it um has let's see where is it it's using openssh so this is sshd it would say drop bear here if it was a drop bear server um look at firewall looks like a basic firewall um Wireless is interesting and we have a potential...
369.12
0
{ "video_id": "jj4r5lwnCp8", "title": "HackThebox - Wifinetic", "url": "https://www.youtube.com/watch?v=jj4r5lwnCp8" }
do SSH net admin at 10 10 11 247.
437.58
0
{ "video_id": "jj4r5lwnCp8", "title": "HackThebox - Wifinetic", "url": "https://www.youtube.com/watch?v=jj4r5lwnCp8" }
paste in that password and we get logged in so the first thing I always like looking at is just what's in my home directory so I'm gonna do a fine dot dash type f doesn't look like there's any interesting files the next thing I want to look at is if I'm in like a container or something I can do an lsla on slash everyth...
443.759
0
{ "video_id": "jj4r5lwnCp8", "title": "HackThebox - Wifinetic", "url": "https://www.youtube.com/watch?v=jj4r5lwnCp8" }
you're doing like Aero dump or TCP dump to list all the things that going on in the wireless Spectrum so looking at this both these Wireless interfaces are on the same network adapter my first bet is I want to look at what's listening to see if there's any unique Services listening on one of the wireless networks and n...
505.139
0
{ "video_id": "jj4r5lwnCp8", "title": "HackThebox - Wifinetic", "url": "https://www.youtube.com/watch?v=jj4r5lwnCp8" }
look at the results and let's see it's talking about system information I'm just glancing over whenever I see new titles or when I see a lot of red right there's a lot of information in lint piece that's just not interesting and whenever it says a kernel exploit I typically ignore these onto the very last thing because...
566.279
0
{ "video_id": "jj4r5lwnCp8", "title": "HackThebox - Wifinetic", "url": "https://www.youtube.com/watch?v=jj4r5lwnCp8" }
here so this is a bit better than just running like PS on a thing right it's doing that type of check um let's see binary process parent process IDs we can see that um process 8566 with parent ID is ran by user net admin but the parent process is root so I kind of want to look at what this process is let's see um the n...
620.7
0
{ "video_id": "jj4r5lwnCp8", "title": "HackThebox - Wifinetic", "url": "https://www.youtube.com/watch?v=jj4r5lwnCp8" }
um kernel exploits right pgp Keys PK exec super users users with the console there's definitely a lot of users one user root we have net admin the purple one is us ERS and groups login last login login each user useful software that's on the box so we have netcat lxc we should check if we're a member of the lxc group I...
690.959
0
{ "video_id": "jj4r5lwnCp8", "title": "HackThebox - Wifinetic", "url": "https://www.youtube.com/watch?v=jj4r5lwnCp8" }
checks files with interesting permissions this is going to be like set uid files all these look like they are standards or nothing interesting there same with all the um set GID files LOD so looks normal this is going to be capabilities and the first file I see with a unique capability is Reaver and this is a wireless ...
770.1
0
{ "video_id": "jj4r5lwnCp8", "title": "HackThebox - Wifinetic", "url": "https://www.youtube.com/watch?v=jj4r5lwnCp8" }
to hit tab to look at all the wireless things and I think it's IW list it is and we can do IW list scan and what this is going to do is scan for Wi-Fi networks and it's going to get um the open wrt network and its bssid which is just O2 and the rest hose so now we can run Reaver so if we run Reverb we specify the monit...
844.62
0
{ "video_id": "jj4r5lwnCp8", "title": "HackThebox - Wifinetic", "url": "https://www.youtube.com/watch?v=jj4r5lwnCp8" }
got root and that is the box but we're not going to stop there because this video has been really short um let's go much deeper and look at this so the first thing I want to look at is let's look at password spring and build something that's a little bit better than just spraying and then I'm going to look into exactly...
918.48
0
{ "video_id": "jj4r5lwnCp8", "title": "HackThebox - Wifinetic", "url": "https://www.youtube.com/watch?v=jj4r5lwnCp8" }
because if we just run this command is going to get a ton of users in reality we just want the users that end with um or that the past wde line ends in sh because those can be the ones with a shell if we get rid of the awk you can see there's users on my system uh postgres has been bash ipsec and root all the shells re...
976.5
0
{ "video_id": "jj4r5lwnCp8", "title": "HackThebox - Wifinetic", "url": "https://www.youtube.com/watch?v=jj4r5lwnCp8" }
Etsy pass WD um let's see that did not work how do I do this do I have to do it in single quotes yeah single quotes um we can do the same thing as our grab so we got rid of both cat and grep but now we want to only get the first field so I'm going to do awk Dash F colon so that's gonna be the field separator colon and ...
1,037.28
0
{ "video_id": "jj4r5lwnCp8", "title": "HackThebox - Wifinetic", "url": "https://www.youtube.com/watch?v=jj4r5lwnCp8" }
type this command unless they're super familiar with awk they're probably gonna do all those pipes so maybe the pipes doesn't stand out as much but I like just using one binary when I can because maybe I don't have access to grep for whatever reason right um so now let's do four user in users so we're going to Loop thr...
1,106.88
0
{ "video_id": "jj4r5lwnCp8", "title": "HackThebox - Wifinetic", "url": "https://www.youtube.com/watch?v=jj4r5lwnCp8" }
to do so if I move this bray.sh over to the Box so let's just call this V spray.sh put this in and let's see what was the password do we have it still easily uh there we go what is real and what is not with some numbers so now if I run spray.sh with the thing it immediately says root because that is the first account o...
1,165.98
0
{ "video_id": "jj4r5lwnCp8", "title": "HackThebox - Wifinetic", "url": "https://www.youtube.com/watch?v=jj4r5lwnCp8" }
going to be the exit code of the last command and now I'm going to run that spray again and we see root zero net admin 124 which is an error S Johnson 88 error error so zero was success so we can see it trying all the users so let's do a kill-943809 to make sure that's dead and what I want to do now is say if The Last ...
1,268.52
0
{ "video_id": "jj4r5lwnCp8", "title": "HackThebox - Wifinetic", "url": "https://www.youtube.com/watch?v=jj4r5lwnCp8" }
in the password and it will work which uh it won't because typos if let's see how do I screw this up do I need a space after this there we go so immediately we get root and it exits because we got a valid user but what if I didn't want to touch disk let's fix it on my computer since this is a bash function let's see le...
1,370.64
0
{ "video_id": "jj4r5lwnCp8", "title": "HackThebox - Wifinetic", "url": "https://www.youtube.com/watch?v=jj4r5lwnCp8" }
whole reason I did this in bash is just there's no dependencies so with that being said I realized I wanted to look at what process 8469 was real quick and that's just sshd so that's why that makes sense when you're in Lin piece it said there was a process owned by net admin that had a parent process ID of root and loo...
1,447.679
0
{ "video_id": "jj4r5lwnCp8", "title": "HackThebox - Wifinetic", "url": "https://www.youtube.com/watch?v=jj4r5lwnCp8" }
which is just a old technology to authenticate to wireless networks um it was created I think in 2013 there were a few forms of it like a push button you may see like a WPS button on your router you push it and then it enables it there's this that just stays active there's near field communication that use different Wi...
1,503.36
0
{ "video_id": "jj4r5lwnCp8", "title": "HackThebox - Wifinetic", "url": "https://www.youtube.com/watch?v=jj4r5lwnCp8" }
digit is just to checksum um I think the whole purpose of it was a user types this and then it tells them they typed it wrong they made a typo and they'd even have to send the request to the router because it has a built-in check some kind of like the Lun algorithm of credit cards and when I first try to figure out thi...
1,552.559
0
{ "video_id": "jj4r5lwnCp8", "title": "HackThebox - Wifinetic", "url": "https://www.youtube.com/watch?v=jj4r5lwnCp8" }
and that's wrong I went in actually Googled a lot of things Googled a WPS generator if we just Google let's see if I open up Firefox see if it loads for me we could Google it but essentially you have to multiply every other digit by three and then do that and that's what um chat gbt was missing so if you Google like WP...
1,617.419
0
{ "video_id": "jj4r5lwnCp8", "title": "HackThebox - Wifinetic", "url": "https://www.youtube.com/watch?v=jj4r5lwnCp8" }
3 times 7 is 21. so now let's do this so we got 3 plus 2 that's going to be five then plus 9 we're at 14 18 23 29 0. so that works so that is exactly how the WPS generator worked but that is not the only fault going from eight digits to seven digits isn't a killer flaw it also suffers from what Microsoft did with LM ha...
1,688.159
0
{ "video_id": "jj4r5lwnCp8", "title": "HackThebox - Wifinetic", "url": "https://www.youtube.com/watch?v=jj4r5lwnCp8" }
um this is kind of like a Diffie helmet exchange getting like perfect forward secrecy working and then M4 this is the message that we're sending with one two three four if this sends a knack back then it's wrong if it just keeps going then it's correct so this one hash only is the first four digits if I specify let's s...
1,763.82
0
{ "video_id": "jj4r5lwnCp8", "title": "HackThebox - Wifinetic", "url": "https://www.youtube.com/watch?v=jj4r5lwnCp8" }
goes to message five and then message six this is the one we're sending this second half of the password and it says it is wrong so that is exactly how this tool Works um Reverb by default always chooses one two three four five six seven zero first um so if we wanted to we could go Etsy um wpsupplicant.com and permissi...
1,833.539
0
{ "video_id": "jj4r5lwnCp8", "title": "HackThebox - Wifinetic", "url": "https://www.youtube.com/watch?v=jj4r5lwnCp8" }
five and then we'll do one two three so one two three five one two three okay and the checksum is definitely going to change so let's see this becomes let's just type it out real quick I probably should grab this tool WPS pen I easily just run this I have to run the program that's not the one I was looking for but let'...
1,906.98
0
{ "video_id": "jj4r5lwnCp8", "title": "HackThebox - Wifinetic", "url": "https://www.youtube.com/watch?v=jj4r5lwnCp8" }
and it got rate limiting so it's going to wait a minute but we can see it went with let's see trying pin one two three four five six seven zero now it tried all zeros one two three uh zero one two three and then the next pin it tries is I don't know because it has to wait a minute let's um set the PIN to be four zeros ...
2,011.74
0
{ "video_id": "jj4r5lwnCp8", "title": "HackThebox - Wifinetic", "url": "https://www.youtube.com/watch?v=jj4r5lwnCp8" }
two is six three plus two is five plus nine is fourteen so the pen is going to be six uh let's see six six and why they multiplied every other character by three I have no idea that's right right one two three six three two nine yeah that looks fine then service restart WPS check was that the service restart oh I alway...
2,101.8
0
{ "video_id": "jj4r5lwnCp8", "title": "HackThebox - Wifinetic", "url": "https://www.youtube.com/watch?v=jj4r5lwnCp8" }
five get to six the second half of the password is wrong so now it's going to try again with four zeros and then we still get to six and then we get rate limiting so the next one again it's going to again try to brute force with four zeros and then we'll see what the next four are so I'm just going to speed up oh I don...
2,208.78
0
{ "video_id": "jj4r5lwnCp8", "title": "HackThebox - Wifinetic", "url": "https://www.youtube.com/watch?v=jj4r5lwnCp8" }
right yeah nine plus three is twelve plus nine is 21.
2,259.24
0
{ "video_id": "jj4r5lwnCp8", "title": "HackThebox - Wifinetic", "url": "https://www.youtube.com/watch?v=jj4r5lwnCp8" }
which one mod 10 would be nine so that's why I was calculating that last number so hopefully that makes sense and you've enjoyed everything take care guys and I will see you all next time
2,265.9
0
{ "video_id": "jj4r5lwnCp8", "title": "HackThebox - Wifinetic", "url": "https://www.youtube.com/watch?v=jj4r5lwnCp8" }
what's going on YouTube this is IPC and I've heard a lot of people complain about just the various junk or advertisement social media platform show you nowadays and many platforms do have a muted word list that enables you to tell the platform what content not to show you but I never like telling people not uh what not...
1
0
{ "video_id": "Qzb1j-L1n7o", "title": "Hiding Spam with uBlock Origins", "url": "https://www.youtube.com/watch?v=Qzb1j-L1n7o" }
ublock origin settings I'm going to open the dashboard and then you want to go over to my filters I'm going to create a custom filter if you start the line with an exclamation point it's a comment so it doesn't take any effect I'm I'm just going to name this the Twitter bad words right and we're going to start the rule...
46.8
0
{ "video_id": "Qzb1j-L1n7o", "title": "Hiding Spam with uBlock Origins", "url": "https://www.youtube.com/watch?v=Qzb1j-L1n7o" }
I'm going to hide the and or if we go to my timeline real quick and just search there is a lot of instances of the there's a lot of instances of and and or right um looks like not many of or but this would be a good one because because it will tell us if we're blocking like the word for with this so we're going to make...
100.84
0
{ "video_id": "Qzb1j-L1n7o", "title": "Hiding Spam with uBlock Origins", "url": "https://www.youtube.com/watch?v=Qzb1j-L1n7o" }