Introduction to Torsukhbir/talks/toronto-aug... · 2017-08-10 · Introduction to Tor and The Tor...

59
Introduction to Tor and The Tor Software Ecosystem Sukhbir Singh [email protected] August 9, 2017

Transcript of Introduction to Torsukhbir/talks/toronto-aug... · 2017-08-10 · Introduction to Tor and The Tor...

Page 1: Introduction to Torsukhbir/talks/toronto-aug... · 2017-08-10 · Introduction to Tor and The Tor Software Ecosystem Sukhbir Singh sukhbir@torproject.org August 9, 2017

Introduction to Tor

and

The Tor Software Ecosystem

Sukhbir [email protected]

August 9, 2017

Page 2: Introduction to Torsukhbir/talks/toronto-aug... · 2017-08-10 · Introduction to Tor and The Tor Software Ecosystem Sukhbir Singh sukhbir@torproject.org August 9, 2017

Anonymity on the Internet

2 / 29

Page 3: Introduction to Torsukhbir/talks/toronto-aug... · 2017-08-10 · Introduction to Tor and The Tor Software Ecosystem Sukhbir Singh sukhbir@torproject.org August 9, 2017

Anonymity on the Internet

2 / 29

Page 4: Introduction to Torsukhbir/talks/toronto-aug... · 2017-08-10 · Introduction to Tor and The Tor Software Ecosystem Sukhbir Singh sukhbir@torproject.org August 9, 2017

Anonymity on the Internet

2 / 29

Page 5: Introduction to Torsukhbir/talks/toronto-aug... · 2017-08-10 · Introduction to Tor and The Tor Software Ecosystem Sukhbir Singh sukhbir@torproject.org August 9, 2017

Anonymity on the Internet

2 / 29

Page 6: Introduction to Torsukhbir/talks/toronto-aug... · 2017-08-10 · Introduction to Tor and The Tor Software Ecosystem Sukhbir Singh sukhbir@torproject.org August 9, 2017

Anonymity on the Internet

2 / 29

Page 7: Introduction to Torsukhbir/talks/toronto-aug... · 2017-08-10 · Introduction to Tor and The Tor Software Ecosystem Sukhbir Singh sukhbir@torproject.org August 9, 2017

Anonymity on the Internet

2 / 29

Page 8: Introduction to Torsukhbir/talks/toronto-aug... · 2017-08-10 · Introduction to Tor and The Tor Software Ecosystem Sukhbir Singh sukhbir@torproject.org August 9, 2017

Anonymity on the Internet

Anonymity

2 / 29

Page 9: Introduction to Torsukhbir/talks/toronto-aug... · 2017-08-10 · Introduction to Tor and The Tor Software Ecosystem Sukhbir Singh sukhbir@torproject.org August 9, 2017

Anonymity on the Internet

2 / 29

Page 10: Introduction to Torsukhbir/talks/toronto-aug... · 2017-08-10 · Introduction to Tor and The Tor Software Ecosystem Sukhbir Singh sukhbir@torproject.org August 9, 2017

“On the Internet, Nobody Knows...”

†Image from The New Yorker cartoon by Peter Steiner, 1993

3 / 29

Page 11: Introduction to Torsukhbir/talks/toronto-aug... · 2017-08-10 · Introduction to Tor and The Tor Software Ecosystem Sukhbir Singh sukhbir@torproject.org August 9, 2017

On the Internet, They Know...

4 / 29

Page 12: Introduction to Torsukhbir/talks/toronto-aug... · 2017-08-10 · Introduction to Tor and The Tor Software Ecosystem Sukhbir Singh sukhbir@torproject.org August 9, 2017

Tor: The Onion Router

5 / 29

Page 13: Introduction to Torsukhbir/talks/toronto-aug... · 2017-08-10 · Introduction to Tor and The Tor Software Ecosystem Sukhbir Singh sukhbir@torproject.org August 9, 2017

Tor: The Onion Router

Client

Destination

5 / 29

Page 14: Introduction to Torsukhbir/talks/toronto-aug... · 2017-08-10 · Introduction to Tor and The Tor Software Ecosystem Sukhbir Singh sukhbir@torproject.org August 9, 2017

Tor: The Onion Router

Client

Destination

5 / 29

Page 15: Introduction to Torsukhbir/talks/toronto-aug... · 2017-08-10 · Introduction to Tor and The Tor Software Ecosystem Sukhbir Singh sukhbir@torproject.org August 9, 2017

Tor: The Onion Router

Client

Destination

5 / 29

Page 16: Introduction to Torsukhbir/talks/toronto-aug... · 2017-08-10 · Introduction to Tor and The Tor Software Ecosystem Sukhbir Singh sukhbir@torproject.org August 9, 2017

Tor: The Onion Router

Client

Destination

Entry Guard (I)

Middle Relay (II) Exit Relay (III)

5 / 29

Page 17: Introduction to Torsukhbir/talks/toronto-aug... · 2017-08-10 · Introduction to Tor and The Tor Software Ecosystem Sukhbir Singh sukhbir@torproject.org August 9, 2017

Tor: The Onion Router

Client

Destination

Entry Guard (I)

Middle Relay (II) Exit Relay (III)

EntryMiddleExit

5 / 29

Page 18: Introduction to Torsukhbir/talks/toronto-aug... · 2017-08-10 · Introduction to Tor and The Tor Software Ecosystem Sukhbir Singh sukhbir@torproject.org August 9, 2017

Tor: The Onion Router

Client

Destination

Entry Guard (I)

Middle Relay (II) Exit Relay (III)

✓Source [IP]

× Destination [Resource]

5 / 29

Page 19: Introduction to Torsukhbir/talks/toronto-aug... · 2017-08-10 · Introduction to Tor and The Tor Software Ecosystem Sukhbir Singh sukhbir@torproject.org August 9, 2017

Tor: The Onion Router

Client

Destination

Entry Guard (I)

Middle Relay (II) Exit Relay (III)

× Source [IP]

✓Destination [Resource]

5 / 29

Page 20: Introduction to Torsukhbir/talks/toronto-aug... · 2017-08-10 · Introduction to Tor and The Tor Software Ecosystem Sukhbir Singh sukhbir@torproject.org August 9, 2017

Tor: The Onion Router

I Low-latency anonymity

I Distributed design

I 2,000,000 users and 6000 relaysI 100 Gbit/sec available bandwidth

∗https://metrics.torproject.org6 / 29

Page 21: Introduction to Torsukhbir/talks/toronto-aug... · 2017-08-10 · Introduction to Tor and The Tor Software Ecosystem Sukhbir Singh sukhbir@torproject.org August 9, 2017

Tor: The Onion Router

I Low-latency anonymity

I Distributed design

I 2,000,000 users and 6000 relaysI 100 Gbit/sec available bandwidth

∗https://metrics.torproject.org6 / 29

Page 22: Introduction to Torsukhbir/talks/toronto-aug... · 2017-08-10 · Introduction to Tor and The Tor Software Ecosystem Sukhbir Singh sukhbir@torproject.org August 9, 2017

Tor: The Onion Router

I Low-latency anonymity

I Distributed design

I 2,000,000 users and 6000 relaysI 100 Gbit/sec available bandwidth

∗https://metrics.torproject.org6 / 29

Page 23: Introduction to Torsukhbir/talks/toronto-aug... · 2017-08-10 · Introduction to Tor and The Tor Software Ecosystem Sukhbir Singh sukhbir@torproject.org August 9, 2017

Who Uses Tor?

I Journalists

I Activists

I You...

7 / 29

Page 24: Introduction to Torsukhbir/talks/toronto-aug... · 2017-08-10 · Introduction to Tor and The Tor Software Ecosystem Sukhbir Singh sukhbir@torproject.org August 9, 2017

Who Uses Tor?

I Journalists

I Activists

I You...

7 / 29

Page 25: Introduction to Torsukhbir/talks/toronto-aug... · 2017-08-10 · Introduction to Tor and The Tor Software Ecosystem Sukhbir Singh sukhbir@torproject.org August 9, 2017

Who Uses Tor?

I Journalists

I Activists

I You...

7 / 29

Page 26: Introduction to Torsukhbir/talks/toronto-aug... · 2017-08-10 · Introduction to Tor and The Tor Software Ecosystem Sukhbir Singh sukhbir@torproject.org August 9, 2017

Who Uses Tor?

I Journalists

I Activists

I You...

7 / 29

Page 27: Introduction to Torsukhbir/talks/toronto-aug... · 2017-08-10 · Introduction to Tor and The Tor Software Ecosystem Sukhbir Singh sukhbir@torproject.org August 9, 2017

Tor vs. VPN

† VPN Tor Tor Browser

Censorship Evasion ++ +++ +++Appear Elsewhere ++ + +Anonymity + ++ +++Privacy − + +++Speed ++ −− −−Cost −− +++ +++

†Modified under CC BY-SA 4.0. Original work by Tim Sammut from

https://teamsammut.com/blog/2015/08/tor-vs-vpn-and-proxies-slides.html

8 / 29

Page 28: Introduction to Torsukhbir/talks/toronto-aug... · 2017-08-10 · Introduction to Tor and The Tor Software Ecosystem Sukhbir Singh sukhbir@torproject.org August 9, 2017

Tor vs. VPN

† VPN Tor Tor BrowserCensorship Evasion ++ +++ +++

Appear Elsewhere ++ + +Anonymity + ++ +++Privacy − + +++Speed ++ −− −−Cost −− +++ +++

†Modified under CC BY-SA 4.0. Original work by Tim Sammut from

https://teamsammut.com/blog/2015/08/tor-vs-vpn-and-proxies-slides.html

8 / 29

Page 29: Introduction to Torsukhbir/talks/toronto-aug... · 2017-08-10 · Introduction to Tor and The Tor Software Ecosystem Sukhbir Singh sukhbir@torproject.org August 9, 2017

Tor vs. VPN

† VPN Tor Tor BrowserCensorship Evasion ++ +++ +++Appear Elsewhere ++ + +

Anonymity + ++ +++Privacy − + +++Speed ++ −− −−Cost −− +++ +++

†Modified under CC BY-SA 4.0. Original work by Tim Sammut from

https://teamsammut.com/blog/2015/08/tor-vs-vpn-and-proxies-slides.html

8 / 29

Page 30: Introduction to Torsukhbir/talks/toronto-aug... · 2017-08-10 · Introduction to Tor and The Tor Software Ecosystem Sukhbir Singh sukhbir@torproject.org August 9, 2017

Tor vs. VPN

† VPN Tor Tor BrowserCensorship Evasion ++ +++ +++Appear Elsewhere ++ + +Anonymity + ++ +++

Privacy − + +++Speed ++ −− −−Cost −− +++ +++

†Modified under CC BY-SA 4.0. Original work by Tim Sammut from

https://teamsammut.com/blog/2015/08/tor-vs-vpn-and-proxies-slides.html

8 / 29

Page 31: Introduction to Torsukhbir/talks/toronto-aug... · 2017-08-10 · Introduction to Tor and The Tor Software Ecosystem Sukhbir Singh sukhbir@torproject.org August 9, 2017

Tor vs. VPN

† VPN Tor Tor BrowserCensorship Evasion ++ +++ +++Appear Elsewhere ++ + +Anonymity + ++ +++Privacy − + +++

Speed ++ −− −−Cost −− +++ +++

†Modified under CC BY-SA 4.0. Original work by Tim Sammut from

https://teamsammut.com/blog/2015/08/tor-vs-vpn-and-proxies-slides.html

8 / 29

Page 32: Introduction to Torsukhbir/talks/toronto-aug... · 2017-08-10 · Introduction to Tor and The Tor Software Ecosystem Sukhbir Singh sukhbir@torproject.org August 9, 2017

Tor vs. VPN

† VPN Tor Tor BrowserCensorship Evasion ++ +++ +++Appear Elsewhere ++ + +Anonymity + ++ +++Privacy − + +++Speed ++ −− −−

Cost −− +++ +++

†Modified under CC BY-SA 4.0. Original work by Tim Sammut from

https://teamsammut.com/blog/2015/08/tor-vs-vpn-and-proxies-slides.html

8 / 29

Page 33: Introduction to Torsukhbir/talks/toronto-aug... · 2017-08-10 · Introduction to Tor and The Tor Software Ecosystem Sukhbir Singh sukhbir@torproject.org August 9, 2017

Tor vs. VPN

† VPN Tor Tor BrowserCensorship Evasion ++ +++ +++Appear Elsewhere ++ + +Anonymity + ++ +++Privacy − + +++Speed ++ −− −−Cost −− +++ +++

†Modified under CC BY-SA 4.0. Original work by Tim Sammut from

https://teamsammut.com/blog/2015/08/tor-vs-vpn-and-proxies-slides.html

8 / 29

Page 34: Introduction to Torsukhbir/talks/toronto-aug... · 2017-08-10 · Introduction to Tor and The Tor Software Ecosystem Sukhbir Singh sukhbir@torproject.org August 9, 2017

little-t-tor

I Core of the Tor software ecosystem

I Runs as a daemon and sets up a local SOCKS5 proxy†

I Platform support: Linux, macOS, Windows, BSD variants

†localhost:90509 / 29

Page 35: Introduction to Torsukhbir/talks/toronto-aug... · 2017-08-10 · Introduction to Tor and The Tor Software Ecosystem Sukhbir Singh sukhbir@torproject.org August 9, 2017

little-t-tor

I Core of the Tor software ecosystem

I Runs as a daemon and sets up a local SOCKS5 proxy†

I Platform support: Linux, macOS, Windows, BSD variants

†localhost:90509 / 29

Page 36: Introduction to Torsukhbir/talks/toronto-aug... · 2017-08-10 · Introduction to Tor and The Tor Software Ecosystem Sukhbir Singh sukhbir@torproject.org August 9, 2017

little-t-tor

I Core of the Tor software ecosystem

I Runs as a daemon and sets up a local SOCKS5 proxy†

I Platform support: Linux, macOS, Windows, BSD variants

†localhost:90509 / 29

Page 37: Introduction to Torsukhbir/talks/toronto-aug... · 2017-08-10 · Introduction to Tor and The Tor Software Ecosystem Sukhbir Singh sukhbir@torproject.org August 9, 2017

Tor Browser

Tor Browser (Bundle)https://www.torproject.org/torbrowser

10 / 29

Page 38: Introduction to Torsukhbir/talks/toronto-aug... · 2017-08-10 · Introduction to Tor and The Tor Software Ecosystem Sukhbir Singh sukhbir@torproject.org August 9, 2017

Onion Services

Onion Service

11 / 29

Page 39: Introduction to Torsukhbir/talks/toronto-aug... · 2017-08-10 · Introduction to Tor and The Tor Software Ecosystem Sukhbir Singh sukhbir@torproject.org August 9, 2017

Onion Services

Onion Service

11 / 29

Page 40: Introduction to Torsukhbir/talks/toronto-aug... · 2017-08-10 · Introduction to Tor and The Tor Software Ecosystem Sukhbir Singh sukhbir@torproject.org August 9, 2017

Onion Services

Onion Service

11 / 29

Page 41: Introduction to Torsukhbir/talks/toronto-aug... · 2017-08-10 · Introduction to Tor and The Tor Software Ecosystem Sukhbir Singh sukhbir@torproject.org August 9, 2017

Onion Services

Onion Service

11 / 29

Page 42: Introduction to Torsukhbir/talks/toronto-aug... · 2017-08-10 · Introduction to Tor and The Tor Software Ecosystem Sukhbir Singh sukhbir@torproject.org August 9, 2017

Tor Software Ecosystem

Tor is not just Tor Browser!

12 / 29

Page 43: Introduction to Torsukhbir/talks/toronto-aug... · 2017-08-10 · Introduction to Tor and The Tor Software Ecosystem Sukhbir Singh sukhbir@torproject.org August 9, 2017

HTTPS Everywhere

Browser Extension for Enabling HTTPShttps://www.eff.org/https-everywhere

13 / 29

Page 44: Introduction to Torsukhbir/talks/toronto-aug... · 2017-08-10 · Introduction to Tor and The Tor Software Ecosystem Sukhbir Singh sukhbir@torproject.org August 9, 2017

Orbot and Orfox

Tor and Tor Browser on Androidhttps://guardianproject.info/

14 / 29

Page 45: Introduction to Torsukhbir/talks/toronto-aug... · 2017-08-10 · Introduction to Tor and The Tor Software Ecosystem Sukhbir Singh sukhbir@torproject.org August 9, 2017

Tails

Secure Operating Systemhttps://tails.boum.org/

15 / 29

Page 46: Introduction to Torsukhbir/talks/toronto-aug... · 2017-08-10 · Introduction to Tor and The Tor Software Ecosystem Sukhbir Singh sukhbir@torproject.org August 9, 2017

torsocks

$ . torsocks on

Wrapper to Torify Applicationshttps://gitweb.torproject.org/torsocks.git

16 / 29

Page 47: Introduction to Torsukhbir/talks/toronto-aug... · 2017-08-10 · Introduction to Tor and The Tor Software Ecosystem Sukhbir Singh sukhbir@torproject.org August 9, 2017

Ricochet

Anonymous P2P Instant Messaging Clienthttps://ricochet.im/

17 / 29

Page 48: Introduction to Torsukhbir/talks/toronto-aug... · 2017-08-10 · Introduction to Tor and The Tor Software Ecosystem Sukhbir Singh sukhbir@torproject.org August 9, 2017

Tor Messenger

Chat Client with native Tor and OTR Supporthttps://trac.torproject.org/projects/tor/wiki/doc/TorMessenger

18 / 29

Page 49: Introduction to Torsukhbir/talks/toronto-aug... · 2017-08-10 · Introduction to Tor and The Tor Software Ecosystem Sukhbir Singh sukhbir@torproject.org August 9, 2017

TorBirdy

Thunderbird Extension for Secure Email Communicationhttps://trac.torproject.org/projects/tor/wiki/torbirdy

19 / 29

Page 50: Introduction to Torsukhbir/talks/toronto-aug... · 2017-08-10 · Introduction to Tor and The Tor Software Ecosystem Sukhbir Singh sukhbir@torproject.org August 9, 2017

Pluggable Transports

Obfuscate Tor Traffichttps://www.torproject.org/docs/pluggable-transports.html.en

20 / 29

Page 51: Introduction to Torsukhbir/talks/toronto-aug... · 2017-08-10 · Introduction to Tor and The Tor Software Ecosystem Sukhbir Singh sukhbir@torproject.org August 9, 2017

Metrics

0

500 000

1 000 000

1 500 000

2 000 000

2 500 000

Jun−2017 Jul−2017 Aug−2017

The Tor Project − https://metrics.torproject.org/

Directly connecting users

Tor Network Metricshttps://metrics.torproject.org/

21 / 29

Page 52: Introduction to Torsukhbir/talks/toronto-aug... · 2017-08-10 · Introduction to Tor and The Tor Software Ecosystem Sukhbir Singh sukhbir@torproject.org August 9, 2017

Stem

Python Controllerhttps://stem.torproject.org/

22 / 29

Page 53: Introduction to Torsukhbir/talks/toronto-aug... · 2017-08-10 · Introduction to Tor and The Tor Software Ecosystem Sukhbir Singh sukhbir@torproject.org August 9, 2017

Nyx

Tor CLI Monitorhttps://nyx.torproject.org/

23 / 29

Page 54: Introduction to Torsukhbir/talks/toronto-aug... · 2017-08-10 · Introduction to Tor and The Tor Software Ecosystem Sukhbir Singh sukhbir@torproject.org August 9, 2017

txtorcon

Twisted-based Python Asynchronous Controllerhttps://github.com/meejah/txtorcon

24 / 29

Page 55: Introduction to Torsukhbir/talks/toronto-aug... · 2017-08-10 · Introduction to Tor and The Tor Software Ecosystem Sukhbir Singh sukhbir@torproject.org August 9, 2017

OONI

Open Observatory of Network Interferencehttps://ooni.torproject.org/

25 / 29

Page 56: Introduction to Torsukhbir/talks/toronto-aug... · 2017-08-10 · Introduction to Tor and The Tor Software Ecosystem Sukhbir Singh sukhbir@torproject.org August 9, 2017

Check

Test Your Network Settingshttps://check.torproject.org/

26 / 29

Page 57: Introduction to Torsukhbir/talks/toronto-aug... · 2017-08-10 · Introduction to Tor and The Tor Software Ecosystem Sukhbir Singh sukhbir@torproject.org August 9, 2017

SecureDrop

Open-source Whistleblower Submission Systemhttps://securedrop.org/

27 / 29

Page 58: Introduction to Torsukhbir/talks/toronto-aug... · 2017-08-10 · Introduction to Tor and The Tor Software Ecosystem Sukhbir Singh sukhbir@torproject.org August 9, 2017

GetTor

torproject.org blocked?

[email protected]

Provides Alternative Access to Tor Project Softwarehttps://gettor.torproject.org/

28 / 29

Page 59: Introduction to Torsukhbir/talks/toronto-aug... · 2017-08-10 · Introduction to Tor and The Tor Software Ecosystem Sukhbir Singh sukhbir@torproject.org August 9, 2017

Thank You

Come hack with us!https://www.torproject.org/getinvolved/

[email protected]

E4AC D397 5427 A5BA 8450 A1BE B01C 8B00 6DA7 7FAA

29 / 29