728x90
checksec -f {ํ์ผ}
- RELRO(RELocation Read-Only): Read-Only ๊ถํ ์ค์ ์ผ๋ก Write ๊ฐ๋ฅํ์ง ์ฌ๋ถ
- Stack Canary: Return Address Overwrite ์ฌ๋ถ ํ์ธ
- Stack Canary๋ ์นด๋๋ฆฌ๋ฅผ ํตํด ์คํ ์ค๋ฒํ๋ก์ฐ๋ฅผ ๊ฐ์งํ๋ค.
- NX(No-eXecute): NX๋ฅผ ์ฐํํ ์ ์๋ ๊ฐ์ฅ ๋ํ์ ์ธ ๋ฐฉ๋ฒ์ ROP(Return Oriented Programming)
- NX(No-eXecute)๋ ์์ฝ๋ ์คํ์ ๋ฐฉ์งํ๋ค.
- ASLR(Address Space Layout Randomization): ์คํ๋ ๋๋ง๋ค ๋ฐ์ดํฐ ์์ญ(์คํ, ํ, ๋ผ์ด๋ธ๋ฌ๋ฆฌ ๋ฑ)์ ์ฃผ์๋ฅผ ๋๋ค์ผ๋ก ๋ณ๊ฒฝ
Windows์ฉ checksec
https://github.com/Wenzel/checksec.py/releases
Releases · Wenzel/checksec.py
Checksec tool in Python, Rich output. Based on LIEF - Wenzel/checksec.py
github.com
์ถ์ฒ:
https://hackyboiz.github.io/2021/10/27/y00n_nms/linux-mitigation/
hackyboiz
hack & life
hackyboiz.github.io
728x90
'๐์ ๋ณด๋ณด์ > ๋ฆฌ๋ฒ์ฑ' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
๋ฆฌ๋ฒ์ฑ - go ์ธ์ด .exe ํ์ผ main ํจ์ ๋ฐ print ํจ์ ์ฐพ๊ธฐ (0) | 2024.03.07 |
---|---|
๋ฆฌ๋ฒ์ฑ - Bush hid the facts, ์๋์ฐ XP ๋ฉ๋ชจ์ฅ ๋ฒ๊ทธ (0) | 2023.07.12 |
๋ฆฌ๋ฒ์ฑ - ์จ๋ผ์ธ ์์ค ์ฝ๋์์ ์ด์ ๋ธ๋ฆฌ ์ฝ๋๋ก ๋ณํ(godbolt.org) (0) | 2023.04.17 |
๋ฆฌ๋ฒ์ฑ - ์๋์ฐ ์์ฝ๋ ์คํ C์ธ์ด ์์ค (0) | 2023.03.23 |
๋ฆฌ๋ฒ์ฑ - ๋ฆฌ๋ฒ์ค ์ฝ์ด(ReverseCore) (0) | 2022.09.16 |