Try Hack Me : Metasploit: Exploitation

Поділитися
Вставка
  • Опубліковано 29 вер 2024
  • This is our continuation series of Junior pentesting learning path on tryhackme.com. We are exploiting! Lets have some fun!
    Patreon to help support the channel! Thank you so much!
    / stuffy24
    Hacker Discord
    / discord

КОМЕНТАРІ • 155

  • @stuffy24
    @stuffy24  2 роки тому

    Get 20% OFF @manscaped + Free Shipping with promo code STUFFY24 at MANSCAPED.com! #ad #manscapedpod

  • @wolfyyybandz
    @wolfyyybandz 9 місяців тому +8

    Great walkthrough. Its 3am and I was on the verge of rage quitting just needed to slow down and spell meterpreter correctly.

  • @myname-mz3lo
    @myname-mz3lo Рік тому +1

    the database feature is so usefull . much less copy pasting and easy searching . this alone is reason to use metasploit

  • @Felicidade101
    @Felicidade101 Рік тому +1

    really coool room. You went so fast :D

    • @stuffy24
      @stuffy24  Рік тому

      Lol I was trying to keep the video short since you can pause and rewind it. Hopefully it's understandable sti

  • @isaacfoster2820
    @isaacfoster2820 Рік тому

    Do i have to setup a server when establishing a session cos i'm not able to even when I set payload to 2 and use eternalblue exploit and set RHOSTS. I think I may have gotten my LHOST wrong or smth

    • @stuffy24
      @stuffy24  Рік тому

      Ya I would make sure your settings are correct and your connected to the VPN

  • @samirifai2891
    @samirifai2891 2 роки тому +13

    I've been watching all your Jr. Pentest videos and I'd love to say that I really appreciate the amount of explanation and information you provide. Keep it up!!

    • @stuffy24
      @stuffy24  2 роки тому +1

      Thank you so much!

  • @papijelly
    @papijelly Рік тому +3

    ive done the ethernalblue room prior so I could tell what task 5 was about, but in practice when I ran nmap -sC or nmap -sV or nmap --script vuln it did not come up with ms17-010. I remember in the ethernal blue room it did show when running the 'script vuln' . Not sure if my room had an issue or if i was suppose to find ms17-010 from looking up weakneedes on the OS witch for me showed as (OS: Windows 6.1 (Samba 4.7.6-Ubuntu)

  • @magno172
    @magno172 9 місяців тому +2

    for anyone getting the "segmentation fault" error when trying to run the payload on the target machine...
    set the proper payload before running the multi handler. 26:05
    i was stuck on this for like 3 hours and im not fond of walkthroughs but time is important to me.

  • @Skaxarrat
    @Skaxarrat Рік тому +3

    Thanks mate, it was a bit hard to understand with just THM, but with this video everything is clear now :)

  • @RaEndymion
    @RaEndymion Рік тому +4

    Great video, thank you. Unfortunately, I have run into numerous issues with using a loal machine through the VPN to complete these challenges, so if you are having issues and doing the same, try using the THM attack box.

  • @tamerajames5590
    @tamerajames5590 Рік тому +2

    It won’t work for me, I followed those exact steps and it won’t run for the last part in task 2

    • @stuffy24
      @stuffy24  Рік тому

      Please hop in the discord and troubleshoot with us

  • @miguelofre
    @miguelofre 2 роки тому +2

    i do everything you do... but FAIL....no session was created...

    • @stuffy24
      @stuffy24  2 роки тому +1

      You can hop in the discord and we can try to troubleshoot it when I can! Would love to help

  • @intenseGaming59
    @intenseGaming59 8 місяців тому +1

    Hey I have a question for yyou i cant use the post hashdump because I have This error : shadow must be readable in order to dump hashes

    • @stuffy24
      @stuffy24  8 місяців тому

      Feel free to hop in the discord and put a screenshot in questions

  • @brixing
    @brixing 9 місяців тому +1

    Running the default exploit on my own kali box did work like shown on the video :(. Does anyone know why it does not work?

    • @stuffy24
      @stuffy24  9 місяців тому

      If you post in the discord questions with screenshots we can probably help. I'm not sure what you mean it doesn't work but you said it did work

  • @fullmetalfunk
    @fullmetalfunk 2 роки тому +5

    would have never gotten through this room without this. thank you!

    • @edwardarthur2836
      @edwardarthur2836 2 роки тому

      same, all made sense afterwards!

    • @omrimizrachi2752
      @omrimizrachi2752 Рік тому +1

      It's a tough one to do alone and understand only by reading.

    • @fullmetalfunk
      @fullmetalfunk Рік тому +1

      @@omrimizrachi2752 yeah definitely! i'm a visual and hands on learner too so following along helped. it was also placed in the course a little weird as well imo. there was a big leap in difficulty going into this room from previous ones. at least for a beginner to all of this like i am.

  • @akashdeepnandi
    @akashdeepnandi 5 місяців тому +1

    thanks for the guide

  • @samjohn6540
    @samjohn6540 Рік тому +3

    Thanks for taking the time to go over this. The instructions are much clearer.

  • @motokoiwakura
    @motokoiwakura 17 днів тому

    You are SUCH an amazing teacher! You're quick, to the point, no fillers and all solid advice and information. I'm so grateful for you taking the time putting in the hard work to educate us all. You're the best!

  • @CyberAbyss007
    @CyberAbyss007 4 місяці тому +1

    Thank you!!!

  • @houseofdiamonti
    @houseofdiamonti Рік тому +1

    Usually I like your videos but this one was frustrating and not very helpful. The reason I was watching this was because I needed help and you skipped over key parts because you were annoyed you were doing the video again. Also, it would be great if you walked through the process as you were initially doing it instead of having the answers already written. Thanks for doing the videos but they could be more helpful.

    • @stuffy24
      @stuffy24  Рік тому +1

      Appreciate the feedback. If you have specific parts you want broke down feel free to hop in the discord and I can try and walk through them. Most of these boxes I've done multiple times over the years so the answers are almost always going to already be filled in.

    • @houseofdiamonti
      @houseofdiamonti Рік тому +1

      @@stuffy24 Wow thank you very much! I will have to look into Discord for this because I have only used it for Midjourney. Thank you again for all that you do to help us, you are very much appreciated!!!

    • @stuffy24
      @stuffy24  Рік тому

      @@houseofdiamonti thank you! The link is in the description. I'm happy to help

  • @dlzmedia2792
    @dlzmedia2792 6 місяців тому +1

    For the NTLM hash, why was it only a part of it that's the answer? I was stuck on this and got the hash but couldn't figure it out...
    Isnt all of it a hash?

    • @stuffy24
      @stuffy24  6 місяців тому

      No there are 2 hashes!

    • @dlzmedia2792
      @dlzmedia2792 6 місяців тому +1

      @@stuffy24 Ahh, what's the reason?

    • @stuffy24
      @stuffy24  6 місяців тому +1

      @@dlzmedia2792 legacy systems

  • @garebgbzbdb
    @garebgbzbdb Рік тому +1

    lol bro while watching i got a csgo trade offer

  • @dersunde
    @dersunde Рік тому +3

    hey stuffy, great coverage on this room. i've found that if i work through the steps of the room on my own and then come back and watch your discussion of the exercises it really helps cement the concepts because you're not just racing to the flag. even if you sounded rushed here, you take the time to verbalize your approach and establish a good level of comprehension. really appreciate this. only seen a couple of your videos but i'm sure i will be exploring more.

    • @stuffy24
      @stuffy24  Рік тому +1

      Thank you so much! Really good to see it helps

    • @myname-mz3lo
      @myname-mz3lo Рік тому

      thats what i do too haha i do the room then watch this and get all the extra little bits of info like what parts are usefull or not in an actual pentest . great channel indeed

  • @ahmetkozan95
    @ahmetkozan95 3 місяці тому +1

    Thank you so much!!!

    • @stuffy24
      @stuffy24  3 місяці тому +1

      Thank you for the kind words

  • @onearthanon
    @onearthanon 4 місяці тому +1

    epic guide. ty so much for taking your time to make these. i just joined the discord and completed the welcome stuff. looking forward to the community

    • @stuffy24
      @stuffy24  4 місяці тому

      Appreciate you! Welcome to the community!

  • @smarteasyaccessories9974
    @smarteasyaccessories9974 2 роки тому +1

    I liked your videos. This last one is bit complicated for me but I will practice it more

  • @nidalhasan9347
    @nidalhasan9347 2 роки тому +2

    Thank you for all the help, it made things a lot easier to understand.

    • @stuffy24
      @stuffy24  2 роки тому

      That's the goal! Glad it helped!

  • @thomrl
    @thomrl 10 місяців тому +1

    Thanks to this video, I figured out what I did wrong in one of the tasks. Thanks! Also props for the quality of the video, well done :D

    • @stuffy24
      @stuffy24  10 місяців тому

      I appreciate that!

  • @unmuktyatree8200
    @unmuktyatree8200 7 місяців тому

    Champ Stuffy, I love your effort and sincerity , feedback- Please use light pastel shades on Kali screen and also increase the font size while presenting ...

    • @stuffy24
      @stuffy24  7 місяців тому

      Thank you! I agree in my newer videos I try to be more conscious of this

  • @Muttonsoup
    @Muttonsoup 3 місяці тому

    when I try this on my kali VM it throws up FAIL always
    May I know why?all the parameters are correct and it showed that the host was vulnerable

    • @stuffy24
      @stuffy24  3 місяці тому

      Hey thanks so much for the support. I would revalidate all the parameters and run it multiple times to see if it fails over and over. A lot of payloads may need ran more than once.

  • @redbull6099
    @redbull6099 4 місяці тому +1

    Oh man, I spent a lot of time to find what is not explained anywhere: When you run payload 2, then "run"- you have reverse shell (cmd) on the target machine, but I couldn't find how to run Meterpreter on the same time (or only Meterpreter) to use it and find a file or run hashdump - It was so not clear in every explanation of this part (most of people give results but without explanation how they run Meterpreter and how exaclty they find a file and hash) - I don't want to jump steps without really do it by myself and understand process and details.
    Nobody explains so important details as good as you show on this great video. Thanks a lot! :) Have a great day!

    • @stuffy24
      @stuffy24  4 місяці тому +1

      Thank you for the kind words! Really appreciate it!

    • @TimHackeru
      @TimHackeru 10 днів тому

      that's what I was looking for....

  • @yuno3673
    @yuno3673 Місяць тому

    thanks! i was stuck on the hashdump thing because I was unfamiliar with the way it worked

    • @stuffy24
      @stuffy24  Місяць тому +1

      @@yuno3673 it's very important to learn the underlying technologies

  • @JM-kq4tx
    @JM-kq4tx Рік тому +1

    I’m getting command shell session open instead of a meterpreter session

    • @stuffy24
      @stuffy24  Рік тому

      It's most likely the payload you used

  • @dreamysleepyzzz
    @dreamysleepyzzz 2 роки тому +1

    think i commented on your past videos before, but still, thank you again, i was having some trouble on my own doing the questions, got stuck for a day, thanks, you added a lot more useful information ;D have a good one!

    • @stuffy24
      @stuffy24  2 роки тому +1

      Thank you! I appreciate that!! thats what its all for is to help!

  • @d0nutskip
    @d0nutskip 2 роки тому +1

    Thankz man, keep doing this!

  • @venchee4906
    @venchee4906 2 роки тому +1

    Good stuff. Thank you.

  • @Raferoll
    @Raferoll Рік тому +1

    good to see you

  • @Vinicius-bk6ke
    @Vinicius-bk6ke Рік тому +1

    Great!

  • @pedallknife
    @pedallknife 2 роки тому +1

    Ty for these bro

  • @majinroot
    @majinroot 2 роки тому +1

    Good Job

  • @minothereal7221
    @minothereal7221 Рік тому +1

    Made it so much clearer, thank you so much😌

  • @meatman4694
    @meatman4694 Рік тому +1

    You saved me a lot of stress on this one! Good stuff.

  • @cyberclippy4963
    @cyberclippy4963 2 роки тому

    I kept getting a fail running the exploit until I set SMBDomain .
    Can anyone explain why the . is required??

  • @jahirs.e.2562
    @jahirs.e.2562 Рік тому +1

    i love this kind of great work!!!!!

  • @traemorris9683
    @traemorris9683 8 місяців тому

    Thanks for the walkthrough. Maybe it's because i'm not using the attackbox, but i'm not getting a meterpreter session when i run the eternal blue exploit. I get Windows system 32 shell and I can not for the life of me figure out how to get the meterpreter session. I'm going to try it on the attackbox instead of through the vpn and see if that changes anything.

    • @stuffy24
      @stuffy24  8 місяців тому

      Just change the payload to a meterpreter shell

    • @traemorris9683
      @traemorris9683 8 місяців тому +1

      worked first time on the attackbox, didn't change anything.

    • @stuffy24
      @stuffy24  8 місяців тому +1

      @@traemorris9683 yes it's the default payload

  • @eoino.c4275
    @eoino.c4275 2 роки тому +1

    Stuffy... You the man bro!

  • @SomeDudeOnYoutube16
    @SomeDudeOnYoutube16 7 місяців тому

    I can't ever get the Meterpreter to run and create a session. It always says address is already in use or unavailable

    • @stuffy24
      @stuffy24  7 місяців тому

      I will say that sounds like your doing something incorrectly

    • @funi0n317
      @funi0n317 7 місяців тому +1

      I was having a similar issue using 7777 as my LPORT for the shell script and handler value. Changing that value to something else (I used 8888 instead) fixed it, so maybe give that a go.

  • @rimengineers
    @rimengineers 2 роки тому +1

    Great video 👋

  • @sagis8190
    @sagis8190 Рік тому +1

    you're awesome bro!

  • @reclaimedgracewood
    @reclaimedgracewood 4 місяці тому

    this is so helpful! thank you !

    • @stuffy24
      @stuffy24  4 місяці тому +1

      Thank you for the kind words

  • @Bodasen
    @Bodasen 4 місяці тому

    I don't understand why we scan port 137 with netbios scanner when we saw that it was port 139 that was open

    • @stuffy24
      @stuffy24  4 місяці тому

      Because port 137 is used for netbios.

    • @Bodasen
      @Bodasen 4 місяці тому

      @@stuffy24 Firstly, thank you for the reply
      I am confused though, when we scan port 137 with nmap it gives nothing because it says it is closed. However when we scan port 139 with nmap it gives the information we want.
      How can metasploit netbios scan work on port 137 when nmap doesn’t and vice versa for port 139?

    • @stuffy24
      @stuffy24  4 місяці тому

      @@Bodasen as we get into more detailed information. It's very hard to explain on UA-cam comments. Feel free to hop in the discord and ask questions with screenshot examples and get more detailed answers. Make sure to have timestamps to help also for the video

  • @jaywandery9269
    @jaywandery9269 Рік тому +1

    Amazing work

    • @stuffy24
      @stuffy24  Рік тому +1

      Thank you! Appreciate the support!

  • @Darkkorex
    @Darkkorex 5 місяців тому

    hahaha you cracked me up bro .

  • @isaacfoster2820
    @isaacfoster2820 Рік тому

    It doesn't work when I cat the flag on meterpreter. I tried using cat c:\Users\Jon\Documents\flag.txt also cat flag.txt. It doesn't work. I think it may be a bug. Any ideas?

  • @nunya-ib8ij
    @nunya-ib8ij 2 роки тому +1

    Love the video!

  • @thiagooliveira3782
    @thiagooliveira3782 2 роки тому

    When I execute ./rev_shell.elf I got error "Segmentation fault (core dumped)". How can I solve this?

    • @stuffy24
      @stuffy24  2 роки тому

      You can hop in the discord and put your questions in the question channel and the community can help or I can take a look when I have a chance

  • @Boolap1337
    @Boolap1337 2 роки тому

    what does it mean when u say "take it offline and crack it"?
    Appreciate the content.

    • @stuffy24
      @stuffy24  Рік тому

      Hey sorry i just saw this. It means you dont need to still be connected. You can crack it without having any connections which means you can set it and forget it and not worry about anything.

  • @myname-mz3lo
    @myname-mz3lo Рік тому

    why not show us that the last part of the hash was the ntlm hash ? you said it was complicated so you left it out but it isnt that complicated

    • @stuffy24
      @stuffy24  Рік тому

      Because the video is geared to learn metasploit not how hashing works. I appreciate your feedback and I have a lot of videos on hashes that you can review. I try to keep my videos focused on the point that I'm teaching and not go on tangents of each specific piece to keep the videos as short as possible. I appreciate it's not complicated to you but breaking it down to complete beginners adds time to the video and I have to cut in places it was just where I chose not to dive deeper in the content. Could be the wrong choice but it's where I did it in this one. Thanks again for the feedback

    • @myname-mz3lo
      @myname-mz3lo Рік тому +1

      @@stuffy24 no now that you explain it it seems like the right choice. smart move to keep it on point to not make it too overwhelming . thats why youre the best. i stand corrected

    • @stuffy24
      @stuffy24  Рік тому

      @@myname-mz3lo ohh I don't think either are correct or incorrect! I think it's just a tough thing to teach cyber without overwhelming!

    • @myname-mz3lo
      @myname-mz3lo Рік тому +1

      @@stuffy24 true. i only started making progress when i started learning one thing at a time and at the right order, so i think your view on it aligns with that.

    • @stuffy24
      @stuffy24  Рік тому

      @@myname-mz3lo thank you for the support my friend!

  • @ap3660
    @ap3660 2 роки тому

    keep teaching!!!! great stuff, direct and too the point.

  • @0xPr3d4T0r
    @0xPr3d4T0r 2 роки тому

    better than the writeups i saw 🙌🙌

  • @经济鸡蛋壳
    @经济鸡蛋壳 2 роки тому

    awsome

  • @EzequielOsorio
    @EzequielOsorio 2 роки тому

    Good stuff - this helped me out a lot in this module!

  • @patsplat
    @patsplat 2 роки тому

    thanks

  • @LoLOfIron
    @LoLOfIron 2 роки тому

    Hi What is the murphy password?

    • @stuffy24
      @stuffy24  2 роки тому

      Tryhackme provides it in the instructions of Task 6 first question.

  • @itsm3dud39
    @itsm3dud39 2 роки тому

    can we use msfconsole in bug bounty?

    • @stuffy24
      @stuffy24  2 роки тому

      Of course if your looking for bugs you can use metasploit! Great tool!

    • @itsm3dud39
      @itsm3dud39 2 роки тому

      @@stuffy24 ok👍

    • @Zephyr-tg9hu
      @Zephyr-tg9hu 2 роки тому

      No the bug bounty police will find and arrest you

    • @stuffy24
      @stuffy24  2 роки тому

      @@Zephyr-tg9hu haha clown

  • @hjaldrgegnir
    @hjaldrgegnir Рік тому +1

    Really awesome walkthrough you put together @stuffy24 , i was stuck at the ssh bit of the series, and you made it clear what i had to do. Thanks buddy!

  • @kennygonzalez6410
    @kennygonzalez6410 2 роки тому +1

    Thanks for the step by step explanation! Msfvenom had me stuck for a little bit but I found this and it cleared everything up. Thanks again!

    • @stuffy24
      @stuffy24  2 роки тому

      Thanks for the support my man! Without subs and views it doesn't help anyone!

  • @icshunter8516
    @icshunter8516 2 роки тому

    Once the rev_shell.elf file is downloaded to target box. When returning to the attack box the "http server session" was the last thing initiated. What is the key/command to get back to "exploit (windows/smb/ms17_010_eternalblue)? If I hit Ctl Z , attempting to background the http session, it stops the msfconsole.

    • @stuffy24
      @stuffy24  2 роки тому

      Can you hop in the discord and put in the #questions a detailed explanation with the screenshots. I can hop in there and troubleshoot easier

    • @sudoaptinstallmy-life989
      @sudoaptinstallmy-life989 2 роки тому

      @@stuffy24 23:52 which key did you press?

    • @stuffy24
      @stuffy24  2 роки тому

      @@sudoaptinstallmy-life989 what do you mean which key did I press? At that time u posted I was just scrolling through the web files?

    • @sudoaptinstallmy-life989
      @sudoaptinstallmy-life989 2 роки тому

      @@stuffy24 ow sorrry, 25:55

    • @sudoaptinstallmy-life989
      @sudoaptinstallmy-life989 2 роки тому

      @@stuffy24 When you do CTRL + C, it comes out full.

  • @sharky9493
    @sharky9493 2 роки тому

    Don´t work...msf6 exploit(windows/smb/ms17_010_eternalblue) > run
    ....FAIL FAIL FAIL......This is the problem with metasploit....mostly the shit don´t work!!!

    • @stuffy24
      @stuffy24  2 роки тому

      Lol that's why you need a background in troubleshooting. Metasploit is one of the greatest tools ever invented in reality because before that you couldn't just get exploits like that

    • @sharky9493
      @sharky9493 2 роки тому

      @@stuffy24 Hey stuffy, thanks for the answer! I thought about the problem. Can it be, that the problem was the LHOST? There was my Ip, automatically placed, I think! Maybe I have to change to the THM IP! There is always a problem with RHOSTS an LHOSTS...for a beginner. It´s confusing sometime, what IP where to place! Also, when I did a room with a friend of mine,,, we did all correct, but we need 6 RUNS to have a WIN and success??? How can it be??

    • @stuffy24
      @stuffy24  2 роки тому

      @@sharky9493 metasploit is just a tool for hackers. It runs the payloads for you. If you didn't have metasploit you wouldn't even be able to attack anything unless you manually got the exploit yourself or coded it. So metasploit isn't the tool that's having those issues it's the payloads. There are many payloads and exploits that aren't always successful. That's because your taking a service and making it do something it's not meant to do. That can cause computers to crash, services to shut down etc. That's why if you don't truly know what your doing aka script kiddies. You will make a ton of mistakes and get caught often. Pentesting is an art and takes years and years to become great.

    • @sharky9493
      @sharky9493 2 роки тому +1

      @@stuffy24 Thank you for the answer! You are the FASTEST ytuber!!👍👍I agree totaly, but you know, that in OSCP you can use MS one TIme. But sorry you didn´t answer my question, about the trys you need sometime! You face the same problems? Running MS over and over, with the same settings, 5 times FAIL,,6th time WIN. Sorry I don´t understand this,,,either the payload works of not! Greetings from germany!

    • @stuffy24
      @stuffy24  2 роки тому +1

      @@sharky9493 yes the oscp requires you to not be a script kiddies that's why. Metasploit is a script kiddies dream! Yes I did when running a payload it is using a system to do something it's not supposed to. This doesn't always work especially due to how successful the attacks are and metasploit actually tells you how good the exploits are.

  • @noided-insight537
    @noided-insight537 2 роки тому

    msfvenom will be my go to for payloads