Custom shellcode and return-to-libc on Mac OS X (up to 10.5.5)
After some time without any updates coming up, this article will show some techniques and strategies to improve reliability of exploit code in Mac OS X Tiger and Leopard (up to 10.5.5). Specifically, we will look at a technique to aid loading of stager shellcode and evading non-executable stack restrictions. This was hinted at the “OS X Exploits and Defense” book (Elsevier), chapter 7, which we contributed to this year.