Smashing the Stack for Fun and Profit - setuid, ssh and exploit.education - bin 0x0B

Поделиться
HTML-код
  • Опубликовано: 22 окт 2024

Комментарии • 88

  • @krzysztofadamski2884
    @krzysztofadamski2884 8 лет назад +72

    Another good video. Just one small detail (whbich is not widely know and many people confuse that) - the least significant 3 bits in the DAC permisions are not setting what "all" users can do. It sets what "others" can do. The difference is that "others" means all users that are not part of the group that is owning this file and are not the owner of this file. if the file is owned by user:user and its permissions are set to 007, all users except the user "user" (and all users is "user" group) could open the file. "user" being owner of a file can chmod it so it's not useful but this technique can be used to give access to all users except those who are in one particular group by doing: chown :particulargroup file; chmod g-rwx file
    So those permissions should actually be read in opposite order - first user permissions, if you are not the owner of the file, group permissions apply, if you are not in a group, others permissions apply.

    • @LiveOverflow
      @LiveOverflow  8 лет назад +35

      +Krzysztof Adamski Thanks for picking apart what I say! I hope people read your comment

  • @androkon6920
    @androkon6920 5 лет назад +170

    He protecc,
    He attacc,
    But most importantly,
    He smash that stacc

    • @jigsaw2925
      @jigsaw2925 4 года назад

      @psychopath ima end this mans whole career

  • @kevinjohansson3923
    @kevinjohansson3923 7 лет назад +26

    I love these vids. I've learned so much since I discovered this channel 3 days ago :)

  • @wick9462
    @wick9462 5 лет назад +16

    6:07 excitement level
    Yes

  • @kim15742
    @kim15742 6 лет назад +3

    Thanks for all your help! I am 90th/2000 on my first CTF! :)

  • @himanipku22
    @himanipku22 2 года назад +2

    I believe windows now comes with openssh already installed, so putty isn't needed anymore. You can open powershell and type "ssh" then hit enter to test. If you get something telling you about ssh "usage" you have ssh on your system

  • @HOboXWARRIOR
    @HOboXWARRIOR 4 года назад +3

    For me, hacking conveys a spirit to be open and convey knowledge. Nice

  • @Sam-ux5rw
    @Sam-ux5rw 3 года назад +2

    I recommend people getting 'git bash' to ssh in, you can use this as a linux terminal on windows so has lots of functionality outside of ssh ing into things alone

  • @Mrjulle3
    @Mrjulle3 6 лет назад +6

    Exploit-exercises.com is down, any chance you can upload the "exploit-exercises-protostar-2.iso" file? I'd really like to test my skills before 14'th of october.

  • @TechLord79
    @TechLord79 7 лет назад +3

    Zum Verlieben! "We don't want to be excluding like so many other parts of our society. ..."

  • @JuanCarlos-ro3kn
    @JuanCarlos-ro3kn 4 года назад +2

    I spent 3 hours trying to understand your 9 min video. You are just amazing.

  • @rsinistic
    @rsinistic 6 лет назад +1

    I have been watching all your videos and have to say it .You have by far the best explanations and methods used , I have ever seen . Keep up the good work .

  • @GameGlitch1012
    @GameGlitch1012 6 лет назад +5

    here's the new link for PROTOSTAR::
    www.vulnhub.com/entry/exploit-exercises-protostar-v2,32/

  • @sripradpotukuchi9415
    @sripradpotukuchi9415 4 года назад +2

    How would I set this up in a 64bit Linux machine(x84)? I currently have no access to windows and am new to all these things. Thanks in advance.

  • @alexsepelenco9902
    @alexsepelenco9902 3 года назад +4

    If you're on virtual box and don't know why putty doesn't work go to settings -> network -> adapter1 -> change attached to: to Host-only Adapter, and then restart protostar you will then have the correct IP for PuttY

  • @shawnm607
    @shawnm607 7 лет назад +5

    4 + 2 +1 = 7
    4(R) + 2(W) + 1(X) = 7 (RWX)
    777 = RWX(Owner) RWX(Group) RWX(World)
    Bit flags:
    S = SetUID (either 0, 1, 2)
    T = Sticky
    Meh that was random, enjoy.

  • @mariustancredi2192
    @mariustancredi2192 7 лет назад +1

    You can also just use Bash on Windows, it has ssh package preinstalled.
    I feel Bash on Windows works better than PuTTY, it also has scp and other goodies ready for use in the same terminal.
    A lot of manufactures gives unlockable bootloader, which let you get root on Android without exploiting a vulnerability, but yea, an universal root will need an exploit.

  • @austinmurphy9074
    @austinmurphy9074 5 лет назад +2

    are there any risks of running vulnerable vms in bridged mode?

  • @nnmdani
    @nnmdani 6 лет назад

    What font (name, size, etc) are you using in putty? It looks so much better than the default. Have you changed any of the other default putty settings?

  • @Erin-bc8ic
    @Erin-bc8ic 8 лет назад +2

    Just discovered your channel man, love your videos, good shit!

  • @dedkeny
    @dedkeny 3 года назад +3

    "Well on those real devices, like IOS, it's really fucking complicated.."

  • @BooSDeath
    @BooSDeath 4 года назад

    Hi! I was watching the video, but while i tried to download the different programs, different problems rose:
    1-Protostar is now substitued by Phoenix. Is it the same?
    2-I have windows 10, but i practice with your videos with Ubuntu on a VM. Where do i have to download programs?
    These are the problems that i had in the first 3 minutes of the video, so if other things are explained later, i haven't see them yet. Thanks for the support.

    • @arandomstranger6954
      @arandomstranger6954 4 года назад +1

      Protostar is the last one listed

    • @BooSDeath
      @BooSDeath 4 года назад

      @@arandomstranger6954 Yeah, i make it. Thanks.

  • @juniorcomsono
    @juniorcomsono 7 лет назад

    sorry to bother with a probably dumb question, but i don't what to do to solve this. When i'm trying to boot the iso, it stops on this error:
    udevd-work[155]: '/sbin/modprobe -bv pci:'
    unexpected exit with status 0x0009
    I'm using Virtual Box. I'll be glad for any help.

  • @ayyildiz-ccc
    @ayyildiz-ccc 6 лет назад

    Thanks for the video but I am stuck at the most begin :( When I boot the iso in Hyper-V, I get only lo adapter, no eth0... I changed the network adapter of VM but no help. In /etc/network/interfaces, I see only lo, tried to add eth0 then restart network service but gives error "No such device".

  • @TensorWave
    @TensorWave Год назад +1

    There's an interesting channel with that name stacksmashing

  • @filipjelic8980
    @filipjelic8980 8 лет назад

    very good explanation. subscribed

  • @LeonTheBest1998
    @LeonTheBest1998 7 лет назад +27

    Are you from Germany? Your accent sounds very german :-D

    • @Kdaddyis
      @Kdaddyis 3 года назад +1

      Nope

    • @du42bz
      @du42bz 3 года назад

      Yes they are from germany

  • @slagunes4705
    @slagunes4705 7 лет назад

    perfect explanation dude

  • @null0verflow
    @null0verflow 7 лет назад

    is there anyway to run a compiled c program self - coded in that protostar?

  • @N0Freee
    @N0Freee 4 года назад

    06:07 when you watch him always success in the video, and you keep failing for every single time you try it

  • @Danielsansen
    @Danielsansen 7 лет назад +1

    I know this video is kinda old, but i have a problem with setting up the Protostar. I've been trying on every OS named in the video, but when I try to connect to the Protostar it says the connection is timed out. Any idea why? :-) Thank you in advance.

    • @dvirdvir1373
      @dvirdvir1373 7 лет назад

      me too

    • @LiveOverflow
      @LiveOverflow  7 лет назад

      +dvir dvir sounds like network is not properly setup. Try different network VM settings like bridged etc.

    • @dvirdvir1373
      @dvirdvir1373 7 лет назад +2

      I used Oracle VirtualBox. I Changed the network to bridged but now its says "network error connection refused".
      what now?
      sorry if it is a stupid question...

    • @oribarmatz5840
      @oribarmatz5840 6 лет назад +3

      i had the same problem, and looked at the answer that +LiveOverflow gave you, and then opened the maschine again and the ip changed, so i had to reconfigure the Putty settings for the protostar to the new ip, and then it worked. I'm pretty sure you already solved it since I'm 5 months late, but if someone else had this problem, I am glad to help :)

  • @dennisasamoah2213
    @dennisasamoah2213 5 лет назад

    great video as usual

  • @bitcode_
    @bitcode_ 8 лет назад +2

    kool vid, when is the next one out!?

    • @LiveOverflow
      @LiveOverflow  8 лет назад +3

      +mylampdatabases in like ~3 days

  • @muralianiruddhan7558
    @muralianiruddhan7558 6 лет назад

    i love you LiveOverflow

  • @Felipe-fn9ml
    @Felipe-fn9ml 7 лет назад

    Hey man, you're awesome you teach me so much, you are a crack, but i have a question, you connect the windows with vmware, and i'm working on debian with virtualbox and putty doesn't connect with ssh with the protostar, is necesary make that on vmware?

    • @LiveOverflow
      @LiveOverflow  7 лет назад

      are you sure you have an ssh server running on your debian? The VM I'm using has it already installed.
      Also you should check your network configuration, if the VM is even accessible to you

    • @Felipe-fn9ml
      @Felipe-fn9ml 7 лет назад

      I'm gonna check that, thanks. Man i have a proposal that you can interested, can i told you for private?

    • @Felipe-fn9ml
      @Felipe-fn9ml 7 лет назад

      See your DM's man ;).

    • @saravananm92
      @saravananm92 4 года назад

      @@Odsification Honestly this should comment should be pinned :). Thanks a ton.

  • @iddoshavit3225
    @iddoshavit3225 5 лет назад

    If you are using VirtualBox make sure to port forward!

  • @deadchannel3
    @deadchannel3 Год назад

    7:50 foreshadowing lmao

  • @trebelojaques458
    @trebelojaques458 4 года назад

    Protostar is basically metasploitable 2 but for reverse engineering

  • @RealYukiSan
    @RealYukiSan 11 месяцев назад

    1:05 the site seems to have changed nowadays. How can I follow this tutorial?

    • @RealYukiSan
      @RealYukiSan 11 месяцев назад

      ah! it turns out moved to exploit.education :D

  • @89elmonster
    @89elmonster 6 лет назад

    "Except on Android and IOS the process is fucking complicated" You really emphasized it lol

  • @lukemartin5601
    @lukemartin5601 5 лет назад +1

    "What the fuck" ~ LiveOverFlow

  • @srinjoymaity3394
    @srinjoymaity3394 6 лет назад

    It seems that the exploit exercise servers cannot be accessed anymore.... Can anybody plz help me....I don't know where to find them....

    • @GameGlitch1012
      @GameGlitch1012 6 лет назад

      www.vulnhub.com/entry/exploit-exercises-protostar-v2,32/

  • @vequeemnheveque3778
    @vequeemnheveque3778 8 лет назад

    Thank

  • @borisfedorov4416
    @borisfedorov4416 5 лет назад

    Help it says ssh: connect to host 192.168.1.255 port 22: Network is unreachable

    • @borisfedorov4416
      @borisfedorov4416 5 лет назад +2

      I have figured it out. I was reading the wrong ip

  • @MaxPicAxe
    @MaxPicAxe 4 года назад +6

    Cool, you used to curse a lot in the past...

    • @QuickishFM
      @QuickishFM 4 года назад +1

      he had to tone it down for more viewers and more ad money i guess

  • @neafirmisani5199
    @neafirmisani5199 6 лет назад

    Nice

  • @PhucNguyen-pf3qb
    @PhucNguyen-pf3qb 5 лет назад

    oww man, the smashing stack paper uses AT&T syntax

  • @AlexVasiluta
    @AlexVasiluta 6 лет назад

    It seems the exploit exercises website has expired, where can I get the WM?

    • @GameGlitch1012
      @GameGlitch1012 6 лет назад +1

      www.vulnhub.com/entry/exploit-exercises-protostar-v2,32/

  • @mohamdomar5389
    @mohamdomar5389 5 лет назад +1

    "what the fuck" with German accent

  • @namesurname201
    @namesurname201 5 лет назад

    and unfortunately exploit-exercises.com is not reacheble:(

  • @oussamalarbi6637
    @oussamalarbi6637 6 лет назад

    u r the best youtuber coz of u r way of explaining i have a hunch that u can be the best teacher in the world

  • @vke6077
    @vke6077 6 лет назад

    Note: you can login with root and you will be able to use tab completion and all that good stuff
    LOGIN -- root
    PASSWORD -- godmode

  • @imperia777
    @imperia777 5 лет назад

    Aleph1

  • @stefvanremoortele8425
    @stefvanremoortele8425 6 лет назад

    +LiveOverfllow So would developers, who are afraid of getting their code reversed, be better off writing software that can only be run as root? So you can't attach debugger... Or am I missing something? (about the very last part of your video)

    • @LiveOverflow
      @LiveOverflow  6 лет назад

      No. The owner of the pc can also run as root and debug it. It’s just a special car where the user has only unprivileged access.
      If a developer doesn’t want to get reverse engineered, then no application must be distributed to the client. For example do everything on a server.

  • @RealYukiSan
    @RealYukiSan 11 месяцев назад

    6:00
    I use phoenix instead of protostar because it's recommended by the exploit.education site, but...
    /opt/phoenix/amd64/stack-zero isn't root anymore? the ps aux command shows phoenix+ instead of root

    • @RealYukiSan
      @RealYukiSan 11 месяцев назад

      6:44
      ah! it turs out the owner of the stack-zero file isn't root in my case XD
      it's phoenix-amd64-stack-zero

  • @Didi-bz6kt
    @Didi-bz6kt 2 года назад

    If someone has ssh issues - you can check this : unix.stackexchange.com/questions/272442/i-cannnot-connect-to-guest-osprotostar-through-ssh-from-host-pc-linux-mint

  • @ayyildiz-ccc
    @ayyildiz-ccc 6 лет назад

    Thanks for the video but I am stuck at the most begin :( When I boot the iso in Hyper-V, I get only lo adapter, no eth0... I changed the network adapter of VM but no help. In /etc/network/interfaces, I see only lo, tried to add eth0 then restart network service but gives error "No such device".