You can learn how computer works, and how vulnerabilities like buffer stack overflow are attacked. This training explains those using tools like debugger(GDB), and you can check what happens in your eyes.
Repository: https://github.com/rung/training-exploit-fundamentals