text stringlengths 4 952 | start float64 0 9.37k | duration float64 0 0 | meta dict |
|---|---|---|---|
username that probably doesn't exist so I'll do like IPC password and I'm just looking at this error message to see if it changes um it does not so we can't enumerate valid usernames from this if we go to forgot passwords we can try like admin and it says it sent the password request if we try a different username it s... | 252.68 | 0 | {
"video_id": "4y2gp_GTBqQ",
"title": "HackTheBox - MonitorsThree",
"url": "https://www.youtube.com/watch?v=4y2gp_GTBqQ"
} |
select one and we get the statement has a different number of columns so we want to know how many columns this has um to do this I normally don't use unions I always go with order bu because it's just a bit quicker and easier so we do order by one it works and then if we do order by let's say 99 it's going to fail here... | 302.28 | 0 | {
"video_id": "4y2gp_GTBqQ",
"title": "HackTheBox - MonitorsThree",
"url": "https://www.youtube.com/watch?v=4y2gp_GTBqQ"
} |
annoying you could collect the follow redirect or do it automatically in just a second I like just copying something from around the data I want to look at but putting it here and then we change this to autoc scroll so whenever we make a request um oh I have to go back real quick there we go we actually send the data a... | 350.6 | 0 | {
"video_id": "4y2gp_GTBqQ",
"title": "HackTheBox - MonitorsThree",
"url": "https://www.youtube.com/watch?v=4y2gp_GTBqQ"
} |
do Union Select 1 2 3 4 5 6 789 and the issue we have is it's not um reflecting any of the data in any of these columns back to us so even though it sent the password request like we did this Union injection none of these fields send data so Union isn't really going to help us all that much right um even if we give it ... | 400.319 | 0 | {
"video_id": "4y2gp_GTBqQ",
"title": "HackTheBox - MonitorsThree",
"url": "https://www.youtube.com/watch?v=4y2gp_GTBqQ"
} |
we can go here and the vhost scan discovered one subdomain that is Cati so let's real quick add this to our um host file so let's do cy. monitors 3. HTP there we go um um so if we do less on this I just want to make sure it copied correctly we can do SQL map um- request forgot password then we want to specify D- batch ... | 462.759 | 0 | {
"video_id": "4y2gp_GTBqQ",
"title": "HackTheBox - MonitorsThree",
"url": "https://www.youtube.com/watch?v=4y2gp_GTBqQ"
} |
probably because it's using like SQL Maps loading the database enough where all the queries are failing that is annoying um that is something we do come across so I'm going to kill SQL map you could run it I know this works um there we go so we get connection failed syntax error um we get an error message so we can cra... | 533.08 | 0 | {
"video_id": "4y2gp_GTBqQ",
"title": "HackTheBox - MonitorsThree",
"url": "https://www.youtube.com/watch?v=4y2gp_GTBqQ"
} |
extract value and then you always want to do concat and then put a like value that is um non-compatible here we'll show why later on when we're doing this but um this definitely makes the injection much more reliable starting it with a invalid character so we do that concat and then we can do anything we want so I'm go... | 604.279 | 0 | {
"video_id": "4y2gp_GTBqQ",
"title": "HackTheBox - MonitorsThree",
"url": "https://www.youtube.com/watch?v=4y2gp_GTBqQ"
} |
going to give me the database name so we can do schema name so we'll do select schema name from information schema. | 664.399 | 0 | {
"video_id": "4y2gp_GTBqQ",
"title": "HackTheBox - MonitorsThree",
"url": "https://www.youtube.com/watch?v=4y2gp_GTBqQ"
} |
scheme Ma and then I'm going to do a limit one so it's going to get me the very first one and no um shock it's information schema if we just do limit two we returned more than one row so I'm going to do a comma one so this is going to be um 01 gives me the very first entry 1 one gives me the second entry and 2 one um e... | 675.079 | 0 | {
"video_id": "4y2gp_GTBqQ",
"title": "HackTheBox - MonitorsThree",
"url": "https://www.youtube.com/watch?v=4y2gp_GTBqQ"
} |
is is it table is a table um tables and we want the table name so the first uh table we have that's the second one the first one is going to be invoices then we have customers then change log tasks invoice tasks users so we probably want the users table right because our goal right now is extracting um credentials so w... | 738.839 | 0 | {
"video_id": "4y2gp_GTBqQ",
"title": "HackTheBox - MonitorsThree",
"url": "https://www.youtube.com/watch?v=4y2gp_GTBqQ"
} |
one here with information schema so we'll call this infos schema and this will be data right so we can get rid of this complex thing and we can just say select we'll do username from users limit 01 like that right that looks good to me we'll have to redo our redirect follow so follow redirects always send it scroll dow... | 817.16 | 0 | {
"video_id": "4y2gp_GTBqQ",
"title": "HackTheBox - MonitorsThree",
"url": "https://www.youtube.com/watch?v=4y2gp_GTBqQ"
} |
the X path is limited to 32 characters and this is most likely going to be 32 but we added one character right here so um I'm actually going to show why that um z a comes in handy now CU this is a good spot to do that so we'll do um Auto scroll autof follow so if I got rid of this conat right so we can get rid of that ... | 909.04 | 0 | {
"video_id": "4y2gp_GTBqQ",
"title": "HackTheBox - MonitorsThree",
"url": "https://www.youtube.com/watch?v=4y2gp_GTBqQ"
} |
error that's why we're always putting the concat beforehand right because putting the invalid character means extract values always going to fail so if we try to change this to one we get majority of the hash but we're missing the last character right so what we do in this state um like portion or state whatever is we ... | 985.48 | 0 | {
"video_id": "4y2gp_GTBqQ",
"title": "HackTheBox - MonitorsThree",
"url": "https://www.youtube.com/watch?v=4y2gp_GTBqQ"
} |
characters I'm going to guess they're md5 sums so I'm not even going to bother using hashut I'm just going to go to crack station right so let's CER creds and then going to do a a on the field separator of colon print two to get the second one and now we have a list of all the md5 sums we can copy this then let's go to... | 1,056.4 | 0 | {
"video_id": "4y2gp_GTBqQ",
"title": "HackTheBox - MonitorsThree",
"url": "https://www.youtube.com/watch?v=4y2gp_GTBqQ"
} |
character that is bizar and then this doesn't Okay um so we do 120 we got up to da let's just grab this um so I guess data validation is important uh that's not it 120 grab this paste okay now let's grab 21 to 40 copy that and paste we did D Thompson let's just do the next that looks good let's see I think J Anderson's... | 1,165.679 | 0 | {
"video_id": "4y2gp_GTBqQ",
"title": "HackTheBox - MonitorsThree",
"url": "https://www.youtube.com/watch?v=4y2gp_GTBqQ"
} |
I'm not a robot crack and 31a is green Cati 2001 so let's go in our creds and we have a password there so we can go back to the login so if we go back here um it was login.php we can go admin and then put that password and we get logged into this interface now clicking around we do view statement um we're not sending a... | 1,283.32 | 0 | {
"video_id": "4y2gp_GTBqQ",
"title": "HackTheBox - MonitorsThree",
"url": "https://www.youtube.com/watch?v=4y2gp_GTBqQ"
} |
anything right maybe uh we could try changing the number of column um results we show and get another SQL injection but again um what do we get with that right nothing we could look at the change log but nothing really here the only thing we could really do potentially is revisit the um SQL injection and maybe like uh ... | 1,350.919 | 0 | {
"video_id": "4y2gp_GTBqQ",
"title": "HackTheBox - MonitorsThree",
"url": "https://www.youtube.com/watch?v=4y2gp_GTBqQ"
} |
cacti refresh burp Suite has my DNS cache so I'm going to disable it and then hopefully by the time I need it again um the DNS of cache will be um undone we have the version of cacti so we can Google this real quick quick if we Google hati1 1226 exploit go over to Google we have an rce vulnerability and looks like ever... | 1,423.2 | 0 | {
"video_id": "4y2gp_GTBqQ",
"title": "HackTheBox - MonitorsThree",
"url": "https://www.youtube.com/watch?v=4y2gp_GTBqQ"
} |
then we going to create a file so I'm going to copy there PC and I'm going to do V um we'll call this cacti PHP paste and you may think right away oh we just edit the system command but this is running on our box and we're going to create this test.xml Dogz file right so I'm actually going to get rid of this RM so we c... | 1,491.2 | 0 | {
"video_id": "4y2gp_GTBqQ",
"title": "HackTheBox - MonitorsThree",
"url": "https://www.youtube.com/watch?v=4y2gp_GTBqQ"
} |
64 because we can get rid of so many bad characters doing it this way um and most systems will have Bas 64 on it right so we can do system with that command and see lvmp 901 so we're listening and if we run this file it now gave us the file we upload here but if I look get test.xml this is just what um cacti uses to im... | 1,565.52 | 0 | {
"video_id": "4y2gp_GTBqQ",
"title": "HackTheBox - MonitorsThree",
"url": "https://www.youtube.com/watch?v=4y2gp_GTBqQ"
} |
bash CU we want to upgrade a shell to be slightly better stty raw minus Echo foreground enter enter and then we can clear the screen after we do export term is equal to X term there we go so let's see the very first thing I always like doing is um dumping the database right we already dumped all the uh users on the um ... | 1,640.96 | 0 | {
"video_id": "4y2gp_GTBqQ",
"title": "HackTheBox - MonitorsThree",
"url": "https://www.youtube.com/watch?v=4y2gp_GTBqQ"
} |
uncore off probably okay so we probably just care about username and password right so we'll do select username password password from uh user o and there we go so we have three credentials so let's just grab these and we're going to format them on our box so I'm going to V cacti do users call it. text uh let's get rid... | 1,727.44 | 0 | {
"video_id": "4y2gp_GTBqQ",
"title": "HackTheBox - MonitorsThree",
"url": "https://www.youtube.com/watch?v=4y2gp_GTBqQ"
} |
doat um hash is monitors 3 we have to specify we spe gave it usernames and we'll do opt word list Rock um it's just Das user there we go with the user flag does it tells it we gave it um a hash file that has username Cole and password right we have multiple hatches met match we'll do mode 3200 have a typo there there w... | 1,815.279 | 0 | {
"video_id": "4y2gp_GTBqQ",
"title": "HackTheBox - MonitorsThree",
"url": "https://www.youtube.com/watch?v=4y2gp_GTBqQ"
} |
specify the format hashcat will um give you the user name and the password so we know Marcus's password was this right so we could go V creds um we'll do Marcus and then the password and I guess I should have specified like where these came from um main website DB this will be cacti DB I probably should have put the ha... | 1,876.6 | 0 | {
"video_id": "4y2gp_GTBqQ",
"title": "HackTheBox - MonitorsThree",
"url": "https://www.youtube.com/watch?v=4y2gp_GTBqQ"
} |
bit easier which we'll do in a minute um but if you didn't ever find Marcus's password you probably use chisel and still complete the box right so if we look at ID RSA let's just get this back over to our box and then we'll use this SSH key to log in because I'm guessing SSH is configured to prevent password so that's ... | 1,952.799 | 0 | {
"video_id": "4y2gp_GTBqQ",
"title": "HackTheBox - MonitorsThree",
"url": "https://www.youtube.com/watch?v=4y2gp_GTBqQ"
} |
look at processes owned by us you can verify that by like catting Etsy fstab and grapping for probably hide you can see proc is mounted with hide pit equals 2 so we can't look at processes running from other users but we can uh do SS lntp and look at ports that are open right and we see Port 8084 this is the one that w... | 2,014.76 | 0 | {
"video_id": "4y2gp_GTBqQ",
"title": "HackTheBox - MonitorsThree",
"url": "https://www.youtube.com/watch?v=4y2gp_GTBqQ"
} |
is actually open surprisingly um probably shouldn't be but there you go you can see anyone can read this file so whenever I go and look at the firewall and normally look at that uh if we look at rules V6 actually I wonder if this is a thing right um there are no rules here SS lntp are we listening I don't think it's li... | 2,080.8 | 0 | {
"video_id": "4y2gp_GTBqQ",
"title": "HackTheBox - MonitorsThree",
"url": "https://www.youtube.com/watch?v=4y2gp_GTBqQ"
} |
before I hit after I hit enter I'm going to do squiggly C but if the very first thing on the line s h um will hide it and drop you into this menu and I'm going to forward let's do 8084 12701 8084 okay and now on my local box if I go Local Host 8084 it should go through my SSH tunnel and go to the other end I'm going to... | 2,154.72 | 0 | {
"video_id": "4y2gp_GTBqQ",
"title": "HackTheBox - MonitorsThree",
"url": "https://www.youtube.com/watch?v=4y2gp_GTBqQ"
} |
uh we have backups we have a Etsy Chron and we have an opt directory so if we go opt duplicati uh config and then we have a SQL light database um we don't have SQL light on this box so I'm going to copy it over to my box and then we can dump the database so let's do NCL lvmp 901 direct that to duplic . SQL light and th... | 2,252.92 | 0 | {
"video_id": "4y2gp_GTBqQ",
"title": "HackTheBox - MonitorsThree",
"url": "https://www.youtube.com/watch?v=4y2gp_GTBqQ"
} |
search it but I'm guessing we'll definitely find it with that um at the time of doing the box I think the way was looking at GitHub so that's why I'm going to show it this way um let's see I'm going to search for like bypass to see if we have anything uh not working remove bypass duplicati login using DB server passphr... | 2,336 | 0 | {
"video_id": "4y2gp_GTBqQ",
"title": "HackTheBox - MonitorsThree",
"url": "https://www.youtube.com/watch?v=4y2gp_GTBqQ"
} |
we'll do password we want to intercept this so when I click sign in it makes the request to get kns and then I'm going to intercept the response to this file so we do do intercept response and that sends us this data back so we got the non the Sal then we send a encrypted form of the password right and I guess if it pa... | 2,398.92 | 0 | {
"video_id": "4y2gp_GTBqQ",
"title": "HackTheBox - MonitorsThree",
"url": "https://www.youtube.com/watch?v=4y2gp_GTBqQ"
} |
so let's go and dump again uh SQL light three duplicati dump l s let's see what are the values here we go so we the sort XTF y ends in 0i XD fy0 I so the salt is the same and then what the blog post wants us to do we verified it is convert the server pass Rays from base 64 to hex so let's go ahead and grab this passphr... | 2,471 | 0 | {
"video_id": "4y2gp_GTBqQ",
"title": "HackTheBox - MonitorsThree",
"url": "https://www.youtube.com/watch?v=4y2gp_GTBqQ"
} |
paste okay make this bigger so we created The Salted password then it wants us to do the non password we'll grab this paste and let's see um we need to do the non from burp I'm surprised they don't use cryptojs and just have us do The Salted password that way as we probably don't need to like manly create the hex forma... | 2,567.559 | 0 | {
"video_id": "4y2gp_GTBqQ",
"title": "HackTheBox - MonitorsThree",
"url": "https://www.youtube.com/watch?v=4y2gp_GTBqQ"
} |
um okay there we go we get logged in and then here we just have to um find a way to get like code execution on the box and if we look at this if we go to restore we can restore from a backup and then we tell it where the storage see I'm just looking at exactly how this works app duplicati did that exist here hold on uh... | 2,684.359 | 0 | {
"video_id": "4y2gp_GTBqQ",
"title": "HackTheBox - MonitorsThree",
"url": "https://www.youtube.com/watch?v=4y2gp_GTBqQ"
} |
um I don't know the encryption password for that so I can't go forward let's just add a backup real quick so we going to configure a new one let's call this I'll call it rce I'm going to disable the encryption so we don't have to type that password every time and then we're going to specify source home we can specify a... | 2,787.24 | 0 | {
"video_id": "4y2gp_GTBqQ",
"title": "HackTheBox - MonitorsThree",
"url": "https://www.youtube.com/watch?v=4y2gp_GTBqQ"
} |
again see Source home Marcus uh we can run the backup yeah anytime save it so we have our backup I'm going to click run now there we go we have it ran I'm going to go to restore um direct restore from backup file oh let's specify the actual file we'll specify rce this is easier to do and then what file do we want to re... | 2,867.559 | 0 | {
"video_id": "4y2gp_GTBqQ",
"title": "HackTheBox - MonitorsThree",
"url": "https://www.youtube.com/watch?v=4y2gp_GTBqQ"
} |
what's going on YouTube this is ipack we're doing Napper from hack the box which is a very unique but fun box the whole theme of it is you're attacking a malware analyst development box there's a bunch of blog posts that hint towards that of them reversing malware one of which being nap listener which is real life malw... | 0.12 | 0 | {
"video_id": "ESXW8jsGkdM",
"title": "HackTheBox - Napper",
"url": "https://www.youtube.com/watch?v=ESXW8jsGkdM"
} |
laps and then decrypt it and that gets you an administrator on the box so with that being said let's jump in as always we're going to start off with an end map so - SCC for default scripts SV enumerate versions OA output all formats put the end map directory and call it Napper and then I'm going to change things up a l... | 48.32 | 0 | {
"video_id": "ESXW8jsGkdM",
"title": "HackTheBox - Napper",
"url": "https://www.youtube.com/watch?v=ESXW8jsGkdM"
} |
if you watch previous videos this is handy when dealing with like virtualization technology or firewalls or things like that um it's almost never going to be beneficial but when it is it's nice to know right so I always like having this TTL displayed I just found out about this flag on end map it's something I would ma... | 92.84 | 0 | {
"video_id": "ESXW8jsGkdM",
"title": "HackTheBox - Napper",
"url": "https://www.youtube.com/watch?v=ESXW8jsGkdM"
} |
ever maintaining this uh we have the issuer they also have a certificate Authority ca. | 166.319 | 0 | {
"video_id": "ESXW8jsGkdM",
"title": "HackTheBox - Napper",
"url": "https://www.youtube.com/watch?v=ESXW8jsGkdM"
} |
napper.com anything else that's interesting so this is the SSL certificate um we have the HTTP generator so this is just a header in the HTP request telling us the website was built on Hugo which I think is a static website builder for goang uh we have htb title the research blog and the clocks used 14 seconds the odd ... | 178.84 | 0 | {
"video_id": "ESXW8jsGkdM",
"title": "HackTheBox - Napper",
"url": "https://www.youtube.com/watch?v=ESXW8jsGkdM"
} |
be the URL we can say um Napper HTP then let's do word list um opt SEC list Discovery DNS and then we can say uh subdomains top 1 million 5,000. text let's see how this find things I think it's working so while that goes let's go take a look at the blog so this looks like it's just like a diary of a reverse engineer ri... | 249.599 | 0 | {
"video_id": "ESXW8jsGkdM",
"title": "HackTheBox - Napper",
"url": "https://www.youtube.com/watch?v=ESXW8jsGkdM"
} |
Powershell and no subdomains actually got back I wonder if we did something wrong cuz one should have popped up like I would have at least expected to see app because that was one uh oh uh we need to do htps and probably add the- K Flag to ignore SSL and let's see if any pops up now there we go we have a internal. napp... | 321.84 | 0 | {
"video_id": "ESXW8jsGkdM",
"title": "HackTheBox - Napper",
"url": "https://www.youtube.com/watch?v=ESXW8jsGkdM"
} |
example and example password we get logged into the um I guess internal site of the blog and there is another post called internal malware research notes and if we click on this it's talking about a malware sample found by elastic called nap listener and the back door is written in c.net and it's talking about the malw... | 399 | 0 | {
"video_id": "ESXW8jsGkdM",
"title": "HackTheBox - Napper",
"url": "https://www.youtube.com/watch?v=ESXW8jsGkdM"
} |
web service is what ews is so the first step is trying to figure out if this server um has this back door right so what I'm going to do is I'm is going to go napa. htb and let's try going to that URL and we get a blank page if I try going to ews something else I get a 404 not found so this is looking like um it may be ... | 467 | 0 | {
"video_id": "ESXW8jsGkdM",
"title": "HackTheBox - Napper",
"url": "https://www.youtube.com/watch?v=ESXW8jsGkdM"
} |
let's just go examine all these headers I'm not exactly sure if we'll see it I think we may though uh let's accept my burp Suite error or certificate okay so now I'm in repeater mode we're going to do a get here and we see the server IAS and then Microsoft HTTP API 2.0 now I'm going to get rid of the D so we just have ... | 532.68 | 0 | {
"video_id": "ESXW8jsGkdM",
"title": "HackTheBox - Napper",
"url": "https://www.youtube.com/watch?v=ESXW8jsGkdM"
} |
like um logging on your web server and you wanted to see maybe you infected and they used a different URL like I would look at all the responses of server just to see if this header ever got sent right but let's go look at this back door some more so if we go here there's not much more information on the blog post but ... | 601.88 | 0 | {
"video_id": "ESXW8jsGkdM",
"title": "HackTheBox - Napper",
"url": "https://www.youtube.com/watch?v=ESXW8jsGkdM"
} |
used but essentially this just lets us set up a very custom router on this um URL so when IIs hits this it doesn't go to the virtual host it's expecting it now goes to this application so from here it's just handling the response and the key piece is down here with it's if HTTP request form is uh has this sdaf w3r w23 ... | 663.079 | 0 | {
"video_id": "ESXW8jsGkdM",
"title": "HackTheBox - Napper",
"url": "https://www.youtube.com/watch?v=ESXW8jsGkdM"
} |
talking about yeah the string HTP API that I just talked about um if we go let's see somewhere here right here is what they're talking about what I talked about how if the submitted form contains that string it would take the object and execute it using the run method so let's build a net payload I'm going to go to rev... | 731.079 | 0 | {
"video_id": "ESXW8jsGkdM",
"title": "HackTheBox - Napper",
"url": "https://www.youtube.com/watch?v=ESXW8jsGkdM"
} |
Cs and casing is going to matter I don't think the casing matters on the file name but the like dll name when we compile it in namespace and things do um I would just make sure the casing all matches so I'm going to make the namespace shell we can make this anything we want it could be like rev shell it could be pone t... | 781.639 | 0 | {
"video_id": "ESXW8jsGkdM",
"title": "HackTheBox - Napper",
"url": "https://www.youtube.com/watch?v=ESXW8jsGkdM"
} |
that's for if we're making it like an executable I'm just going to do public run like this and that is it right so now when we do a shell. run it's going to go execute this and then this is going to be our reverse shell okay the next step is um you want to do a pseudo app install mono Dash I think it's devel or Dev yea... | 842.36 | 0 | {
"video_id": "ESXW8jsGkdM",
"title": "HackTheBox - Napper",
"url": "https://www.youtube.com/watch?v=ESXW8jsGkdM"
} |
clipboard uh we need to do shell dll there we go so now I have um the base 64 on my clipboard right so let's go and attempt to back uh play with this back door so right here we see we're getting the HTTP API 2.0 that is fine I think 10 10 11 uh 240 does that say the same thing I'm just slightly paus it real quick I jus... | 908.8 | 0 | {
"video_id": "ESXW8jsGkdM",
"title": "HackTheBox - Napper",
"url": "https://www.youtube.com/watch?v=ESXW8jsGkdM"
} |
and down arrows NC lvmp 91 we're going to send this and we get the shell back it's taking it little time to run poers shell if we do Who Am iall let's see uh we don't have any dangerous privileges here I'm just glancing at those uh let's see our username where is it username Sid okay we are the Reuben user and we can s... | 990.8 | 0 | {
"video_id": "ESXW8jsGkdM",
"title": "HackTheBox - Napper",
"url": "https://www.youtube.com/watch?v=ESXW8jsGkdM"
} |
we want to look at right uh but definitely want to look at Ruben uh let's do a DI on desktop that is where the user. text is let's do documents see if there's anything here it doesn't really look like it um can we go into other users maybe like internal no uh backup no um we could look at the public desktop if we wante... | 1,053.4 | 0 | {
"video_id": "ESXW8jsGkdM",
"title": "HackTheBox - Napper",
"url": "https://www.youtube.com/watch?v=ESXW8jsGkdM"
} |
SMB uh let's see so we know there's a firewall in place because this does have SMB listening but it wasn't exposed to us we also have 9200 and 9300 which is interesting um 80 445 so 9200 is definitely interesting but I'm going to keep going down the temp directory to see what's here and we have app and internal if I go... | 1,118.72 | 0 | {
"video_id": "ESXW8jsGkdM",
"title": "HackTheBox - Napper",
"url": "https://www.youtube.com/watch?v=ESXW8jsGkdM"
} |
this no more laps post so let's go in there um let's do type no more laps. | 1,194.08 | 0 | {
"video_id": "ESXW8jsGkdM",
"title": "HackTheBox - Napper",
"url": "https://www.youtube.com/watch?v=ESXW8jsGkdM"
} |
MD and we see the titles getting rid of laps replacing it with our own custom solution we're getting R laps in favor of our own custom solution the password for the backup user we saw that in CQ and users will be stored in the elastic database and elastic default Port is going to be 9200 so that's probably what is list... | 1,200.919 | 0 | {
"video_id": "ESXW8jsGkdM",
"title": "HackTheBox - Napper",
"url": "https://www.youtube.com/watch?v=ESXW8jsGkdM"
} |
Now set up um an SMB server so we can copy these files I'm going to make their SMB let's go in here let's do pseudo impacket SMB server SMB to support I'm going to do DH because I always forget the um order of the next parameter uh the share name and then the path so we'll call this share and then the path I'm just goi... | 1,255.48 | 0 | {
"video_id": "ESXW8jsGkdM",
"title": "HackTheBox - Napper",
"url": "https://www.youtube.com/watch?v=ESXW8jsGkdM"
} |
xfill and this should copy things over to me let's just go in LS SM SMB we see a.exe is in the process of being copied um let's seeb and we also have this colon Zone identifier uh f h colon Zone identifier file and this is probably just um what is it an alternate data stream ads was on it if we C this file uh we can se... | 1,328.6 | 0 | {
"video_id": "ESXW8jsGkdM",
"title": "HackTheBox - Napper",
"url": "https://www.youtube.com/watch?v=ESXW8jsGkdM"
} |
see that's where these uh files came from is this all. ZIP so I guess the first step would be um I'm trying to think do we want to go straight into gidra or test out elastic uh I'm going to test out elastic just because I like to postpone my reverse engineering as long as possible so we should have a new prompt there w... | 1,399.279 | 0 | {
"video_id": "ESXW8jsGkdM",
"title": "HackTheBox - Napper",
"url": "https://www.youtube.com/watch?v=ESXW8jsGkdM"
} |
which is where burp Suite is so there we go we're listening I should be able to now execute uh chisel exe here put it in client mode tell it I want to what is the flag I think 10 10 14 8 8,000 and then capital r then lowercase socks let's hope I get a ton open there we go so we have Port 1080 is now listening so now I ... | 1,479.559 | 0 | {
"video_id": "ESXW8jsGkdM",
"title": "HackTheBox - Napper",
"url": "https://www.youtube.com/watch?v=ESXW8jsGkdM"
} |
um password and that's going to be dump password and then dollar here I want to say that backs slash is escaping if we don't log in then we know right there we go so now we're definitely logged in so we're in elastic um this is elastic search right A lot of people that play with elastic are more familiar with cabana wh... | 1,576.799 | 0 | {
"video_id": "ESXW8jsGkdM",
"title": "HackTheBox - Napper",
"url": "https://www.youtube.com/watch?v=ESXW8jsGkdM"
} |
see two indices which are kind of like um I guess databases would be a good thing or tables uh there's a seed and a user so we could get the documents out of seed uh so if we did a underscore oh not we specify the indic c or table I guess and then we can say underscore search and this is just going to search that and g... | 1,666.76 | 0 | {
"video_id": "ESXW8jsGkdM",
"title": "HackTheBox - Napper",
"url": "https://www.youtube.com/watch?v=ESXW8jsGkdM"
} |
there was a second one user so let's just do the same thing with uh user and then search so that's user 4 Z1 JQ Dot and let's see no such index because I'm missing a zero I think there we go and we again have one document and this one is called blob so that's the information out of elastic um at least that this user ha... | 1,748.2 | 0 | {
"video_id": "ESXW8jsGkdM",
"title": "HackTheBox - Napper",
"url": "https://www.youtube.com/watch?v=ESXW8jsGkdM"
} |
hated life but it's gotten a lot better since then so um we probably won't even need to like use any third party plugins to understand what is going on here but I'm going to pause the video it's probably going to take like five minutes until this blue bar stops moving um and then once it does we know the analysis is do... | 1,827.2 | 0 | {
"video_id": "ESXW8jsGkdM",
"title": "HackTheBox - Napper",
"url": "https://www.youtube.com/watch?v=ESXW8jsGkdM"
} |
have htb transport TLS more elastic I um defining some variables main. seed but I'm just going to go down past this whole import table to see what it does so right off the bat the first thing it does is use this um go. end program and this is the most popular way I think and goang to just um load your environment from ... | 1,885.399 | 0 | {
"video_id": "ESXW8jsGkdM",
"title": "HackTheBox - Napper",
"url": "https://www.youtube.com/watch?v=ESXW8jsGkdM"
} |
is all going to be the config that it uses to connect So it's talking about like the API Keys the header um how it handles TLS things like that um so we can kind of ignore that and then right here is going to be the first function so this whole PG var3 this is the alasta client I guess um it's calling the API G functio... | 1,947.6 | 0 | {
"video_id": "ESXW8jsGkdM",
"title": "HackTheBox - Napper",
"url": "https://www.youtube.com/watch?v=ESXW8jsGkdM"
} |
G and then enter the address we see that goes to this care for which is seed right it's a length of four string that is called seed so all this is doing is making a request to get seed um let's do a comment real quick let's see is this where we did our curls it is so this was what C doc one right so this is what that's... | 2,004.12 | 0 | {
"video_id": "ESXW8jsGkdM",
"title": "HackTheBox - Napper",
"url": "https://www.youtube.com/watch?v=ESXW8jsGkdM"
} |
I think we're still dealing with the seed we have a Json on Marshall right and that makes sense because this is all Json so right now it is um looking for that uh let's see we're doing a gen key on seed and then uh we're doing API indices create and then this string so let's look at exactly what uh 0x whatever this is ... | 2,070.879 | 0 | {
"video_id": "ESXW8jsGkdM",
"title": "HackTheBox - Napper",
"url": "https://www.youtube.com/watch?v=ESXW8jsGkdM"
} |
the Gen key and I guess uh we don't have to take notes yet I guess uh we'll do it at the end and walk through so looking at the Gen key function we specify the seed and we know the seed came from elastic so what we're doing here is is creating a 16 byte key 0x10 that's 16 in HEX and then just doing math Rand to um incr... | 2,139.96 | 0 | {
"video_id": "ESXW8jsGkdM",
"title": "HackTheBox - Napper",
"url": "https://www.youtube.com/watch?v=ESXW8jsGkdM"
} |
function we now just need to know how to encrypt so looking at it it is going to be as and then let's see is there anything else we need to know it is a CFB Cipher so what we have um let's make notes real quick so the first thing is um we can get the get the seed from elastic this is was it seed doc one or something ri... | 2,208.28 | 0 | {
"video_id": "ESXW8jsGkdM",
"title": "HackTheBox - Napper",
"url": "https://www.youtube.com/watch?v=ESXW8jsGkdM"
} |
this right so let's keep going through or reversing let's see I don't know where we are ER getting response indices create so this is where we create created the key and now we're creating the struct um this probably doesn't make sense right now but it will once we do the coding so I'm just stepping over that let's see... | 2,295.48 | 0 | {
"video_id": "ESXW8jsGkdM",
"title": "HackTheBox - Napper",
"url": "https://www.youtube.com/watch?v=ESXW8jsGkdM"
} |
signature there's got to be a way to change this um this is how you could look at it I'll show you in a second uh how I did it because I used a plugin 0x 00 0971 542 this is user and then if we look at this one let's go 0x this is backup so this is SLC net user backup right um I want to control Z to undo that so what I... | 2,392.8 | 0 | {
"video_id": "ESXW8jsGkdM",
"title": "HackTheBox - Napper",
"url": "https://www.youtube.com/watch?v=ESXW8jsGkdM"
} |
um break my gidra so we can see here now after I ran that one script net user backup is there right if you want to import that script you go uh let's see where is gidra here you download the zip go to install extensions and then do the plus and navigate to where the extension is installed so that's how you install it t... | 2,494.76 | 0 | {
"video_id": "ESXW8jsGkdM",
"title": "HackTheBox - Napper",
"url": "https://www.youtube.com/watch?v=ESXW8jsGkdM"
} |
um what this decrypted blob is so we have to make a goang program to emulate what this is doing um we could cheat and kind of just use a bunch of curl and then paste and just do goang for the encryption but let's do goang for the entire thing and the other thing is why I'm doing this in goang why not just code it in Py... | 2,554.319 | 0 | {
"video_id": "ESXW8jsGkdM",
"title": "HackTheBox - Napper",
"url": "https://www.youtube.com/watch?v=ESXW8jsGkdM"
} |
no more laps to create the module and then we can just do a touch main.go and let's open up visual studio code to start this off okay and let's see uh we want to do package Main and then was it funk main where's my co-pilot f&d print line hello world let's just make sure this all works why do I have this in two go ... | 2,615.64 | 0 | {
"video_id": "ESXW8jsGkdM",
"title": "HackTheBox - Napper",
"url": "https://www.youtube.com/watch?v=ESXW8jsGkdM"
} |
config so this will be elastic search. | 2,707.64 | 0 | {
"video_id": "ESXW8jsGkdM",
"title": "HackTheBox - Napper",
"url": "https://www.youtube.com/watch?v=ESXW8jsGkdM"
} |
config I did two RRS there there we go so it automatically added this because we're pulling um this out of this I think I did that right elastic search I don't know why that's underscored but we'll see uh we want to return the client and looks like Co pilot is doing a lot for me let's see client error what are you erin... | 2,714.359 | 0 | {
"video_id": "ESXW8jsGkdM",
"title": "HackTheBox - Napper",
"url": "https://www.youtube.com/watch?v=ESXW8jsGkdM"
} |
want to do this it's actually pretty interesting I guess so we do the address um next we probably need the username and this is going to be uh user or is it backup I think it's user and the password was it's cat.n um smbn here's the password it doesn't have that backs slash okay and then normally we need a transport ri... | 2,793.64 | 0 | {
"video_id": "ESXW8jsGkdM",
"title": "HackTheBox - Napper",
"url": "https://www.youtube.com/watch?v=ESXW8jsGkdM"
} |
client so we'll do c new elastic client CFG and let's see I guess we can um print C and see what happens so we have this okay so if I do go run dot it's going to hang because it's trying to uh don't know what it just did uh let's see I don't know that false is let's do a plus v let's see client did it actually talk com... | 2,872.359 | 0 | {
"video_id": "ESXW8jsGkdM",
"title": "HackTheBox - Napper",
"url": "https://www.youtube.com/watch?v=ESXW8jsGkdM"
} |
so let's do pseudo V ety host and I'm going to make 1271 and then we'll call it Napper and then in our code let's change uh the URL to be Napper and now that it doesn't see local host or 1271 it's not going to ignore the proxy setting super annoying or it just did is it underscore or lowercase I don't know I wonder if ... | 2,973.52 | 0 | {
"video_id": "ESXW8jsGkdM",
"title": "HackTheBox - Napper",
"url": "https://www.youtube.com/watch?v=ESXW8jsGkdM"
} |
MV go. M GitHub grab this go get okay let's do air go. EnV load if airs nil I'm not doing any proper logging let's just Panic error there we go v.n htps proxy 1271 8080 okay I wonder if it's just because we're creating the client and not making a request yet I thought this would force it like to log in and test the con... | 3,039.72 | 0 | {
"video_id": "ESXW8jsGkdM",
"title": "HackTheBox - Napper",
"url": "https://www.youtube.com/watch?v=ESXW8jsGkdM"
} |
client so we can say the result error is equal to C.G and then I think K is screwing up I think this is just seed and then one if R is equal to nil panic and then let's just print what res is so let's do get seed C go run it wants us to return let's just make this a for now and let's do string error we can return nothi... | 3,161.119 | 0 | {
"video_id": "ESXW8jsGkdM",
"title": "HackTheBox - Napper",
"url": "https://www.youtube.com/watch?v=ESXW8jsGkdM"
} |
going to seed doc one and if we wanted to see what this response was uh we can't because we didn't configure the proxy yet so let's go to proxy settings go into socks use socks proxy um proxy HST 1271 Port 1080 click use socks proxy send and this is what we get so if I just forward this we get that so I want to check s... | 3,309.72 | 0 | {
"video_id": "ESXW8jsGkdM",
"title": "HackTheBox - Napper",
"url": "https://www.youtube.com/watch?v=ESXW8jsGkdM"
} |
Marshal like Json that you don't expect you can do a bunch of like map string interface to do a lot of weirdness but I'm not going to cover that I'm going to do it the way I like doing it um like when you're used to like being able to just convert Json to an object um like python handles it very well but go langang doe... | 3,392.119 | 0 | {
"video_id": "ESXW8jsGkdM",
"title": "HackTheBox - Napper",
"url": "https://www.youtube.com/watch?v=ESXW8jsGkdM"
} |
make it easy the first field we want is source so I'm going to say source and this name doesn't matter um because what we put here is we Define it's in j Jore source so what this is doing it's taking this it's assuming what we give it is Json it's looking for the underscore source and then it's going to label it as a s... | 3,463.44 | 0 | {
"video_id": "ESXW8jsGkdM",
"title": "HackTheBox - Napper",
"url": "https://www.youtube.com/watch?v=ESXW8jsGkdM"
} |
and now we can say um let's do if length and we'll say seed source seed is greater than zero or we'll say equals zero or oh that's an integer um there we go we return error and say c not found okay why is that highlighting a string should not be capitalized there and now finally we can return seed source seed and this ... | 3,546.359 | 0 | {
"video_id": "ESXW8jsGkdM",
"title": "HackTheBox - Napper",
"url": "https://www.youtube.com/watch?v=ESXW8jsGkdM"
} |
different right when we were doing the git seed we're using the get document command and that only worked because the index of that document or the document ID was one um but when you do the search it's a different syntax right it was user 41's if we doore do1 it's not found this this was underscore search and this rig... | 3,663.44 | 0 | {
"video_id": "ESXW8jsGkdM",
"title": "HackTheBox - Napper",
"url": "https://www.youtube.com/watch?v=ESXW8jsGkdM"
} |
a context probably is there like a c context it's probably a to do a context but let's not over complicate it let's just do search um if air is nil return nothing defer so we close the body let's read the response and then we can return let's just make sure this works so let's do blob error get Blob C go run oh let's s... | 3,739.039 | 0 | {
"video_id": "ESXW8jsGkdM",
"title": "HackTheBox - Napper",
"url": "https://www.youtube.com/watch?v=ESXW8jsGkdM"
} |
where it says hits so let's do hits struct and this will be Json hits right yep and then the next layer is going to be um hits right so we went hits hits this is a array so we say a list struct like that and this will be again Json hits then the next is source so source struct and then I think it's blob right yes so th... | 3,843.2 | 0 | {
"video_id": "ESXW8jsGkdM",
"title": "HackTheBox - Napper",
"url": "https://www.youtube.com/watch?v=ESXW8jsGkdM"
} |
structure is wrong so we say hits so we go hits hits oh we didn't specify Json here Json Source there we go because then we go in the source and then we want J that that looks better there we go so we have the blob let's get rid of this print statement right so if we wanted to if we didn't want to go do all this nestin... | 4,002.319 | 0 | {
"video_id": "ESXW8jsGkdM",
"title": "HackTheBox - Napper",
"url": "https://www.youtube.com/watch?v=ESXW8jsGkdM"
} |
results is equal to a array of search result and then this will be Json hits I think that's right uh this is not Json response this is also Json hits so these two are pretty much the same thing I've named them slightly different because I like this name better than hits and hits if we wanted to we can prove that so let... | 4,095.96 | 0 | {
"video_id": "ESXW8jsGkdM",
"title": "HackTheBox - Napper",
"url": "https://www.youtube.com/watch?v=ESXW8jsGkdM"
} |
and does help you uh let's see so now we got the blob so what we want to do is um generate the key right so let's do a function and I'm going to call this gen key and then the seed um is integer and then we want to I guess return a bite is this what we want let's see return key so we made it 16 bytes and if we went bac... | 4,173.64 | 0 | {
"video_id": "ESXW8jsGkdM",
"title": "HackTheBox - Napper",
"url": "https://www.youtube.com/watch?v=ESXW8jsGkdM"
} |
function so we can say here key gen key and 64 seed uh don't know if we want to print the key probably what the heck what happens if we print it is it even asky it is not so let's not worry about printing it so the next step is going to be decrypting so let's do a function decrypt and we're going to give key and blob a... | 4,291.4 | 0 | {
"video_id": "ESXW8jsGkdM",
"title": "HackTheBox - Napper",
"url": "https://www.youtube.com/watch?v=ESXW8jsGkdM"
} |
imported is not uh let's gen blob gen key how do I do this I could swear is equal nil what are you complaining about Undeclared name base 64 is it like incing base 64 like that does that fix it so Ural encoding decode string there we go okay now that that's fixed I probably had a typo somewhere and that just screwed wi... | 4,397.28 | 0 | {
"video_id": "ESXW8jsGkdM",
"title": "HackTheBox - Napper",
"url": "https://www.youtube.com/watch?v=ESXW8jsGkdM"
} |
IV there we go that looks fine we'll see if it decrypts so we have the key let's say um PT is equal to decrypt key blob let's print this out go run there we go and this should be the password for the backup user so let's try this um let's do proxy chains because uh Port 445 is not open externally right but we can do pr... | 4,547.12 | 0 | {
"video_id": "ESXW8jsGkdM",
"title": "HackTheBox - Napper",
"url": "https://www.youtube.com/watch?v=ESXW8jsGkdM"
} |
there uh we don't want to dash dash shares let's see I guess that Port is not even open we don't have a shell is RDP a thing I guess we could have nc- zv to check but it doesn't look like RDP open so now we're kind of stuck we have this backup user but we can't access anything with it so our best bet is to get another ... | 4,655.04 | 0 | {
"video_id": "ESXW8jsGkdM",
"title": "HackTheBox - Napper",
"url": "https://www.youtube.com/watch?v=ESXW8jsGkdM"
} |
downloads and download the zip and hopefully this gives us a executable I think it does um we can go back to our SMB directory let's just create P here and let's copy downloads run SCS unzip okay so we have run.exe and we have to download it um let's see let's copy this new PS drive and mount it again we'll call this s... | 4,746.639 | 0 | {
"video_id": "ESXW8jsGkdM",
"title": "HackTheBox - Napper",
"url": "https://www.youtube.com/watch?v=ESXW8jsGkdM"
} |
shell so let's do backup and then this password actually changes every uh 5 minutes so we probably need to grab it again uh we also have to set burp Suite to use the socks proxy again connect to elastic there we go then I'm just going to copy this who am I all and see if we get output of backup I expected to okay we di... | 4,875.639 | 0 | {
"video_id": "ESXW8jsGkdM",
"title": "HackTheBox - Napper",
"url": "https://www.youtube.com/watch?v=ESXW8jsGkdM"
} |
because it would just go a little bit quicker um not enough arguments three required what uh I'm going to copy run as cs. | 4,963.12 | 0 | {
"video_id": "ESXW8jsGkdM",
"title": "HackTheBox - Napper",
"url": "https://www.youtube.com/watch?v=ESXW8jsGkdM"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.