ARM buffer overflow: chapter 6 ಠ-ಠ (day 76) (bypassing stack canaries by utlizing format string exploit)
Last time in arm buffer overflow chapter we look at how an attacker can bypass NX and ASLR protection by simply brute force the location of the stack memory because of the low entropy of address randomization. Although brute-forcing the address is easy but is not an elegant way to defeat further protection such as canary. Actually, there is a second way to defeat not just NX and ASLR but also canary protection by utilizing a technique called "information leaking" using the format string attack For the sake of POC, we will be using source code from billy ellis exploit challenge (link: https://github.com/Billy-Ellis/Exploit-Challenges/blob/master/ROPLevel5.zip ) // // roplevel5.c // // // Created by Billy Ellis on 09/08/2017. // // #include <stdio.h> #include <string.h> #include <stdlib.h> #include <unistd.h> char feedbackString[32]; char feedbackString2[32]; void give_feedback(){ printf("\033[1mLeave...