I Know Where You’ve Been: ! Geo-Inference Attacks via the Browser Cache!
Yaoqi Jia Yaoqi Jia∗, Xinshu Dong†, Zhenkai Liang ∗, Prateek Saxena∗ !
∗School of Computing, National University of Singapore ! †Advanced Digital Sciences Center!
I Know Where Youve Been: ! Geo-Inference Attacks via the Browser - - PowerPoint PPT Presentation
I Know Where Youve Been: ! Geo-Inference Attacks via the Browser Cache ! Yaoqi Jia Yaoqi Jia , Xinshu Dong , Zhenkai Liang , Prateek Saxena ! School of Computing, National University of Singapore ! Advanced Digital
Yaoqi Jia Yaoqi Jia∗, Xinshu Dong†, Zhenkai Liang ∗, Prateek Saxena∗ !
∗School of Computing, National University of Singapore ! †Advanced Digital Sciences Center!
1!
2!
3!
4!
5!
Browser!
6!
Browser Cache!
7!
Browser Cache! Felten and Shneider, CCS’00
! Geo-inference attacks via the browser cache!
! Infer a user’s country, city or even neighborhood!
! Prevalence of geo-inference attacks!
! Five mainstream browsers and TorBrowser! ! Top 55 Alexa and 11 map websites!
! Pros & cons of potential solutions!
8!
! Problem Statement! ! Case Studies! ! Evaluation! ! Discussion!
9!
! Can we infer a user’s country?!
! Can we infer a user’s city?!
! Can we infer a user’s neighborhood?!
10!
11!
var image = document.createElement(`img'); image.setAttribute(`startTime', (new Date().getTime())); image.onload = function() { var endTime = new Date().getTime(); var loadTime = endTime - parseInt(this.getAttribute(`startTime')); ...... }
12!
13!
var page = document.createElement(`iframe'); page.setAttribute(`startTime', (new Date()).getTime()); page.onload = function () { var endTime = (new Date()).getTime(); var loadTime = ( endTime - parseInt(this.getAttribute(`startTime'))); ...... }
14!
15!
! (Prevalence) How many browsers and websites are
! (Reliability) How big is the time difference between
16!
! Websites: 191 Google’s regional sites, 100
! Browsers: Five mainstream browsers, i.e., Chrome,
! Locations: US, UK, Australia, Singapore, and
17!
18!
19!
The huge difference between the page load time (in millisecond) of 100 Craigslist sites without cache (> 1000 ms) and with cache (≈ 220 ms) indicates geo-inference attacks with Craigslist
0" 200" 400" 600" 800" 1000" 1200" 1400" 1600" 1800" 2000"
1" 3" 5" 7" 9" 11" 13" 15" 17" 19" 21" 23" 25" 27" 29" 31" 33" 35" 37" 39" 41" 43" 45" 47" 49" 51" 53" 55" 57" 59" 61" 63" 65" 67" 69" 71" 73" 75" 77" 79" 81" 83" 85" 87" 89" 91" 93" 95" 97" 99"
Without"Cache" With"Cache"
20!
! Private Browsing Mode and TorBrowser! ! Randomizing timing measurements! ! Segregating browser cache!
21!
! Clear browser cache after
! Disable disk cache, enable
! It cannot prevent one site from
! Confirmed by experiments.!
! TorBrowser is VPN + Private
22!
Browser Cache!
! Add noise into timing
! Intricate engineering
23!
Browser Cache!
! Deploy Same-Origin
! High performance
24!
Browser Cache!
! No cache for location-sensitive resources.!
! Cache-Control: no-cache HTTP response header!
! Identifying location-sensitive resource!
! Developer assistance! ! Automated tool to detect location-sensitive resources!
25!
! Geo-inference attacks via the browser cache! ! All five mainstream browsers and TorBrowser, as
! Discussion of existing and potential defenses.! ! Calling for actions !
26!
27!