Now that we have a very rudimentary understanding of IA-32 registers and instructions, we can move on to the next very interesting topic when it comes to assembly. That is, how do we make system calls on Linux in our assembly programs? If you're into shellcode, know what a reverse shell is, and have used commercial or open-source tools to generate shellcode of this nature, then this recipe will help you to develop your own. We won't necessarily develop a reverse shell in this recipe; instead, we will go over the necessary knowledge for you to accomplish that kind of task. Believe me, I would enjoy writing a book on various techniques to weaponize assembly for the benefit of those who, like me, gravitate toward the offensive side of information security. Nonetheless, what you will learn in this recipe will definitely serve you well and...




















































