crowdsourcing split tunneling to map and circumvent url
play

Crowdsourcing & split-tunneling to map and circumvent - PowerPoint PPT Presentation

Crowdsourcing & split-tunneling to map and circumvent URL filtering Walid Al-Saqaf rebro University - Sweden A presenta9on for RIPE 68


  1. Crowdsourcing ¡& ¡split-­‑tunneling ¡to ¡ map ¡and ¡circumvent ¡URL ¡filtering ¡ Walid ¡Al-­‑Saqaf ¡ Örebro ¡University ¡-­‑ ¡Sweden ¡ ¡ A ¡presenta9on ¡for ¡RIPE ¡68 ¡ Warsaw, ¡May ¡14 ¡

  2. Two ¡parallel ¡tracks ¡using ¡Alkasir ¡ 1) Mapping ¡URL ¡filtering ¡through ¡crowdsourcing ¡ -­‑ ¡Repor9ng ¡of ¡suspected ¡filtered ¡URLs ¡ Manual ¡submissions ¡& ¡automa9c ¡cross-­‑valida9on ¡with ¡crowdsourcing ¡ -­‑ ¡ ¡ -­‑ ¡Who ¡is ¡blocking? ¡Autonomous ¡Systems ¡or ¡Internet ¡Service ¡Providers? ¡ -­‑ ¡Crowdsourcing ¡to ¡iden9fy ¡similar ¡response ¡paPerns ¡to ¡HTTP ¡requests ¡ 2) ¡Circumven?ng ¡filtering ¡through ¡SSH ¡split-­‑tunneling ¡ -­‑ ¡Develop ¡an ¡effec9ve ¡and ¡affordable ¡circumven9on ¡method ¡ -­‑ Users ¡to ¡circumvent ¡and ¡also ¡provide ¡data ¡ -­‑ ¡Analysis ¡of ¡user ¡behavior ¡in ¡repor9ng ¡about ¡censorship ¡

  3. 1) ¡Mapping ¡URL ¡Filtering ¡ -­‑ Manual ¡entry ¡of ¡URL ¡(one ¡9me ¡process) ¡ -­‑ If ¡filtering ¡iden9fied ¡(to ¡be ¡explained ¡in ¡the ¡next ¡ slide) ¡ -­‑ Automa9c ¡crowdsourcing ¡triggered ¡for ¡other ¡ users ¡in ¡the ¡same ¡country ¡ -­‑ Content ¡analysis ¡using ¡sta9s9cal ¡soWware ¡(SPSS) ¡

  4. URL ¡Submissions ¡ DEMO ¡ 1) User ¡reports ¡a ¡URL ¡manually ¡ 2) SoWware ¡verifies ¡–using ¡server-­‑ ¡by ¡comparing ¡headers ¡and/or ¡content ¡with ¡ remotely ¡fetched ¡version ¡of ¡the ¡same ¡URL ¡ 3) If ¡found ¡to ¡be ¡blocked, ¡the ¡moderator ¡verifies ¡if ¡the ¡URL ¡is ¡not ¡of ¡porn/nudity ¡ content ¡ (if ¡approved ¡before, ¡it ¡is ¡approved ¡automa9cally ¡& ¡vice ¡versa) ¡ 4) Moderator ¡is ¡a ¡closed ¡group ¡and ¡public ¡access ¡is ¡limited ¡due ¡to ¡personal ¡risk ¡ 5) Assessment ¡of ¡what ¡is ¡porn ¡and ¡what ¡is ¡not ¡is ¡based ¡on ¡meta ¡website ¡data ¡ 6) Entry ¡is ¡added ¡to ¡the ¡database ¡with ¡relevant ¡data ¡accordingly ¡ 7) Requests ¡to ¡clients ¡of ¡other ¡users ¡using ¡the ¡same ¡AS/ISP ¡are ¡sent ¡to ¡also ¡check ¡ whether ¡the ¡URL ¡is ¡filtered ¡(all ¡in ¡the ¡background)* ¡ 8) If ¡mul9ple ¡clients ¡confirmed ¡the ¡filtering, ¡the ¡request ¡is ¡sent ¡to ¡clients ¡of ¡other ¡ users ¡in ¡the ¡same ¡country ¡but ¡using ¡other ¡ISPs* ¡ Note: ¡It ¡is ¡also ¡possible ¡to ¡check ¡manually ¡entered ¡URLs ¡in ¡any ¡country/ISP ¡in ¡background ¡ * ¡Under ¡development ¡ ¡ ¡ ¡

  5. How ¡to ¡know ¡if ¡a ¡URL ¡is ¡filtered ¡ ¡ (assuming ¡right ¡IP ¡address ¡reached, ¡i.e., ¡no ¡DNS ¡tampering ¡occurred) ¡ Different ¡HTTP ¡response ¡ ¡ status ¡code ¡(403, ¡504…) ¡ No ¡header ¡response ¡ (excep9on: ¡redirec9ons ¡to ¡localized ¡ (connec9on ¡dropped) ¡ versions ¡or ¡forbidden ¡by ¡the ¡source ¡ due ¡to ¡geo-­‑loca9on ¡…) ¡ ¡ ? ¡ 200 ¡but ¡with ¡different ¡ Substan?al ¡modified ¡ content ¡ ¡ HTTP ¡header ¡response ¡ ¡ (e.g., ¡common ¡firewall ¡signatures ¡ check ¡the ¡first ¡1000k ¡and ¡compare ¡ [Websense, ¡SmartFilter, ¡etc.], ¡ text ¡(not ¡bullet-­‑proof) ¡ ¡ significantly ¡different ¡content ¡size ¡

  6. Example: ¡Bahrain, ¡same ¡ISP ¡ No ¡consistency ¡ ¡ & ¡no ¡transparency ¡

  7. Benefits ¡of ¡source-­‑crowding ¡ 1) Maximizes ¡produc9vity ¡by ¡giving ¡users ¡the ¡chance ¡to ¡ decide ¡what ¡filtered ¡URLs ¡they ¡want ¡to ¡access ¡ 2) Enhances ¡reliability ¡through ¡cross-­‑valida9on ¡based ¡on ¡ loca9on ¡ 3) Allows ¡tes9ng ¡and ¡verifying ¡any ¡URL ¡virtually ¡any ¡9me ¡ and ¡anywhere ¡an ¡Alkasir ¡client ¡is ¡running ¡ 4) When ¡enabled, ¡can ¡track ¡the ¡level ¡and ¡depth ¡of ¡filtering ¡ through ¡automa9c ¡addi9on ¡of ¡externally ¡linked ¡URLs ¡in ¡ a ¡reported ¡document ¡

  8. 2) ¡Circumven?ng ¡URL ¡Filtering ¡ 1) Socks ¡local ¡proxy ¡ac9vated ¡ ¡aWer ¡connec9ng ¡to ¡SSH ¡server ¡(SSL ¡and ¡obfuscated/ normal ¡PuPy) ¡with ¡local ¡dynamic ¡port ¡(AES ¡CBC ¡enc ¡for ¡SSH2) ¡ 2) A ¡pool ¡of ¡100+ ¡proxy ¡IPs ¡available ¡(different ¡class ¡B ¡addresses) ¡ 3) Proxy ¡automa9c ¡configura9on ¡file ¡that ¡is ¡retrieved ¡when ¡Alkasir ¡is ¡connected ¡is ¡ used ¡to ¡divert ¡traffic ¡as ¡required ¡(split-­‑tunneling) ¡ 4) Remote ¡DNS ¡resolu9on ¡enabled ¡to ¡prevent ¡DNS ¡leaks ¡ 5) Alkasir.com ¡is ¡always ¡accessed ¡through ¡the ¡encrypted ¡tunnel ¡ Blank ¡alkasir.pac ¡file: ¡ func9on ¡FindProxyForURL(url,host) ¡ ¡ ¡ ¡{ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡if ¡(shExpMatch(host, ¡"*alkasir.com*")) ¡ ¡ ¡ ¡{ ¡ ¡ ¡ ¡ ¡ ¡ ¡return ¡"SOCKS5 ¡127.0.0.1:<local ¡PORT>; ¡ ¡ ¡ ¡ ¡ ¡ ¡DIRECT"; ¡ ¡ ¡ ¡} ¡ ¡ ¡ ¡return ¡"DIRECT"; ¡ ¡ ¡ ¡} ¡

  9. The ¡split-­‑tunneling ¡approach ¡ Alkasir user Encrypted Regular (exposed to ISP) & tunneled (hidden from ISP) UNCENSORED The ¡PAC ¡file ¡is ¡built ¡based ¡on ¡the ¡geo-­‑loca9on ¡of ¡the ¡client ¡ retrieved ¡through ¡ip2loca9on ¡(paid ¡service) ¡with ¡the ¡IP ¡as ¡input ¡ ¡

  10. Benefits ¡of ¡split-­‑tunneling ¡ 1) U9lizes ¡bandwidth ¡on ¡the ¡server ¡and ¡client ¡efficiently ¡ 2) Allows ¡users ¡to ¡access ¡localized ¡services, ¡news ¡normally ¡ 3) Reduces ¡the ¡risk ¡of ¡proxy-­‑use ¡detec9on ¡by ¡the ¡ISP ¡ 4) Encourages ¡repor9ng ¡more ¡filtered ¡URLs, ¡moderators ¡to ¡learn ¡ more ¡about ¡filtering ¡methods ¡and ¡content ¡ 5) Can ¡serve ¡as ¡an ¡addi9onal ¡plug-­‑in ¡for ¡other ¡circumven9on ¡tools ¡ (u9lizing ¡the ¡list ¡of ¡blocked ¡URLs) ¡ 6) Encourages ¡the ¡upda9ng ¡of ¡empirical ¡data ¡on ¡filtering ¡for ¡use ¡by ¡ advocacy ¡groups, ¡scholars, ¡and ¡users ¡

  11. Deriving ¡the ¡sample ¡(1/10/2010-­‑1/10/2012) ¡

  12. Server ¡data ¡shows: ¡ ¡ Filtering ¡paYerns ¡corresponded ¡to ¡poli?cal ¡developments ¡ 200 ¡ 175 ¡ 150 ¡ Peaks ¡at ¡3,207 ¡ ¡ in ¡July ¡2012 ¡(Syria) ¡ 125 ¡ 100 ¡ 75 ¡ 50 ¡ 25 ¡ 0 ¡ 2010-­‑10 ¡ 2010-­‑11 ¡ 2010-­‑12 ¡ 2011-­‑01 ¡ 2011-­‑02 ¡ 2011-­‑03 ¡ 2011-­‑04 ¡ 2011-­‑05 ¡ 2011-­‑06 ¡ 2011-­‑07 ¡ 2011-­‑08 ¡ 2011-­‑09 ¡ 2011-­‑10 ¡ 2011-­‑11 ¡ 2011-­‑12 ¡ 2012-­‑01 ¡ 2012-­‑02 ¡ 2012-­‑03 ¡ 2012-­‑04 ¡ 2012-­‑05 ¡ 2012-­‑06 ¡ 2012-­‑07 ¡ 2012-­‑08 ¡ 2012-­‑09 ¡ Egypt ¡URL ¡Reports ¡ Tunisia ¡URL ¡Reports ¡ Yemen ¡URL ¡Reports ¡ Syria ¡URL ¡Reports ¡ A combined graph showing the number of URL reports for the four case studies (Tunisia, Egypt, Yemen, and Syria) ¡

  13. Survey: ¡Most ¡widely ¡used ¡circumven?on ¡tools ¡

  14. Survey: ¡What ¡is ¡needed ¡for ¡beYer ¡circumven?on ¡

  15. Future ¡work ¡and ¡ambi?ons ¡ • ¡Enhancing ¡Alkasir’s ¡blocking-­‑resistance ¡ • ¡Developing ¡extensions ¡for ¡browsers ¡and ¡apps ¡for ¡mobile ¡devices ¡ • ¡Reducing ¡risks ¡to ¡users, ¡ensuring ¡lack ¡of ¡personal ¡data ¡and ¡ enhancing ¡split-­‑tunneling ¡to ¡prevent ¡detec9on ¡of ¡proxy ¡use ¡ • ¡Adding ¡mul9ple ¡circumven9on ¡methods ¡(e.g., ¡VPN, ¡web-­‑based…) ¡ • ¡Building ¡an ¡API ¡to ¡allow ¡access ¡to ¡data ¡(requires ¡risk ¡assessment) ¡ • ¡Defining ¡a ¡more ¡concrete ¡& ¡systema9c ¡categoriza9on ¡approach ¡ • ¡Coopera9ng ¡with ¡like-­‑minded ¡projects ¡to ¡improve ¡reliability ¡of ¡ data ¡(Herdict, ¡OpenNet ¡Ini9a9ve, ¡Choke ¡Point) ¡ • ¡Proposing ¡the ¡integra9on ¡of ¡Alkasir’s ¡data ¡into ¡other ¡popular ¡ circumven9on ¡tools ¡(Tor, ¡Psiphon, ¡etc.) ¡to ¡enable ¡split-­‑tunneling ¡

  16. Ques?ons ¡

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend