HackTheBox - Nineveh

แชร์
ฝัง
  • เผยแพร่เมื่อ 15 พ.ย. 2024

ความคิดเห็น • 86

  • @erno1978
    @erno1978 3 ปีที่แล้ว +6

    IppSec: it's really amazing how you create this stuff. I have no clue if I'll make it the next time I'm trying the OSCP exam, but you are really a master in explaining stuff while you're doing it. Hands-down the best training material. Thanks (also applies for all your other vids, I'm not really a TH-camr, but you're in my top-1-most-watched channels) ;-)

  • @m3lk0r83
    @m3lk0r83 7 ปีที่แล้ว +27

    Your vids are easily the best resource for learning i've found, aside from actually working on vms etc. Learnt so much from these, much obliged! From a junior pentester about to sit the OSCP :)

    • @momusau642
      @momusau642 4 ปีที่แล้ว +3

      The Yellow King did you take your OSCP?

    • @grandmakisses9973
      @grandmakisses9973 3 ปีที่แล้ว

      @@momusau642 did you take ur OSCP

    • @rickjames3034
      @rickjames3034 3 ปีที่แล้ว +1

      Well???? We're waiting!!

    • @m3lk0r83
      @m3lk0r83 3 ปีที่แล้ว +7

      @@rickjames3034 lmao, yes I took it years ago and passed

    • @AUBCodeII
      @AUBCodeII 2 ปีที่แล้ว

      @@m3lk0r83 Congrats! XDDDDDDDDDDDD!

  • @davehouser1
    @davehouser1 4 ปีที่แล้ว

    Thank you for this post.
    I tried following all the other guides to get the reverse shell, yours was the only one I could get working.

  • @TheCryptonian
    @TheCryptonian 4 ปีที่แล้ว +3

    I've improved more in the last 2 weeks from going through your videos than I did during 60 days of PWK labs. Exam in 2 weeks and, if I pass, massive credit would go to you!

    • @rayaanhussain7279
      @rayaanhussain7279 4 ปีที่แล้ว

      @Alexandru Cucea how did yours go ?

    • @rayaanhussain7279
      @rayaanhussain7279 4 ปีที่แล้ว +1

      @Alexandru Cucea Thats awesome ! . Congratulations man . Ive been doing hackthebox for about a month now .
      I guess I'll do the OSCP like boxes on hackthebox before i jump on the pwk labs . Its always about the enumeration
      Once you get a foothold , it gets easier. Do you recommend i take virtual hacking labs before i jump in to PWK ? Do you think I should spend a few more months on hackthebox before going in?

    • @rayaanhussain7279
      @rayaanhussain7279 4 ปีที่แล้ว +1

      @Alexandru Cucea Thank you . I've just realized that I have no experience with buffer overflows or windows boxes. I'm going to stick with hackthebox and other resources for a while before I go in . Just do not want to rush the process and fail miserably :) . I really want to get into this awesome field of penetration testing .Even if I do pass the OSCP by rushing through , its going to come back and bite me in the future. Thank you for the advice my friend . Cheers!

    • @sebastian93921
      @sebastian93921 3 ปีที่แล้ว

      I failed the exam :( I will do more boxes before paid for a reexam next time

    • @TheCryptonian
      @TheCryptonian 3 ปีที่แล้ว

      @Alexandru Cucea Sorry just seen this! I passed :) how did you get on??

  • @Locrand
    @Locrand 7 ปีที่แล้ว +7

    Awesome video IppSec! Port knocking order was also in a mail at /var/mail/amrois :-)

  • @eamonmulholland3159
    @eamonmulholland3159 4 ปีที่แล้ว +2

    I know this is an old vid so I’m necroposting here, but I’m pretty sure this box is pronounced “nin-ehva” not “nine-va” since it’s a reference to the ancient Assyrian city in the Bible whose destruction Jonah was sent to foretell. At 31:20 you can see there’s a file in /var/www/html called “ninevehdestruction.jpg” which supports the idea that this is a reference to that city. Just bringing it up because sometimes understanding the references helps with the solution of CTF boxes.

    • @intellectualgravy9796
      @intellectualgravy9796 4 ปีที่แล้ว

      Oh. I get it. There is also a German TV show on Netflix called Dark. It has somewhat of a similar plot as well.

  • @glasgOWned
    @glasgOWned 7 ปีที่แล้ว +2

    I love your videos. I've just gotten into pentesting as a hobby and I've learned a lot through these.
    Do you run Kali through a VM? That's what I've been doing, but I recently got a new laptop and wanted to try usb booting. However I'm having a horrible time getting it to recognize my gpu (e.g., hashcat). So I was just interested in hearing how you've set things up.

    • @ippsec
      @ippsec  7 ปีที่แล้ว

      I do it from a VM. Don't really see a need to go baremetal, have a separate box for the cracking and such wouldn't want to do it on my main box as it tends to slow everything down. I dork around enough with stuff in kali, being able to revert to snapshot is a nice safety net. Additionally, some commercial tools are Windows only so need to be running VM's anyways.

  • @tabnaka
    @tabnaka 7 ปีที่แล้ว +2

    Awesome videos! But can you increase that fonts of your terminal and web browser to make things easier to view for those watching on mobile devices, please?

  • @mr.no1ne
    @mr.no1ne 6 ปีที่แล้ว +1

    @ippsec where can i get a copy of the shells?

  • @Tea20024
    @Tea20024 4 หลายเดือนก่อน

    one question why was command exeucted as &cmd= instead of the usual ?cmd= ???

  • @salluc1712
    @salluc1712 4 ปีที่แล้ว +1

    oh my god that's awesome thank you so much

  • @glasgOWned
    @glasgOWned 6 ปีที่แล้ว +1

    If you change the "ps -eo command" to "ps -eo user,command" in the procmon script, you'll be able to see which user the command is running as

    • @ippsec
      @ippsec  6 ปีที่แล้ว

      Good call.

  • @petrovasyka8
    @petrovasyka8 2 ปีที่แล้ว

    Can I use nc to do port knocking trick?

  • @issaitani7360
    @issaitani7360 4 ปีที่แล้ว

    thanks ippsec! there is a hint for the ports that should be knocked in /var/mail/

  • @riley-pepper
    @riley-pepper 3 ปีที่แล้ว +2

    the way you pronounce ninevah tells me you didn't watch veggie tales as a kid

  • @tw3t3
    @tw3t3 6 ปีที่แล้ว

    A lot of new stuff I have learned with you. Thank you.
    Also had gaps with quotes, but could not understand the issue completely.
    Few clauses want to add:
    * manual view of processes (how I did) `top -d 1 -o %CPU`
    * there is knock tool, could be used as `knock 10.10.10.43 571 290 911 && ssh -i amrois-pk.key -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no amrois@10.10.10.43` (anyway your way was great, on a sockets level)
    * www.exploit-db.com/exploits/38775/ -- msf module for LPE, could be done with meterpreter session
    * cat /var/mail/amrois (short tip, that we faced with port knocking)
    * strings /var/www/ssl/secure_notes/nineveh.png (for a quick view, without right extracting)

  • @vikp8817
    @vikp8817 5 ปีที่แล้ว +1

    You are amazing!!! How bout starting classes to teach pentesting to beginners...What burp suite course do you suggest?

    • @ippsec
      @ippsec  5 ปีที่แล้ว +1

      Courses take a ton of time and it isn’t really fun to create super beginner content. Most of these videos I try to use tools/methods/etc that are new to me. This way the videos benefit me too, which makes it worthwhile.
      Unfortunately, I’ve never taken a burpsuite course so don’t know a good one

  • @hamzakhiate1767
    @hamzakhiate1767 6 ปีที่แล้ว +1

    Hello IppSec , could you please giv us some informations about your rig ( crackmachine ) ? the number of GPU the graphic cards ?? i'm trying to build one , thanks :)

    • @ippsec
      @ippsec  6 ปีที่แล้ว

      I'd recommend checking the Hashcat Forums for that type of information but in reality, no reason to copy people's build you can mix cards. Don't just blindly buy hardware, make sure you do something to verify it will be profitable.

    • @hamzakhiate1767
      @hamzakhiate1767 6 ปีที่แล้ว

      i will check that , thank you again for your vidéos , you do a great job

  • @shayberkovich8104
    @shayberkovich8104 3 ปีที่แล้ว

    There is actually a working kernel exploit for this box now. Published just around the time this video was released.

  • @klaboem0
    @klaboem0 6 ปีที่แล้ว

    Hey @IppSec great video m8, just a quick question: will you be doing vids on the Sans HH challenge 2017? Cheers and have a good day

    • @ippsec
      @ippsec  6 ปีที่แล้ว

      I did not do the Holiday Hack this year, so I doubt I’ll put out any videos on it. That being said I’ll probably tweet all the videos I come across, few people did them last year.

  • @dylanmakowski1070
    @dylanmakowski1070 6 ปีที่แล้ว

    Seems like when I don't name the db or table with the keywords "nineveh" and "Notes" it give the "Note not found" error. So it maybe be looking for both strings in order to LFI

  • @ZerkerEOD
    @ZerkerEOD 3 ปีที่แล้ว

    Hey IppSec, running into an issue. Doing this box for OSCP prac. I am at the video around 24:30 mark when you are moving the Post parameter around. I can't get mine to work like you have. I HAVE to have it `POST /department/manage.php?notes=/ninevehNotes/../var/tmp/hack.php` if I try to make it like yours and replicate it with `POST /department/manage.php?notes=/var/tmp/hack.php` I get nothing. Not even No note selected error

    • @ippsec
      @ippsec  3 ปีที่แล้ว

      I'm guessing the very end of your request does not have a line break.... Go to the very bottom right of your your request and hit enter than try again

    • @ZerkerEOD
      @ZerkerEOD 3 ปีที่แล้ว

      @@ippsec That didn't do it. I used the same $_REQUEST except I use zer for the key instead of ipp. it works until I do the change request method. Then I can't get it to work like you do. I don't know what is going on. I reset the box and it was worse. I then did the Change Request Method a couple times tring it and it finally worked, even though it's exactly the same request that wasn't working. I think this is going to confuse me. I also did not have a line break but right now it is working without it and if I add it after the zer=ls it fails.

    • @ZerkerEOD
      @ZerkerEOD 3 ปีที่แล้ว

      @@ippsec And to make it worse I can't get portknocking to work. I typed out what you have and 22 stays filtered, the only difference that I can see is I have nmap 7.91 installed but I don't know why that would make a difference EDIT: I have tried your way, I have tried using knockd and knocking, I have also tried using telnet. They will not open 22 for me no matter what. I have asked for help on the hack the box discord

  • @MultiStraik
    @MultiStraik 7 ปีที่แล้ว

    is there a tmux-shortcut for sending panes to windows?

    • @ippsec
      @ippsec  7 ปีที่แล้ว

      Not by default, check out my intro to tmux video -- covers pretty much everything i did.

  • @cosminbordea1958
    @cosminbordea1958 7 ปีที่แล้ว

    hey man , big fan here.Do you have an idea about where can i read to perform my skills and my knowledge about penetration testing ?

    • @ippsec
      @ippsec  7 ปีที่แล้ว +1

      Unfortunately, not really. Anything within Starch Press, "Hackers Handbook", or "Hacking Exposed" series. Outside of that just pick up books in technologies you want to learn. Doesn't have to be geared towards hacking.

    • @cosminbordea1958
      @cosminbordea1958 7 ปีที่แล้ว

      By the way , i had respected you on hack the box , i am new on it . I had a view on your bloods and challanges and i think you are a legend.i apreciate that you make videos for the retired machines .

  • @frankkesel7252
    @frankkesel7252 7 ปีที่แล้ว

    Super appreciate as usual...
    Been looking for a way to spot cron / proccess . Love the proc mon ..... Definitely going in my tool box

    • @SonOfABeach1997
      @SonOfABeach1997 4 ปีที่แล้ว

      Check out pspy, that's a good tool for it

  • @rehahliaamine6790
    @rehahliaamine6790 7 ปีที่แล้ว +1

    keep going ur the best from algeria

  • @yagiztasbag5539
    @yagiztasbag5539 7 ปีที่แล้ว +1

    the first login panel can be bypassed with setting the name as admin and sending the password as an array. if i remember correctly the hardcoded password was hinted in the comments of the login page.

    • @ippsec
      @ippsec  7 ปีที่แล้ว

      Yeah You are correct. Missed the TypeConfusion vuln, good find!

    • @MrPakeryoko
      @MrPakeryoko 7 ปีที่แล้ว

      how could we use that one ?

  • @xandercage740
    @xandercage740 6 ปีที่แล้ว +1

    Hey @ippsec and other folks, why did he directly jumped to hydra when he saw the login page. I meant, how would i know when to use sql injections and when to just brute force it ??
    So please, if someone can explain to me the scenarios where looking at the login page i should check for sql injection or brute force it

    • @ippsec
      @ippsec  6 ปีที่แล้ว +1

      Should always try everything -- I just don't show all my enumeration very time because it's very repetitive and would make almost every video over an hour long. The video isn't the very first time I've done the machine, so I know the path prior to recording. Think I say it in the video, but the method I used for user when the box was initially released got patched.

  • @lIlIllll1
    @lIlIllll1 3 ปีที่แล้ว

    Does anyone know what the "ipp=" mean? I know when he adds the "ls" parameter after the ipp= it provides a directory list, but how did he know to use "ipp="?

    • @lIlIllll1
      @lIlIllll1 3 ปีที่แล้ว

      @El Queso Bandito that makes sense. Thanks man!

  • @flatericy
    @flatericy 5 ปีที่แล้ว

    great stuff as always

  • @Urbancorax2
    @Urbancorax2 5 ปีที่แล้ว

    you're a LEGEND!

  • @kushalrahatkar4568
    @kushalrahatkar4568 4 ปีที่แล้ว

    i am not getting the LFI and m fked up.

  • @simerpreetsingh6765
    @simerpreetsingh6765 7 ปีที่แล้ว

    how long does it usually take for you to exploit these machines for the first time?

    • @ippsec
      @ippsec  7 ปีที่แล้ว +3

      Depends on the machine. This one was under 15 minutes but did it in an unintended way.

    • @simerpreetsingh6765
      @simerpreetsingh6765 7 ปีที่แล้ว

      IppSec Thank you for the videos! learning a lot.

    • @tw3t3
      @tw3t3 6 ปีที่แล้ว

      So, I hope you will help us to do the same! =)
      And what is your average time for pwning the boxes? And what is the hardest box you faced with ?

  • @bugeyemonster
    @bugeyemonster 4 ปีที่แล้ว

    nice video thanks

  • @annymous4515
    @annymous4515 7 ปีที่แล้ว +1

    Thanks bro

  • @kalidsherefuddin
    @kalidsherefuddin 2 ปีที่แล้ว

    Ok thanks

  • @vishnurajkvraj
    @vishnurajkvraj 7 ปีที่แล้ว

    thanks :)

  • @zicada7661
    @zicada7661 6 ปีที่แล้ว

    Ecscape eh. It's unlike a programmer to deliberately spell a word incorrectly ;)

  • @km0x905
    @km0x905 7 ปีที่แล้ว

    😚😙😚😙😚😙

  • @cnrk1832
    @cnrk1832 8 หลายเดือนก่อน

    2024

  • @jt1731
    @jt1731 7 ปีที่แล้ว +2

    nc -z 10.10.10.43 571 290 911

  • @Hashghost21
    @Hashghost21 10 หลายเดือนก่อน

    In this box something is not clear I know it is old but someone help me here
    between 20:38 to 22:10 Ippsec was dealing with DB and renamed it to ninevehNotes but this name is pre defined in the box and if someone actually put another name it wont work like if the name is /var/tmp/shell.php it wont work
    I wonder how he knew that path.

    • @ippsec
      @ippsec  10 หลายเดือนก่อน

      I glanced at the video, at 14:00 we see the app loading ninevehNotes. Pretty sure I'm just overwriting that file.

    • @Hashghost21
      @Hashghost21 9 หลายเดือนก่อน

      Yeah, I had to check again and got it thanks.@@ippsec