Tor: a quick overview Roger Dingledine The Tor Project - - PowerPoint PPT Presentation

tor a quick overview
SMART_READER_LITE
LIVE PREVIEW

Tor: a quick overview Roger Dingledine The Tor Project - - PowerPoint PPT Presentation

Tor: a quick overview 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 operators Funding from


slide-1
SLIDE 1

1

Tor: a quick overview

Roger Dingledine The Tor Project https://torproject.org/

slide-2
SLIDE 2

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, Knight Foundation, ...

slide-3
SLIDE 3

3

501(c)(3) non-profit

  • rganization dedicated to

the research and development of tools for

  • nline anonymity and

privacy

The Tor Project, Inc.

slide-4
SLIDE 4

4

Estimated 600,000? daily Tor users

slide-5
SLIDE 5

5

Threat model: what can the attacker do?

Alice Anonymity network Bob watch (or be!) Bob! watch Alice! Control part of the network!

slide-6
SLIDE 6

6

Anonymity isn't encryption: Encryption just protects contents.

Alice Bob “Hi, Bob!” “Hi, Bob!” <gibberish> attacker

slide-7
SLIDE 7

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?”

slide-8
SLIDE 8

8

Anonymity serves different interests for different user groups.

Anonymity

Private citizens “It's privacy!”

slide-9
SLIDE 9

9

Anonymity serves different interests for different user groups.

Anonymity

Private citizens Businesses “It's network security!” “It's privacy!”

slide-10
SLIDE 10

10

Anonymity serves different interests for different user groups.

Anonymity

Private citizens Governments Businesses “It's traffic-analysis resistance!” “It's network security!” “It's privacy!”

slide-11
SLIDE 11

11

Anonymity serves different interests for different user groups.

Anonymity

Private citizens Governments Businesses “It's traffic-analysis resistance!” “It's network security!” “It's privacy!” Human rights activists “It's reachability!”

slide-12
SLIDE 12

12

Regular citizens don't want to be watched and tracked.

(the network can track too)

Hostile Bob Incompetent Bob Indifferent Bob

“Oops, I lost the logs.” The AOL fiasco “I sell the logs.” “Hey, they aren't my secrets.” N a m e , a d d r e s s , a g e , f r i e n d s , i n t e r e s t s ( m e d i c a l , f i n a n c i a l , e t c ) , u n p

  • p

u l a r

  • p

i n i

  • n

s , i l l e g a l

  • p

i n i

  • n

s . . . . Blogger Alice 8-year-old Alice Sick Alice Consumer Alice Oppressed Alice ....

slide-13
SLIDE 13

13

Businesses need to keep trade secrets.

AliceCorp Competitor Competitor Compromised network “Oh, your employees are reading

  • ur patents/jobs page/product sheets?”

“Hey, it's Alice! Give her the 'Alice' version!” “Wanna buy a list of Alice's suppliers? What about her customers? What about her engineering department's favorite search terms?”

slide-14
SLIDE 14

14

Law enforcement needs anonymity to get the job done.

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

slide-15
SLIDE 15

15

Governments need anonymity for their security

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

slide-16
SLIDE 16

16

Journalists and activists need Tor for their personal safety

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

slide-17
SLIDE 17

17

You can't get anonymity on your own: private solutions are ineffective...

Officer Alice Investigated suspect ... AliceCorp Competitor Citizen Alice AliceCorp anonymity net Municipal anonymity net Alice's small anonymity net “Looks like a cop.” “It's somebody at AliceCorp!” “One of the 25 users

  • n AliceNet.”
slide-18
SLIDE 18

18

... so, anonymity loves company!

Officer Alice Investigated suspect ... AliceCorp Competitor Citizen Alice Shared anonymity net “???” “???” “???”

slide-19
SLIDE 19

19

Yes, bad people need anonymity too. But they are already doing well.

Evil Criminal Alice Stolen mobile phones Compromised botnet Open wireless nets .....

slide-20
SLIDE 20

20

Current situation: Bad people on the Internet are doing fine

Trojans Viruses Exploits Phishing Spam Botnets Zombies Espionage DDoS Extortion

slide-21
SLIDE 21

21

The simplest designs use a single relay to hide connections.

Bob2 Bob1 Bob3 Alice2 Alice1 Alice3 Relay E(Bob3,“X”) E(Bob1, “Y”) E ( B

  • b

2 , “ Z ” ) “Y” “Z” “X”

(example: some commercial proxy providers)

slide-22
SLIDE 22

22

But a single relay (or eavesdropper!) is a single point of failure.

Bob2 Bob1 Bob3 Alice2 Alice1 Alice3 Evil Relay E(Bob3,“X”) E(Bob1, “Y”) E ( B

  • b

2 , “ Z ” ) “Y” “Z” “X”

slide-23
SLIDE 23

23

... or a single point of bypass.

Bob2 Bob1 Bob3 Alice2 Alice1 Alice3 Irrelevant Relay E(Bob3,“X”) E(Bob1, “Y”) E ( B

  • b

2 , “ Z ” ) “Y” “Z” “X”

Timing analysis bridges all connections through relay ⇒ An attractive fat target

slide-24
SLIDE 24

24

So, add multiple relays so that no single one can betray Alice.

Bob Alice R1 R2 R3 R4 R5

slide-25
SLIDE 25

25

A corrupt first hop can tell that Alice is talking, but not to whom.

Bob Alice R1 R2 R3 R4 R5

slide-26
SLIDE 26

26

A corrupt final hop can tell that somebody is talking to Bob, but not who.

Bob Alice R1 R2 R3 R4 R5

slide-27
SLIDE 27

27

Alice makes a session key with R1 ...And then tunnels to R2...and to R3

Bob Alice R1 R2 R3 R4 R5 Bob2

slide-28
SLIDE 28

28

slide-29
SLIDE 29

29

slide-30
SLIDE 30

30

slide-31
SLIDE 31

31

slide-32
SLIDE 32

32

slide-33
SLIDE 33

33

slide-34
SLIDE 34

34

slide-35
SLIDE 35

35

slide-36
SLIDE 36

36

China (September 2009)

  • China grabbed the list of public relays and

blocked them

  • They also enumerated one of the three

bridge buckets (the ones available via https://bridges.torproject.org/)

  • But they missed the other bridge buckets.
slide-37
SLIDE 37

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

slide-38
SLIDE 38

38

The basic Tor design uses a simple centralized directory protocol.

S2 S1 Alice Trusted directory Trusted directory S3 cache cache Servers publish self-signed descriptors. Authorities publish a consensus list of all descriptors Alice downloads consensus and descriptors from anywhere

slide-39
SLIDE 39

39 R4 R2 R1 R3 Bob Alice Alice Alice Alice Alice Blocked User Blocked User Blocked User Blocked User Blocked User Alice Alice Alice Alice Alice Alice Alice Alice Alice Alice

slide-40
SLIDE 40

40

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

slide-41
SLIDE 41

41

Attackers can block users from connecting to the Tor network

1) By blocking the directory authorities 2) By blocking all the relay IP addresses in the directory, or the addresses of other Tor services 3) By filtering based on Tor's network fingerprint 4) By preventing users from finding the Tor software (usually by blocking website)

slide-42
SLIDE 42

42

slide-43
SLIDE 43

43

slide-44
SLIDE 44

44

slide-45
SLIDE 45

45

slide-46
SLIDE 46

46

slide-47
SLIDE 47

47

What we spend our time on

Performance and scalability Maintaining the whole software ecosystem Blocking-resistance (circumvention) Basic research on anonymity Reusability and modularity Advocacy, education, and trainings around the world Metrics, data, and analysis

slide-48
SLIDE 48

48

Javascript, cookies, history, etc

Javascript refresh attack Cookies, History, browser window size, user-agent, language, http auth, ... Our Torbutton Firefox extension tackles many of these

slide-49
SLIDE 49

49

Flash is dangerous too

Some apps are bad at obeying their proxy settings. Adobe PDF plugin. Flash. Other plugins.

  • Extensions. Especially Windows stuff:

did you know that Microsoft Word is a network app?

slide-50
SLIDE 50

50

Tor Browser Bundle (TBB)

slide-51
SLIDE 51

51

Tails (Tor LiveCD)

slide-52
SLIDE 52

52

Orbot (Tor for Android)

slide-53
SLIDE 53

53

Tor pluggable transports

slide-54
SLIDE 54

54

slide-55
SLIDE 55

55

slide-56
SLIDE 56

56

slide-57
SLIDE 57

57

slide-58
SLIDE 58

58

slide-59
SLIDE 59

59

slide-60
SLIDE 60

60

slide-61
SLIDE 61

61

Tor is only a piece of the puzzle

  • Assume the users aren't attacked by

their hardware and software

–No spyware installed, no cameras

watching their screens, etc

  • Assume the users can fetch a

genuine copy of Tor: from a friend, via PGP signatures, etc.

slide-62
SLIDE 62

62

Advocacy and education

  • Unending stream of people (e.g. in DC)

who make critical policy decisions without much technical background

  • Worse, there's a high churn rate
  • Need to teach policy-makers, business

leaders, law enforcement, journalists, ...

  • Data retention? Internet driver's license?
slide-63
SLIDE 63

63

slide-64
SLIDE 64

64

Lessons?

  • 1) Bad people don't need Tor.

They're doing fine.

  • 2) Honest people need more

security/privacy/anonymity.

  • 3) Law enforcement benefits from it

too.

  • 4) Tor is not unbreakable.