Skip to main content
NewsPublished

Using a Single Variable to Gain a Controlled Write

Source Reddit ExploitDev

0

Discussion

This content describes a tutorial on binary exploitation focusing on using a single variable to achieve a controlled write in a vulnerable binary. The tutorial covers reviewing C source code, exploiting binaries compiled without PIE/ASLR, debugging, and using Python scripts with GDB for exploitation. It is educational and aimed at those learning exploit development.

r/ExploitDev (opens in a new tab)u/AdvisorPowerful97690 points0 comments

This week we'll be looking at another beginner friendly exploit development tutorial! More specifically we'll be looking at the "passcode" binary exploitation challenge hosted on pwnable[.]kr!

This challenge covers multiple skills so I believe regardless of where you are on you journey to learn exploit development you will pick up a few things!

By the end of this tutorial you should have gained exposure to:

- C source code review
- Leveraging a controlled write to gain code execution through the use of one variable
- Abusing binaries compiled without PIE (Also known as ASLR)
- Debugging
- Using python exploit code alongside GDB

and more! Since this is binary exploitation do not feel discouraged if everything does not click! The goal is to learn at least one thing from every tutorial!

You can find the full video below:

https://youtu.be/cpol2KPSPaw?si=NSnjgDGBcNF-x8E8

References

Community reviews

Loading reviews…