tor and circumvention lessons learned
play

Tor and circumvention: Lessons learned Roger Dingledine The Tor - PowerPoint PPT Presentation

Tor and circumvention: Lessons learned Roger Dingledine The Tor Project https://torproject.org/ 1 What is Tor? Online anonymity 1) open source software, 2) network, 3) protocol Community of researchers, developers, users, and relay


  1. Tor and circumvention: Lessons learned Roger Dingledine The Tor Project https://torproject.org/ 1

  2. What is Tor? Online anonymity 1) open source software, 2) network, 3) protocol Community of researchers, developers, users, and relay operators Funding from US DoD, Electronic Frontier Foundation, Voice of America, Google, NLnet, Human Rights Watch, NSF, US State Dept, SIDA, ... 2

  3. The Tor Project, Inc. 501(c)(3) non-profit organization dedicated to the research and development of tools for online anonymity and privacy 3

  4. Estimated 400,000? daily Tor users 4

  5. Threat model: what can the attacker do? Alice Anonymity network Bob watch Alice! watch (or be!) Bob! Control part of the network! 5

  6. Anonymity isn't encryption: Encryption just protects contents. “Hi, Bob!” “Hi, Bob!” <gibberish> Alice attacker Bob 6

  7. Anonymity isn't just wishful thinking... “You can't prove it was me!” “Promise you won't look!” “Promise you won't remember!” “Promise you won't tell!” “I didn't write my name on it!” “Isn't the Internet already anonymous?” 7

  8. Anonymity serves different interests for different user groups. Anonymity Private citizens “It's privacy!” 8

  9. Anonymity serves different interests for different user groups. Businesses Anonymity “It's network security!” Private citizens “It's privacy!” 9

  10. Anonymity serves different interests for different user groups. “It's traffic-analysis resistance!” Businesses Governments Anonymity “It's network security!” Private citizens “It's privacy!” 10

  11. Anonymity serves different interests for different user groups. “It's reachability!” Human rights “It's traffic-analysis activists resistance!” Businesses Governments Anonymity “It's network security!” Private citizens “It's privacy!” 11

  12. Regular citizens don't want to be watched and tracked. “I sell the logs.” Blogger Hostile Bob Alice “Oops, I lost the logs.” 8-year-old Incompetent Bob The AOL fiasco Alice “Hey, they aren't Indifferent Bob Sick my secrets.” Alice Name, address, age, friends, (the network can track too) Consumer interests Alice .... (medical, financial, etc), unpopular opinions, Oppressed Alice illegal opinions.... 12

  13. Businesses need to keep trade secrets. “Oh, your employees are reading Competitor our patents/jobs page/product sheets?” “Hey, it's Alice! Give her the 'Alice' version!” Competitor AliceCorp “Wanna buy a list of Alice's suppliers? Compromised What about her customers? network What about her engineering department's favorite search terms?” 13

  14. Law enforcement needs anonymity to get the job done. “Why is alice.localpolice.gov reading Investigated my website?” suspect “Why no, alice.localpolice.gov! Officer Sting I would never sell counterfeits on ebay!” Alice target “Is my family safe if I Organized go after these guys?” Crime Witness/informer “Are they really going to ensure Anonymous Alice my anonymity?” tips 14

  15. Governments need anonymity for their security “What will you bid for a list of Baghdad IP addresses that get email from .gov?” Untrusted ISP Agent “ Somebody in that hotel room just Alice checked his Navy.mil mail! ” Compromised “ What does FBI Google for? ” service Shared “Do I really want to reveal my Coalition network internal network topology?” member Alice Defense in “What about insiders?” Depth 15

  16. Journalists and activists need Tor for their personal safety Monitoring “Did you just post to that website?” ISP Activist/ Whistleblower “Where are the bloggers connecting from?” Alice Monitored “I run livejournal and track my users” website “Of course I tell China about my users” “What does the Global Voices website Filtered say today?” Blocked website “I want to tell people what's going on Alice in my country” Monitored “I think they're watching. I'm not even network going to try.” 16

  17. You can't get anonymity on your own: private solutions are ineffective... Alice's small Citizen “One of the 25 users ... anonymity net Alice on AliceNet.” Officer Municipal Investigated Alice “Looks like a cop.” anonymity net suspect AliceCorp AliceCorp “It's somebody at Competitor anonymity net AliceCorp!” 17

  18. ... so, anonymity loves company! Citizen “???” ... Alice Officer Investigated Alice Shared “???” suspect anonymity net AliceCorp Competitor “???” 18

  19. Yes, bad people need anonymity too. But they are already doing well. Compromised botnet Stolen mobile phones Evil Criminal Alice Open wireless nets ..... 19

  20. Current situation: Bad people on the Internet are doing fine Trojans Viruses Exploits Botnets Zombies Espionage Phishing DDoS Spam Extortion 20

  21. The simplest designs use a single relay to hide connections. Bob1 Alice1 E(Bob3,“X”) “Y” Relay Alice2 “Z” Bob2 E(Bob1, “Y”) ) “X” ” Z “ , 2 b o B ( E Bob3 Alice3 (example: some commercial proxy providers) 21

  22. But a single relay (or eavesdropper!) is a single point of failure. Bob1 Alice1 E(Bob3,“X”) “Y” Evil Alice2 Relay “Z” Bob2 E(Bob1, “Y”) ) “X” ” Z “ , 2 b o B ( E Bob3 Alice3 22

  23. ... or a single point of bypass. Bob1 Alice1 E(Bob3,“X”) “Y” Irrelevant Alice2 Relay “Z” Bob2 E(Bob1, “Y”) ) “X” ” Z “ , 2 b o B ( E Bob3 Alice3 Timing analysis bridges all connections ⇒ An attractive fat target through relay 23

  24. So, add multiple relays so that no single one can betray Alice. Bob Alice R1 R3 R5 R4 R2 24

  25. A corrupt first hop can tell that Alice is talking, but not to whom. Bob Alice R1 R3 R5 R4 R2 25

  26. A corrupt final hop can tell that somebody is talking to Bob, but not who. Bob Alice R1 R3 R5 R4 R2 26

  27. Alice makes a session key with R1 ...And then tunnels to R2...and to R3 Bob Alice R1 R3 Bob2 R5 R4 R2 27

  28. 28

  29. 29

  30. 30

  31. 31

  32. 32

  33. Another Iran user count Talked to chief security officer of one of the web 2.0 social networking sites: 10% (~10k) of their Iranian users in June 2009 were coming through Tor 90% (~90k) were coming from proxies in the Amazon cloud 33

  34. Iran and DPI We made Tor's TLS handshake look like Firefox+Apache. When Iran kicked out Smartfilter in early 2009, Tor's old (non-TLS) directory fetches worked again! Jan 2011, Iran blocked Tor by DPI for SSL and filtering our Diffie-Hellman parameter. Socks proxy worked fine the whole time. 34

  35. 35

  36. 36

  37. Relay versus Discovery There are two pieces to all these “proxying” schemes: a relay component: building circuits, sending traffic over them, getting the crypto right a discovery component: learning what relays are available 37

  38. The basic Tor design uses a simple centralized directory protocol. cache S1 Trusted directory Alice S2 Alice downloads consensus and Trusted directory cache descriptors from anywhere Authorities S3 publish a consensus Servers publish list of all descriptors self-signed descriptors. 38

  39. Attackers can block users from connecting to the Tor network By blocking the directory authorities By blocking all the relay IP addresses in the directory By filtering based on Tor's network fingerprint By preventing users from finding the Tor software 39

  40. Alice Alice Alice Blocked Alice Alice User R3 Alice Blocked R4 Bob User Alice Alice R2 Blocked User Alice R1 Alice Blocked Alice User Alice Blocked Alice User Alice Alice 40

  41. “Bridge” relays Hundreds of thousands of Tor users, already self-selected for caring about privacy. Rather than signing up as a normal relay, you can sign up as a special “bridge” relay that isn't listed in any directory. No need to be an “exit” (so no abuse worries), and you can rate limit if needed Integrated into Vidalia (our GUI) so it's easy to offer a bridge or to use a bridge 41

  42. How do you find a bridge? 1) https://bridges.torproject.org/ will tell you a few based on time and your IP address 2) Mail bridges@torproject.org from a gmail address and we'll send you a few 3) I mail some to a friend in Shanghai who distributes them via his social network 4) You can set up your own private bridge and tell your target users directly 42

  43. 43

  44. 44

  45. 45

  46. 46

  47. 47

  48. 48

  49. 49

  50. Attacker's goals Little reprisal against passive consumers of information. Producers and distributors of information in greater danger. Censors (actually, govts) have economic, political, social incentives not to block the whole Internet. But they don't mind collateral damage. 50

  51. What we're up against Govt firewalls used to be stateless. Now they're buying fancier hardware. Burma vs Iran vs China New filtering techniques spread by commercial (American) companies :( How to separate “oppressing employees” vs “oppressing citizens” arms race? 51

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