-
[Pwnable] ASLR & PIENotepad/Pwnable 2021. 7. 5. 10:48
[Pwnable] ASLR & PIE
ASLR
프로그램이 실행될 때마다 스택 , 힙, 라이브러리 주소를 랜덤
OS차원의 보호기법
PIE
스택, 힙, 라이브러리, 코드 영역까지 랜덤
Compile 할 때의 옵션
ASLR이 disable이면 randomize 불가
둘 다 offset을 이용해 주소를 찾을 수 있다.
'Notepad > Pwnable' 카테고리의 다른 글
[Pwnable] Generate shellcode with gdb-peda (0) 2021.08.18 [Pwnable] RET Sled (0) 2021.07.15 [Pwnable] RTL (Return-To-Libc) (0) 2021.07.14 [Pwnable] pwntools 설치 ( pip 설치가 안될 때 ) (2) 2021.07.01 [Pwnable] Nop Sled (0) 2021.05.22