Previously in the arm exploitation series, we take a look at how we can perform buffer overflow and format string attack in ARM binary, both of them prove to be powerful enough to take control of program execution if it correctly utilizes, furthermore it can also bypass anti-exploit mechanism. But both of the attack methods are conducted in stack region of memory and today lets try to explore the other attack mechanism in ARM binary which is heap exploit. I already introduced how to get a start in the heap exploitation binary, in this post and this post so I will not cover it again. This post is meant to give an idea of how heap exploitation happens in arm binary and how we can leverage this exploit to be able to take control of the program workflow and drop a shell. For the POC, I will take the source code from protostar heap0 challenge, compiled it in raspberry pi qemu and try to exploit it source: https://exploit.education/protostar/heap-zero/ just like in t...
Talk about Binary Analysis and Android Mobile security | I Create THINGS that Break THINGS :D