SLIDE 1
ASLR / NX / Bounds Checking
1
ASLR / NX / Bounds Checking 1 last time stack canaries - - PowerPoint PPT Presentation
ASLR / NX / Bounds Checking 1 last time stack canaries less-compatible alternative: shadow stacks page-level protection RELRO protect global ofgset table guard pages around memory allocations/etc. start ASLR choose random addresses
1
except overfmows can leak them 2
3
6
6
7
8
9
10
11
11
12
13
14
15
16
17
18
19
20
20
20
21
22
23
used to compile runtime-loaded libraries 24
25
25
26
26
26
27
28
28
28
Payer, “Too much PIE is bad for performance”, ETH Zurich Tech Report
29
30
31
0x7FFF FF00 0000 — 0x7FFF FF00 0FFF
0x7FFF FF00 1000 — 0x7FFF FF00 1FFF
32
33
34
35
36
37
38
39
40
40
41
42
43
44
45
45
46
47
47
47
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61