Binary Exploitation | Buffer overflow stack alignment | HSCTF PWN Challenge

Published: 20 June 2021
on channel: Tanishq Sharma
1,464
51

Buffer overflow works fine locally but not remotely solved.
Stack alignment issue caused by LIBC present in Ubuntu.
Stack alignment Ubuntu LIBC buffer overflow stack alignment.

CTF Team: TWC
Connect with us on Discord:   / discord  

Twitter: @Tanishq1905

What's buffer overflow: https://0xrick.github.io/binary-explo...
The problem:   / buffer_overflow_works_fine_locally_but_not  

CTF Write-ups: https://github.com/thewhitecircle/ctf...
HSCTF: https://ctf.hsctf.com/

Details:
The movaps instruction moves four single-precision floating-point values between two XMM registers, or between XMM registers and memory. When moving to or from memory, a general protection fault will occur unless the address is aligned to a 16-byte boundary. Simply put many functions such as system and vfprintf, calls the movaps instruction in assembly. This instruction requires the stack to be aligned to a 16-byte boundary, which means when you overflow your stack and stuff, you have to realign it before continuing your return chain.
This problem is unique to the Ubuntu LIBC .
-----------------------------
buffer overflow stack alignment , stack align , binary exploitation , pwn ctf ,
Ubuntu LIBC binary exploitation
#ctf #pwn #hacking


On this page of the site you can watch the video online Binary Exploitation | Buffer overflow stack alignment | HSCTF PWN Challenge with a duration of hours minute second in good quality, which was uploaded by the user Tanishq Sharma 20 June 2021, share the link with friends and acquaintances, this video has already been watched 1,464 times on youtube and it was liked by 51 viewers. Enjoy your viewing!