Linux SUID Vulnerability Demonstration

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

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

  • @rafa_br34
    @rafa_br34 2 หลายเดือนก่อน

    Helped me a bit to understand how the SUID bit works, but what would even be the reason to add the SUID bit to some executable?

  • @janb.9425
    @janb.9425 2 หลายเดือนก่อน +1

    Breaking news:
    Allowing users to execute a shell as root allows them to get a root shell

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

    Great video! Thanks for sharing.

  • @zuberkariye2299
    @zuberkariye2299 11 หลายเดือนก่อน +1

    Amazing Demo!

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

    Nice observation

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

    At 8:54 when you typed zsh you were login as root that's why you have the # in your prompt and I guess that was why it didn't ask for permission you are running in root context not as an ordinary user

    • @hetsonii
      @hetsonii 2 ปีที่แล้ว +3

      He got the root zsh because SUID bit was set for zsh.
      If it wasn't the case, he would have got the non-root zsh. that's the whole point of SUID Vulnerabilities!

    • @creed404
      @creed404 ปีที่แล้ว

      That’s the point he was trying to explain!

    • @Michael_Jackson187
      @Michael_Jackson187 7 หลายเดือนก่อน

      ​@@hetsoniiWhat admin in there right fucking mind would set the SUID on a fucking shell, there are some things that need to be run as root and you can use something like gtfobin to escape then and get a sh. i remember using man to privesc during the eJPTv2 exam, this would be a more practical way of privesc like finding out what is already allowed on the system to run as root for the user by typing sudo -l and heading over to gtfobins for example "man"
      sudo man man
      !/bin/sh

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

    can you block someone from using zsh?

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

    What if u are not in sudoers group

  • @firsfnamelastname8490
    @firsfnamelastname8490 ปีที่แล้ว

    It’s not a vulnerability but a functionality

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

      A functionality that leads to vulnerabilities like any functionality

    • @rafa_br34
      @rafa_br34 2 หลายเดือนก่อน

      @@creed404 Just like TCP...