20
(TSf/SI//REL) Peeling Back the Layers of TOR with EGOTISTICALGIRAFFE

(TSf/SI//REL) Peeling Back the Layers of TOR with ......(-15//51//REL) Fingerprinting TOR (13//51//REL) TorButton cares about TOR users being indistinguishable from TOR users (1-5//51//REL)

  • Upload
    others

  • View
    8

  • Download
    0

Embed Size (px)

Citation preview

Page 1: (TSf/SI//REL) Peeling Back the Layers of TOR with ......(-15//51//REL) Fingerprinting TOR (13//51//REL) TorButton cares about TOR users being indistinguishable from TOR users (1-5//51//REL)

(TSf/SI//REL) Peeling Back the Layers of TOR with

EGOTISTICALGIRAFFE

Page 2: (TSf/SI//REL) Peeling Back the Layers of TOR with ......(-15//51//REL) Fingerprinting TOR (13//51//REL) TorButton cares about TOR users being indistinguishable from TOR users (1-5//51//REL)

I

Overall Classification

This briefing is classified

TOP SECREMCOMINTHREL USA, FVEY

4

Page 3: (TSf/SI//REL) Peeling Back the Layers of TOR with ......(-15//51//REL) Fingerprinting TOR (13//51//REL) TorButton cares about TOR users being indistinguishable from TOR users (1-5//51//REL)

U) Overview

• (U) What is TOR?

• (5//51//REL)The TOR Problem

• (1-5//51//REL) EGOTISTICALGOAT

• (-15//51//REL) EGOTISTICALGIRAFFE

• (U) Future Development

Page 4: (TSf/SI//REL) Peeling Back the Layers of TOR with ......(-15//51//REL) Fingerprinting TOR (13//51//REL) TorButton cares about TOR users being indistinguishable from TOR users (1-5//51//REL)

U) What isTOR?

■ (U) "The Onion Router"

■ (U) Enables anonymous internet activity General privacy

Non-attribution

Circumvention of nation state internet policies

■ (U) Hundreds of thousands of users Dissidents (Iran, China, etc)

(5/51//REL)

(S//51//REL) Other targets too!

'RETtiCOMINT././P.Ei TC.) t,I5A At IS (AN (BR. NZL

Page 5: (TSf/SI//REL) Peeling Back the Layers of TOR with ......(-15//51//REL) Fingerprinting TOR (13//51//REL) TorButton cares about TOR users being indistinguishable from TOR users (1-5//51//REL)

U) What isTOR?

Client Browsing The VVeb

or/ TOR client Installed

Page 6: (TSf/SI//REL) Peeling Back the Layers of TOR with ......(-15//51//REL) Fingerprinting TOR (13//51//REL) TorButton cares about TOR users being indistinguishable from TOR users (1-5//51//REL)

I

U) What isTOR?

Page 7: (TSf/SI//REL) Peeling Back the Layers of TOR with ......(-15//51//REL) Fingerprinting TOR (13//51//REL) TorButton cares about TOR users being indistinguishable from TOR users (1-5//51//REL)

U) What isTOR?

■ (U) TOR Browser Bundle Portable Firefox to ESR (tbb-firefox.exe)

Vidalia

Polipo

TorButton

TOR

"Idiot- 'roof"

Page 8: (TSf/SI//REL) Peeling Back the Layers of TOR with ......(-15//51//REL) Fingerprinting TOR (13//51//REL) TorButton cares about TOR users being indistinguishable from TOR users (1-5//51//REL)

OP SECRET/IC .

(5//51//REL)The TOR Problem

• (1-5//SIHREL) Fingerprinting TOR

• (1-5//51//REL) Exploiting TOR

• (1-5//51//REL) Callbacks from TOR

Page 9: (TSf/SI//REL) Peeling Back the Layers of TOR with ......(-15//51//REL) Fingerprinting TOR (13//51//REL) TorButton cares about TOR users being indistinguishable from TOR users (1-5//51//REL)

(-15//51//REL) Fingerprinting TOR

Windows XP

Ubuntu 11.10 Firefox 10.0.5 ESR?

Firefox 10.0.7 ESR? ■ 32-bit Windows 7 ■ 32-bit Windows 7

■ Firefoxiio.o

■ Firefox/io.o

64-bit Mac OS

64-bit Windows 7 Firefox 10.0.4 ESR?

Firefox 10.0.10 ESR?

■ 32 - bit Windows

■ 32-bit Windows 7

- Firefoxiio.o ■ Firefox/io.o

Page 10: (TSf/SI//REL) Peeling Back the Layers of TOR with ......(-15//51//REL) Fingerprinting TOR (13//51//REL) TorButton cares about TOR users being indistinguishable from TOR users (1-5//51//REL)

-15//51//REL) Fingerprinting TOR

(1-5//51//REL) BuildID gives a timestamp for when the Firefox release was built

2012102407303 Year Month Day Hour Min Sec

Page 11: (TSf/SI//REL) Peeling Back the Layers of TOR with ......(-15//51//REL) Fingerprinting TOR (13//51//REL) TorButton cares about TOR users being indistinguishable from TOR users (1-5//51//REL)

(-15//51//REL) Fingerprinting TOR

■ (13//51//REL) TorButton cares about TOR users being indistinguishable from TOR users

■ (1-5//51//REL) We only care about TOR users versus non-TOR users

■ (1-5//SIHREL) Thanks to TorButton, it' s easy!

a

Page 12: (TSf/SI//REL) Peeling Back the Layers of TOR with ......(-15//51//REL) Fingerprinting TOR (13//51//REL) TorButton cares about TOR users being indistinguishable from TOR users (1-5//51//REL)

OP SECRET/IC .

(5//51//REL)The TOR Problem

. • wiff51"/SiiiR ifiytor iy TAR

• (1-5//51//REL) Exploiting TOR

• (1-5//51//REL) Callbacks from TOR

Page 13: (TSf/SI//REL) Peeling Back the Layers of TOR with ......(-15//51//REL) Fingerprinting TOR (13//51//REL) TorButton cares about TOR users being indistinguishable from TOR users (1-5//51//REL)

TS//51//REL) Exploiting TOR

■ (1-5//SIHREL) tbb-firefox is barebones Flash is a no-no

NoScript addon pre-installed...

...but not enabled by default!

TOR explicitly advises against using any addons or extensions other than TorButton and NoScript

■ (1-5//51//REL) Need a native Firefox exploit

Page 14: (TSf/SI//REL) Peeling Back the Layers of TOR with ......(-15//51//REL) Fingerprinting TOR (13//51//REL) TorButton cares about TOR users being indistinguishable from TOR users (1-5//51//REL)

TS//51//REL) Exploiting TOR

■ (1-5//SIHREL) ERRONEOUSINGENUITY Commonly known as ERIN

First native Firefox exploit in a long time

Only works against-J.3.0-16.0.2

■ (1-5//SIHREL) EGOTISTICALGOAT Commonly known as EGGO

Configured for 11.0-16.0.2...

...but the vulnerability also exists in io.o!

Page 15: (TSf/SI//REL) Peeling Back the Layers of TOR with ......(-15//51//REL) Fingerprinting TOR (13//51//REL) TorButton cares about TOR users being indistinguishable from TOR users (1-5//51//REL)

I

U) EGOTISTICALGOAT

■ (1-5//SIHREL) Type confusion vulnerability in E4X

■ (13//51//REL) Enables arbitrary read/write access to the process memory

■ (T5//51//REL) Remote code execution via the CTypes module

Page 16: (TSf/SI//REL) Peeling Back the Layers of TOR with ......(-15//51//REL) Fingerprinting TOR (13//51//REL) TorButton cares about TOR users being indistinguishable from TOR users (1-5//51//REL)

■ (1-5//SIHREL) Can't distinguish OS until on box That's okay

■ (13//51//REL) Can't distinguish Firefox version until on box

That's also okay

■ (1-5//SIHREL) Can't distinguish 64-bit from 32- bit until on box

I think you see where this is going

TOP SECREMCOMINTUREL TO USA, AUS, CAN, GBR, NZL

TS//51//REL) Exploiting TOR

Page 17: (TSf/SI//REL) Peeling Back the Layers of TOR with ......(-15//51//REL) Fingerprinting TOR (13//51//REL) TorButton cares about TOR users being indistinguishable from TOR users (1-5//51//REL)

OP SECRET/IC .

(5//51//REL)The TOR Problem

. ■Rff51"/SiiiR ) iy LAN

• 1( 11: ly TOR

■ (1-5//SIHREL) Callbacks from TOR

Page 18: (TSf/SI//REL) Peeling Back the Layers of TOR with ......(-15//51//REL) Fingerprinting TOR (13//51//REL) TorButton cares about TOR users being indistinguishable from TOR users (1-5//51//REL)

-15//51//R EL) Callbacks from TOR

■ (1-5//SIHREL) Tests on Firefox so ESR worked

■ (1-5//51//REL) Tests on tbb-firefox did not Gained execution

Didn't receive FINKDIFFERENT

■ (1-5//SIHREL) Defeated by Prefilter Hash! Requests EGGI: Hash(tor_exit_ip session_id)

Requests FIDI: Hash(target_ip session_id)

Page 19: (TSf/SI//REL) Peeling Back the Layers of TOR with ......(-15//51//REL) Fingerprinting TOR (13//51//REL) TorButton cares about TOR users being indistinguishable from TOR users (1-5//51//REL)

-15//51//R EL) Callbacks from TOR

■ (1-5//SIHREL) Easy fix Turn off prefilter hashing

FUNNELOUT

■ (1-5//SIHREL) OPSEC Concerns Pre-play attacks

PSF's

Adversarial Actors

Targets worth it?

TOP SECREINCOMINDIREI

Page 20: (TSf/SI//REL) Peeling Back the Layers of TOR with ......(-15//51//REL) Fingerprinting TOR (13//51//REL) TorButton cares about TOR users being indistinguishable from TOR users (1-5//51//REL)

(5//51//REL)The TOR Problem

OP SECRET/IC .

p 173 • T' 16.

• I// pi mut iy I mars.

• (T5/5i/TREEL1-Ewh:rthErrelk-