ASLR Minix

Post on 23-Feb-2016

489 views 4 download

Tags:

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

Transcript of ASLR Minix

Wade GasiorASLR Minix

1. Stack Randomization

STACK

DATA

TEXT

GAPApproach: Randomize GAP size

BP

Edits to exec.c

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

2. Heap Randomization

STACK

DATA

TEXT

GAP

BP

RANDOM SPACE

Approach: malloc random space(prior to first malloc)

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

3. Test: print-adds.c

Test Results