Skip to content

Exploiting a buffer overflow vulnerability with ROP chains.

Notifications You must be signed in to change notification settings

kavishkagihan/ROP-Buffer-overflow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ROP-Buffer-overflow

Exploiting a buffer overflow vulnerability with ROP chains.

Description

This is a basic ROP based Buffer Overflow attack scenario. You can compile the vuln.c with gcc as below.

gcc -m64 -no-pie -fno-stack-protector -static vuln.c -o bof

Explaination

If you get lost, refer this articel where I talk about what ROP is and the way of exploiting it.

Changing the execution flow:

https://kavigihan.medium.com/rop-attacks-via-buffer-overflow-using-pwntools-part-1-a3a3fa6a483

Getting Command Execution:

https://kavigihan.medium.com/rop-attacks-via-buffer-overflow-using-pwntools-part-2-448804f56d4e

Contact

Email - iamkavigihan@gmail.com

Instagram - https://www.instagram.com/_kavi.gihan/

About

Exploiting a buffer overflow vulnerability with ROP chains.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published