Top Banner
NOZZLE: A Defense Against Heap- spraying Code Injection Attacks Paruj Ratanaworabhan, Cornell University Benjamin Livshits, Microsoft Research Benjamin Zorn, Microsoft Research USENIX Security Symposium 2009 A Presentation at Advanced Defense Lab
29

NOZZLE: A Defense Against Heap-spraying Code Injection Attacks

Feb 23, 2016

Download

Documents

iola

NOZZLE: A Defense Against Heap-spraying Code Injection Attacks. Paruj Ratanaworabhan , Cornell University Benjamin Livshits , Microsoft Research Benjamin Zorn, Microsoft Research USENIX Security Symposium 2009. A Presentation at Advanced Defense Lab. Outline. - PowerPoint PPT Presentation
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript

NOZZLE: A Defense Against Heap-spraying Code Injection Attacks

NOZZLE: A Defense Against Heap-spraying Code Injection AttacksParuj Ratanaworabhan, Cornell UniversityBenjamin Livshits, Microsoft ResearchBenjamin Zorn, Microsoft ResearchUSENIX Security Symposium 2009

A Presentation at Advanced Defense Lab1OutlineIntroduce to Heap SprayNozzle ArchitectureDesignImplementEvaluationLimitation2Advanced Defense Lab2HeapMemory CorruptionAdvanced Defense Lab3MemoryCorruptionNOP SledShellcodeStack overflow, Heap overflow, Double free, Dangling pointer,With many mechanism for stack protection3HeapHeap SprayAdvanced Defense Lab4MemoryCorruptionHeap is less predictable, and some mechanism for randomizing the heap layoutNOP SledShellcodeNOP SledShellcodeNOP SledShellcodeNOP SledShellcode

shellcode = unescape("%u4343%u4343%...''); oneblock = unescape("%u0C0C%u0C0C"); var fullblock = oneblock; while (fullblock.length