Тёмный

Exploiting Return Oriented Programming (ROP) tutorial - Binary Exploitation PWN101 

RazviOverflow
Подписаться 2,4 тыс.
Просмотров 19 тыс.
50% 1

Опубликовано:

 

4 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 63   
@RazviOverflow
@RazviOverflow 2 года назад
Some quick notes after uploading the video: - I forgot to include a good ROP reference from Exploit DB (Shaif El-Sherei): www.exploit-db.com/docs/english/28479-return-oriented-programming-(rop-ftw).pdf - A ROP gadget is any instruction sequence that ends with an instruction that modifies the RIP register, typically a RET (but it could be any other instruction, like JMP). In the video, in order to keep things simple, I mentioned only the RET case. - Yes, around 14:45 I mispronounce the word "contriving" :(
@antisec1656
@antisec1656 Год назад
This is by far the clearest explanation of ROP ive ever seen and you are the only channel ive seen to break it down into the very basics, and make it super clear to understand. Glad to be one of your first 500 subs, but you deserve more than the big CTF youtubers out there and I can see your channel blowing up. Thanks a lot!
@RazviOverflow
@RazviOverflow Год назад
Thank you. I really appreciate your words :)
@harjotsaraon9075
@harjotsaraon9075 22 дня назад
Your content is super clear and well explained. Thanks for explaining the rop concept in the best possible way.
@RazviOverflow
@RazviOverflow 21 день назад
You are more than welcome :)
@mattanderson2074
@mattanderson2074 2 месяца назад
Every single one of your videos has taught me 10 x anything I have ever learned from any other instructor. Your approach with explaining each subject and all of the complex details is just phenomenal. So grateful to have stumbled across you. Working my way through your content and loving every minute.
@RazviOverflow
@RazviOverflow 2 месяца назад
Thank you for your kind words ❤Glad my videos are useful to you :)
@ELVIRAGONZALEZCASTRO
@ELVIRAGONZALEZCASTRO 9 месяцев назад
This is seriously the best explanation i've found on ROP. The explanation is so clear and detailed. So helpful 😄 Loved it!
@RazviOverflow
@RazviOverflow 9 месяцев назад
I'm happy it helped you :)
@MysteryMooCows
@MysteryMooCows 2 года назад
Wow. I cant wait for your channel to explode! You have a deep understanding of what you're doing and present the material in a clear and approachable way. I really enjoyed this, thank you!
@RazviOverflow
@RazviOverflow 2 года назад
Thank you very much! Glad you liked the video. I try to make things as simple as I can.
@migwe1019
@migwe1019 Год назад
Thank you so much, this is by far the clearest rop tutorial ive ever seen. keep up the good work
@RazviOverflow
@RazviOverflow Год назад
Thank you. Glad it helps!
@petermackinnon6546
@petermackinnon6546 Год назад
wanted to comment this as well. Beautiful side-by-side visual.
@RazviOverflow
@RazviOverflow Год назад
@@petermackinnon6546 Thank you :) I find it a bit rudimentary and definitely home made (it's plain paint), but pretty effective at the same time
@user-pg9te8ug1j
@user-pg9te8ug1j 5 месяцев назад
Wow - this is by far the best explanation if seen on the topic so far. Thank you very much!
@RazviOverflow
@RazviOverflow 5 месяцев назад
Glad you liked the video :)
@atharavhedage3607
@atharavhedage3607 Год назад
Truely said, you deserve subs more than top CTF RU-vidrs out there, absolutely clear content, loved it!
@RazviOverflow
@RazviOverflow Год назад
Thank you :)
@kushagrasingh467
@kushagrasingh467 10 месяцев назад
Woah! loved the explanation, you surely deserve more number.
@RazviOverflow
@RazviOverflow 9 месяцев назад
Thank you :)
@regas6441
@regas6441 8 месяцев назад
Excellent content, this actually helped me a lot. Please keep posting!
@RazviOverflow
@RazviOverflow 8 месяцев назад
Glad it helped!
@Obeeron
@Obeeron Год назад
Extremely clear explanations thank you for this video
@RazviOverflow
@RazviOverflow Год назад
You are welcome :)
@danielcmihai
@danielcmihai 2 года назад
Nice one once again. Looking forwards to more content.
@RazviOverflow
@RazviOverflow 2 года назад
I appreciate your comments. This week I'm uploading (at last) the ret2libc video :)
@F-lx6gp
@F-lx6gp Месяц назад
Very very good explained broo
@RazviOverflow
@RazviOverflow Месяц назад
Thank you :)
@AdiSings2023
@AdiSings2023 11 месяцев назад
Hello! One of the best videos about ROPs. One thing I would like o mention: After: payload = b"A" * 0x28 I also need an address of just 'ret' got with ROPgadget so: payload += return_address. Moreover I need to push it further to "usefulFunction" address. So: payload += usefullFunction_address So now I can add the other 3 addresses that you have in your video. I don't know why it is not working with what you just present there...
@RazviOverflow
@RazviOverflow 11 месяцев назад
Hello, thank you. I'm not sure if I understand correctly. All I show in the video is tested and working.
@AdiSings2023
@AdiSings2023 11 месяцев назад
@@RazviOverflow I am saying that on my end, it doesn't work just with those 3 added addresses to the payload. I need 2 more (1 of a ret address and the address of the "usefulFunction")
@arielelbaz8218
@arielelbaz8218 4 месяца назад
Can u share your code ? Mine also is not working
@nathandaugherty8765
@nathandaugherty8765 10 месяцев назад
Possibly already pointed out - at around 8:30 the picture of the stack being overflowed is backwards. The stack grows from high memory addresses to low. Everything that was drawn into the stack should be flipped upside down. Nonetheless, still a great video and explanation.
@RazviOverflow
@RazviOverflow 10 месяцев назад
Incorrect. As you stated, stack grows from higher (H) addresses toward lower (L) ones. At the right of the drawing there is a huge arrow that goes downwards from H to L to indicate just that. There is no such thing as flipping the stack upside down. It doesn't matter how you draw it as long as you specify where the higher or lower addresses are. If you check the whole series from the beginning or the process I usually follow to draw the stack, you will notice I always do it like so. Thanks for the comment.
@sarthakjoshi3947
@sarthakjoshi3947 2 года назад
Great, keep up the good work.
@RazviOverflow
@RazviOverflow 2 года назад
Thank you! :D
@luxdown7965
@luxdown7965 2 года назад
Excellent, as always :)
@RazviOverflow
@RazviOverflow 2 года назад
Thank you! :)
@nopsled9824
@nopsled9824 Год назад
very nice. well done!
@RazviOverflow
@RazviOverflow Год назад
Thank you!
@Ouroboros2291
@Ouroboros2291 Год назад
Can somebody advice the debugger for NASM?
@Nunya58294
@Nunya58294 Год назад
Check out GDB (GNU Debugger)
@_vox5189
@_vox5189 4 месяца назад
polino mi manchi
@bhagyalakshmi1053
@bhagyalakshmi1053 Год назад
Nice expression
@zeshanahmednabin
@zeshanahmednabin Год назад
Can you make a Cutter setup video. My cutter shows addresses relative to stack. Which is pretty confusing... I was wondering why isn't my exploit working... It shows var void *buf @ stack - 0x28 whereas on yours it shows var void *buf @ rbp - 0x20 @14:53
@RazviOverflow
@RazviOverflow Год назад
They changed that in recent versions of cutter. I'm not sure if you can change it back to the older form (like in my video). Anyways, you just have to realize that what they call "stack" is the base stack address (right where the saved return address ends), and right above it lies the rbp. So rbp-0x20 and stack-0x28 are equivalent given that rbp is 8 bytes long.
@polmarin2911
@polmarin2911 Год назад
Hola Razvi! Volverás a meterle caña al otro canal o ya lo has abandonado del todo? Se te echa de menos!
@RazviOverflow
@RazviOverflow Год назад
Gracias :) Pues la verdad es que no sabría decirte. No descarto volver a hacer vídeos, pero ahora mismo tengo otras prioridades en la vida.
@polmarin2911
@polmarin2911 Год назад
Pues mucha suerte en tus nuevos proyectos y si vuelves a colgar algun video, al menos tendrás mi visualización y mi like. Suerte camarada!
@RazviOverflow
@RazviOverflow Год назад
@@polmarin2911 Muchas gracias. Un abrazo!
@HoneyBravoLui
@HoneyBravoLui 4 месяца назад
Ciao POLIMI
@cgrbro
@cgrbro Год назад
hello,thanks for all but where is the file i didn't find . Can u share please ?
@RazviOverflow
@RazviOverflow Год назад
I think it is pretty easy to find in ROPEmporium page: ropemporium.com/challenge/split.html
@cgrbro
@cgrbro Год назад
@@RazviOverflow well, thank u. i looked tryhackme for binary
@RazviOverflow
@RazviOverflow Год назад
@@cgrbro Around 0:30 I mention we will exploit the split challenge from ROPemporium, which is shown around 0:53
@cgrbro
@cgrbro Год назад
@@RazviOverflow yes i just realized thank u so much
@RazviOverflow
@RazviOverflow Год назад
@@cgrbro You are most welcome, glad to help
@ragnarlothbrok367
@ragnarlothbrok367 5 месяцев назад
i dont understand a shit from all of this, i don't know what is the flow or next instruction when you talk about things, i don't see the context
@RazviOverflow
@RazviOverflow 5 месяцев назад
You are the first one (so far) pointing out the context is missing. Please tell me why and how the video could be improved.
@ragnarlothbrok367
@ragnarlothbrok367 5 месяцев назад
@@RazviOverflow Just look at the illustration at 12:30, it may be not even your fault, just assembly is ... insane, everything goes everywhere all the time and i fail to map this in my brain
@RazviOverflow
@RazviOverflow 5 месяцев назад
@@ragnarlothbrok367 Ok, then the problem is not the video. Have you tried watching easier videos?
Далее
Return Oriented Programming (PicoCTF 2022 #48 'ropfu')
35:09
skibidi toilet multiverse 042 Trailer
01:57
Просмотров 2,3 млн
Living life on the edge 😳 #wrc
00:17
Просмотров 5 млн
Weird Return-Oriented Programming Tutorial - bin 0x2A
15:12
Pwntools ROP Binary Exploitation - DownUnderCTF
55:21
CONCURRENCY IS NOT WHAT YOU THINK
16:59
Просмотров 102 тыс.
ROP is DEAD! Kernel Driver Binary Exploitation
16:04
Просмотров 21 тыс.
before you code, learn how computers work
7:05
Просмотров 392 тыс.