文档下载 文档下载导航
设为首页 | 加入收藏
搜索 请输入内容:  
 导航当前位置: 文档下载 > 所有分类 > IT/计算机 > 计算机软件及应用 > chromium-security-architecture
侵权投诉

chromium-security-architecture

google浏览器安全架构介绍

TheSecurityArchitectureoftheChromiumBrowser

AdamUCBerkeleyBarth

UniversityCharlesofWashington

Reis ABSTRACT

Mostcurrentwebbrowsersemployamonolithicarchitec-turethatcombines“theuser”and“theweb”intoasingleprotectiondomain.Anattackerwhoexploitsanarbitrarycodeexecutionvulnerabilityinsuchabrowsercanstealsen-sitive lesorinstallmalware.Inthispaper,wepresentthesecurityarchitectureofChromium,theopen-sourcebrowseruponwhichGoogleChromeisbuilt.Chromiumhastwomodulesinseparateprotectiondomains:abrowserkernel,whichinteractswiththeoperatingsystem,andarenderingengine,whichrunswithrestrictedprivilegesinasandbox.Thisarchitecturehelpsmitigatehigh-severityattackswith-outsacri cingcompatibilitywithexistingwebsites.Wede neathreatmodelforbrowserexploitsandevaluatehowthearchitecturewouldhavemitigatedpastvulnerabilities.

1.INTRODUCTION

Inthepastseveralyears,thewebhasevolvedtobe-comeaviableplatformforapplications.However,mostwebbrowsersstillusetheoriginalmonolithicarchitectureintroducedbyNCSAMosaicin1993.Amonolithicbrowserarchitecturehasmanylimitationsforwebapplicationswithsubstantialclient-sidecode.Forexample,acrashcausedbyonewebapplicationtakesdowntheuser’sentirewebexperienceinsteadofjustthewebapplicationthatmisbe-haved[21].Fromasecuritypointofview,monolithicwebbrowsersruninasingleprotectiondomain,allowinganat-tackerwhocanexploitanunpatchedvulnerabilitytocom-promisetheentirebrowserinstanceandoftenrunarbitrarycodeontheuser’smachinewiththeuser’sprivileges.

Inthispaper,wepresentandevaluatethesecurityar-chitectureofChromium,theopen-sourcewebbrowseruponwhichGoogleChromeisbuilt.Chromiumusesamodulararchitecture,akintoprivilegeseparationinSSHD[18].Thebrowserkernelmoduleactsonbehalfoftheuser,whiletherenderingenginemoduleactsonbehalfof“theweb.”Thesemodulesruninseparateprotectiondomains,enforcedbyasandboxthatreducestheprivilegesoftherenderingengine.Evenifanattackercanexploitanunpatchedvulnerabilityintherenderingengine,obtainingtheprivilegesoftheentirerenderingengine,thesandboxhelpspreventtheattackerfromreadingorwritingtheuser’s lesystembecausethewebprincipaldoesnothavethatprivilege.

TheauthorsconductedthisworkwhileemployedbyGoogle.

.

StanfordCollinJackson

University

GoogleGoogleChromeInc.

Team

Therehavebeenanumberofresearchproposalsformod-ularbrowserarchitectures[8,27,5,7]thatcontainmultipleprotectiondomains.LikeChromium’sarchitecture,theseproposalsaimtoprovidesecurityagainstanattackerwhocanexploitanunpatchedvulnerability.UnlikeChromium’sarchitecture,theseproposalstradeo compatibilitywithex-istingwebsitestoprovidearchitecturalisolationbetweenwebsitesorevenindividualpages.Thebrowser’ssecu-ritypolicy,knownasthe“same-originpolicy,”iscomplexandcanmakesuch ne-grainedisolationdi culttoachievewithoutdisruptingexistingsites.Users,however,demandcompatibilitybecauseawebbrowserisonlyasusefulasthesitesthatitcanrender.Tobesuccessful,amodularbrowserarchitecturemustsupporttheentirewebplatforminaddi-tiontoimprovingsecurity.

Chromium’sarchitectureallocatesthevariouscomponentsofamodernbrowserbetweenthebrowserkernelandtherenderingengine,balancingsecurity,compatibility,andper-formance.Thearchitectureallocateshigh-riskcomponents,suchastheHTMLparser,theJavaScriptvirtualmachine,andtheDocumentObjectModel(DOM),toitssandboxedrenderingengine.Thesecomponentsarecomplexandhis-toricallyhavebeenthesourceofsecurityvulnerabilities.Runningthesecomponentsinasandboxhelpsreducetheseverityofunpatchedvulnerabilitiesintheirimplementa-tion.Thebrowserkernelisresponsibleformanagingpersis-tentresources,suchascookiesandthepassworddatabase,andforinteractingwiththeoperatingsystemtoreceiveuserinput,drawtothescreen,andaccessthenetwork.Thear-chitectureisbasedontwodesigndecisions:

1.Thearchitecturemustbecompatiblewiththeexistingweb.Speci cally,thesecurityrestrictionsimposedbythearchitectureshouldbetransparenttowebsites.ThisdesigndecisiongreatlylimitsthelandscapeofpossiblearchitecturesbutisessentialinorderforChro-miumtobeusefulasawebbrowser.Forexample,thearchitecturemustsupportuploading lestowebsitesinordertobecompatiblewithweb-basedemailsitesthatletusersaddattachmentstoemails.2.ThearchitecturetreatstherenderingengineasablackboxthattakesunparsedHTMLasinputandproducesrenderedbitmapsasoutput(seeFigure1).Inpar-ticular,thearchitecturereliesontherenderingenginealonetoimplementthesame-originpolicy.Thisdesigndecisionreducesthecomplexityofthebrowserkernel’ssecuritymonitorbecausethebrowserkernelneedonlyenforcecoarse-grainedsecurityrestrictions.Forexam-ple,thebrowserkernelgrantstheabilitytouploada1

第1页

你可能喜欢

热门文档

相关文档

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