dox yourself bsides orlando

62
Dox Yourself Samuel Greenfeld BSides Orlando March 12, 2016

Upload: samuel-greenfeld

Post on 21-Jan-2017

409 views

Category:

Data & Analytics


0 download

TRANSCRIPT

Page 1: Dox Yourself BSides Orlando

Dox YourselfSamuel Greenfeld

BSides OrlandoMarch 12, 2016

Page 2: Dox Yourself BSides Orlando

Disclaimer• This presentation uses personal examples• Some fields are blacked out for pictures/video recording• I know you can find the information

• I have no doubt you can make my life or others miserable • Please Don’t

Page 3: Dox Yourself BSides Orlando

Introduction

Page 4: Dox Yourself BSides Orlando
Page 5: Dox Yourself BSides Orlando
Page 6: Dox Yourself BSides Orlando
Page 7: Dox Yourself BSides Orlando

SSNs historically predictable• Prior to June 25, 2011, SSNs issued in a predictable sequence• First three digits = state/territory of issuance (+ a few special things)

• After 1973 also based on ZIP code within a state

• Middle numbers = issued in a known sequence • Depending on the year even/odds were used, jumps around a bit• “High Group” lists issued by the SSA tell you the maximum number for this

expected to be issued for any given month for all possible first digit combinations

• Last digit set = issued sequentially within the first two• The IRS required SSNs for dependents in 1987

Page 8: Dox Yourself BSides Orlando

Florida Driver’s License• LLLL-FNI-YY-DMB-N• LLLL: Based on Last Name• FNI: Based on First Name, Middle Initial• YY: Year of Birth• DMB: Based on Day/Month of Birth & Gender• N: Sequence number in case of collisions

Page 9: Dox Yourself BSides Orlando

Surprised?

Page 10: Dox Yourself BSides Orlando

Security Professionals• We love to talk about the latest data breach/security technique/etc.• But we often forget to consider what was “normal” or

“best practices” in the past.

Page 11: Dox Yourself BSides Orlando
Page 12: Dox Yourself BSides Orlando

Birthday pondering• Government records• Birth Certificates• Driver’s License• Voter Registration

• Commercial records• Websites• Third party surveys/forms/rebates• Data aggregators

• Social Media Profiles/Posts

Page 13: Dox Yourself BSides Orlando
Page 14: Dox Yourself BSides Orlando

Voter Information as a Public Record

Page 15: Dox Yourself BSides Orlando
Page 16: Dox Yourself BSides Orlando
Page 17: Dox Yourself BSides Orlando
Page 18: Dox Yourself BSides Orlando

What’s the Problem?• Companies want to know who they are dealing with• Authentication/Authorization (strict check)• Advertising (loose might be acceptable)

• Users want to use services/purchase items easily

Page 19: Dox Yourself BSides Orlando

What’s the Real Problem?• Big Data is the new “in” thing• Many firms want to gather as much data as legally possible• Want to make using their systems as “sticky”/easy as possible• But when everyone has lots of data• How do you identify someone when everyone else has much of the

same information?• How do you differentiate your service?• All of the old information is not going away!• Lots of data already compromised

Page 20: Dox Yourself BSides Orlando

What’s the Real Problem? (2)• Anyone & Everyone wants to know what you are doing• Stores• Data aggregation firms• Nation states• Your Internet Provider

• Many want to know what your LinkedIn, Facebook, etc. accounts contain, who you know, etc.

Page 21: Dox Yourself BSides Orlando
Page 22: Dox Yourself BSides Orlando

The Beginning is still here

Page 23: Dox Yourself BSides Orlando
Page 24: Dox Yourself BSides Orlando
Page 25: Dox Yourself BSides Orlando
Page 26: Dox Yourself BSides Orlando

If you get arrested…

Page 27: Dox Yourself BSides Orlando

Authentication

Page 28: Dox Yourself BSides Orlando

Historical• Password• Security questions• Security pictures

Page 29: Dox Yourself BSides Orlando

Current Trend: Give Us More Info

Page 30: Dox Yourself BSides Orlando

Current Trend: Give Us More Info (2)

Page 31: Dox Yourself BSides Orlando

Two-factor Everywhere• Too many Two Factors!• Phone Calls/SMS Text Messages• OATH

Page 32: Dox Yourself BSides Orlando

Custom Two-Factor Authenticators

Page 33: Dox Yourself BSides Orlando

Many firms want your phone number

Page 34: Dox Yourself BSides Orlando

Many firms want your phone number (2)

Page 35: Dox Yourself BSides Orlando

Many firms want your phone number (3)

Page 36: Dox Yourself BSides Orlando

(Aside) Not just phone numbers

Page 37: Dox Yourself BSides Orlando

Where have we seen this before?

Page 38: Dox Yourself BSides Orlando

We train people for this

Page 39: Dox Yourself BSides Orlando

But evil is not always obvious

Page 40: Dox Yourself BSides Orlando

Fallbacks to historical approaches still exist• What happens when the user doesn’t have their second factor?• Back to security questions again in many cases

• Be sure to email the user or mail them a postcard/letter when an override is used• If email was part of the process, find another way to contact the user which

does not require something used as part of the override• If a user changes email addresses, be sure to send one final vague message to

the previous address warning them of it.

• When designing any authentication system, be sure to determine what is considered an acceptable level of risk

Page 41: Dox Yourself BSides Orlando

Analytics

Page 42: Dox Yourself BSides Orlando

Coffee Makers

Page 43: Dox Yourself BSides Orlando

Coffee Makers (2)

Page 44: Dox Yourself BSides Orlando

Analytics• Discovery and communication of meaningful patterns in data.• Site information/performance• User information/demographics

• Can be used both for secondary identification as well as advertising• In either case you are generally not told about it

Page 45: Dox Yourself BSides Orlando

Supercookies• Method of storing information in a web browser using redundant

methods that are hard to delete• Example proof of concept: Evercookie

• http://samy.pl/evercookie/

• Uses• HTTP Cookies• Adobe Flash Local Shared Objects• Web history (where you’ve been)• Web cache (storing files)• Etags (has a cached file been modified)• HTML 5 Storage (5 types of it)• And much more

Page 46: Dox Yourself BSides Orlando

Browser Fingerprinting• Attempt to detect the same user without storing anything in their

web browser• Uses things like• Browser type/version• Configured language(s)• Installed plugins/versions• Time Zone• Screen Size/Color Depth• Fonts on computer

• Often can get a unique match, or at least prove a browser is 1:1,000+• https://panopticlick.eff.org/

Page 47: Dox Yourself BSides Orlando
Page 48: Dox Yourself BSides Orlando

Cell phone supercookie

Page 49: Dox Yourself BSides Orlando
Page 50: Dox Yourself BSides Orlando
Page 51: Dox Yourself BSides Orlando
Page 52: Dox Yourself BSides Orlando
Page 53: Dox Yourself BSides Orlando
Page 54: Dox Yourself BSides Orlando
Page 55: Dox Yourself BSides Orlando

Which rules apply?

(Paragraph removed in 12 January 2016 update)

Page 56: Dox Yourself BSides Orlando

Everyone wants to have their cake & eat it too• Consumers want to have accurate predictions. But they do not want

everyone to know everything about them.• Businesses want to be able to beat their competitors by figuring out

the “secret sauce” necessary to gain an advantage. But they don’t want other businesses to know how or scare potential customers by telling them how they’re doing it• Governments want to be able to monitor things per their local laws,

but not have communications they are responsible to protect broken

Page 57: Dox Yourself BSides Orlando

We need to hunt down the truth

Page 58: Dox Yourself BSides Orlando

If you are a user• Realize how much information about you is public• Your daily purchases, interactions, etc. reveal more than you realize• https://history.google.com/history/ is a good place to start

• If you or someone else puts something on the Internet, it may never go away• Consider using ad/site tracker blocking software if concerned,

but realize that these can occasionally break websites

Page 59: Dox Yourself BSides Orlando

If you are looking to “dox” someone• Consider if you *really* want to do it• You will affect their feelings, even if you told them in advance• There may be legal implications• Search the Internet with you know and go from there• Realize that some sources are completely incorrect, while some are

scarily close to accurate• Don’t publish information online unless absolutely necessary• Outing the wrong person has occurred before!

Page 60: Dox Yourself BSides Orlando

If you are trying to authenticate users• There is a careful balance between making your service easy to use

and making it secure• Realize that many identifiers are public information, or can be derived

from such• Follow the required regulations/laws for your industry/location(s)• Don’t try to special case things based on known local flaws• Two factor authentication is now probably the norm

Page 61: Dox Yourself BSides Orlando

If you are into advertising/analytics• Respect your users• Don’t tie site functionality into metric/analytic systems in fragile ways• Don’t overload your site with trackers• Use tools to measure their impact on performance• Try home/mobile Internet connections far away from your datacenter

– not just the office

• If you collect it, someone else can steal it• It’s not if you are compromised, but when you will be

Page 62: Dox Yourself BSides Orlando

Questions

[email protected]://www.slideshare.net/samuelgreenfeld