#author("2024-09-30T13:04:02+00:00","default:iseki","iseki")
** BOF [#c9e492b5]
- https://www.atmarkit.co.jp/ait/articles/1409/22/news010.html
- ROP(Return-oriented Programming)
- Use-After-Free
- https://www.ipa.go.jp/security/awareness/vendor/programmingv2/contents/c905.html
- Buffer Over Flow

- ASLR
- カナリア(stack canary) SSP (Stack Smashing Protector)
-- -fstack-protector
-- -fno-stack-protector
-- -fstack-protector-all
- ASLR、DEP、FullRELRO有効、SSP、PIE
- DEP【Data Execution Prevention】
- PIC, PIE


PIC (Position Independent Code) 


ASLR (Address Space Layout Randomization)

 sysctl -w kernel.randomize_va_space=0
 sysctl -w kernel.randomize_va_space=2

KASLR : カーネルの位置をランダム化したもの


- -fno-stack-protector -z execstack


トップ   編集 差分 履歴 添付 複製 名前変更 リロード   新規 ページ一覧 検索 最終更新   ヘルプ   最終更新のRSS