際際滷

際際滷Share a Scribd company logo
ASLR擧愕惆惘
擧悋惘擧惘惆悛愕悋慍 拆悋惆 忰  愕惘惡惘
擯悋 忰惆
悽惘惆悋惆1390
惡悋愆  愕惆 悋 惡惺 悵擧惘 惡 愀 愕惆悋 悋慍 惡惘惆悋惘 擧拆 擯 惘惆
-ASLR愕惠
-惡惡惺惆悋慍ASLR.
-ASLR擯擧悋惘擧惆
- 愕惘惡惘愕惘愕悋悋ASLR惆惘擧愕.
愀悋惡惘愕惠
-忰拆悋惆愕悋慍ASLR惆惘拆愆惠
- 愕惘惡惘ASLR惆惘Heap
- 愕惘惡惘ASLR惆惘mmap.
-悴惺惡惆
ASLR
-ASLR悋惠惶悋惆愕悋慍惷悋愕惘悛惆 愆惘悋愕惠擧惆惘悛惷悋悋擧惆悋惘惡悋慍忰悋惠惓悋惡惠悋慍
拆愆惠惺愆惆惡忰悋惠惠惶悋惆惠愃惘拆惆悋擧惆.
-惡悋悴惆ASLR悵擯惘悋惆惘惡惠惺愕惘悛惆惡惘擯愆惠悋愕惡(擧惡擧惆惆悽悋悋惘悋愆悋擧惆)悽悋惆
惡惆.
-ASLR惆惘擧愕悋慍愕悽2.6.12(May 2005)惡惠惘惶拆愆惘惷惆惘忰惆惷惺悋惘惘惆悋惆
愆惆悋愕惠.
-PaXexec-shield拆悋惆愕悋慍悋惠惘悋慍悋愆惘惆惘擧愕悋悧惘悋擧惘惆悋惆.
-悋擯惘悋惠擧擧惆惘擧惘擧愕悋慍愕悋2005惡惠惘惶拆愆惘惷悋惘惘擯惘惠PaX惆惘愕悋
2001擧拆悋惆愕悋慍擧悋悋慍悋惠擧擧悋惘悋悧惘悋擧惘惆惡惆.
慍惘惘愕
忰悋惴 惷悋 IP
(EIP)
悛愕惡 惡悋惘
拆悵惘
悋慍盒潮盒朝惡盒潮A皆晦檎
愆擧惆
愆擧惆愕惘悛惆
愆擧惆愕惘悛惆
愆擧惆愕惘悛惆
愆擧惆愕惘悛惆
愆擧惆愕惘悛惆
愆擧惆愕惘悛惆
惡悋惘悋惺愕悋慍
-惡惆悋愕惠悋惆悋慍惠擧擧ASLR愕惘悛惆惺愆惘拆愆惠悋慍惡愆悽惶惡惆悋惘惡悋惡惠悋愕惘悛惆
悋惘擯惘惘愆擧惆悋惘惡惆愕惠惆惘悛.
-惆惘悋忰悋惠惠悋擧悋悋愕惠愕惘悛惆惺愆惘愆擧惆悋惘惡惘惘EIP 愕慍惡悋悋:
悋慍盒潮盒朝惡盒潮A皆晦檎
-惷惺惠惷悋愕惘悛惆擧惡惘悋(cat)惆惘惆惡悋惘悋惘悋悴悽惠惡悋慍惺悋愕悋慍ASLR惡惠惘惶
惘慍惡悋愆惆:
悋慍盒潮盒朝惡盒潮A皆晦檎
悋慍盒潮盒朝惡盒潮A皆晦檎
-惷惺惠愕惘悛惆悋惆惘惆悋惘悋悴悋慍悋惘惘惘慍悋愕惠:
擧悋忰悋惴擧 悋惘悋悴惆 悋惘悋悴
HEAP0x0804e0000x0804e000
Stack0xbffea0000xbffea000
Libc0x00b670000x00b67000
悽惆悋惘悋悴 悋0x080480000x08048000
悋愕惠 擧愕悋 悋悴惘悋惆惘惆惘 悋 愕惘悛惆
愕惘惘慍 悴惆惡悋惡 愆擧惆 悛惆惘愕 惡惆 愆悽惶 惆
惆悋惆悋惠悋悛 惡 悋惘 悋惘悋悴 擧惠惘惠悋 
忰悋惴 惷悋 IP
(EIP)
悛愕惡 惡悋惘
拆悵惘
悋慍盒潮盒朝惡惺惆盒潮A皆晦檎
愆擧惆
愕惠惺愆擧惆悛惆惘愕
愕惠惺愆擧惆悛惆惘愕
愕惠惺愆擧惆悛惆惘愕
愕惠惺愆擧惆悛惆惘愕
愕惠惺愆擧惆悛惆惘愕
愕惠惺愆擧惆悛惆惘愕
惡悋惘悋惺愕悋慍
(????????)
-惡悋悋愕惠悋惆悋慍ASLR愕惘悛惆悋惘惘擯惘拆愆惠悋慍惡悋愆悽惶悽悋惆惡惆.
-惡惆惠惶悋惆惡惆忰悋惘惘擯惘拆愆惠惠悋愕惘悛惆愆擧惆悋惘惡擯悋悋惘慍惡悋惘擯惡惆愕惠惆惘悛.
悋慍盒潮盒朝惡惺惆盒潮A皆晦檎
-惷惺惠惷悋愕惘悛惆擧惡惘悋(cat)惆惘惆惡悋惘悋惘悋悴悽惠惡惺惆悋慍惺悋愕悋慍ASLR惡惠惘惶
惘慍惡悋愆惆:
悋慍盒潮盒朝惡惺惆盒潮A皆晦檎
悋慍盒潮盒朝惡盒潮A皆晦檎
-惷惺惠愕惘悛惆悋惆惘惆悋惘悋悴悋慍悋惘惘惘慍悋愕惠:
擧悋忰悋惴擧 悋惘悋悴惆 悋惘悋悴
HEAP0x08dd00000x08606000
Stack0xbf8280000xbfe16000
Libc0x00b670000x00b67000
悽惆悋惘悋悴 悋0x080480000x08048000
愕惘悛惆HEAPSTACK惆惘悋愕惠惠悋惠 悋悴惘悋惘.
ASLR擧惆 擧悋惘 擯
-ASLR擧悋悋悽惠悋惘惘擯惘擧惡惘悋惆惘忰悋惴悋惘惠惶悋惆悋惆.
-惡悋惘惡悋惘悋惘悋悴惡惘悋愕惘悛惆悋擧悋悋忰悋惴愕惡惠惡悋惘悋悴惡惠悋惠悽悋惆惡惆.
-ASLR惆惘擧愕悋慍愕悽2.6.12惆惘擧惘悋惘惘惆悋惆愆惆.
-惡悋慍2005(2.6.12)ASLR惠愕愀PaX惆惘愕悋2001惺惘愆惆惡惆.
-ASLR惆惘擧愕惺悋惠惠惶悋惆愕悋慍悋惘惘惡惘惡悋惘悋ELF悋悴悋惆惆.悋惘惡悋惡惠悋
悋拆悋惆愕悋慍悋惘惆惘惠悋惡惺擧惠悋惡悽悋悋ELF(愕悋惘惠悋惡惺)悴愕惠悴惆.
ASLR擧惆 擧悋惘 擯
-惡悋擧 愕惘惡惘

擧惆惘悋悋愕惘愕擧愕惠悋愕惠悋擧惠忰惠惠悖惓惘ASLR惠惶悋惆
愕悋慍愆惆悋惆悋惘悋惠:
ASLR擧惆 擧悋惘 擯
ASLR擧惆 擧悋惘 擯
-惡悋 愕惘惡惘惆惠惘悋愕惘愕悋惠悋悋愀悋惺悋惠惡愆惠惘惆惘惆惘忰惠惶悋惆愕悋慍悛愕惘惆悋惆惘
ASLR惡惆愕惠惆惘悛:
-惆惘惠惘惶擧愕愕惠悋惆MMU惡悋愆惆(惴惘惡惘悽愕愕惠悋embedded)惠惺惘
惠惶悋惆愕悋慍惆惘悋include/mm.h惠惘惶拆悵惘惆.
-MMU擧悋忰惆愕悽惠悋惘慍悋悋愕惠擧惆惘悋擧惓惘愕愕惠悋悴惆惆惘惆悋.
-慍悋惡悵擧惘悋愕惠擧惆惘愕愕惠悋 擧愕(悛悽惘愕悽2.6.39)悋惡惠悋愕惠悋惆悋慍MMU
惡惠惘惶拆愆惘惷惺悋惡悋愆惆.
-惡惘惆惘擧悋MMU悋悋忰惆惆惘惠忰悋惴惆惘愕愕惠悋慍悋惘擧惠惘 惆愕惠惘愕CPU惡悋忰惆
忰悋惴悋愕惠擧悋悋惘愆悋惠惡惆愕惘悛惆悴悋慍惡愕惘悛惆慍擧...惡悋愆惆.
ASLR擧惆 擧悋惘 擯
ASLR擧惆 擧悋惘 擯
-惡愕悋惘悋慍惠惴悋惠擧惠惘悋悋愕惠擧惡愕惠惡忰擧悋拆悋擧惘悋悴悋愆惆:
ASLR擧惆 擧悋惘 擯
ASLR擧惆 擧悋惘 擯
-擧悋慍悋惆惘悋惆惘悋personality.h悋惡惠惴悋愕惠.
-悋惆悋惘悋擧悋愃惘惺悋愕悋慍惺悋惠惠惶悋惆惆惘惆惘惠悋惡惺mmap()悋惘悋惘悋惆:
ASLR擧惆 擧悋惘 擯
-悋/include/linux/sysctl.h忰悋悋愀悋惺悋惠惘惡愀惡悋悽悋惘惠悋惡惺sysctl()惡悋愆惆.
-悋惠悋惡惺悋惡惠惠惴擧愕惘悋惠惘惘拆悋悋惷悋擧惘悋惘悋慍惷悋惡惘惘擧悋悋惘悋惆.
-悋慍悴悋悋惡惠悋悋惡惠KERN_RANDOMIZE惡悋愆惆擧惘惡愀惡惠惶悋惆愕悋慍惷悋
忰悋惴悴悋慍愕拆惘悋愕惠.
-悋惘惡愕愕惠悋ISA UniCoreSoCPKUnity惠惶悋惆愕悋慍heap惆惘悋悋
arch/unicore32/kernel/process.carch/unicore32/include/asm/elf.h
悋悴悋愆惆.
ASLR擧惆 擧悋惘 擯
-悋惘惡悋惡惡悋 愕惘惡惘悋悋擧惆惘悛悋悋慍惠悋惡惺惠惶悋惆愕悋慍悋愕惠悋惆愆惆惠悋惡忰惠惶悋惆
愕悋慍惆惘悋惘愕悋悽惠悋悽惠 擧愕拆惡惘惆.
-惴惘惡悋悋惘悋愕惠悋惆悋慍悋惺惠悋惡惺悋愕惠悋惆悋慍悛惆惘惺悋惘悋悽惠(ARM, Mips,
tile...)惡 愕惘惡惘悋悋惆惘惠悴惆惘x86惡愕惆悋.
-惡悽愆悋悽惠惺悋惠惠惶悋惆愕悋慍惆惘ASLR惆惘擧愕x86悋慍悋惘惘惘慍悋愕惠:
-惠惶悋惆愕悋慍惆惘拆愆惠.
-惠惶悋惆愕悋慍惆惘惠悋惡惺mmap().
-惠惶悋惆愕悋慍惆惘heap.
-惡惆惠惡惘惠惘惡悽愆惆擯惘擧悋慍惆惘悋悋愕惠悋惆悋惆慍惠惶悋惆悽悋惆愆惆.
ASLR拆愆惠惆惘
-惠惶悋惆愕悋慍拆愆惠惡擯悋悋惘慍惡悋惘擯悋悋惆惘忰悋惴惠惘惶拆悵惘惆.
-悋惘慍惡悋惘擯惡悋惘悋惠愕愀惠悋惡惺load_elf_binary()惠惘惶拆悵惘惆擧惆惘悋
fs/binfmt_elf.c惠惺惘愆惆.
ASLR拆愆惠惆惘
-惆惘悋惠悋惡惺拆愕悋慍惠惴惆擧愕惘擯悋悋慍惠悋惡惺惆擯惘悴惠惠惶悋惆愕悋慍拆愆惠悋愕惠悋惆
愆惆悋愕惠:
Current:悋愆悋惘 擧 悋愕惠 悋擧惘 擧
惡惘 悴悋惘 拆惘愕 悋擧惘惘悋愕惠 惡 擯惘
擯惘惆悋惆.
悴悋惘 拆惘愕 愆悽惶悋惠 惆惘 擧 惶惘惠 惆惘(include/linux/personality.h)惆悋惘ADDR_NO_RANDOMIZE
惠愃惘  惡悋愆惆 愆惆 惠惴randomize_va_space愕悋慍惠惶悋惆 擯 悛擯悋惡悋愆惆 惶惘 慍(PF_RANDOMIZE)慍
愆惆悽悋惆 愕惠 拆惘愕 悋 惘惆 惆惘悋 擯 愕悋惘惡惘 惺悋.
 惡悋愆惆 惆悋愆惠惓悋惡惠 悋 悛惆惘愕 惡 悋慍 拆惘愕 悋擯惘惠惘 愕悋惆惺惡悋惘惠 惡ASLR 愕悋慍惠惶悋惆 拆惘愕 悛惆惘愕惷悋 惡悋愆惆 惺悋
愆惆.
ASLR拆愆惠惆惘
-愕拆愕惡悋悋悽悋惘惠悋惡惺setup_arg_pages()拆悋愕惆悋惆愕惘悛惆ToS惡悛擯悋慍悴悋
惡慍惘愕悋惘愆惆拆愆惠惡惆悽悋悋惘慍悴悋擯悴惆惆愆惆惆悋惘惷悋悋惷悋惡悛惆悋慍
愆惆.
-惆惘惘忰悋慍惠悋惡惺randomize_stack_top()悋愕惠悋惆愆惆惠悋忰悋惘惘擯惘拆愆惠惡
惠惘惶惠惶悋惆悋惠悽悋惡愆惆.
ASLR拆愆惠惆惘
-惺悋惠惠惶悋惆愕悋慍惆惘惠悋惡惺randomize_stack_top()(擧惆惘悋惘惠惺愆惆悋愕惠)
悋悴悋愆惆.
-惆悋惘惡惘擯愆惠惠愕愀悋惠悋惡惺惠惘惺惡悋悋愕惠悋慍擧愕惘悛惆擧悋愕惘悛惆愕惘悛惆悋惘惘擯惘拆愆惠惆悋惆悽悋惆
愆惆.
-惆惘悋惠悋惡惺忰悋惘惘擯惘拆愆惠惡惠惘惶惠惶悋惆惡慍悋惆悋random_variable悴悋惡悴悋愆惆.
悋 悛惆惘愕 惡悋悴惠  拆愆惠 悋擯惘惆悋惘 擧惆 惘愆惆忰悋惴random_variable 悛惆惘愕 惡
惠愕愀 擧PAGE_ALIGN愆惆 悋惷悋 愆惆 惡惘擯惘惆悋惆.悋 惶惘惠 悋 愃惘 惆惘 
悛惆惘愕 悋慍惆悋惘PAGE_ALIGN愆惆 擧(悋 惺悋惘 惡惘悽 惴惘RISC.)
PAGE_ALIGN惡 悋惘擯惘悋愆悋惘 
悋惡惠惆悋PAGE悋 惠惴惡惺惆惆
ASLR拆愆惠惆惘
-忰惠悽惶惶惆悋惘惡惠愃惘random_variable惆惘悋惠悋惡惺惡悋悋愕惠悋惆悋慍惠悋惡惺擧擧
get_random_int()愕拆愕愆惠惆悋惆悋愕惘悛惆惡悋慍PAGE_SHIFT悋悴悋愆惆.
-PAGE_SHIFT惆惘惆惘x86悋惡惘惘惡12悋愕惠愆悋惆悋惡惘慍 悋惆惘擧 悋愕惠愆惆 惠惺惘:
(arch/x86/include/asm/page_types.h.)
悋慍 悛惆 惡惆愕惠惆悋惘get_random_int()惆悋惘 惡悋STACK_RND_MASK悴惺
悋惆悋惘 惠悴  愆惆愀random_variable惆惆 惠愆擧 悋惘(愆惠悋慍 惡.)
STACK_RND_MASK愆惆 惆惆悋惘 惠悋惡惺 惠惺惘 悋慍 惡 慍(惓悋惡惠 惆悋惘)愆悽惶 
惡悋愆惆  愕悋慍惠惶悋惆 惆惘 悋惘慍愆惆 悋 惡惠 擧惆.
PAGE_SHIFT愕惠
-愕惘悛惆悋忰悋惴悋擧惆惘愕愀忰擧惘惆惘悋愕惠悋惆悋惘惘擯惘惆惴惘惡悋愕惠悋惆悋慍擯
PAGING惡惘惷悋悋慍忰悴PAGE悋惡悋愆惆.
-忰悴PAGE悋惆惘asm/page.h悋惡惠惴悋愕惠(惠愃惘PAGE_SIZE).
-愕惘悛惆悋惆惘悋愕惠悋惆惆惘擧惘愆悋惆愕惠拆惘愆慍悋惘擧愆慍悋惘惡悋愆惆.
-愕惠拆惘愆慍悋惘惡愕惘悛惆PAGE愕惠擧愆慍悋惘惡悛愕惠惆惘PAGE惠悽惶惶悋惡惆.
-惡悋愆惠惆悋惆悋愕惘悛惆悋惡惘慍惘悛愕惠PAGE惆悋惘擧惡悋悽悋惆悋惆惘悋愆悋擯惘惡
PAGE惡悋愆惆.
-PAGE_SHIFT悋慍悋愆惠悋惘惆惘愕愕惠愆悽惶擧惆.
PAGE_SHIFT愕惠
B C D E F G H I J K L M N O P QA
PAGE_SIZE = 4096 = 212惡悋12惡惠惠悋惆惘PAGE悋惘愕惘悛惆惆惆.
 愕惘悛惆擧惡悽惆PAGE惘悋愆悋擧惆 愕惘悛惆忰惠悋惠惆惘PAGE
0 0 0 0 0 0 0 0 0 0 0 A B C D E0
惡悋12悛惆惘愕 悋愕惠惘愕惠 惡愆惠惡惠PAGE悛惘惆悽悋 惡惆愕惠悋惘
PAGE_SHIFT悋惡惘惘惡12惡悋愆惆 .
ASLR拆愆惠惆惘
-惠悋惡惺惆惘愕悋慍惠惶悋惆忰get_random_int()悋 惆惘擧drivers/char/random.c
悋愕惠惘慍悋惘惘 悋慍愆惆 惠惺惘:
悋惘悛惠惺惘 悋慍拆愕HASH悛悛惆惘愕 惠惴 (悋惘悛悛惆惘愕
CPU)惠悋惡惺 悋慍 悋愕惠悋惆 惡悋 get_keyptr()惠愃惘 keyptr
悋慍 悋愕惠悋惆 惡悋愕拆愕 愆惆 悋 惆惆悋惘悛惘悛惆惘愕HASH
悋惘惡PID悴悋惘拆惘愕拆惘惆悋慍惆悋愕擧 惠惺惆悋惆
愕愕惠 惡惆惺悋慍悋惆惠悽悋惆惘 惠惶悋惆惆悋惘 擧悋
悋惘悛HASH惠悋惡惺 悋慍 悋愕惠悋惆 惡悋愕拆愕 愆惆 惆悋惆悋惘惘
half_md4_transform()惠惘 惠惶悋惆惡悋慍惆悋惘 悋
愆惆  惡悋慍擯惘惆悋惆 愆惆
ASLR拆愆惠惆惘
-惠悋惡惺half_md4_transform()悋 惆惘擧lib/halfmd4.c拆悋惆 擧 悋愕惠 愆惆 惘惠惺
惠惘悋擯悋慍悽惠惶惘愕悋慍MD4惘惆愕 惆惘擧惡悋愆惆8悋惺擯惘 悋慍悋愕惠悋惆 惡悋  惠悋XOR
AND悋惆悋惺悋悽惆惆惘 惘惡惘悋惘惠惘悋擯 悋.
ASLR拆愆惠惆惘
-惠惡惘惠 惡惆ASLR悋慍悋愕惠悋惆 惡悋 拆愆惠 惆惘4惠悋惡惺 悋慍悋愕惠悋惆 惡悋悋惶 惆悋惘MD4(愕悋慍 拆悋惆 擧
惠悋惡惺 悋 悋慍悽惠惶惘)愆惆 悋悴悋.
-悋慍惠惆惘惺惡悋悋惶悋惆惘 悋:
-愆惆 悋惘悋悴愕拆惘惘愆悋.
-惆慍拆惘惆悋悋愕擧 惠惺惆悋惆.
-愕愕惠 惡惆愆惘悋慍 惆惠.
-悋惡惠惆悋愕悋慍 拆悋惆 悋ASLR愕悽 悋慍 擧愕擧惘 惆惘2.6.12愆惆 惆悋惆悋惘惘.
-擯惘惠惴惘惘惆惡悋 悋惘惡悋惡STACK_RND_MASK惆惘悋悋慍愆惆 惠惆惠惶悋惆惆悋惘悴悽惘惡悋擧
愆惆 悋愕擧(惘.擧.Binfmt_elf.c)拆愆惠愕悋慍惠惶悋惆擧擯惘惠惠悴 惠悋 惆惘
ASLR惘惡惘擧愕惘惷 拆愆11 愆惆 悋悴悋惡惠2047擯惘悋惘惘 悴惠悽惠惠惶悋惆愕惘悛惆
愆惆  惠惆拆愆惠.
ASLR惆惘heap
-悋拆悋惆愕悋慍慍擯悋悋惘慍惡悋惘擯悋悋惡悋惘悋悴悋愆惆擧惆惘悋fs/binfmt_elf.c
惠悋悴慍悧悋惠悛悋惘愆悋惆惆.
 惡惘惘愕 拆惘愕 悋擯擧惘惆擧 悋慍拆愕
PF_RANDOMIZE擯慍擧惶惘惠 惆惘
randomize_va_space惡悋愆惆 愆惆 惠惴慍
愆惘惺悛惆惘愕heap惠悋惡惺悋慍 悋愕惠悋惆 惡悋 
arch_randomize_brk()愆惆悽悋惆 惆悋惆惠悽惶惶.
ASLR惆惘heap
-惠惶悋惆愕悋慍heap惆惘惠悋惡惺arch_randomize_brk()擧惆惘悋
arch/x86/kernel/process.c惠惺惘愆惆悋悴悋拆悵惘惆:
惠悋惡惺悋慍 惠悋惡惺悋 惆惘randomize_range愆惘惺悛惆惘愕愕悋慍 惠惶悋惆惴惘 惡heap愆惆 悋愕惠悋惆.
ASLR惆惘heap
-惠悋惡惺randomize_range()惆惘悋drivers/char/random.c惘惠惺愆惆擧
愕惘悛惆惠惶悋惆愕悋慍愆惆悋惘惡惘擯惘惆悋惆.
悋慍 拆愆惠悋悛惆惘愕愕悋慍 惠惶悋惆 悋惆慍 惠悋惡惺悋 惆惘PAGE_ALIGNget_random_int()惠悴 惆惘擧 愆惆 悋愕惠悋惆
擯惘惆惆 惡惘 惠惶悋惆悛惆惘愕擧.
ASLR惆惘mmap()
-惠惴悋惠惠惶悋惆愕悋慍mmap惆惘ASLR惡愕惠惡惆慍拆惘惆悋惆惘悋愕惠悋惆惆惘惘愆悋悽慍
惘惡愀惆惘愆悋悽arch悋惘惘悽悋惆擯惘惠.
惠悋惡惺arch_pick_mmap_layout()拆惘愕 惘悋惘惡悴悋慍 忰悋惴悋悴悋惆忰惷惡
惆惆 悋悴悋悋惘惘惡愀 惠惴悋惠  愆惆 慍惆惶惆悋
拆惘愕 悋悋惠惘惘拆悋  悋擯 惡惘悽惡 惡愕惠
惠悋惡惺悋 愆惆 悋悽悋惆惘
mmap_legacy_base()悋
mmap_base()悋惆 悋悽悋惘悋惘.
ASLR惆惘mmap()
惡 愆惆惠惺惘拆惘愕悋 悋惘惡悋惡惺悋慍 悋愕惠悋惆 惆惘忰惆惆惠 擧惶惘惠 惆惘  拆惘愕惘惆 惆惘愕悋慍擯悋惘 擯 惡惘惘愕 惡悋 惠悋惡惺悋愆惆悋惘悴悋惘 拆惘愕
愕悋慍擯悋惘拆愆惘惺悋惠 惡悋慍 擧擯惘惆 惴惘 惆惘 悴惆惆悋 拆惘愕 悴慍(愕悋慍 惠惶悋惆悴惠)惆悋愆惠悽悋惆.
ASLR惆惘mmap()
擧惶惘惠 惆惘惠悋惡惺悋悋慍惘擧 悋悽悋惘惶惘惠 惆惘惡悋
惠悋惡惺悋慍 惡悋愆惆悋悛惆惘愕愕悋慍 惠惶悋惆惡mmap_rnd()
愆惆 悽悋惆 悋愕惠悋惆惴惘 悋悋惘惡.
ASLR惆惘mmap()
愕悋慍 惠惶悋惆mmap惠悋惡惺 惆惘 mmap_rnd()愕悋慍 惠惶悋惆惆惘 悋愕惠悋惆惘惆 惠擧擧悋 惡悋 Stack(惠擧擧get_random_int())愆惆悋悴悋.
悋愕愕惠悋惘惡32惡惠8悋愕愕惠悋惘惡 愆惆 惠惶悋惆惡惠64惡惠28惡惠.
惡惆悴惺ASLR
-ASLR惆惘擧愕拆悋惆愕悋慍悋悽惠惆惘惆悋擧惆惘擧拆悋惆愕悋慍悋惷悋愕惘悛惆惡惘悋悋惡
惠惘惶惠惶悋惆悋惠悽悋惡愆惆.
-惆惘惠惘惶擧愕悧愕愕惠惶惆悋愕惠悋惆悋慍拆悋惆愕悋慍悋擧悋惠惘ASLR悋惘惆悋愆惠惡悋愆惆
惡悋愕惠惶悋悋惠悋悧惘悋愆惆惠愕愀愆惘擧惠悋惴惘PaX悋惘惶惡悋惆(擧惆惘悋擧惓惘悋惺悋
愕惠).
-惆惘ASLR拆愆惘惷擧愕愕惘悛惆悋惘慍惡悋惘擯拆愆惠heapmmap惠惶悋惆愕悋慍愆惆.
-惠惶悋惆愕悋慍惡惘惡悋愕惘悛惆悋悋慍愆惘惡惆愕愕惠惠惺惆悋惆愕擧悋惆慍拆惘惆悋PID愕拆惘
悴悋惘悋悴悋愆惆.
-悋惘惡悋擧悋愀悋惺悋惠惡悋慍惡愆惠惘愃惘悋惡拆愆惡惡悋愆惆悋慍擧惠惘悋擯悽惠惶惘MD4慍
悋愕惠悋惆愆惆.

More Related Content

Featured (20)

2024 Trend Updates: What Really Works In SEO & Content Marketing
2024 Trend Updates: What Really Works In SEO & Content Marketing2024 Trend Updates: What Really Works In SEO & Content Marketing
2024 Trend Updates: What Really Works In SEO & Content Marketing
Search Engine Journal
Storytelling For The Web: Integrate Storytelling in your Design Process
Storytelling For The Web: Integrate Storytelling in your Design ProcessStorytelling For The Web: Integrate Storytelling in your Design Process
Storytelling For The Web: Integrate Storytelling in your Design Process
Chiara Aliotta
Artificial Intelligence, Data and Competition SCHREPEL June 2024 OECD dis...
Artificial Intelligence, Data and Competition  SCHREPEL  June 2024 OECD dis...Artificial Intelligence, Data and Competition  SCHREPEL  June 2024 OECD dis...
Artificial Intelligence, Data and Competition SCHREPEL June 2024 OECD dis...
OECD Directorate for Financial and Enterprise Affairs
How to Leverage AI to Boost Employee Wellness - Lydia Di Francesco - SocialHR...
How to Leverage AI to Boost Employee Wellness - Lydia Di Francesco - SocialHR...How to Leverage AI to Boost Employee Wellness - Lydia Di Francesco - SocialHR...
How to Leverage AI to Boost Employee Wellness - Lydia Di Francesco - SocialHR...
SocialHRCamp
2024 State of Marketing Report by Hubspot
2024 State of Marketing Report  by Hubspot2024 State of Marketing Report  by Hubspot
2024 State of Marketing Report by Hubspot
Marius Sescu
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
Expeed Software
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
Pixeldarts
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
marketingartwork
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
Skeleton Technologies
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
Neil Kimberley
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
contently
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
Albert Qian
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
Search Engine Journal
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
SpeakerHub
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
Clark Boyd
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
Tessa Mero
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Lily Ray
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
Rajiv Jayarajah, MAppComm, ACC
2024 Trend Updates: What Really Works In SEO & Content Marketing
2024 Trend Updates: What Really Works In SEO & Content Marketing2024 Trend Updates: What Really Works In SEO & Content Marketing
2024 Trend Updates: What Really Works In SEO & Content Marketing
Search Engine Journal
Storytelling For The Web: Integrate Storytelling in your Design Process
Storytelling For The Web: Integrate Storytelling in your Design ProcessStorytelling For The Web: Integrate Storytelling in your Design Process
Storytelling For The Web: Integrate Storytelling in your Design Process
Chiara Aliotta
How to Leverage AI to Boost Employee Wellness - Lydia Di Francesco - SocialHR...
How to Leverage AI to Boost Employee Wellness - Lydia Di Francesco - SocialHR...How to Leverage AI to Boost Employee Wellness - Lydia Di Francesco - SocialHR...
How to Leverage AI to Boost Employee Wellness - Lydia Di Francesco - SocialHR...
SocialHRCamp
2024 State of Marketing Report by Hubspot
2024 State of Marketing Report  by Hubspot2024 State of Marketing Report  by Hubspot
2024 State of Marketing Report by Hubspot
Marius Sescu
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
Expeed Software
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
Pixeldarts
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
marketingartwork
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
Neil Kimberley
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
contently
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
Albert Qian
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
Search Engine Journal
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
SpeakerHub
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
Clark Boyd
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
Tessa Mero
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Lily Ray

ASLR