The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An...

125
The Utility of the Tor Network By: Hammas Bin Tanveer Advisor: Dr. Rishab Nithyanand 1

Transcript of The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An...

Page 1: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

The Utility of

the Tor NetworkBy: Hammas Bin TanveerAdvisor: Dr. Rishab Nithyanand

1

Page 2: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

The Anonymous Internet

2

Page 3: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

A regular internet connection

Daniyal Mahnaz

3

Page 4: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

A regular internet connection

Daniyal Mahnaz

Dst: Mahnaz

Src: Daniyal

4

Page 5: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

A regular internet connection

Daniyal Mahnaz

Src: Daniyal

5

Page 6: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

A regular internet connection

Daniyal Mahnaz

Dst: Daniyal

tribune.pk

6

Page 7: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

A regular internet connection

Daniyal Mahnaz

Src: Mahnaz

7

Page 8: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

A regular internet connection

Daniyal Mahnaz

Src: Mahnaz Dst: Daniyal

8

Page 9: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

An internet connection through Tor

MahnazDaniyal9

Page 10: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

An internet connection through Tor

MahnazDaniyal

Tor network

10

Page 11: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

An internet connection through Tor

MahnazDaniyal

Tor network

11

Page 12: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

An internet connection through Tor

MahnazDaniyal

Tor network

12

Page 13: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

An internet connection through TorThe setup

Daniyal

13

Page 14: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

An internet connection through TorThe setup

Daniyal

Torproject.org

14

Page 15: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

An internet connection through TorThe setup

Daniyal

Torproject.org

Get: Tor client

15

Page 16: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

An internet connection through TorThe setup

Daniyal

Torproject.org

Tor client

16

Page 17: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

An internet connection through TorThe setup

Daniyal

Torproject.org

Setup

Tor proxy

Onion

Proxy 17

Page 18: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

An internet connection through TorBuilding a Tor circuit

Daniyal

Setup

Tor proxy

Onion

Proxy

Directory

Authorities18

Page 19: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

An internet connection through TorBuilding a Tor circuit

Directory

Authorities

Onion

Routers19

Page 20: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

An internet connection through TorService Descriptors

Service Descriptor

- Contact Information- Public Keys- Average Bandwidth- Exit Policy

20

Page 21: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

An internet connection through TorBuilding a Tor circuit

Directory

Authorities

Onion

Routers

Get Descriptors

Get Descriptors

Get Descriptors

21

Page 22: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

An internet connection through TorBuilding a Tor circuit

Daniyal

Setup

Tor proxy

Onion

Proxy

Directory

Authorities

Publish

Consensus

22

Page 23: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

An internet connection through TorBuilding a Tor circuit

Daniyal

Setup

Tor proxy

Onion

Proxy

Directory

Authorities

Publish

Consensus

GetConsensus

23

Page 24: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

An internet connection through TorThe Tor circuit

MahnazDaniyal24

Page 25: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

An internet connection through TorThe Tor circuit

MahnazDaniyal

OR1 OR2

OR3

25

Page 26: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

An internet connection through TorThe Tor circuit

MahnazDaniyal

OR1 OR2

OR3

26

Page 27: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

An internet connection through TorThe Tor circuit

MahnazDaniyal

OR1 OR2

OR3

27

Page 28: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

An internet connection through TorThe Tor circuit

MahnazDaniyal

OR1 OR2

OR3

28

Page 29: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

An internet connection through TorThe Tor circuit

MahnazDaniyal

OR1 OR2

OR3

29

Page 30: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

An internet connection through TorThe Tor circuit

MahnazDaniyal

OR1 OR2

OR3

30

Page 31: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

An internet connection through TorThe Tor circuit

MahnazDaniyal

OR1 OR2

OR3

31

Page 32: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

An internet connection through TorThe Tor circuit

MahnazDaniyal

OR1 OR2

OR3

32

Page 33: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

An internet connection through TorThe Tor circuit

MahnazDaniyal

OR1 OR2

OR3

Dst: OR1

33

Page 34: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

An internet connection through TorThe Tor circuit

MahnazDaniyal

OR1 OR2

OR3Src: Daniyal

34

Page 35: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

An internet connection through TorThe Tor circuit

MahnazDaniyal

OR1 OR2

OR3

Dst: OR2

35

Page 36: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

An internet connection through TorThe Tor circuit

MahnazDaniyal

OR1 OR2

OR3

Src:OR1

36

Page 37: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

An internet connection through TorThe Tor circuit

MahnazDaniyal

OR1 OR2

OR3

Dst: OR3

37

Page 38: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

An internet connection through TorThe Tor circuit

MahnazDaniyal

OR1 OR2

OR3Src: OR2

38

Page 39: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

An internet connection through TorThe Tor circuit

MahnazDaniyal

OR1 OR2

OR3

Dst: Mahnaz

39

Page 40: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

An internet connection through TorThe Tor circuit

MahnazDaniyal

OR1 OR2

OR3

Src: OR3

40

Page 41: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

An internet connection through TorThe Tor circuit

MahnazDaniyal

OR1 OR2

OR3

41

Page 42: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

An internet connection through TorThe Tor circuit

MahnazDaniyal

OR1 OR2

OR3

42

Page 43: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

An internet connection through TorThe Tor circuit

MahnazDaniyal

OR1 OR2

OR3

43

Page 44: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

An internet connection through TorThe Tor circuit

MahnazDaniyal

OR1 OR2

OR3

44

Page 45: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

An internet connection through TorA global adversary

MahnazDaniyal

OR1 OR2

OR3

45

Page 46: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

An internet connection through TorA global adversary

MahnazDaniyal

OR1 OR2

OR3

46

Page 47: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

DifferencesTor vs. A regular internet connection

47

Page 48: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

DifferencesTor vs. A regular internet connection

DaniyalOnion Proxy

48

Page 49: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

DifferencesTor vs. A regular internet connection

DaniyalOnion Proxy

An Onion Proxy needs to be set up to route traffic through Tor:- Use a regular browser configured to route traffic- Use the Tor browser which comes preconfigured with the Tor

proxy

49

Page 50: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

DifferencesTor vs. A regular internet connection

DaniyalOnion Proxy

An Onion Proxy needs to be set up to route traffic through Tor:- Use a regular browser configured to route traffic- Use the Tor browser which comes preconfigured with the Tor

proxy

50

Page 51: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

DifferencesTor vs. A regular internet connection

DaniyalOnion Proxy

An Onion Proxy needs to be set up to route traffic through Tor:- Use a regular browser configured to route traffic- Use the Tor browser which comes preconfigured with the Tor

proxy

- Setting up a Tor circuit- Network traffic is routed through a minimum of three Onion routers

which are volunteered owned and operated

51

Page 52: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

DifferencesTor vs. A regular internet connection

Daniyal

An Onion Proxy needs to be set up to route traffic through Tor:- Use a regular browser configured to route traffic- Use the Tor browser which comes preconfigured with the Tor

proxyOnion Proxy

MahnazExitRelay

- Setting up a Tor circuit- Network traffic is routed through a minimum of three Onion routers

which are volunteered owned and operated

52

Page 53: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

DifferencesTor vs. A regular internet connection

Daniyal

An Onion Proxy needs to be set up to route traffic through Tor:- Use a regular browser configured to route traffic- Use the Tor browser which comes preconfigured with the Tor

proxyOnion Proxy

MahnazExitRelay

- The end server (Mahnaz) sees the traffic coming from the Exit Relay instead of the sender (Daniyal)

- Setting up a Tor circuit- Network traffic is routed through a minimum of three Onion routers

which are volunteered owned and operated

53

Page 54: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

The Utility of the Tor Network

54

Page 55: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

The Utility of the Tor Network

• The number of people who can successfully access the Tor network as compared to the number of people trying to access the Tor network

55

Page 56: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

The Utility of the Tor Network

• The number of people who can successfully access the Tor network as compared to the number of people trying to access the Tor network

• The extra latency and bandwidth challenges that Tor users experience as compared to an individual trying to access web resources over the regular internet

56

Page 57: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

The Utility of the Tor Network

• The number of people who can successfully access the Tor network as compared to the number of people trying to access the Tor network

• The extra latency and bandwidth challenges that Tor users experience as compared to an individual trying to access web resources over the regular internet

• The number of web resources on the regular internet that a Tor user can access

57

Page 58: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

The number of people who can successfully access the Tor network as compared to the number of people trying to access the Tor network

Daniyal

An Onion Proxy needs to be set up to route traffic through Tor:- Use a regular browser configured to route traffic through Tor- Use the Tor browser which comes preconfigured with the Tor

proxyOnion Proxy

58

Page 59: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

The number of people who can successfully access the Tor network as compared to the number of people trying to access the Tor network

Daniyal

An Onion Proxy needs to be set up to route traffic through Tor:- Use a regular browser configured to route traffic through Tor- Use the Tor browser which comes preconfigured with the Tor

proxyOnion Proxy

Use a regular browser configured to route traffic through Tor

- Directions are not straightforward for a typical internet user

- Installation required knowledge of complicated jargon

- Validating whether Tor proxy is working is not straightforward

59

Page 60: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

The number of people who can successfully access the Tor network as compared to the number of people trying to access the Tor network

Daniyal

An Onion Proxy needs to be set up to route traffic through Tor:- Use a regular browser configured to route traffic through Tor- Use the Tor browser which comes preconfigured with the Tor

proxyOnion Proxy

Use a regular browser configured to route traffic through Tor

- Directions are not straightforward for a typical internet user

- Installation required knowledge of complicated jargon

- Validating whether Tor proxy is working is not straightforward

Using the Tor browser

Challenge Category label

Broken FunctionalityBroken websites

Reduced productivity

Shopping

Geolocation Geolocation

Latency Slower Access

Differential Treatment CAPTCHAs/Pages inaccessible 60

Page 61: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

The number of people who can successfully access the Tor network as compared to the number of people trying to access the Tor network

Daniyal

An Onion Proxy needs to be set up to route traffic through Tor:- Use a regular browser configured to route traffic through Tor- Use the Tor browser which comes preconfigured with the Tor

proxyOnion Proxy

Use a regular browser configured to route traffic through Tor

- Directions are not straightforward for a typical internet user

- Installation required knowledge of complicated jargon

- Validating whether Tor proxy is working is not straightforward

Using the Tor browser

Challenge Category label

Broken FunctionalityBroken websites

Reduced productivity

Shopping

Geolocation Geolocation

Latency Slower Access

Differential Treatment CAPTCHAs/Pages inaccessible

Censorship of Tor

- Access blocked to the Tor Project’s website

- Access blocked to publicly listed relays in the consensus document

- Analysis of Tor traffic, blocking Tor connections

61

Page 62: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

The number of people who can successfully access the Tor network as compared to the number of people trying to access the Tor network

Daniyal

An Onion Proxy needs to be set up to route traffic through Tor:- Use a regular browser configured to route traffic through Tor- Use the Tor browser which comes preconfigured with the Tor

proxyOnion Proxy

Use a regular browser configured to route traffic through Tor

- Directions are not straightforward for a typical internet user

- Installation required knowledge of complicated jargon

- Validating whether Tor proxy is working is not straightforward

Using the Tor browser

Challenge Category label

Broken FunctionalityBroken websites

Reduced productivity

Shopping

Geolocation Geolocation

Latency Slower Access

Differential Treatment CAPTCHAs/Pages inaccessible

Censorship of Tor

- Access blocked to the Tor Project’s website

- Access blocked to publicly listed relays in the consensus document

- Active analysis of Tor traffic, blocking Tor connections

USABILITY

62

Page 63: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

The number of people who can successfully access the Tor network as compared to the number of people trying to access the Tor network

Daniyal

An Onion Proxy needs to be set up to route traffic through Tor:- Use a regular browser configured to route traffic through Tor- Use the Tor browser which comes preconfigured with the Tor

proxyOnion Proxy

Use a regular browser configured to route traffic through Tor

- Directions are not straightforward for a typical internet user

- Installation required knowledge of complicated jargon

- Validating whether Tor proxy is working is not straightforward

Using the Tor browser

Challenge Category label

Broken FunctionalityBroken websites

Reduced productivity

Shopping

Geolocation Geolocation

Latency Slower Access

Differential Treatment CAPTCHAs/Pages inaccessible

Censorship of Tor

- Access blocked to the Tor Project’s website

- Access blocked to publicly listed relays in the consensus document

- Active analysis of Tor traffic, blocking Tor connections

USABILITY CENSORSHIP

63

Page 64: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

The number of people who can successfully access the Tor network as compared to the number of people trying to access the Tor network

Daniyal

An Onion Proxy needs to be set up to route traffic through Tor:- Use a regular browser configured to route traffic through Tor- Use the Tor browser which comes preconfigured with the Tor

proxyOnion Proxy

Use a regular browser configured to route traffic through Tor

- Directions are not straightforward for a typical internet user

- Installation required knowledge of complicated jargon

- Validating whether Tor proxy is working is not straightforward

Using the Tor browser

Challenge Category label

Broken FunctionalityBroken websites

Reduced productivity

Shopping

Geolocation Geolocation

Latency Slower Access

Differential Treatment CAPTCHAs/Pages inaccessible

USABILITY - 50% of all participants report some type of functional hindrance

- Biggest issues were latency and functionality breaks

- Users also reported lack of trust due to unrefined UX of the browser

64

Page 65: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

The number of people who can successfully access the Tor network as compared to the number of people trying to access the Tor network

Daniyal

An Onion Proxy needs to be set up to route traffic through Tor:- Use a regular browser configured to route traffic through Tor- Use the Tor browser which comes preconfigured with the Tor

proxyOnion Proxy

Censorship of Tor

- Access blocked to the Tor Project’s website

- Access blocked to publicly listed relays in the consensus document

- Active analysis of Tor traffic, blocking Tor connections

CENSORSHIP - Tor traffic is identifiable by censors due to certain unique characteristics

- Methods to hide Tor traffic are ineffective

- Tor traffic can be identified with an accuracy of > 90% even if it is made to look like any other protocol’s traffic

65

Page 66: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

• The extra latency and bandwidth challenges that Tor users experience as compared to an individual trying to access web resources over the

• regular internet

- Setting up a Tor Circuit- Network traffic is routed through a minimum of three Onion

routers which are volunteered owned and operated

66

Page 67: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

• The extra latency and bandwidth challenges that Tor users experience as compared to an individual trying to access web resources over the

• regular internet

- Setting up a Tor Circuit- Network traffic is routed through a minimum of three Onion

routers which are volunteered owned and operated

Tor Circuit setup- Requires extra steps and hence extra time before a connection to the internet can be established

67

Page 68: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

• The extra latency and bandwidth challenges that Tor users experience as compared to an individual trying to access web resources over the

• regular internet

- Setting up a Tor Circuit- Network traffic is routed through a minimum of three Onion

routers which are volunteered owned and operated

Tor Circuit setup- Requires extra steps and hence extra time before a connection to the internet can be established

Traffic routing through Tor relays- User’s traffic is routed through at least 3 Tor relays

before it reaches the end server adding extra latency

- The Tor relays are volunteer owned and operated network resources and are hence limited in number

68

Page 69: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

• The extra latency and bandwidth challenges that Tor users experience as compared to an individual trying to access web resources over the

• regular internet

- Setting up a Tor Circuit- Network traffic is routed through a minimum of three Onion

routers which are volunteered owned and operated

Tor Circuit setup- Requires extra steps and hence extra time before a connection to the internet can be established

Traffic routing through Tor relays- User’s traffic is routed through at least 3 Tor relays

before it reaches the end server adding extra latency

- The Tor relays are volunteer owned and operated network resources and are hence limited in number

LATENCY - Tor is slower than regular traffic due to the very nature of the network itself

- Evaluating circuit build times and congestion awareness can reduce the latency experienced by a user

- There is a tradeoff between anonymity and latency

69

Page 70: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

The number of web resources on the regular internet that a Tor user can access

MahnazExitRelay

- The end server (Mahnaz) sees the traffic coming from the Exit Relay instead of the sender (Daniyal)

70

Page 71: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

The number of web resources on the regular internet that a Tor user can accessFate Sharing

Tor users Tor relays71

Page 72: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

The number of web resources on the regular internet that a Tor user can accessFate Sharing

Tor users Tor relays72

Page 73: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

The number of web resources on the regular internet that a Tor user can accessFate Sharing

Daniyal

Taimoor

OR3

73

Page 74: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

The number of web resources on the regular internet that a Tor user can accessFate Sharing

Daniyal

Mahnaz

Taimoor

OR3

74

Page 75: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

The number of web resources on the regular internet that a Tor user can accessFate Sharing

Daniyal

Mahnaz

Taimoor

OR3

75

Page 76: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

The number of web resources on the regular internet that a Tor user can accessFate Sharing

Daniyal

Mahnaz

Taimoor

OR3

76

Page 77: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

The number of web resources on the regular internet that a Tor user can accessFate Sharing

Daniyal

Mahnaz

Src: OR3

Taimoor

OR3

77

Page 78: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

The number of web resources on the regular internet that a Tor user can accessFate Sharing

Daniyal

Mahnaz

Taimoor

OR3

78

Page 79: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

The number of web resources on the regular internet that a Tor user can accessFate Sharing

Daniyal

Mahnaz

Src: OR3

Taimoor

OR3

79

Page 80: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

The number of web resources on the regular internet that a Tor user can accessFate Sharing

Daniyal

Mahnaz

Src: OR3

Taimoor

OR3

80

Page 81: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

The number of web resources on the regular internet that a Tor user can accessFate Sharing

Daniyal

Mahnaz

Taimoor

OR3

Roya

Ali81

Page 82: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

The number of web resources on the regular internet that a Tor user can accessFate Sharing

Daniyal

Mahnaz ThreatIntelligence

Taimoor

OR3

Roya

Ali82

Page 83: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

The number of web resources on the regular internet that a Tor user can accessFate Sharing

Daniyal

Mahnaz ThreatIntelligence

Taimoor

OR3

Roya

Ali83

Page 84: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

The number of web resources on the regular internet that a Tor user can accessFate Sharing

Daniyal

Mahnaz ThreatIntelligence

Taimoor

OR3

Roya

Ali84

Page 85: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

The number of web resources on the regular internet that a Tor user can accessFate Sharing

Daniyal

Mahnaz ThreatIntelligence

Threat Info

Taimoor

OR3

Ali85

Page 86: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

The number of web resources on the regular internet that a Tor user can accessFate Sharing

Daniyal

Mahnaz ThreatIntelligence

Threat Info

Taimoor

OR3

Roya

Ali86

Page 87: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

The number of web resources on the regular internet that a Tor user can accessFate Sharing

Daniyal

Mahnaz ThreatIntelligence

Threat Info

Taimoor

OR3

Roya

Ali87

Page 88: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

The number of web resources on the regular internet that a Tor user can accessFate Sharing

Daniyal

Mahnaz ThreatIntelligence

Threat Info

Differential Treatment

Taimoor

OR3

Roya

Ali88

Page 89: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

The number of web resources on the regular internet that a Tor user can access

89

Page 90: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

The number of web resources on the regular internet that a Tor user can access

Key goals

- Analyzing the extent of server-side discrimination faced by Tor users

- Analyzing the undesired traffic sent through Tor relays

- Analyzing whether the Tor network is blocked “reactively” or “proactively”

90

Page 91: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

Analyzing the extent of server-side discrimination faced by Tor users

Daniyal

Mahnaz ThreatIntelligence

Threat Info

Taimoor

OR3

Roya

Ali91

Page 92: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

Analyzing the extent of server-side discrimination faced by Tor users

Daniyal

Mahnaz ThreatIntelligence

Threat Info

Taimoor

OR3

Roya

Ali92

Page 93: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

Analyzing the extent of server-side discrimination faced by Tor users

- Built a web crawler based on selenium- Visited the home page of a website- Instrumented search functionality- Instrumented login functionality

93

Page 94: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

Analyzing the extent of server-side discrimination faced by Tor users

- Built a web crawler based on selenium- Visited the home page of a website- Instrumented search functionality- Instrumented login functionality

- Human like interactions with the website- Used a full-fledged browser (Firefox)- Bot-detection avoidance technique

- Rate limited clicking- Automating cursor movements- Clicking visible elements on a page

94

Page 95: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

Analyzing the extent of server-side discrimination faced by Tor users

- Built a web crawler based on selenium- Visited the home page of a website- Instrumented search functionality- Instrumented login functionality

- Human like interactions with the website- Used a full-fledged browser (Firefox)- Bot-detection avoidance technique

- Rate limited clicking- Automating cursor movements- Clicking visible elements on a page

- The crawler visited the Alexa top 500 websites- Collected HAR files- Recorded screenshots of all pages visited

95

Page 96: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

Analyzing the extent of server-side discrimination faced by Tor usersTypes of discrimination

CAPTCHAs

96

Page 97: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

Analyzing the extent of server-side discrimination faced by Tor usersTypes of discrimination

CAPTCHAsBlock pages

97

Page 98: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

Analyzing the extent of server-side discrimination faced by Tor usersDetecting Discrimination

98

Page 99: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

Analyzing the extent of server-side discrimination faced by Tor usersDetecting Discrimination

pHash

pHash

pHash

99

Page 100: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

Analyzing the extent of server-side discrimination faced by Tor usersDetecting Discrimination

pHash

pHash

pHash

pHash distance < 0.40

pHash distance > 0.75

100

Page 101: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

Analyzing the extent of server-side discrimination faced by Tor usersDetecting Discrimination

pHash

pHash

pHash

pHash distance < 0.40

pHash distance > 0.75

No discrimination

Discrimination

101

Page 102: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

Analyzing the extent of server-side discrimination faced by Tor usersExtent of Discrimination

Alexa Top 500

102

Page 103: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

Analyzing the extent of server-side discrimination faced by Tor usersExtent of Discrimination

Alexa Top 500

Front page

20%

103

Page 104: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

Analyzing the extent of server-side discrimination faced by Tor usersExtent of Discrimination

Alexa Top 500

Front page

Front page + Search (S-243)

20%

3.9%

17.4%

104

Page 105: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

Analyzing the extent of server-side discrimination faced by Tor usersExtent of Discrimination

Alexa Top 500

Front page

Front page + Search (S-243)

Front page + Login (L-62)

20%

3.9%

7.5%

17.4%

17.1%

105

Page 106: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

Analyzing the extent of server-side discrimination faced by Tor usersExtent of Discrimination

Alexa Top 500

Front page

Front page + Search (S-243)

Front page + Login (L-62)

20%

3.9%

7.5%

31%Of all Tor users face some form of differential treatment on the regular internet

17.4%

17.1%

106

Page 107: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

Analyzing the extent of server-side discrimination faced by Tor usersExtent of Discrimination

Alexa Top 500

Front page

Front page + Search (S-243)

Front page + Login (L-62)

20%

3.9%

7.5%

31%Of all Tor users face some form of differential treatment on the regular internet

17.4%

17.1%

107

Page 108: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

Analyzing the undesired traffic sent through Tor relaysCollection

Daniyal

Mahnaz

Taimoor

OR3

Roya

Ali108

Page 109: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

Analyzing the undesired traffic sent through Tor relaysCollection

Daniyal

Mahnaz

AbuseComplaint

Taimoor

OR3

Roya

Ali109

Page 110: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

Analyzing the undesired traffic sent through Tor relaysCollection

Daniyal

Mahnaz

AbuseComplaint

Taimoor

OR3

Roya

Ali110

Page 111: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

Analyzing the undesired traffic sent through Tor relaysCollection

- Abuse E-mails from 25 Tor relays- 10 relays run by themselves- 15 relays run by other individuals

111

Page 112: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

Analyzing the undesired traffic sent through Tor relaysCollection

- Abuse E-mails from 25 Tor relays- 10 relays run by themselves- 15 relays run by other individuals

- 3 million emails- Collected over a period of ~6 years- Clustering to find similar complaints

112

Page 113: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

Analyzing the undesired traffic sent through Tor relaysResults

- Abuse E-mails from 25 Tor relays- 10 relays run by themselves- 15 relays run by other individuals

- 3 million emails- Collected over a period of ~6 years- K-means clustering to find similar complaints

113

Page 114: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

Analyzing whether the Tor network is blocked “reactively” or “proactively”

- Threat Intelligence data from Facebook threat exchange

- Contains 100+ commercially used blacklists- Analyze the rate of Tor IP addresses blacklisted

114

Page 115: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

Analyzing whether the Tor network is blocked “reactively” or “proactively”

- Threat Intelligence data from Facebook threat exchange

- Contains 100+ commercially used blacklists- Analyze the rate of Tor IP addresses blacklisted

- Proactive Blocking- “Matter of policy”

- If more than 30% of all Tor relays are blacklisted within 24 hours

115

Page 116: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

Analyzing whether the Tor network is blocked “reactively” or “proactively”

- Threat Intelligence data from Facebook threat exchange

- Contains 100+ commercially used blacklists- Analyze the rate of Tor IP addresses blacklisted

- Proactive Blocking- “Matter of policy”

- If more than 30% of all Tor relays are blacklisted within 24 hours

- Reactive Blocking- “Response to abuse”

- If less than 30% of all Tor relays were listed within 24 hours

116

Page 117: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

Analyzing whether the Tor network is blocked “reactively” or “proactively”

- Threat Intelligence data from Facebook threat exchange

- Contains 100+ commercially used blacklists- Analyze the rate of Tor IP addresses blacklisted

- Proactive Blocking- “Matter of policy”

- Reactive Blocking- “Response to abuse”

117

Page 118: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

Analyzing whether the Tor network is blocked “reactively” or “proactively”

118

Page 119: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

Analyzing whether the Tor network is blocked “reactively” or “proactively”

7%Of commercial blacklists proactively block Tor relays

119

Page 120: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

Putting it all together

- Individuals wanting to use the Tor network can not access it due to usability and censorship issues

- Users able to access the Tor network face issues of latency due to the very nature of the network itself

- Tor users are discriminated against by end servers

- These problems lead to the degradation of the utility of the Tor network

120

Page 121: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

Future work

- Working on identifying users who send in malicious traffic without deanonymizing them

- Incentivizing more volunteers to set up Onion routers

- Spreading awareness about Tor enhancing the reputation of the network

121

Page 122: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

THANK YOU!

122

Page 123: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

USER

THE Tor NETWORK

END SERVER123

Page 124: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

USER

Research Question:The number of people who can actually access the Tor network over the number of people trying to access the Tor network

Problems- Censorship - Usability of the Tor Browser/Proxy

124

Page 125: The Utility of the Tor NetworkProxy Directory Authorities Publish Consensus Get Consensus 23 An internet connection through Tor The Tor circuit Daniyal Mahnaz 24 An internet connection

END

SERVER

Research Question:The number of web resources that an individual using the Tor network can access as compared to an individual using a regular browser

Problems- Server side blocking

125