First of all I would like to thank phrack articles, its author and other security researchers for teaching me about different exploit techniques, without whom none of the posts would have been possible!! I firmly believe that always original reference articles are the best place to learn stuffs. But at times we may struggle to understand it because it may be not be linear and it may be outdated too. So to the best of my efforts, here I have just simplified and conglomerated different exploit techniques under one roof, inorder to provide a complete understanding about linux exploit development to beginners!! Any questions, corrections and feedbacks are most welcomed!! Now buckle up, lets get started!! I have divided this tutorial series in to three levels:
Level 1: Basic Vulnerabilities
In this level I will introduce basic vulnerability classes and also lets travel back in time, to learn how linux exploit development was carried back then. To achieve this time travel, with current linux operating system, I have disabled many security protection mechanisms (like ASLR, Stack Canary, NXand PIE). So in a sense this level is kids stuff, no real fun happens!!
Level 2: Bypassing Exploit Mitigation Techniques
- Bypassing NX bit using return-to-libc
- Bypassing NX bit using chained return-to-libc
- Bypasing ASLR
Level 3: Heap Vulnerabilities
In this level lets time travel back and forth, to learn about heap memory corruption bugs.
- Heap overflow using unlink
- Heap overflow using Malloc Maleficarum
- Off-By-One (Heap Based)
- Use After Free
NOTE: The above list is NOT a complete list. Few more topics needs to be covered up. I am working on it, so expect it to be posted soon!!