The Stack Series: The X64 Stack

Overview of x64 stack static RSP On x64 CPU, RSP register serves as both frame pointer and stack pointer, all the stack references are performed based on RSP as a result both local variables and parameters are referenced using RSP. The POP/PUSH instructions alter the RSP, because of this very fact, x64 permits changes to…

The Stack Series: Return Address Spoofing on x64

introduction The stack of a process has the potential to give away the true nature of the running program in the memory. Hence it is one of the monitored entities by the security solutions. When a program executes any interesting functions like InternetConnectA, security systems may initiate a stack check to find out if there…