Top Banner
Lecture 19 Page 1 CS 236 Online Privacy • Privacy vs. security? • Data privacy issues • Network privacy issues • Some privacy solutions
37

Lecture 19 Page 1 CS 236 Online Privacy Privacy vs. security? Data privacy issues Network privacy issues…

Jan 20, 2018

Download

Documents

Lecture 19 Page 3 CS 236 Online Privacy and Computers Much sensitive information currently kept on computers –Which are increasingly networked Often stored in large databases –Huge repositories of privacy time bombs We don’t know where our information is
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Lecture 19 Page 1 CS 236 Online Privacy Privacy vs. security? Data privacy issues Network privacy issues…

Lecture 19Page 1CS 236 Online

Privacy

• Privacy vs. security?• Data privacy issues• Network privacy issues• Some privacy solutions

Page 2: Lecture 19 Page 1 CS 236 Online Privacy Privacy vs. security? Data privacy issues Network privacy issues…

Lecture 19Page 2CS 236 Online

What Is Privacy?

• The ability to keep certain information secret

• Usually one’s own information• But also information that is “in your

custody”• Includes ongoing information about

what you’re doing

Page 3: Lecture 19 Page 1 CS 236 Online Privacy Privacy vs. security? Data privacy issues Network privacy issues…

Lecture 19Page 3CS 236 Online

Privacy and Computers• Much sensitive information currently kept

on computers– Which are increasingly networked

• Often stored in large databases– Huge repositories of privacy time bombs

• We don’t know where our information is

Page 4: Lecture 19 Page 1 CS 236 Online Privacy Privacy vs. security? Data privacy issues Network privacy issues…

Lecture 19Page 4CS 236 Online

Privacy and Our Network Operations

• Lots of stuff goes on over the Internet– Banking and other commerce– Health care– Romance and sex– Family issues– Personal identity information

• We used to regard this stuff as private– Is it private any more?

Page 5: Lecture 19 Page 1 CS 236 Online Privacy Privacy vs. security? Data privacy issues Network privacy issues…

Lecture 19Page 5CS 236 Online

Threat to Computer Privacy• Cleartext transmission of data• Poor security allows remote users to access our

data• Sites we visit can save information on us

– Multiple sites can combine information• Governmental snooping• Location privacy• Insider threats in various places

Page 6: Lecture 19 Page 1 CS 236 Online Privacy Privacy vs. security? Data privacy issues Network privacy issues…

Lecture 19Page 6CS 236 Online

Privacy Vs. Security

• Best friends?• Or deadly rivals?• Does good security kill all privacy?• Does good privacy invalidate security?• Are they orthogonal?• Or can they just get along?

Page 7: Lecture 19 Page 1 CS 236 Online Privacy Privacy vs. security? Data privacy issues Network privacy issues…

Lecture 19Page 7CS 236 Online

Conflicts Between Privacy and Security

• Many security issues are based on strong authentication– Which means being very sure who someone

is• If we’re very sure who’s doing what, we can

track everything• Many privacy approaches based on obscuring

what you’re doing

Page 8: Lecture 19 Page 1 CS 236 Online Privacy Privacy vs. security? Data privacy issues Network privacy issues…

Lecture 19Page 8CS 236 Online

Some Specific Privacy Problems• Poorly secured databases that are remotely accessible

– Or are stored on hackable computers• Data mining by companies we interact with• Eavesdropping on network communications by

governments• Insiders improperly accessing information• Cell phone/mobile computer-based location tracking

Page 9: Lecture 19 Page 1 CS 236 Online Privacy Privacy vs. security? Data privacy issues Network privacy issues…

Lecture 19Page 9CS 236 Online

Data Privacy Issues

• My data is stored somewhere– Can I control who can use it/see it?

• Can I even know who’s got it?• How do I protect a set of private data?

– While still allowing some use?• Will data mining divulge data “through the

back door”?

Page 10: Lecture 19 Page 1 CS 236 Online Privacy Privacy vs. security? Data privacy issues Network privacy issues…

Lecture 19Page 10CS 236 Online

Personal Data• Who owns data about you?• What if it’s really personal data?

– Social security number, DoB, your DNA record?

• What if it’s data someone gathered about you?– Your Google history or shopping records– Does it matter how they got it?

Page 11: Lecture 19 Page 1 CS 236 Online Privacy Privacy vs. security? Data privacy issues Network privacy issues…

Lecture 19Page 11CS 236 Online

Controlling Personal Data

• Currently impossible• Once someone has your data, they do

what they want with it• Is there some way to change that?• E.g., to wrap data in way to prevent its

misuse?• Could TPM help?

Page 12: Lecture 19 Page 1 CS 236 Online Privacy Privacy vs. security? Data privacy issues Network privacy issues…

Lecture 19Page 12CS 236 Online

Tracking Your Data

• How could I find out who knows my passport number?

• Can I do anything that prevents my data from going certain places?– With cooperation of those who have it?– Without their cooperation?– Via legal means?

Page 13: Lecture 19 Page 1 CS 236 Online Privacy Privacy vs. security? Data privacy issues Network privacy issues…

Lecture 19Page 13CS 236 Online

Protecting Data Sets• If my company has (legitimately) a bunch

of personal data,• What can I/should I do to protect it?

– Given that I probably also need to use it?

• If I fail, how do I know that?– And what remedies do I have?

Page 14: Lecture 19 Page 1 CS 236 Online Privacy Privacy vs. security? Data privacy issues Network privacy issues…

Lecture 19Page 14CS 236 Online

Options for Protecting Data• Careful system design• Limited access to the database

– Networked or otherwise• Full logging and careful auditing• Using only encrypted data

– Must it be decrypted?– If so, how to protect the data and the keys?

Page 15: Lecture 19 Page 1 CS 236 Online Privacy Privacy vs. security? Data privacy issues Network privacy issues…

Lecture 19Page 15CS 236 Online

Data Mining and Privacy

• Data mining allows users to extract models from databases–Based on aggregated information

• Often data mining allowed when direct extraction isn’t

• Unless handled carefully, attackers can use mining to deduce record values

Page 16: Lecture 19 Page 1 CS 236 Online Privacy Privacy vs. security? Data privacy issues Network privacy issues…

Lecture 19Page 16CS 236 Online

Insider Threats and Privacy

• Often insiders need access to private data–Under some circumstances

• But they might abuse that access• How can we determine when they

misbehave?• What can we do?

Page 17: Lecture 19 Page 1 CS 236 Online Privacy Privacy vs. security? Data privacy issues Network privacy issues…

Lecture 19Page 17CS 236 Online

Network Privacy

• Mostly issues of preserving privacy of data flowing through network

• Start with encryption–With good encryption, data values

not readable• So what’s the problem?

Page 18: Lecture 19 Page 1 CS 236 Online Privacy Privacy vs. security? Data privacy issues Network privacy issues…

Lecture 19Page 18CS 236 Online

Traffic Analysis Problems

• Sometimes desirable to hide that you’re talking to someone else

• That can be deduced even if the data itself cannot

• How can you hide that?– In the Internet of today?

Page 19: Lecture 19 Page 1 CS 236 Online Privacy Privacy vs. security? Data privacy issues Network privacy issues…

Lecture 19Page 19CS 236 Online

Location Privacy• Mobile devices often communicate while

on the move• Often providing information about their

location–Perhaps detailed information–Maybe just hints

• This can be used to track our movements

Page 20: Lecture 19 Page 1 CS 236 Online Privacy Privacy vs. security? Data privacy issues Network privacy issues…

Lecture 19Page 20CS 236 Online

Implications of Location Privacy Problems

• Anyone with access to location data can know where we go

• Allowing government surveillance• Or a private detective following your

moves• Or a maniac stalker figuring out where to

ambush you . . .

Page 21: Lecture 19 Page 1 CS 236 Online Privacy Privacy vs. security? Data privacy issues Network privacy issues…

Lecture 19Page 21CS 236 Online

Some Privacy Solutions

• The Scott McNealy solution– “Get over it.”

• Anonymizers• Onion routing• Privacy-preserving data mining• Preserving location privacy• Handling insider threats via optimistic security

Page 22: Lecture 19 Page 1 CS 236 Online Privacy Privacy vs. security? Data privacy issues Network privacy issues…

Lecture 19Page 22CS 236 Online

Anonymizers• Network sites that accept requests of

various kinds from outsiders• Then submit those requests

–Under their own or fake identity• Responses returned to the original

requestor• A NAT box is a poor man’s anonymizer

Page 23: Lecture 19 Page 1 CS 236 Online Privacy Privacy vs. security? Data privacy issues Network privacy issues…

Lecture 19Page 23CS 236 Online

The Problem With Anonymizers

• The entity running the anonymizer knows who’s who

• Either can use that information himself• Or can be fooled/compelled/hacked to

divulge it to others• Generally not a reliable source of real

anonymity

Page 24: Lecture 19 Page 1 CS 236 Online Privacy Privacy vs. security? Data privacy issues Network privacy issues…

Lecture 19Page 24CS 236 Online

Onion Routing• Meant to handle issue of people knowing

who you’re talking to• Basic idea is to conceal sources and

destinations• By sending lots of crypo-protected

packets between lots of places• Each packet goes through multiple hops

Page 25: Lecture 19 Page 1 CS 236 Online Privacy Privacy vs. security? Data privacy issues Network privacy issues…

Lecture 19Page 25CS 236 Online

A Little More Detail

• A group of nodes agree to be onion routers

• Users obtain crypto keys for those nodes• Plan is that many users send many

packets through the onion routers–Concealing who’s really talking

Page 26: Lecture 19 Page 1 CS 236 Online Privacy Privacy vs. security? Data privacy issues Network privacy issues…

Lecture 19Page 26CS 236 Online

Sending an Onion-Routed Packet

• Encrypt the packet using the destination’s key

• Wrap that with another packet to another router–Encrypted with that router’s key

• Iterate a bunch of times

Page 27: Lecture 19 Page 1 CS 236 Online Privacy Privacy vs. security? Data privacy issues Network privacy issues…

Lecture 19Page 27CS 236 Online

In Diagram Form

Source Destination

Onion routers

Page 28: Lecture 19 Page 1 CS 236 Online Privacy Privacy vs. security? Data privacy issues Network privacy issues…

Lecture 19Page 28CS 236 Online

What’s Really in the Packet

Page 29: Lecture 19 Page 1 CS 236 Online Privacy Privacy vs. security? Data privacy issues Network privacy issues…

Lecture 19Page 29CS 236 Online

Delivering the Message

Page 30: Lecture 19 Page 1 CS 236 Online Privacy Privacy vs. security? Data privacy issues Network privacy issues…

Lecture 19Page 30CS 236 Online

What’s Been Achieved?• Nobody improper read the message• Nobody knows who sent the message

–Except the receiver• Nobody knows who received the message

–Except the sender• Assuming you got it all right

Page 31: Lecture 19 Page 1 CS 236 Online Privacy Privacy vs. security? Data privacy issues Network privacy issues…

Lecture 19Page 31CS 236 Online

Issues for Onion Routing• Proper use of keys• Traffic analysis• Overheads

– Multiple hops– Multiple encryptions

• Limited anti-government censorship potential– “Glows in the dark,” so governments can shut

it down in their territory

Page 32: Lecture 19 Page 1 CS 236 Online Privacy Privacy vs. security? Data privacy issues Network privacy issues…

Lecture 19Page 32CS 236 Online

Privacy-Preserving Data Mining

• Allow users access to aggregate statistics

• But don’t allow them to deduce individual statistics

• How to stop that?

Page 33: Lecture 19 Page 1 CS 236 Online Privacy Privacy vs. security? Data privacy issues Network privacy issues…

Lecture 19Page 33CS 236 Online

Approaches to Privacy for Data Mining

• Perturbation– Add noise to sensitive value

• Blocking– Don’t let aggregate query see sensitive

value• Sampling

– Randomly sample only part of data

Page 34: Lecture 19 Page 1 CS 236 Online Privacy Privacy vs. security? Data privacy issues Network privacy issues…

Lecture 19Page 34CS 236 Online

Preserving Location Privacy

• Can we prevent people from knowing where we are?

• Given that we carry mobile communications devices

• And that we might want location-specific services ourselves

Page 35: Lecture 19 Page 1 CS 236 Online Privacy Privacy vs. security? Data privacy issues Network privacy issues…

Lecture 19Page 35CS 236 Online

Location-Tracking Services

• Services that get reports on our mobile device’s position– Probably sent from that device

• Often useful– But sometimes we don’t want them

turned on• So, turn them off then

Page 36: Lecture 19 Page 1 CS 236 Online Privacy Privacy vs. security? Data privacy issues Network privacy issues…

Lecture 19Page 36CS 236 Online

But . . .• What if we turn it off just before

entering a “sensitive area”?• And turn it back on right after we leave?• Might someone deduce that we spent the

time in that area?• Very probably

Page 37: Lecture 19 Page 1 CS 236 Online Privacy Privacy vs. security? Data privacy issues Network privacy issues…

Lecture 19Page 37CS 236 Online

Handling Location Inferencing

• Need to obscure that a user probably entered a particular area

• Can reduce update rate– Reducing certainty of travel

• Or bundle together areas– Increasing uncertainty of which was

entered