Frogger Beyond Exploit Pt. 2, or Playing With Bare-Metal x86
In this episode: a closer look at x86 memory segmentation and paging
A Foreword
Since publishing the original post I found a few things that weren’t entirely correct, or deserved a better explanation. I compiled and posted them as this post, and cross-referenced them in the original post marked with the word “Update” in bold. No parts of the exploit have been changed since the original release.
Double Fault while trying to execute from the stack
My original attempt to run the bootstrap shellcode from the stack failed to work. Instead, it was generating a Double Fault exception. As we remember, there’s no NX bit feature in the CPU, so what’s blocking our attempts? The answer is actually simple - memory segmentation.
Read More