文档下载 文档下载导航
设为首页 | 加入收藏
搜索 请输入内容:  
 导航当前位置: 文档下载 > 所有分类 > 自然科学 > 天文/地理 > ASLR Smack_Reference
侵权投诉

ASLR Smack_Reference

ASLRSmack&LaughReference

SeminaronAdvancedExploitationTechniques

TiloM¨uller

RWTHAachen,GermanyChairofComputerScience4

February17,2008

Addressspacelayoutrandomization(ASLR)isasecuritytechnologytopreventexploitationsofbufferover ows.Butthistechnologyisfarfromperfect.”[...]itsonlyuptothecreativityoftheattackerwhathedoes.Soitraisesthebarforusall:)butjustmightmakewritingexploitsaninterestingbusinessagain.”([Dul00]aboutASLR).Thispaperisanintroductionandareferenceaboutthisbusiness.

Keywords:ASLR,AddressSpaceLayoutRandom-ization,Exploitation

likeOpenBSDenabledASLRaswell.SoitisessentialforanattackertodealwithASLRnowadays.

OriginallyASLRwaspartofthePage(PaX)project-acomprehensivesecuritypatchfortheLinuxkernel.PaXhasalreadybeenavailablein2000-yearsbeforekernel2.6.12.TherehavealsobeenthirdpartyimplementationsofASLRforpreviousversionsofWindows.Sotheideaandeventheimplementationofaddressspacerandomizationisnotasnewasitmayappear.

Neverthelessandunlikecommonexploitationtech-niquestherearebarelyusefulinformationsaboutad-vancedtechniquestobypasstheprotectionofASLR.Thispapertriestobringtogethersomeofthescarceinformationsoutthere.

First,Ibrie ywanttoshowhowASLRworksandwhyalotofcommonexploitationtechniquesfailinitspresence.AfterwardsIdemonstratemechanismstoby-passtheprotectionofASLR.Thevulnerabilitiesandtheirexploitsaregettingmoredif cultinthecourseofthispaper.FirstIdescribetwoaggressiveaproaches:Bruteforceanddenialofservice.ThenIexplainhowtoreturnintonon-randomizedmemoryareas,howtobypassASLRbyredirectingpointersandhowtogetasystemtodivulgecriticalstackinformation.AfterthisIexplainsomeadvancedtechniqueslikethestackjug-glingmethods,GOThijacking,offbyonesandover-writingthe.dtorssectionbeforeIcometoaconclu-sion.WhatIshowisthatsystemswithASLRenabledarestillhighlyvulnerableagainstmemorymanipula-tionattacks.Someoftheexploitationtechniquesde-scribedinthispaperarealsousefultobypassanotherpopularsecuritytechnology:Thenonexecutablestack.Thispaperisassistedbyproofofconceptcodes,whicharebasedonaDebianEtchinstallationwithoutanyadditionalsecuritypatches.Itisax86systemwith

1Introduction

Addressspacelayoutrandomizationmakesitmoredif- culttoexploitexistingvulnerabilities,insteadofin-creasingsecuritybyremovingthem.ThusASLRisnotareplacementforinsecurecode,butitcanofferprotec-tionfromvulnerabilitiesthathavenotbeen xedandevennotbeenpublishedyet.TheaimofASLRistointroducerandomnessintotheaddressspaceofapro-cess.Thisletsalotofcommonexploitsfailbycrashingtheprocesswithahighprobabilityinsteadofexecutingmaliciouscode.

Therearealotofotherprophylacticsecuritytech-nologiesbesidesASLR,likeStackGuard,StackShieldorLibsafe.ButonlyASLRisimplementedanden-abledbydefaultintoimportantoperatingsystems.ASLRisimplementedinLinuxsincekernel2.6.12,whichhasbeenpublishedinJune2005.MicrosoftimplementedASLRinWindowsVistaBeta2,whichhasbeenpublishedinJune2006.The nalWin-dowsVistareleasehasASLRenabledbydefault,too-althoughonlyforexecutableswhicharespeci callylinkedtobeASLRenabled.Furtheroperatingsystems

1

第1页

TOP相关主题

你可能喜欢

热门文档

站点地图 | 文档上传 | 侵权投诉 | 手机版
本站所有资源均来自互联网,本站只负责收集和整理,均不承担任何法律责任,如有侵权等其它行为请联系我们.
文档下载 Copyright 2013 doc.guandang.net All Rights Reserved.  -  email