Brave, Privacy, and Standards Peter Snyder, Privacy Researcher, - - PowerPoint PPT Presentation

brave privacy and standards
SMART_READER_LITE
LIVE PREVIEW

Brave, Privacy, and Standards Peter Snyder, Privacy Researcher, - - PowerPoint PPT Presentation

Brave, Privacy, and Standards Peter Snyder, Privacy Researcher, pes@brave.com Pranjal Jumde, Security Engineer, pranjal@brave.com Overview Brave's goals on the Web How Brave protects privacy today How the standards process


slide-1
SLIDE 1

Brave, Privacy, and Standards

Peter Snyder, Privacy Researcher, pes@brave.com
 Pranjal Jumde, Security Engineer, pranjal@brave.com

slide-2
SLIDE 2

Overview

Brave's goals on the Web
 
 How Brave protects privacy today
 
 How the standards process makes privacy difficult
 (and how it can be fixed)

  • 2
slide-3
SLIDE 3

Overview

Brave's goals on the Web
 
 How Brave protects privacy today
 
 How the standards process makes privacy difficult
 (and how it can be fixed)

  • 3
slide-4
SLIDE 4

Brave Is 100% In on Web

Openness

  • Anyone can join / code / view-source
  • No choke-point


Compatibility

  • Easy to share content
  • Best cross-device story


But things have gone off the rails…

  • 4
slide-5
SLIDE 5

The Ecosystem is Broken:

  • 5

Creators:

Small & declining revenue Commodification

Advertisers:

Fraud: 2017 - $16B in US 


  • est. $50B by 2025

Users:

Slow, abusive, creepy ads and tracking 


Data source: Business Insider, Atlantic, Fortune, PageFair

slide-6
SLIDE 6

Data source: Bullet 1, New York Times and Medium; Bullet 2: TMZ: Ghostery; Bullet 3: New York Times; Bullet 4: Forbes: Cylance.

  • 6

5 124

$23

3x

seconds per 
 mobile page load
 wasted by Adtech trackers 


  • n media

sites like TMZ

Slow Invasive

monthly average 
 users pay to 
 download ads 
 and trackers malware and 
 ransomware
 growth in 2017

Expensive Insecure

USERS: Already Paying a High Price

slide-7
SLIDE 7

PUBLISHERS: Ad-tech Lumascape: High Cost, Low Quality

Data source: www.lumapartners.com for graphic and World Federation of Advertisers for fraud.

  • 7
slide-8
SLIDE 8

119M

2014 2015

181M

ADVERTISERS:
 Users Respond with Ad-blocking

600M+ 
 devices

  • 8

Data source: Pagefair

145M

2016

275M

Desktop browsers Mobile browsers

216M

2017

236M 380M

2013

54M

slide-9
SLIDE 9

Reformed digital advertising

Our Vision Brave + BAT For a Better Web

Private-by-default browsing

  • 9

Reward users to browse/autopay

slide-10
SLIDE 10

Lack Of Browser Privacy is at the Center

Draws advertisers away from high quality content
 
 Incentivizes performance heck, multi-Mb websites
 
 Insulting and abusive to users
 
 Pushes users off Web, to closed platforms

  • 10
slide-11
SLIDE 11

Overview

Brave's goals on the Web
 
 How Brave protects privacy today
 
 How the standards processes makes privacy difficult
 (and how it can be fixed)

  • 11
slide-12
SLIDE 12

Overview

Brave's goals on the web
 
 How Brave protects privacy today
 
 How the standards process makes privacy difficult
 (and how it can be fixed)

  • 12
slide-13
SLIDE 13

Privacy in Brave

Tighter Default Storage Controls
 
 Tor Integration
 
 Resource Blocking
 
 Web API / DOM Modifications

  • 13
slide-14
SLIDE 14

Privacy in Brave

Tighter Default Storage Controls
 
 Tor Integration
 
 Resource Blocking
 
 Web API / DOM Modifications

  • 14

Web Standards / W3C

slide-15
SLIDE 15
slide-16
SLIDE 16
slide-17
SLIDE 17
slide-18
SLIDE 18

Web API Modifications

slide-19
SLIDE 19

Web API Modifications

slide-20
SLIDE 20

Web Audio Fingerprinting

  • 20

Standard says websites can query hardware
 Hardware is pseudo-identifying
 
 Enough pseudo-identifiers yield a real identifier
 So Brave breaks the standard…

slide-21
SLIDE 21

Breaking Standards for Privacy

Hardware Detection:

  • Web Audio
  • WebGL
  • WebUSB
  • Battery API


Network Information

  • WebRTC


  • 21

Font Enumeration:

  • Canvas
  • SVG


Display Information:

  • Client Hints

Browsing History:

  • Referrer Policy
slide-22
SLIDE 22

Overview

Brave's goals on the Web
 
 How Brave protects privacy today
 
 How the standards process makes privacy difficult
 (and how it can be fixed)

  • 22
slide-23
SLIDE 23

Overview

Brave's goals on the Web
 
 How Brave protects privacy today
 
 How the standards process makes privacy difficult
 (and how it can be fixed)

  • 23
slide-24
SLIDE 24

Privacy vs Compatibility

slide-25
SLIDE 25

Three Standards
 Privacy Anti-Patterns

slide-26
SLIDE 26

Three Standards
 Privacy Anti-Patterns

slide-27
SLIDE 27
  • 1. Defined Functionality,


Non-Normative Mitigations


slide-28
SLIDE 28

Privacy Risk w/ Non-Normative Mitigations

Privacy-harming / risky functionality
 
 “Privacy considerations" section, but non-standardized mitigation
 
 The Web assumes the dominant implementation, instead of the standard
 
 Result: Harm is “locked in” / out of control of the standards process

  • 28
slide-29
SLIDE 29
slide-30
SLIDE 30
slide-31
SLIDE 31
slide-32
SLIDE 32

Result

Well described functionality
 
 Vaguely / undefined / unclear mitigations
 
 Web assumes the defined functionality, privacy-harm gets locked in
 
 Solution: Make mitigations normative and standardized!

  • 32
slide-33
SLIDE 33
  • 1. Defined Functionality,


Non-Normative Mitigations


  • 2. Uncommon Use Case,


Common Availability


slide-34
SLIDE 34

Uncommon Use Case, Common Availability

Genuinely useful functionality, for niche scenarios
 
 Functionality is made widely available (first-party, third-party, frames, etc.)
 
 Co-opted by tracking, code-paths assume availability
 
 Result: can't be removed, even from irrelevant sites

  • 34
slide-35
SLIDE 35
slide-36
SLIDE 36
slide-37
SLIDE 37
slide-38
SLIDE 38
slide-39
SLIDE 39

Widely Available
 
 Sites / benign code expects
 
 Removing / blocking breaks benign sites

slide-40
SLIDE 40

Lots of rare-use-case functionality

Brightness sensors WebVR Machine Learning APIs High Resolution Timers Vibration WebGL operations Tracing APIs Many many many more…

  • 40
slide-41
SLIDE 41

Lesson Learned

Assume people will find bad uses for your functionality
 
 General access -> difficult to remove / modify
 
 Solution: Restrict access to the use cases you care about

  • User gestures
  • Permission prompts
  • Not-in-frames
  • 41
slide-42
SLIDE 42
  • 1. Defined Functionality,


Non-Normative Mitigations


  • 2. Uncommon Use Case,


Common Availability


  • 3. “No worse than the


status quo”

slide-43
SLIDE 43

“No worse than the status quo”

Privacy-harming / risky functionality
 
 “Information is available elsewhere, so no additional harm”
 
 Result: Web compat difficulty expands…

  • 43
slide-44
SLIDE 44
slide-45
SLIDE 45

Client Server

slide-46
SLIDE 46

Client Server

GET /index.html

slide-47
SLIDE 47

Client Server

GET /index.html Accept-CH: DPR
 Accept-CH: Viewport-Width

slide-48
SLIDE 48

Client Server

Accept-CH: DPR
 Accept-CH: Viewport-Width GET /index.html DPR: 2
 Viewport-Width: 1434

slide-49
SLIDE 49

Values in Client Hints are Identifying

  • 49

Eckersley, Peter. "How unique is your web browser?." PETS 2010
 Viewport height and width Laperdrix et al. ”Beauty and the beast: Diverting modern web browsers to build unique browser fingerprints." S&P 2016.
 Device color depth
 Englehardt et al. "Online Tracking: A 1-million-site Measurement and Analysis.” CCS 2016
 The above are being used often!

slide-50
SLIDE 50

Client Hints Authors’ Current Position

  • 50

This information is already available No further exposure / no marginal harm
 
 
 Brave’s Concerns with the Client-Hints Proposal
 https://brave.com/brave-and-client-hints/

slide-51
SLIDE 51
slide-52
SLIDE 52

Lesson Learned

“Horizontal” privacy risk is technological debt
 
 Same data in more places entrenches the risk
 
 Solution: Treat all additional privacy risk as equally problematic

  • 52
slide-53
SLIDE 53

Overview

Brave's goals on the Web
 
 How Brave protects privacy today
 
 How the standards process makes privacy difficult
 (and how it can be fixed)

  • 53
slide-54
SLIDE 54

Conclusion

Brave is working to improve the
 Web for users, content creators and advertisers.
 Privacy preserving standards are important to improving the Web.
 
 The standards process can be improved to help privacy. Pete Snyder
 Privacy Researcher
 pes@brave.com
 Pranjal Jumde
 Security Engineer
 pranjal@brave.com