Tor: Anonymous Communications for the Dept of Defense ... and you. - - PowerPoint PPT Presentation

tor anonymous communications for the dept of defense and
SMART_READER_LITE
LIVE PREVIEW

Tor: Anonymous Communications for the Dept of Defense ... and you. - - PowerPoint PPT Presentation

Tor: Anonymous Communications for the Dept of Defense ... and you. Roger Dingledine The Free Haven Project http://tor.eff.org/ 1 Tor: Big Picture Freely available (Open Source), unencumbered. Comes with a spec and full documentation:


slide-1
SLIDE 1

1

Tor: Anonymous Communications for the Dept

  • f Defense ... and you.

Roger Dingledine The Free Haven Project http://tor.eff.org/

slide-2
SLIDE 2

2

Tor: Big Picture

  • Freely available (Open Source), unencumbered.
  • Comes with a spec and full documentation:

German universities implemented compatible Java Tor clients; researchers use it to study anonymity.

  • Chosen as anonymity layer for EU PRIME project.
  • 200000+ active users.
  • PC World magazine named Tor one of the Top 100

Products of 2005.

slide-3
SLIDE 3

3

Informally: anonymity means you can't tell who did what

“Who wrote this blog post?” “Who's been viewing my webpages?” “Who's been emailing patent attorneys?”

slide-4
SLIDE 4

4

Formally: anonymity means indistinguishability within an “anonymity set”

Alice1 Alice4 Alice7 Alice2 Alice6 Alice5 Alice8 Alice3 .... Bob Attacker can't tell which Alice is talking to Bob!

slide-5
SLIDE 5

5

We have to make some assumptions about what the attacker can do.

Alice Anonymity network Bob watch (or be!) Bob! watch Alice! Control part of the network! Etc, etc.

slide-6
SLIDE 6

6

Anonymity isn't cryptography: Cryptography just protects contents.

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

slide-7
SLIDE 7

7

Anonymity isn't steganography: Attacker can tell that Alice is talking; just not to whom.

Alice1 Bob1 ... Anonymity network Alice2 AliceN (Strong high-bandwidth steganography may not exist.) Bob2

slide-8
SLIDE 8

8

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-9
SLIDE 9

9

...since “weak” anonymity... isn't.

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

Will others parties have the ability and incentives to keep their promises? Proof is a very strong word. With statistics, suspicion becomes certainty. Not what we're talking about. Nope! (More info later.)

slide-10
SLIDE 10

10

Anonymity serves different interests for different user groups.

Anonymity Private citizens Governments Businesses “It's privacy!”

slide-11
SLIDE 11

11

Anonymity serves different interests for different user groups.

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

slide-12
SLIDE 12

12

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-13
SLIDE 13

13

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.” “I sell the logs.” “Hey, they aren't my secrets.” Name, address, age, friends, interests (medical, financial, etc), unpopular opinions, illegal opinions.... Blogger Alice 8-year-old Alice Sick Alice Consumer Alice Oppressed Alice ....

slide-14
SLIDE 14

14

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-15
SLIDE 15

15

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-16
SLIDE 16

16

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 the CIA Google for?” Compromised service “What will you bid for a list of Baghdad IP addresses that get email from .gov?”

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

IP addresses can be enough to bootstrap knowledge of identity.

Alice 18.244.x.x Amazon account Hotlinked ad Wikipedia post

slide-22
SLIDE 22

22

Tor is not the first or only design for anonymity.

Chaum's Mixes (1981) Remailer networks: cypherpunk (~93), mixmaster (~95), mixminion (~02) High-latency ...and more! anon.penet.fi (~91) Low-latency Single-hop proxies V1 Onion Routing (~96) ZKS “Freedom” (~99-01) Crowds (~96) Java Anon Proxy (~00-) Tor (01-)

slide-23
SLIDE 23

23

Low-latency systems are vulnerable to end-to-end correlation attacks.

Low-latency: Alice1 sends: xx x xxxx x Bob2 gets: xx x xxxx x Alice2 sends: x x xx x x Bob1 gets: x x x x x x High-latency: Alice1 sends: xx x xxxx Alice2 sends: x x xx x x Bob1 gets: xx xxxx ..... Bob2 gets: x xxxxx ..... Time

These attacks work in practice. The obvious defenses are expensive (like high-latency), useless, or both.

match! match!

slide-24
SLIDE 24

24

Still, we focus on low-latency, because it's more useful.

Interactive apps: web, IM, VOIP, ssh, X11, ... # users: millions? Apps that accept multi-hour delays and high bandwidth

  • verhead: email, sometimes.

# users: tens of thousands at most? And if anonymity loves company....?

slide-25
SLIDE 25

25

The simplest designs use a single relay to hide connections.

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

  • b

2 , “ Z ” “Y” “Z” “X” (ex: some commercial proxy providers)

slide-26
SLIDE 26

26

But an attacker who sees Alice can see what she's doing.

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

  • b

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

slide-27
SLIDE 27

27

Add encryption to stop attackers who eavesdrop on Alice.

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

  • b

2 , “ Z ” ) “Y” “Z” “X” (ex: some commercial proxy providers)

slide-28
SLIDE 28

28

But a single relay 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”

Eavesdropping the relay works too.

slide-29
SLIDE 29

29

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

Bob Alice R1 R2 R3 R4 R5

slide-30
SLIDE 30

30

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

Bob Alice R1 R2 R3 R4 R5

slide-31
SLIDE 31

31

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

Bob Alice R1 R2 R3 R4 R5

slide-32
SLIDE 32

32

Alice makes a session key with R1

Bob Alice R1 R2 R3 R4 R5

slide-33
SLIDE 33

33

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

Bob Alice R1 R2 R3 R4 R5

slide-34
SLIDE 34

34

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

Bob Alice R1 R2 R3 R4 R5

slide-35
SLIDE 35

35

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

Bob Alice R1 R2 R3 R4 R5

slide-36
SLIDE 36

36

Can multiplex many connections through the encrypted circuit

Bob Alice R1 R2 R3 R4 R5 Bob2

slide-37
SLIDE 37

37

Tor anonymizes TCP streams only: it needs other applications to clean high-level protocols.

Web browser Web scrubber IRC client SSH Tor client Tor network S O C K S SOCKS H T T P SOCKS

slide-38
SLIDE 38

38

We added a control protocol for external GUI applications. (GUI contest!)

Web browser Web scrubber SSH Tor client SOCKS Control protocol HTTP S O C K S Controller GUI (Change configuration, report errors, manage circuits, etc.)

slide-39
SLIDE 39

39

Usability for server operators is key.

  • Rate limiting: eating too much bandwidth is rude!
  • Exit policies: not everyone is willing to emit

arbitrary traffic.

allow 18.0.0.0/8:* allow *:22 allow *:80 reject *:*

slide-40
SLIDE 40

40

Server discovery must not permit liars to impersonate the whole network.

Alice1 Evil Server

  • 1. Alice says, “Describe the network!”

Alice1 Evil Server E.S. E.S. E.S. E.S. E.S. E.S.

  • 2. Alice is now in trouble.
slide-41
SLIDE 41

41

Server discovery is hard because misinformed clients lose anonymity.

S S S S S S S S S Alice2 Bob1 Bob2 Alice1 Known to Alice1 Known to Alice2

slide-42
SLIDE 42

42

Early Tor versions used a trivial centralized directory protocol.

S2 S1 Alice Trusted directory Trusted directory S3 cache cache Servers publish self-signed descriptors. Authorities publish signed lists of all descriptors Alice downloads any signed list

slide-43
SLIDE 43

43

We redesigned our directory protocol to reduce trust bottlenecks.

S2 S1 Alice Evil Trusted directory Trusted directory S3 cache cache Servers publish self-signed descriptors. Authorities publish signed statements about descriptors. Alice downloads all statements; believes the majority; downloads descriptors as needed. (Also uses less bandwidth!)

slide-44
SLIDE 44

44

Tor implements responder anonymity with hidden services.

Alice Bob Directory 2 . “ P K , S i g n ( S 1 ) ” S1

  • 1. “Sign(PK)”

3 . “ H ( P K ) .

  • n

i

  • n

” ? “ P K , S i g n ( S 1 ) ” ! All these connections are anonymized.

slide-45
SLIDE 45

45

Tor implements responder anonymity with hidden services.

Alice Bob Directory 6 . “ T ! ” h a n d s h a k e S1 5 . P K , E ( “ M e e t m e a t S 2 ” , T ) All these connections are anonymized. S2

  • 4. “Wait for T,

handshake” 5' E(“Meet me at S2”,T)

slide-46
SLIDE 46

46

Tor implements responder anonymity with hidden services.

Alice Bob S1 S2 (provides uptime, linked to service)

Bidirectional anonymity!

(provides bandwidth, chosen by Alice)

slide-47
SLIDE 47

47

We're currently the largest strong anonymity network ever deployed.

S

> 700 running

A S

>

A

> 200,000 in a week

A A SS

> 70 MB/sec

slide-48
SLIDE 48

48

Growth in servers is increasing.

slide-49
SLIDE 49

49

Bandwidth capacity is increasing.

slide-50
SLIDE 50

50

Problem: Abusive users get the whole network blocked.

Jerk Alice Nice Alice Tor network /. wikipedia Some IRC networks X X X Minimize scope of blocking?

slide-51
SLIDE 51

51

Other common abuses

  • Somebody connects to Hotmail, and sends an
  • bnoxious mail.
  • Somebody connects to IRC and yells -> DDoS on

Tor exit server.

  • Somebody tries to get you shut down by

connecting to Google Groups and posting spam.

  • Somebody uses Tor to download a movie, and

your ISP gets a DMCA takedown.

  • SORBS / Blacklists
slide-52
SLIDE 52

52

Problem: China is hard to beat. They can just block the whole network.

Alice Alice S S S S X X

They don't, yet. But when they do...?

slide-53
SLIDE 53

53

Can we get a large number of semi- secret relays for China?

Alice Alice S S S S S S S S X X

And how to distribute them?

slide-54
SLIDE 54

54

Next steps

  • Need to work on Windows stability and usability –

including GUI and installers.

  • Need to make it easier to be a server; incentives.
  • Design for scalability and decentralization – tens
  • f thousands of servers, millions of users.
  • Hidden services need to be faster / more stable.
  • Enclave-level onion routers (for enterprise/govt).
  • Documentation and user support.
slide-55
SLIDE 55

55

University Tor servers

  • MIT, RPI, UCLA, Brown, ...
  • Harvard, Georgia Tech, CMU
  • UMass Amherst
  • Dartmouth, Rice, UNC, ...
  • Berkeley
  • Rose-Hulman
  • Michigan Tech
slide-56
SLIDE 56

56

Questions?

  • Tor: http://tor.eff.org/

– Try it out; want to run a server?

  • Anonymity bibliography:

http://freehaven.net/anonbib/