Buffer overflow (simple rop technique)

@avetamine said:
@DaChef Yeah, i have a few, here:

As with everything, introduction is required.

Intro articles:

(Anatomy of a program)
Anatomy of a Program in Memory | Many But Finite

(How Stack works 1:)
Journey to the Stack, Part I | Many But Finite

(Again another article explaining stack in great detail)
http://cryptroix.com/2016/10/16/journey-to-the-stack/

This is one of my first videos to understand the concept of buffer overflows :

Papers :

(Basic stack buffer overflow)
https://www.exploit-db.com/docs/english/28475-linux-stack-based-buffer-overflows.pdf

(Ret2libc)
https://www.exploit-db.com/docs/english/17131-linux-exploit-development-part-3---ret2libc.pdf

(ASLR bypass Ascii armor bypass + ret2plt)
https://www.exploit-db.com/docs/english/17286-linux-exploit-development-part-4---ascii-armor-bypass-return-to-plt.pdf

(Ret2reg - ASLR bypass)
https://dl.packetstormsecurity.net/papers/attack/lewt2-aslrbypass.pdf

I believe that should get you going for a while :slight_smile:

Thanks a lot! Ive seen the video too, was really mind opening!!