7
Wade Gasior ASLR Minix

ASLR Minix

  • Upload
    fadhila

  • View
    501

  • Download
    4

Embed Size (px)

DESCRIPTION

ASLR Minix. Wade Gasior. 1. Stack Randomization. STACK. BP. Approach: Randomize GAP size. GAP. DATA. TEXT. / usr / src /servers/pm/ exec.c. Edits to exec.c. 2. Heap Randomization. STACK. BP. Approach: malloc random space (prior to first malloc ). GAP. RANDOM SPACE. DATA. - PowerPoint PPT Presentation

Citation preview

Page 1: ASLR  Minix

Wade GasiorASLR Minix

Page 2: ASLR  Minix

1. Stack Randomization

STACK

DATA

TEXT

GAPApproach: Randomize GAP size

BP

Page 3: ASLR  Minix

Edits to exec.c

/usr/src/servers/pm/exec.c

Page 4: ASLR  Minix

2. Heap Randomization

STACK

DATA

TEXT

GAP

BP

RANDOM SPACE

Approach: malloc random space(prior to first malloc)

Page 5: ASLR  Minix

/usr/src/lib/ansi/malloc.c

Page 6: ASLR  Minix

3. Test: print-adds.c

Page 7: ASLR  Minix

Test Results