未保存 RSP 就对齐栈会让 ret 跳到零地址,是 shellcode 崩溃的常见根因
shellcodewindowsredteam
RT @RubberDuckCz: Win x64 Shellcode Part 4 is out.
Calling convention, shadow space, stack alignment.
And why 'and rsp, 0xFFFFFFFFFFFFFFF0' without saving RSP first
causes ret to load zero into RIP.
https://t.co/GLjSSgBG7c
#shellcode #windows #x64 #asm #redteam https://t.co/part8tEMMC