程序保护机制

NX

栈不可执行 no execute

同DEP,数据执行保护。

Stack Canary

栈中加一个随机数,在函数执行完返回之前,检查这个随机数是否改变来判断是否栈溢出

PIE与ASLR

ASLR随机堆、栈、mmap的地址

PIE随机数据段、代码段的地址

Relro

relocation read-only 重定向只读

开启之后got表不可写


程序保护机制
https://isolator-1.github.io/2023/03/14/ctf-pwn/保护机制/
Author
Isolator
Posted on
March 14, 2023
Licensed under