aslr minix
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 PresentationTRANSCRIPT
![Page 1: ASLR Minix](https://reader033.vdocuments.net/reader033/viewer/2022061320/56816327550346895dd3a122/html5/thumbnails/1.jpg)
Wade GasiorASLR Minix
![Page 2: ASLR Minix](https://reader033.vdocuments.net/reader033/viewer/2022061320/56816327550346895dd3a122/html5/thumbnails/2.jpg)
1. Stack Randomization
STACK
DATA
TEXT
GAPApproach: Randomize GAP size
BP
![Page 3: ASLR Minix](https://reader033.vdocuments.net/reader033/viewer/2022061320/56816327550346895dd3a122/html5/thumbnails/3.jpg)
Edits to exec.c
/usr/src/servers/pm/exec.c
![Page 4: ASLR Minix](https://reader033.vdocuments.net/reader033/viewer/2022061320/56816327550346895dd3a122/html5/thumbnails/4.jpg)
2. Heap Randomization
STACK
DATA
TEXT
GAP
BP
RANDOM SPACE
Approach: malloc random space(prior to first malloc)
![Page 5: ASLR Minix](https://reader033.vdocuments.net/reader033/viewer/2022061320/56816327550346895dd3a122/html5/thumbnails/5.jpg)
/usr/src/lib/ansi/malloc.c
![Page 6: ASLR Minix](https://reader033.vdocuments.net/reader033/viewer/2022061320/56816327550346895dd3a122/html5/thumbnails/6.jpg)
3. Test: print-adds.c
![Page 7: ASLR Minix](https://reader033.vdocuments.net/reader033/viewer/2022061320/56816327550346895dd3a122/html5/thumbnails/7.jpg)
Test Results