手机版

计算机领域-国际顶级会议论文(关于网络安全方面)

时间:2025-07-07   来源:未知    
字号:

Empowering Users Against SideJacking Attacks英文版

EmpoweringUsersAgainstSideJackingAttacks

DepartmentofComputerScienceandEngineering

QatarUniversityDoha,Qatar

RyanD.Riley

DepartmentofComputerScienceandEngineering

QatarUniversityDoha,Qatar

NadaMohaamedAli

ryan.riley@qu.edu.qaKholoudSalehAl-Senaidi

DepartmentofComputerScienceandEngineering

QatarUniversityDoha,Qatar

AishaLahdanAl-Kuwari

DepartmentofComputerScienceandEngineering

QatarUniversityDoha,Qatar

ABSTRACT

SideJackingoccurswhenanattackerinterceptsasessioncookieandusesittoimpersonateauserandgainunautho-rizedaccesstoaweb-basedservice.TopreventSideJack-ing,aservershouldenableHTTPSandcon gureallsessioncookiestoonlybetransmittedoverasecurelink.Manyweb-sitesdonotdothis,however,andtheusermaybeunaware.InthisworkwepresentaFirefoxextensionthatwillallowuserstoquicklyandeasilydeterminewhethertheservertheyarevisitingissusceptibletoSideJackingattacks.

CategoriesandSubjectDescriptors

C.2.0[Computer-CommunicationNetworks]:General—Securityandprotection(e.g., rewalls);K.4.4[ComputersandSociety]:ElectronicCommerce—Security

GeneralTerms

Security

1.THEPROBLEM

ASideJacking[1]attackoccurswhenanattackerinter-ceptsasessioncookieandusesittoimpersonateadi erentuserofawebbasedservice.

Typically,whenauserloginsintoawebsiteontheInter-nettheyentertheirusernameandpasswordintoawebformandtransmitittotheserver.Afterthepasswordisveri ed,theservergeneratesalargerandomnumberandsendsittotheuser’swebbrowserasasessioncookie:acredentialthatthebrowserwillthensendbacktotheserverinordertoauthenticateitselfwhenmakinganyfuturerequests.Inanidealworld,allcommunicationbetweentheclientandtheserverwouldoccuroveranencryptedconnectioninor-dertoprotectitfromtheviewofanattacker.Intherealworld,however,encryptedconnectionsrequiresigni cantlymoreprocessorpowerthannormalconnections,andmanywebsitestransmitonlythepasswordoveranencryptedcon-nectionanduseanunencryptedconnectionforeverythingelse.Inthiscasethesessioncookieisusedbytheclientto

Copyrightisheldbytheauthor/owner(s).

SIGCOMM’10,August30–September3,2010,NewDelhi,India.ACM978-1-4503-0201-2/10/08.

authenticateitselftothewebsiteovertheunencryptedcon-nection.Inthisscenariotheattackerwouldnotbeabletosni thepassword,buthewouldbeabletosni thesessioncookie.Eveniftheconnectionissecure,anactiveattackermaybeabletoforceaninsecureconnectionthatwillcausethesessioncookietobesentunencrypted.Oncetheattackerhasthesessioncookietheycanuseittoaccessthewebsiteasiftheywerethelegitimateuser.ThisiscalledaSideJacking[1]orcookiehijacking[2]attack.

Asanexample,considerauseraccessingtheirHotmailaccountwhileanattackerissni ngtheirconnectionataco eeshopthatprovidesfreeWi-Fi.Whentheusercon-nectstotheHotmailserverintheirwebbrowser,Hotmailpresentsthemwithaloginpagethattransmitstheiruser-nameandpasswordoveranHTTPSconnection.Whentheuserlogsin,theattackerisunabletolearntheirusernameorpassword.Aftertheloginsucceeds,theHotmailservergeneratesarandomsessioncookieandsendsittotheuser’swebbrowseroverthesecureconnection.Next,theserverinstructsthebrowsertouseanunencryptedconnectiontoaccesstheinbox.Thebrowserinitiatestheunencryptedcon-nection,sendingthesessioncookieinordertoproveithasloggedin,andisgivenaccesstotheinbox.Becausethecon-nectionisunencrypted,theattackerisabletoseethesessioncookieandsaveacopyofit.TheattackertheninitiatesaconnectiontotheHotmailserver,sendsthesessioncookieitstolefromtheuser,andisgivenaccesstotheuser’sinboxdespitenotknowingtheuser’spassword.

AmajorproblemwithSideJackingattacksisthatifaweb-sitedoesnotensurethatthesessioncookiesareonlysentoverencryptedconnection,auser’sonlyrealrecourseforpreventingtheattackistosimplynotusetheservice.Theburdenofresponsibilityisonthewebsitetoprovideprotec-tionagainstthissortofattack.DespitethefactthatSide-Jackingattackshavebeenwidelyknownsince2007,manymajorwebsites(andmanymoresmallones)arestillsuscep-tibletotheattack.Stillworse,mostusersarecompletelyignorantofthefactthatthewebsitetheyareusingmaybesusceptible.

2.OURWORK

Inthiswork,ourgoalistoallowuserstoquicklyandeasilyascertainifwebsitestheyusearesusceptibletoSideJacking

435

Empowering Users Against SideJacking Attacks英文版

Figure1:Screenshotsoftheextensionisuse.Noticethegreencheckmarkandtheredxinthelowerright.attacks.Toaccomplishthiswewill rstdevelopasetofheuristicsfordeterminingifagivenwebsiteissusceptibletoSideJacking.NextwewilldevelopanextensionfortheFirefoxwebbrowserthatusesourheuristicstorateeverywebsitevisitedbyauserandprovideagraphicalindicationofwhetherornotthewebsiteissusceptible.Withsuchanextensionavailableuserswillbeabletomakeinformeddecisionsaboutthesecurityofwebservicestheychoosetouse.Inaddition,websitesthatareknowntobeinsecuremaybeincentivizedtoinvestintheirinfrastructuretoprovideencryptedconnectionsandincreasethesecuritylevelforalloftheirusers.

2.1Heuristics

At rstglance,theheuristictodetermineSideJacking-abilityseemstrivial:IftheconnectionisencryptedthantheconnectioncannotbeSideJacked(thesessioncookiewouldbeencrypted)andiftheconnectionisnotencryptedthanSideJackingispossible.Inreality,however,thingsaremorecomplicated.

The rstcomplicationisthatsomewebsiteswillpermitbothencryptedandunencryptedconnections,meaningthatanactiveattackermaybeabletoforceanencryptedcon-nectiontobecomeunencrypted(evenonlytemporarily)inordertostealthesessioncookie.Inordertodetermineifthissortofattackcanoccur,oneoptionistocheckthese-cure ag1ofthesessioncookietodeterminewhetherornotthecookiecanbesentunencrypted.Ifitcan,thenwecanassumetheconnectioncanbeSideJacked.

Thesecondcomplicationisthatasinglewebsitemayhavemanycookiesassociatedwithit,anddeterminingwhichone(orones)isthecrucialsessioncookieisnotobvious.Forex-ample,whenusingGoogle’sGmailthereare10cookiesthataresent,and8ofthemappeartoberandomlygeneratedvalues.(Meaningtheycouldpotentiallybese …… 此处隐藏:3943字,全部文档内容请下载后查看。喜欢就下载吧 ……

计算机领域-国际顶级会议论文(关于网络安全方面).doc 将本文的Word文档下载到电脑,方便复制、编辑、收藏和打印
    ×
    二维码
    × 游客快捷下载通道(下载后可以自由复制和排版)
    VIP包月下载
    特价:29 元/月 原价:99元
    低至 0.3 元/份 每月下载150
    全站内容免费自由复制
    VIP包月下载
    特价:29 元/月 原价:99元
    低至 0.3 元/份 每月下载150
    全站内容免费自由复制
    注:下载文档有可能出现无法下载或内容有问题,请联系客服协助您处理。
    × 常见问题(客服时间:周一到周五 9:30-18:00)