text stringlengths 4 952 | start float64 0 9.37k | duration float64 0 0 | meta dict |
|---|---|---|---|
hdb dhes and we going put his hash gear um we probably have it on the net EXA Command right let's do nxc we can grab his hash paste that and then after hashes I think that's it oh no we have to um put the SPN so we'll do ms01 then specify the port that we are listening Local Host there that directs us to ad0 on our box... | 4,036.079 | 0 | {
"video_id": "5osU3Igzv_Y",
"title": "HackTheBox - Mist",
"url": "https://www.youtube.com/watch?v=5osU3Igzv_Y"
} |
we're still authenticated it's thinking okay that hash does work paste log on failure let's see oh I don't have a period okay so we have it working it says things but we never see anything on this and that's because um the web client is not started on the box so it can't make a webdav request so we're going to download... | 4,125.679 | 0 | {
"video_id": "5osU3Igzv_Y",
"title": "HackTheBox - Mist",
"url": "https://www.youtube.com/watch?v=5osU3Igzv_Y"
} |
compile we have to add the unsafe there we go so now we have this ETS web client and if you don't have this you can probably search ic. Ro for like install mono to get the ability to compile net things things on your Linux box but we have to now download this tool to the box so we'll do a I'm going to send this actuall... | 4,212.4 | 0 | {
"video_id": "5osU3Igzv_Y",
"title": "HackTheBox - Mist",
"url": "https://www.youtube.com/watch?v=5osU3Igzv_Y"
} |
have to run this etw start web client every time because after it makes the request um the service stops so it's a little bit annoying in that sense but it is what it is and this next step we're going to have to do relatively quickly because um I think there's an automated task just like fixing the shadow credentials s... | 4,292.28 | 0 | {
"video_id": "5osU3Igzv_Y",
"title": "HackTheBox - Mist",
"url": "https://www.youtube.com/watch?v=5osU3Igzv_Y"
} |
probably create or something let's search for shadow set Shadow creds so we do clear Shadow creds ms01 doll we cleared them to successfully then we're going to set Shadow creds ms01 dollar okay so let's see uh oh module open C crypto has no attribute pkcs12 so it failed adding the credential because of a python library... | 4,362.88 | 0 | {
"video_id": "5osU3Igzv_Y",
"title": "HackTheBox - Mist",
"url": "https://www.youtube.com/watch?v=5osU3Igzv_Y"
} |
NC Local Host 110 and I'm really hoping this works so clear and and set so ms01 doll set awesome so that did fix it so we have the PK uh cs12 shirt here this is the password so we got to get this over to rubius so I'm going to uh go in petite PM we're going to move what is this sirt um RC oh what is that find. grap rcn... | 4,514.719 | 0 | {
"video_id": "5osU3Igzv_Y",
"title": "HackTheBox - Mist",
"url": "https://www.youtube.com/watch?v=5osU3Igzv_Y"
} |
pfx HTTP 10 10 148 8,000 ms01 pfx D ms01 pfx okay so now we should have um ruia still here so ask TGT user ms01 dollar certificate uh this is a colon ms1 pfx password and then we're going to give it this password here and this is the same command we did with Brandon except we have a password so we'll do get credentials... | 4,577.88 | 0 | {
"video_id": "5osU3Igzv_Y",
"title": "HackTheBox - Mist",
"url": "https://www.youtube.com/watch?v=5osU3Igzv_Y"
} |
this account back yep we did so we have ntlm of ms01 so V do we have like a notes I do we'll call this um ms01 dollar this domain there we go so what I'm going to do real quick is pause the video for Let's do five minutes and then I'm going to run this command again because we should see the error message it's going to... | 4,682.96 | 0 | {
"video_id": "5osU3Igzv_Y",
"title": "HackTheBox - Mist",
"url": "https://www.youtube.com/watch?v=5osU3Igzv_Y"
} |
now that we have the ntlm hash do I have that on my clipboard I do not let's go ahead and grab that so cat notes we can grab this I'm going to use a another rubius command and we're going to um impersonate the administrator user so let's do rus. exe ask TGT no rap um user is ms01 and this may have to be in quotes becau... | 4,756.48 | 0 | {
"video_id": "5osU3Igzv_Y",
"title": "HackTheBox - Mist",
"url": "https://www.youtube.com/watch?v=5osU3Igzv_Y"
} |
use it with her tools we want to convert it to a cc cache so um let's do that so this is going to be vms1 Kirby we can paste that uh it's probably Bas 64 right let's see what's that say Bas 64 ticket Kirby so I don't know if I B 64- D or not um let's just try running ticket converter so we'll do ticket uh converter dop... | 4,848.56 | 0 | {
"video_id": "5osU3Igzv_Y",
"title": "HackTheBox - Mist",
"url": "https://www.youtube.com/watch?v=5osU3Igzv_Y"
} |
Kirby ms01 docc cach see if it errors unknown file format okay so base 64 let's move this to b64 b 64- d this to ms01 Kirby there we go run ticket converter again and now we've converted the Kirby to a cc cache that this will now enable us to um use so let's go and um what do we want to do we'll do export caribbe 5cc n... | 4,891.239 | 0 | {
"video_id": "5osU3Igzv_Y",
"title": "HackTheBox - Mist",
"url": "https://www.youtube.com/watch?v=5osU3Igzv_Y"
} |
or database and dump that so now we have the local administrator password to this box so let's go and do votes and say um local MSO administrator this I'll call this ms1 instead of local there we go so we're now just waiting for all the um things to dump and we'll connect to the box as administrator and see what files ... | 4,989.199 | 0 | {
"video_id": "5osU3Igzv_Y",
"title": "HackTheBox - Mist",
"url": "https://www.youtube.com/watch?v=5osU3Igzv_Y"
} |
M administrator so um the ntlm hash just makes it a little bit easier if we want to use password hashes going forward but we can always just keep using that curb R certificate um the one thing I do want to go over to is impacket right so if we do let's change this to SMB we can change this to administr and then I'm goi... | 5,069.719 | 0 | {
"video_id": "5osU3Igzv_Y",
"title": "HackTheBox - Mist",
"url": "https://www.youtube.com/watch?v=5osU3Igzv_Y"
} |
to specify 101 because that's ms01 so we do this and yes it does work um but since the domain administrator password is not the same this doesn't work we can also try crack this we could also um go into the notes and try that most Savage password ever just in case they did like password reuse right that's always a thin... | 5,140.96 | 0 | {
"video_id": "5osU3Igzv_Y",
"title": "HackTheBox - Mist",
"url": "https://www.youtube.com/watch?v=5osU3Igzv_Y"
} |
when Defender kills it and um it just hangs so W's a little bit slow I'm just going to do um SMB client.py and let's see shares let's do UC dollar and now we can look at um the file system and this is just faster than uh wmi exec so that's why I'm using it so we can look at administrator desktop maybe like that there w... | 5,204.159 | 0 | {
"video_id": "5osU3Igzv_Y",
"title": "HackTheBox - Mist",
"url": "https://www.youtube.com/watch?v=5osU3Igzv_Y"
} |
kdbx and that should download I don't know what directory I'm in though um find. grap kdb okay I'm right there so key passes are always going to be encrypted so uh we have to get a password looking at other things on the user before we just try a blind Brute Force we have cats. PNG in that image so let's go ahead and g... | 5,279.159 | 0 | {
"video_id": "5osU3Igzv_Y",
"title": "HackTheBox - Mist",
"url": "https://www.youtube.com/watch?v=5osU3Igzv_Y"
} |
11 12 13 14 there's 14 characters there we say 15 here so there's one character hiding behind this so I'm going to guess this is the key pass password but we have to get one last character there we can just try opening keypass with this password it'll probably fail so let's go um copy that real quick ua7 CPA download l... | 5,360.44 | 0 | {
"video_id": "5osU3Igzv_Y",
"title": "HackTheBox - Mist",
"url": "https://www.youtube.com/watch?v=5osU3Igzv_Y"
} |
um let's see installation okay I'm going to pause the video real quick and look at my notes for this key pass stuff okay looking at my notes the thing I was missing is you specify the database with D- kdb so if we had done that then ask for the password I did notice one another mistake that would have been held later o... | 5,473.639 | 0 | {
"video_id": "5osU3Igzv_Y",
"title": "HackTheBox - Mist",
"url": "https://www.youtube.com/watch?v=5osU3Igzv_Y"
} |
keypass and then the um password or the partial password I should say so cat partial we can grab this and then I'm going to do question mark a which is going to put all possible characters in this field so if we do enter um no hash matches the structure cat hashes missed key pass I could have swore that was let's see h... | 5,568.159 | 0 | {
"video_id": "5osU3Igzv_Y",
"title": "HackTheBox - Mist",
"url": "https://www.youtube.com/watch?v=5osU3Igzv_Y"
} |
user and that's it's going to ignore that first field and there we go it started to crack um it'll probably take 15 20 seconds to initialize all the run times but the crack itself should not go long we could have probably wrote Our Own python script to do it because we're only doing one character right but we have crac... | 5,684.56 | 0 | {
"video_id": "5osU3Igzv_Y",
"title": "HackTheBox - Mist",
"url": "https://www.youtube.com/watch?v=5osU3Igzv_Y"
} |
operative account so if I do I think show zero okay uh show - F is that going to give me password yes it is so we can get the password for Sharon and it's her operative account so I'm guessing that's the operator account so let's copy that password we can go back here and let's go actually into blood hound search for S... | 5,746 | 0 | {
"video_id": "5osU3Igzv_Y",
"title": "HackTheBox - Mist",
"url": "https://www.youtube.com/watch?v=5osU3Igzv_Y"
} |
password of this account the SVC DCA so impacket does do gmsa um I'm trying to think of what that syntax is off top of my head I think it's just D- gmsa or- M gmsa it may be ldap let's try ldap we to specify 100 uh let's see gmsa invalid Choice let's see nxe read gmsa that exec Wiki the documentation relatively good ju... | 5,839.48 | 0 | {
"video_id": "5osU3Igzv_Y",
"title": "HackTheBox - Mist",
"url": "https://www.youtube.com/watch?v=5osU3Igzv_Y"
} |
control to see what we've gained access to so member of domain computers we can kind of ignore that it's a member of certificate Services which unlocks manager authentication and also this CA backup user and we can gain access to that through the add credential link which is um what we've been doing before like that wh... | 5,947.56 | 0 | {
"video_id": "5osU3Igzv_Y",
"title": "HackTheBox - Mist",
"url": "https://www.youtube.com/watch?v=5osU3Igzv_Y"
} |
of hex of the number it is 1,000 so that privilege is workstation trust account and typically workstation trust account doesn't have remote access privilege so later on when we use Pi whisker um we'd get a denied here because we're doing a remote log on and the gmsa account is meant for local login only because it's tr... | 6,011.8 | 0 | {
"video_id": "5osU3Igzv_Y",
"title": "HackTheBox - Mist",
"url": "https://www.youtube.com/watch?v=5osU3Igzv_Y"
} |
I think Pi whisker we can use from this service account we just won't be able to do the adcs 13 so it's certifi we can't use um the workstation trust account is really odd permissions but that's what we're going to be doing so I'm going to mark this guy as owned as well and then we're going to see what this manager aut... | 6,083.96 | 0 | {
"video_id": "5osU3Igzv_Y",
"title": "HackTheBox - Mist",
"url": "https://www.youtube.com/watch?v=5osU3Igzv_Y"
} |
authentication which is backup policy to a service account and if we look at who a member of service account is it's going to be backup operators so if we can get to backup operators we can create remote backups of the computer backup the registry grab the ntlm hash of the local admin so if I go to pathf finding let's ... | 6,144.84 | 0 | {
"video_id": "5osU3Igzv_Y",
"title": "HackTheBox - Mist",
"url": "https://www.youtube.com/watch?v=5osU3Igzv_Y"
} |
go back to our box and we're going to use Pi whisker to um add a credential link to service backup so let's go in Google Pi whisker GitHub and I'm going to get a slightly older version because during like a recent commit like things got screwed up um like trying to install through pipex makes this just not work well so... | 6,214.32 | 0 | {
"video_id": "5osU3Igzv_Y",
"title": "HackTheBox - Mist",
"url": "https://www.youtube.com/watch?v=5osU3Igzv_Y"
} |
like a variable that needs to be a global variable or something odd so it's just easiest to go to a commit before the PIP X thing but this is going to last run py whisker so we can do Python 3 py whisker let's proxy chains it and then what we want to do is specify the domain which is mist. hdb the DCI IP 192 16800 100 ... | 6,310 | 0 | {
"video_id": "5osU3Igzv_Y",
"title": "HackTheBox - Mist",
"url": "https://www.youtube.com/watch?v=5osU3Igzv_Y"
} |
dub we'll call this we've done rubius a few times it's saying a TGT can now be obtained through p PK nit tools so we going to show it a different way we're going to just download PK nit tools and do it this way so get clone so in case you did not want to run rubius and you wanted to go from the certificates and do the ... | 6,404.28 | 0 | {
"video_id": "5osU3Igzv_Y",
"title": "HackTheBox - Mist",
"url": "https://www.youtube.com/watch?v=5osU3Igzv_Y"
} |
password which is going to be this okay then mist. htb service CA backup and then the next thing we need to do is specify the cache file we want to create so we can do SBC CA backup. cach then DC ip2 16800 100- v a li crypto come on that's how you would do it if your python libraries are not awful um let's just Google ... | 6,505.719 | 0 | {
"video_id": "5osU3Igzv_Y",
"title": "HackTheBox - Mist",
"url": "https://www.youtube.com/watch?v=5osU3Igzv_Y"
} |
text that's not even in there maybe it didn't install let's just uninstall it then install it so do uninstall and then pip 3 install dasr requirements. | 6,605.88 | 0 | {
"video_id": "5osU3Igzv_Y",
"title": "HackTheBox - Mist",
"url": "https://www.youtube.com/watch?v=5osU3Igzv_Y"
} |
text then we can run this again and there we go it seems to be working awesome so if you have the issue um I guess go back in the video and do what I did to that requirements uninstall OS crypto and then reinstall it so now we have um this hash the mini Cerros so what we can do is uh the get n hash so if we um export k... | 6,634.04 | 0 | {
"video_id": "5osU3Igzv_Y",
"title": "HackTheBox - Mist",
"url": "https://www.youtube.com/watch?v=5osU3Igzv_Y"
} |
okay sweet so figured out what pain I was on now we can do the um certify stuff so let's go and do we already have certify installed LS scpt we do not I'm just going to clone the latest version because esc3 is relatively new so we can do certify GitHub and we'll download and install this so pip 3 install get clone this... | 6,735.56 | 0 | {
"video_id": "5osU3Igzv_Y",
"title": "HackTheBox - Mist",
"url": "https://www.youtube.com/watch?v=5osU3Igzv_Y"
} |
192 16800 100 the ca is missed dc01 CA and the um Target is going to be the DC so dc01 missed htb the template is I don't think that's a name of the template let's see go to Cipher query does this give the names I think this is the name manager authentication if not then we're going to have to um run the find vulnerabl... | 6,845.04 | 0 | {
"video_id": "5osU3Igzv_Y",
"title": "HackTheBox - Mist",
"url": "https://www.youtube.com/watch?v=5osU3Igzv_Y"
} |
that's good save the certificate is it really the casing that matters just testing this out saved okay so maybe it was just like a weird networking glitch but we have saved the pfx file so now we are the manager authentication and we want to now become the um backup authentication because if we do the pathf finding we ... | 6,964.639 | 0 | {
"video_id": "5osU3Igzv_Y",
"title": "HackTheBox - Mist",
"url": "https://www.youtube.com/watch?v=5osU3Igzv_Y"
} |
cache file so now when we run CER P again it's going to be using our new certificate so we're pretty much running the same command we did before right we do the certify um the user is going to be the ca backup we don't want to log in with ntlm hash because we have a modified certificate so we specify keros give it the ... | 7,067.28 | 0 | {
"video_id": "5osU3Igzv_Y",
"title": "HackTheBox - Mist",
"url": "https://www.youtube.com/watch?v=5osU3Igzv_Y"
} |
Kirby right okay then we can do the CC cach okay so now this ticket that we have should be um what is it the backup service authentication which is a member of the service accounts which can back up the server so let's try this I'm going to going to do proxy chains R.P which is just the um impacket thing we'll do - k n... | 7,155.639 | 0 | {
"video_id": "5osU3Igzv_Y",
"title": "HackTheBox - Mist",
"url": "https://www.youtube.com/watch?v=5osU3Igzv_Y"
} |
awesome um server cannot respond we did something wrong with this our impacket may be wrong see DH share name share path that is right smb2 support let's see let's just go into do we have a VM with impacket pseudo Su Source VM bin activate I wonder maybe it can't like do Anonymous I don't know that should be fine SNB s... | 7,290.119 | 0 | {
"video_id": "5osU3Igzv_Y",
"title": "HackTheBox - Mist",
"url": "https://www.youtube.com/watch?v=5osU3Igzv_Y"
} |
reimported the certificate after we authenticated and then that let us do the ESC 13 account to service accounts so now we are um was this one do we have all that syntax what was it see template Backup Service authentication I want to say it was this so once we're certificate managers we did another attack to become a ... | 7,411.639 | 0 | {
"video_id": "5osU3Igzv_Y",
"title": "HackTheBox - Mist",
"url": "https://www.youtube.com/watch?v=5osU3Igzv_Y"
} |
see it's 18 Megs and if I try to do a secret stump on it so we'll do Secret stump local Sam Sam save system system save oh it looks like it actually worked so we can get the administrator hash so I guess you may just have to try it a few times and occasionally um you'll copy enough where it does work um a few times I t... | 7,502.199 | 0 | {
"video_id": "5osU3Igzv_Y",
"title": "HackTheBox - Mist",
"url": "https://www.youtube.com/watch?v=5osU3Igzv_Y"
} |
like a bad decryption key and the hash is wrong cuz that is really bizarre so what I'm actually going to try to do is see if we can find a place we can write so if we look at this let's see we do das Das shares we have to change this to SMB and if we can write to a place on active directory such as the cisv then we sho... | 7,629.32 | 0 | {
"video_id": "5osU3Igzv_Y",
"title": "HackTheBox - Mist",
"url": "https://www.youtube.com/watch?v=5osU3Igzv_Y"
} |
LS Miss htb let's write to scripts let's see if we can write here because I bet if we went here and we tried to write to like ms01 at C dollar this is definitely not going to work right yeah access denied so I think we may be able to write to miss. htb this fall then mist. | 7,722.48 | 0 | {
"video_id": "5osU3Igzv_Y",
"title": "HackTheBox - Mist",
"url": "https://www.youtube.com/watch?v=5osU3Igzv_Y"
} |
htb oh we want to add scripts I may want a trailing slash but it looks like it is writing and it wrote that wickedly fast oh man so I think this is actually going to work um sweet if I do a DI or LS we have all the files we could probably do like an SMB get on these files but let's let's complete the logic and um downl... | 7,766.079 | 0 | {
"video_id": "5osU3Igzv_Y",
"title": "HackTheBox - Mist",
"url": "https://www.youtube.com/watch?v=5osU3Igzv_Y"
} |
as is it Brandon keyw warp that would also work right but this hopefully does we did proxy chains one yeah why are you not establishing does this not have remote access I thought this was in the win orm group um Blood Hound search op Sharon help bound member of maybe not execution privilege PS remote oh I Can PS remote... | 7,860.199 | 0 | {
"video_id": "5osU3Igzv_Y",
"title": "HackTheBox - Mist",
"url": "https://www.youtube.com/watch?v=5osU3Igzv_Y"
} |
keyw so RL WP NC lvmp 901 so once we'll brand in keyw warp we'll be a member of the domain on this box and members of The Domain have access to the sisv so I should be able to download the registry copies to this box and then copy them to the um dubdub duub directory and they I'll be able to get all the hashes this way... | 8,004.76 | 0 | {
"video_id": "5osU3Igzv_Y",
"title": "HackTheBox - Mist",
"url": "https://www.youtube.com/watch?v=5osU3Igzv_Y"
} |
htb scripts star is this going to work we have all the save files this is looking good so let's go and download them so we can go 10 10 117 sam. saave let's save this in we're going to make a new directory and call this reg dump we can save that then we can just save system then we can save what's the last one security... | 8,066.239 | 0 | {
"video_id": "5osU3Igzv_Y",
"title": "HackTheBox - Mist",
"url": "https://www.youtube.com/watch?v=5osU3Igzv_Y"
} |
the system Hive at least you know a way around that that I think there's a step I'm forgetting on this box we did not specify local okay now with the security Hive we have more data this is the same hash we were trying right so this just must be an old administrator password cuz um it's probably in the ntds.dit databas... | 8,178.199 | 0 | {
"video_id": "5osU3Igzv_Y",
"title": "HackTheBox - Mist",
"url": "https://www.youtube.com/watch?v=5osU3Igzv_Y"
} |
hdb is that going to work let's see no route to host proxy chain we're going to specify a user probably dco1 like that special character there we go so now we have the administrator where is it right here and this is the latest hash so we do this one this better work there we go soed so now we can just do um let's do w... | 8,263.24 | 0 | {
"video_id": "5osU3Igzv_Y",
"title": "HackTheBox - Mist",
"url": "https://www.youtube.com/watch?v=5osU3Igzv_Y"
} |
policy isn't set nope we don't get password history okay I was going to see if we could see if the hash we had out the am database was old but um it doesn't look like we can tell or maybe one second we can get rid of those flags real quick this will just give us less output to look at but administrator password last se... | 8,381.84 | 0 | {
"video_id": "5osU3Igzv_Y",
"title": "HackTheBox - Mist",
"url": "https://www.youtube.com/watch?v=5osU3Igzv_Y"
} |
what's going on YouTube this is IP I'm doing monitored from hack the box which has a central theme of just exploiting nagio literally from the beginning to the end of the box everything is exploiting nagios it starts off by finding nagios as password for a service account in SNMP and SNMP is often used by monitoring so... | 0.16 | 0 | {
"video_id": "Ulb2rm2qbJY",
"title": "HackTheBox - Monitored",
"url": "https://www.youtube.com/watch?v=Ulb2rm2qbJY"
} |
shell just typical things you normally do in monitoring software and then exploiting rout is abusing some pseudo rules that's put there by nagio itself so with that being said let's jump in as always we going begin with an end map so- SC for default scripts SV enumerate versions - VV for double verose so that would giv... | 50.12 | 0 | {
"video_id": "Ulb2rm2qbJY",
"title": "HackTheBox - Monitored",
"url": "https://www.youtube.com/watch?v=Ulb2rm2qbJY"
} |
httpd then we have ldap on 389 it's running open ldap uh we have https on 43 it's running Apache also says Debian and looking at the certificate we have a domain monitor. htb and also the HT p is redirecting us to n.m monitor. HTP oh and we have it here as well so let's go ahead and add this to our host file so pseudo ... | 99.52 | 0 | {
"video_id": "Ulb2rm2qbJY",
"title": "HackTheBox - Monitored",
"url": "https://www.youtube.com/watch?v=Ulb2rm2qbJY"
} |
say is the default for nagio it's been so long that doesn't work um don't really know what else to go on here so let's try doing a um virtual host Brute Force because we have a ngos. monitor. htb so we'll do a gobster vhost um nagios htb is the URL or monitored htb right n.m monitor. htb word list will be op list Disco... | 180.2 | 0 | {
"video_id": "Ulb2rm2qbJY",
"title": "HackTheBox - Monitored",
"url": "https://www.youtube.com/watch?v=Ulb2rm2qbJY"
} |
248 and I'm going add the- V flag here uh we can also do a-a and map monitored dudp and let's see if we get anything it was DSU with lowercase we have initiating UDP scan and it's increasing the delay right here we probably shouldn't be doing a UDP scan while we're doing a gobster just because it isn't as reliable um a... | 251.599 | 0 | {
"video_id": "Ulb2rm2qbJY",
"title": "HackTheBox - Monitored",
"url": "https://www.youtube.com/watch?v=Ulb2rm2qbJY"
} |
walk right SNMP walk- v2c for the uh default version uh- C public and then we can do 10 11 to 48 and we get information back awesome so we do have SNMP running and it's been a while since we talked about SNMP and my box isn't configured with the mibs so that's why all this number is like not super readable so the first... | 321.08 | 0 | {
"video_id": "Ulb2rm2qbJY",
"title": "HackTheBox - Monitored",
"url": "https://www.youtube.com/watch?v=Ulb2rm2qbJY"
} |
now when I do this SNMP walk again uh we don't have it there I want to say is it- M all there we go and that says load all mibs right and now those aren't just random oids we actually have the information about them the next thing is SNMP walk is pretty slow uh there is a SNMP bul walk which is much faster if you don't... | 390.639 | 0 | {
"video_id": "Ulb2rm2qbJY",
"title": "HackTheBox - Monitored",
"url": "https://www.youtube.com/watch?v=Ulb2rm2qbJY"
} |
to pause the video for this to run I thought it'd be done in like 30 seconds but maybe I will and we have to come back when it's there um right now we see it enumerating the installed packages so this is going to be like uh D package type things I want to say It's s SW run is what I want because that's going to give li... | 454.16 | 0 | {
"video_id": "Ulb2rm2qbJY",
"title": "HackTheBox - Monitored",
"url": "https://www.youtube.com/watch?v=Ulb2rm2qbJY"
} |
give some meaningful information let's see what is a package name I wonder if we do a GP on SNMP on this that's probably a bad one um what is is it Linux firmware is a super common one is it Linux Das firmware maybe it isn't giving me package names but we go back to the nagio output we have the Run name the Run path an... | 515.039 | 0 | {
"video_id": "Ulb2rm2qbJY",
"title": "HackTheBox - Monitored",
"url": "https://www.youtube.com/watch?v=Ulb2rm2qbJY"
} |
maybe it doesn't have arguments oh because we did full run name I'm an idiot sometimes um let's do a GP on S SW run cuzz they all begin like that and then we'll do a GP on on what we do 988 there we go so we have I'm going to say PID 988 I'm not positive uh the process name nagios we have the Run ID I don't know exactl... | 586.6 | 0 | {
"video_id": "Ulb2rm2qbJY",
"title": "HackTheBox - Monitored",
"url": "https://www.youtube.com/watch?v=Ulb2rm2qbJY"
} |
take enter enter okay so you can see this is going incredibly fast compared to that but we'll just let that go um I'm actually going to put my cursor down here so we can see when SNP walk finishes so let's look at what else is on the HW run was it HW run like this uh c-i oh my God um that's already passed grip nagio SN... | 657.24 | 0 | {
"video_id": "Ulb2rm2qbJY",
"title": "HackTheBox - Monitored",
"url": "https://www.youtube.com/watch?v=Ulb2rm2qbJY"
} |
2221 so let's do that grap let's do grip we can do s SW run grip 2211 and we can see a bash script is running it's running a PHP and it's a nagio cron so let's look at what sleep is so let's do 2221 and that is just running sleep is there anything else interesting here we do have bash here so 1432 so let's look at 1432... | 752.959 | 0 | {
"video_id": "Ulb2rm2qbJY",
"title": "HackTheBox - Monitored",
"url": "https://www.youtube.com/watch?v=Ulb2rm2qbJY"
} |
to Google nagio API uh login CU I don't know exactly how it works and we have help with insecure login backend ticket authentication and if we look at this post uh let's see this probably isn't what we want going down we do have uh something talking about API V1 authenticate and then the next thing it does is gives us ... | 833.759 | 0 | {
"video_id": "Ulb2rm2qbJY",
"title": "HackTheBox - Monitored",
"url": "https://www.youtube.com/watch?v=Ulb2rm2qbJY"
} |
have a token and it's valid until the 6th of May so we have this token and we want to see if this token works so um all they're doing is hitting a end point and doing and token is equal to token so theoretically all I have to do is go to uh nagus let's just go disable and I'm going to sayk token is equal to this and we... | 913.36 | 0 | {
"video_id": "Ulb2rm2qbJY",
"title": "HackTheBox - Monitored",
"url": "https://www.youtube.com/watch?v=Ulb2rm2qbJY"
} |
things it also has um an agent you can install but um SNMP is always also a good thing so this is just telling us all the status we do have the version of nagios install now so it's 5.11 so I always just when I see versions I just go and Google the nagio version exploit and then replace that with any service you find a... | 980.16 | 0 | {
"video_id": "Ulb2rm2qbJY",
"title": "HackTheBox - Monitored",
"url": "https://www.youtube.com/watch?v=Ulb2rm2qbJY"
} |
and we have failed to acknowledge U message so let's not put a number here let's put Please Subscribe and we have a SQL error and it says unknown column please subscribe so at this point we know we have a error-based SQL injection and with this it becomes rather tricky to actually get data out of it it's not as straigh... | 1,051.679 | 0 | {
"video_id": "Ulb2rm2qbJY",
"title": "HackTheBox - Monitored",
"url": "https://www.youtube.com/watch?v=Ulb2rm2qbJY"
} |
value MySQL it's been so long since I did this um takes two argument strings XML frag and X path so this argument does not matter um I think this is where we're getting an error but okay so kind of ignore like the hand waving thing of just knowing this um actually like when I was doing this box the first time I went to... | 1,123.76 | 0 | {
"video_id": "Ulb2rm2qbJY",
"title": "HackTheBox - Monitored",
"url": "https://www.youtube.com/watch?v=Ulb2rm2qbJY"
} |
us all the databases we could have also probably done select database right uh fail to acknowledge that did not work huh I'm trying to think why that wouldn't work do we have to give it like bad data let's do a concat here select database I could have swore that should tell me the database but obviously I am wrong okay... | 1,198.08 | 0 | {
"video_id": "Ulb2rm2qbJY",
"title": "HackTheBox - Monitored",
"url": "https://www.youtube.com/watch?v=Ulb2rm2qbJY"
} |
there let's see that failed I'm confused right now let's see here in my SQL we need a freny there because it should tell me information schema I don't know why it's not and it's bothering me because um is it just a concat no we definitely need group because when I want to return more than one thing it's going to screw ... | 1,306.52 | 0 | {
"video_id": "Ulb2rm2qbJY",
"title": "HackTheBox - Monitored",
"url": "https://www.youtube.com/watch?v=Ulb2rm2qbJY"
} |
so this is why I want to use my concat statement and I'm just going to put a line break in here there we go so what I'm doing here is making sure this ID parameter is bad I put a line break because it's always like this ID if it has a line break it's always going to fail and I want it to fail because if it fails I get ... | 1,437.32 | 0 | {
"video_id": "Ulb2rm2qbJY",
"title": "HackTheBox - Monitored",
"url": "https://www.youtube.com/watch?v=Ulb2rm2qbJY"
} |
and man it's been a while since we did SQL injection and this portion of the video is much longer than it normally is for enumerating the database but oh well hopefully it is enjoyable so we want the table schema because that's going to be the nagio XI so we can say this is going to be the columns table I want do where... | 1,498.6 | 0 | {
"video_id": "Ulb2rm2qbJY",
"title": "HackTheBox - Monitored",
"url": "https://www.youtube.com/watch?v=Ulb2rm2qbJY"
} |
how it works right so my next step would be just go for the table name we're going to get rid of the group concat because we only want to return one row at a time and instead of the columns table oh yeah The Columns table we're going to do the tables and we we now just do a limit so we'll do limit 01 and the first tabl... | 1,568.559 | 0 | {
"video_id": "Ulb2rm2qbJY",
"title": "HackTheBox - Monitored",
"url": "https://www.youtube.com/watch?v=Ulb2rm2qbJY"
} |
make my regular expression a little bit easier so let's discard that we'll run this again um I'm going to go to my select statement and I'm going to say select concat I'm going to put a pipe character because pipe is very rarely used um if I just say search for a pipe it's probably going to find it right so we have sel... | 1,642 | 0 | {
"video_id": "Ulb2rm2qbJY",
"title": "HackTheBox - Monitored",
"url": "https://www.youtube.com/watch?v=Ulb2rm2qbJY"
} |
if you just wanted a quick and dirty way with burp this is the way and we have the users so with users we can just do what we were doing uh let's discard this you probably should be saving this but um we're not known for taking notes here so now I can go to the columns so if i contr z a few times will that get me there... | 1,720.279 | 0 | {
"video_id": "Ulb2rm2qbJY",
"title": "HackTheBox - Monitored",
"url": "https://www.youtube.com/watch?v=Ulb2rm2qbJY"
} |
extract the very first entry extract the second entry so we have um user ID username password uh let's see we probably want username and SNMP walk walk took one minute walk took 10 minutes I think I said like 10 times faster I was not exaggerating so let's do notes uh we want to grab us username password what other thi... | 1,799.2 | 0 | {
"video_id": "Ulb2rm2qbJY",
"title": "HackTheBox - Monitored",
"url": "https://www.youtube.com/watch?v=Ulb2rm2qbJY"
} |
users and I think we just do Z One Nag's admin is the first user and we can do the second SBC and it looks like that may be it so we only have two users it looks like nagios admin and SVC we've already logged in with SVC so I'm going to focus on nagio admin so if we grab password uh we don't get the full hash which suc... | 1,896.36 | 0 | {
"video_id": "Ulb2rm2qbJY",
"title": "HackTheBox - Monitored",
"url": "https://www.youtube.com/watch?v=Ulb2rm2qbJY"
} |
it to see IU and that's why I see um so if we do 28 we can get this and probably want to use subst string right here not left because when we do left we can't really move the cursor to the right to grab the next 28 characters so let's switch over to substring was it subst string so we'll try 028 that failed completely ... | 1,996.88 | 0 | {
"video_id": "Ulb2rm2qbJY",
"title": "HackTheBox - Monitored",
"url": "https://www.youtube.com/watch?v=Ulb2rm2qbJY"
} |
would be a waste of time just doing it with the password string so at this point we're going to look at how to log into the um API we have the token we don't know how to log in so if we do nagios XI or we'll just do nagio API log in I'm going put V1 in as well because when we doing the previous exploit um it used a V1 ... | 2,110.96 | 0 | {
"video_id": "Ulb2rm2qbJY",
"title": "HackTheBox - Monitored",
"url": "https://www.youtube.com/watch?v=Ulb2rm2qbJY"
} |
making a post request to user and then we're sending um username password the off level is admin so this is definitely looking promising um we send a post is there anything here we do open api. Json no API key provided API key invalid let's hope we grab this key correctly no endpoint open api. Json so that's fine we go... | 2,219.44 | 0 | {
"video_id": "Ulb2rm2qbJY",
"title": "HackTheBox - Monitored",
"url": "https://www.youtube.com/watch?v=Ulb2rm2qbJY"
} |
license uh let's just put a new password in because it wants us to change it and we get logged into to nagios as an admin and we've exploited nagos quite a few times um or zabic or just various monitoring tools uh when you're on the host the normally the easiest way to exploit one of these is to create a new check and ... | 2,327 | 0 | {
"video_id": "Ulb2rm2qbJY",
"title": "HackTheBox - Monitored",
"url": "https://www.youtube.com/watch?v=Ulb2rm2qbJY"
} |
odd so we go to Services let's add a new check and the command is going to be a reverse shell and then we just run check command so I'm going to do NC lvmp 901 let's click run check command run command and this is mainly used for testing out your like script to see if it works but in our case um we don't really care we... | 2,406.88 | 0 | {
"video_id": "Ulb2rm2qbJY",
"title": "HackTheBox - Monitored",
"url": "https://www.youtube.com/watch?v=Ulb2rm2qbJY"
} |
it blank and do A- p as well uh but when I'm doing like a request like this I generally just um like putting the star so let's see we do htb and what is this box name monitored I'm going to call this um inject dosq I guess and let's see recession has timed out let us create a new cookie again session timed out let's se... | 2,491.8 | 0 | {
"video_id": "Ulb2rm2qbJY",
"title": "HackTheBox - Monitored",
"url": "https://www.youtube.com/watch?v=Ulb2rm2qbJY"
} |
it uh let's see is it D- use- cell or something weird like that uh SQL map Dash there's definitely a way to tell it to use SSL dump all tables map use SSL what is that flag plus session because right now if I just send the request it's not going to use SSL if we did this yeah we're getting a 302 redirect which doesn't ... | 2,608.64 | 0 | {
"video_id": "Ulb2rm2qbJY",
"title": "HackTheBox - Monitored",
"url": "https://www.youtube.com/watch?v=Ulb2rm2qbJY"
} |
through is it like force SSL okay I don't see a redirect anymore so that was it for- SSL I don't know how to find that if you don't have it just memorized that is painful but since not doing the redirect I think we may get something we probably should add like technique error or something like that so it just automatic... | 2,746.44 | 0 | {
"video_id": "Ulb2rm2qbJY",
"title": "HackTheBox - Monitored",
"url": "https://www.youtube.com/watch?v=Ulb2rm2qbJY"
} |
dump all the tables I think let's see if that works yes it is getting all the table names this way and then we can specify um tables and um dump to dump the actual tables and wow we probably should add A-D nagio XI to tell it the nar's XI database because it was going through information schema and if we dump informati... | 2,834.359 | 0 | {
"video_id": "Ulb2rm2qbJY",
"title": "HackTheBox - Monitored",
"url": "https://www.youtube.com/watch?v=Ulb2rm2qbJY"
} |
right so here it is dumping everything we got my IPC user as well and let's see if there's any anything else um doesn't look like it I'm going to just L this file real quick let's do a less- capital S so it just goes on that and we can see one 12 six so this is why my user id was six they are probably four deleted user... | 2,900.24 | 0 | {
"video_id": "Ulb2rm2qbJY",
"title": "HackTheBox - Monitored",
"url": "https://www.youtube.com/watch?v=Ulb2rm2qbJY"
} |
nagios and we see the config is going to be um let's do also a grip on CFG right there nagio Etsy config so if we look at this let's see is there a password uh let's fix our TTY real quick st- a 28110 stty row 28 cols 110 I got those from right there so now what I do less it just behaves a bit better uh but let's use g... | 2,958.2 | 0 | {
"video_id": "Ulb2rm2qbJY",
"title": "HackTheBox - Monitored",
"url": "https://www.youtube.com/watch?v=Ulb2rm2qbJY"
} |
config and here we have it the password is just nagio X SI so it's probably the default MySQL password this doesn't really buy us anything we could also check pseudo and oh boy we have a lot of pseudo stuff so we can restart nagios let's see what else we can do uh if we look at this PHP script I'm going to ignore that ... | 3,053.319 | 0 | {
"video_id": "Ulb2rm2qbJY",
"title": "HackTheBox - Monitored",
"url": "https://www.youtube.com/watch?v=Ulb2rm2qbJY"
} |
things to look for right now I see it's removing the profile folder then creating one and then like adding a bunch of files and then it's going to make a zip at the end I'm guessing if we look at zip so my first thought is let's try to exploit a timing condition if we delete the folder then make it I can probably then ... | 3,147.52 | 0 | {
"video_id": "Ulb2rm2qbJY",
"title": "HackTheBox - Monitored",
"url": "https://www.youtube.com/watch?v=Ulb2rm2qbJY"
} |
is equal to um the argument we give it so if I run this pseudo again then let's do ln- s root to profile one/ root like this and and we don't have permission because we're running witho it creates the directory and it's removing our permission to do it so what we have to do then is find a file that we can actually writ... | 3,242.319 | 0 | {
"video_id": "Ulb2rm2qbJY",
"title": "HackTheBox - Monitored",
"url": "https://www.youtube.com/watch?v=Ulb2rm2qbJY"
} |
log maybe this is it let's see stat on this who is this owned by nagio nagio it's a regular file so this is a good candidate let's see I think this will be fine I'm just going to move this file and then let's do ln- s and I'm going to hope there's a IDR sa file we should probably just try root root. text but I'm going ... | 3,315.04 | 0 | {
"video_id": "Ulb2rm2qbJY",
"title": "HackTheBox - Monitored",
"url": "https://www.youtube.com/watch?v=Ulb2rm2qbJY"
} |
log okay so now I look at this let's see where is CMD subsis we can see that file is pointed to this so if we run the backup again when it goes to backup that CMD subsis file it's going to back up the authorized key of root and hopefully give it to us uh now we just to find out where this profile is saved it's probably... | 3,362.599 | 0 | {
"video_id": "Ulb2rm2qbJY",
"title": "HackTheBox - Monitored",
"url": "https://www.youtube.com/watch?v=Ulb2rm2qbJY"
} |
zip and let's see um find. dname CMD subs. log was it what was that name that's not looking promising CMD subsist what did you do with that file create it oh it's cat that is a weird name for it did not find it so maybe this was not a good one to do see CMD subsy so we get the last 500 lines of this file and we send it... | 3,404.52 | 0 | {
"video_id": "Ulb2rm2qbJY",
"title": "HackTheBox - Monitored",
"url": "https://www.youtube.com/watch?v=Ulb2rm2qbJY"
} |
manage services and we can also like restart nagios if we look at this inet script uh let's see Etsy and nitd that file doesn't exist let's look at manage services this lets us just restart Nagi and if we look psf grap nagus we do have the bin here and if we look at it it is owned by us so if we replace this binary wit... | 3,546.359 | 0 | {
"video_id": "Ulb2rm2qbJY",
"title": "HackTheBox - Monitored",
"url": "https://www.youtube.com/watch?v=Ulb2rm2qbJY"
} |
nagio bin and then I'm going to copy let's move nagios to nagios like this whenever I back up files I always just add that um squiggly line after it so let's do vus we can say it's a bash script B- C no we can just do Bashi uh like this Dev TCP 10148 91 0 and one like that we don't need the bash d c because up here we'... | 3,614.359 | 0 | {
"video_id": "Ulb2rm2qbJY",
"title": "HackTheBox - Monitored",
"url": "https://www.youtube.com/watch?v=Ulb2rm2qbJY"
} |
be restart and then the second argument has to be one of these so this what prevents us from just putting like a reverse shell command injection but we can say restart nagios and it did not work there we go maybe I wasn't listening but here we go we have a root shell so that's the second way to do this um and that will... | 3,691.119 | 0 | {
"video_id": "Ulb2rm2qbJY",
"title": "HackTheBox - Monitored",
"url": "https://www.youtube.com/watch?v=Ulb2rm2qbJY"
} |
what's going on YouTube this is IPC and today we'll be doing monitors 3 from hack the box which starts off with an SQL injection that forgot password feature of the website but since the field doesn't reflect any data back to the user Union injection isn't really going to be beneficial here I think most people just use... | 0.24 | 0 | {
"video_id": "4y2gp_GTBqQ",
"title": "HackTheBox - MonitorsThree",
"url": "https://www.youtube.com/watch?v=4y2gp_GTBqQ"
} |
files when importing a template this gets a shell in the box and we discover duplicati is running on it and that has a weird login process we'll look at the issues on GitHub find a way to do a off bypass by reading the server passphrase on the um server and that gets us in and then we can just um create a backup job to... | 41.719 | 0 | {
"video_id": "4y2gp_GTBqQ",
"title": "HackTheBox - MonitorsThree",
"url": "https://www.youtube.com/watch?v=4y2gp_GTBqQ"
} |
the banner tells us it's a Ubuntu Server we also have HTTP on Port 80 it's Barett tells us it's engine X also running on Ubuntu and the HTTP title um and map script tells us it's redirecting to monitors 3. htb so let's go ahead and add this to a h m stud V Etsy host and then we can add 101 1130 monitors 3. htb save tha... | 89.479 | 0 | {
"video_id": "4y2gp_GTBqQ",
"title": "HackTheBox - MonitorsThree",
"url": "https://www.youtube.com/watch?v=4y2gp_GTBqQ"
} |
packets and 8884 is sending the reject but standard behavior on Linux is to send a reject message when you connect to a port that isn't listening so this dropping it probably means there's a firewall rule in place for Port 884 and maybe that is listening for a different IP address Local Host things like that um not rea... | 141.76 | 0 | {
"video_id": "4y2gp_GTBqQ",
"title": "HackTheBox - MonitorsThree",
"url": "https://www.youtube.com/watch?v=4y2gp_GTBqQ"
} |
next thing I look for is links on the page and I see login.php so I know this is going to be a PHP website if I was doing a durust I would add a-x PHP so it just um also looks for PHP scripts I'm going to um do a virtual host brout Force because we do know the domain is monitors 3. htb so I always like starting off wit... | 191.92 | 0 | {
"video_id": "4y2gp_GTBqQ",
"title": "HackTheBox - MonitorsThree",
"url": "https://www.youtube.com/watch?v=4y2gp_GTBqQ"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.