video thumbnail 10:37
Doing ret2libc with a Buffer Overflow because of restricted return pointer - bin 0x0F

2016-02-10

[public] 74.0K views, 1.49K likes, 12.0 dislikes audio only

channel thumbLiveOverflow

Solving stack6 from exploit-exercises.com with the re2libc technique.

stack6: https://exploit.education/protostar/stack-six/

-=[ 🔴 Stuff I use ]=-

→ Microphone:* https://geni.us/ntg3b

→ Graphics tablet:* https://geni.us/wacom-intuos

→ Camera#1 for streaming:* https://geni.us/sony-camera

→ Lens for streaming:* https://geni.us/sony-lense

→ Connect Camera#1 to PC:* https://geni.us/cam-link

→ Keyboard:* https://geni.us/mech-keyboard

→ Old Microphone:* https://geni.us/mic-at2020usb

US Store Front:* https://www.amazon.com/shop/liveoverflow

-=[ ❤️ Support ]=-

→ per Video: https://www.patreon.com/join/liveoverflow

→ per Month: https://www.youtube.com/channel/UClcE-kVhqyiHCcjYwcpfj9w/join

-=[ 🐕 Social ]=-

→ Twitter: https://twitter.com/LiveOverflow/

→ Website: https://liveoverflow.com/

→ Subreddit: https://www.reddit.com/r/LiveOverflow/

→ Facebook: https://www.facebook.com/LiveOverflow/

-=[ 📄 P.S. ]=-

All links with "*" are affiliate links.

LiveOverflow / Security Flag GmbH is part of the Amazon Affiliate Partner Programm.

#StackOverflow #BinaryExploitation


allocates a string buffer for 64 characters
/youtube/video/m17mV24TgwY?t=77.978996
adjust the padding
/youtube/video/m17mV24TgwY?t=126.34
read the next address on the stack
/youtube/video/m17mV24TgwY?t=219.549
pop this address from the stack
/youtube/video/m17mV24TgwY?t=278.01001
put the return address for system on the stack
/youtube/video/m17mV24TgwY?t=506.44
return into a segfault
/youtube/video/m17mV24TgwY?t=531.84998