Transcript
Page 1: Social Zombies Gone Wild: Totally Exposed and Uncensored

GONE

Page 2: Social Zombies Gone Wild: Totally Exposed and Uncensored

•  Senior Security Consultant, SecureState •  Founder of SocialMediaSecurity.com •  Facebook Privacy & Security Guide •  Blogger •  Co-host of Security Justice, Social Media

Security Podcasts

Page 3: Social Zombies Gone Wild: Totally Exposed and Uncensored

•  Security Consultant, Secure Ideas •  Author Sec542 from SANS •  Instructor of the SamuraiWTF class •  SANS Internet Storm Center Handler •  Project lead for: –  SamuraiWTF – Yokoso! –  Laudanum – WeaponizedFlash

Page 4: Social Zombies Gone Wild: Totally Exposed and Uncensored

•  Location Based Services are exactly that •  Services that provide your location to others – Be them friends or companies that want to know

•  These services can be built into our devices and software or programs we sign up for – Can tell where we are or where we aren’t

Page 5: Social Zombies Gone Wild: Totally Exposed and Uncensored

Chart: Gigaom.com

Page 6: Social Zombies Gone Wild: Totally Exposed and Uncensored

The market for location-based services on mobile phones will be worth about ���

$3 billion in 2013…���

-Frost and Sullivan (Market Research Firm)

Page 7: Social Zombies Gone Wild: Totally Exposed and Uncensored
Page 8: Social Zombies Gone Wild: Totally Exposed and Uncensored

•  The original way of performing geo-location checks

•  Determined through ISP lookups and whois records

•  Prone to misleading results – Due to ISP location being reported

•  Popular with Banners/Adult Advertising

Page 9: Social Zombies Gone Wild: Totally Exposed and Uncensored
Page 10: Social Zombies Gone Wild: Totally Exposed and Uncensored

•  Researchers  have  found  new  ways  to  get  closer  results  via  IP  address  

•  Typical  results  used  to  get  you  within  200  kilometers  (>me  based)  

•  Now  within  a  few  hundred  meters!  •  Creates  new  ways  for  adver>sers  and  the  government  to  track  you  J  

•  Using  proxy’s  seem  to  help…but  who  controls  these?  

Page 11: Social Zombies Gone Wild: Totally Exposed and Uncensored

•  GPS in the mobile device was ���revolutionary – Users have embraced it

•  We have our phone with us everywhere •  Ability to use web based tech with the mobile

GPS has changed the way we use phones! – Mash-ups for the win!

Page 12: Social Zombies Gone Wild: Totally Exposed and Uncensored

•  GPS •  WiFi •  Bluetooth •  RFID •  3G/EDGE, CDMA, GSM

•  We pack our phones with latest wireless tech…

Page 13: Social Zombies Gone Wild: Totally Exposed and Uncensored
Page 14: Social Zombies Gone Wild: Totally Exposed and Uncensored
Page 15: Social Zombies Gone Wild: Totally Exposed and Uncensored

•  IP address •  RFID •  WiFi and Bluetooth MAC addresses •  GSM/CDMA cell IDs •  Manual user input

Page 16: Social Zombies Gone Wild: Totally Exposed and Uncensored

•  Service Examples: – Google Location Services •  Cell Tower •  Wifi based

– Skyhook/Loki •  Wifi based

Page 17: Social Zombies Gone Wild: Totally Exposed and Uncensored

•  Many new providers of Geolocation data •  Skyhook •  SimpleGeo (working on Geofences)

Page 18: Social Zombies Gone Wild: Totally Exposed and Uncensored

•  Yes, its scary and has been around for a few years

•  Your phone determines if you are in a location or not

•  iOS4 already supports background geo •  SimpleGeo can do this in 6 lines of code •  30 lines to support background geo tracking on

iOS4

Page 19: Social Zombies Gone Wild: Totally Exposed and Uncensored

“So you basically just say, ‘Track User’ and we handle that in our API along with record history.’” ���“I can then come back and say, ‘Show me the last 10 places the user was‘,” Stump continues... ���“Creepy? Sort of. Powerful and easy? Yes.”���

- TechCrunch Interview w/SocialGeo co-founder Joe Stump

Page 20: Social Zombies Gone Wild: Totally Exposed and Uncensored
Page 21: Social Zombies Gone Wild: Totally Exposed and Uncensored

•  Firefox (> 3.5 uses Google) •  Opera (nightly build uses

Skyhook) •  Safari (uses Skyhook in

iPhone/iPad) •  Chrome (uses Google) •  Internet Explorer 9 ���

(HTML5-based)

Page 22: Social Zombies Gone Wild: Totally Exposed and Uncensored

Geolocation is not standardized…yet.

•  Follow the Geolocation developer mailing list...it’s fun!

– http://www.w3.org/2008/geolocation/

Page 23: Social Zombies Gone Wild: Totally Exposed and Uncensored

•  How will developers use this? •  W3C Geolocation API •  Code is easy to manipulate for evil

things

Page 24: Social Zombies Gone Wild: Totally Exposed and Uncensored

•  Now available in Safari, Opera and Chrome

•  The “Evercookie” (Samy Kamkar) •  Store and track your locations as well

Page 25: Social Zombies Gone Wild: Totally Exposed and Uncensored
Page 26: Social Zombies Gone Wild: Totally Exposed and Uncensored

FourSquare/Gowalla

•  These games are supposed to be fun, right?

Page 27: Social Zombies Gone Wild: Totally Exposed and Uncensored

•  Opt in by default •  Built into the API •  Forgotten by many users…

Page 28: Social Zombies Gone Wild: Totally Exposed and Uncensored

•  We <3 Google •  Tracks your location history •  How many use the same password for all sites?

Page 29: Social Zombies Gone Wild: Totally Exposed and Uncensored
Page 30: Social Zombies Gone Wild: Totally Exposed and Uncensored

•  600 Million Users all sharing locations…

•  Kevin loves this

Page 31: Social Zombies Gone Wild: Totally Exposed and Uncensored
Page 32: Social Zombies Gone Wild: Totally Exposed and Uncensored

•  Barcode Hero? ���Yeah seriously…

Page 33: Social Zombies Gone Wild: Totally Exposed and Uncensored

QR Codes

Page 34: Social Zombies Gone Wild: Totally Exposed and Uncensored

Rebecca  Rolled?  

Page 35: Social Zombies Gone Wild: Totally Exposed and Uncensored
Page 36: Social Zombies Gone Wild: Totally Exposed and Uncensored

•  Geolocation DoS •  Randomly generate SSIDs •  Fake SSID flood •  Hardware jamming

Page 37: Social Zombies Gone Wild: Totally Exposed and Uncensored

•  2008 Research by Students from ETH Zurich

•  AP Impersonation •  WLAN Jamming

•  SkyHook DoS

Page 38: Social Zombies Gone Wild: Totally Exposed and Uncensored

•  [Disclaimer] These are illegal!

•  Easy to buy overseas

Page 39: Social Zombies Gone Wild: Totally Exposed and Uncensored
Page 40: Social Zombies Gone Wild: Totally Exposed and Uncensored
Page 41: Social Zombies Gone Wild: Totally Exposed and Uncensored
Page 42: Social Zombies Gone Wild: Totally Exposed and Uncensored

•  hIp://ilektrojohn.github.com/creepy/  •  Geolocation stalking tool! •  Works on Windows and Linux

Page 43: Social Zombies Gone Wild: Totally Exposed and Uncensored

•  Sniff and Spoof (Man-in-the-Middle Attacks) •  Or…just use FireSheep and hijack the

account for location data •  Fun at conferences and hotels ;-)

Page 44: Social Zombies Gone Wild: Totally Exposed and Uncensored
Page 45: Social Zombies Gone Wild: Totally Exposed and Uncensored

•  Proxies •  Tor (still slow) •  Moxie Marlinspike’s GoogleSharing

creates interesting possibilities

Page 46: Social Zombies Gone Wild: Totally Exposed and Uncensored
Page 47: Social Zombies Gone Wild: Totally Exposed and Uncensored
Page 48: Social Zombies Gone Wild: Totally Exposed and Uncensored

•  Blackberry •  iPhone •  Android

Page 49: Social Zombies Gone Wild: Totally Exposed and Uncensored

•  Fake Location App (iPhone/Android) •  Geolocater Firefox Plugin •  Manually manipulate Firefox, use

touch.facebook.com

Page 50: Social Zombies Gone Wild: Totally Exposed and Uncensored
Page 51: Social Zombies Gone Wild: Totally Exposed and Uncensored

•  FourSquare “gaming the system”

•  Lots of scripts, programs to do this…even a Metasploit module! (thanks to CG)

Page 52: Social Zombies Gone Wild: Totally Exposed and Uncensored
Page 53: Social Zombies Gone Wild: Totally Exposed and Uncensored

•  Pulls location information without the user knowing

•  Hooked through Skyhook •  Developer gets your location •  Great for stalking app users…

Page 54: Social Zombies Gone Wild: Totally Exposed and Uncensored
Page 55: Social Zombies Gone Wild: Totally Exposed and Uncensored

•  Plug-ins for BeEF to retrieve HTML5 Geolocation – Designed for PHP version of BeEF

•  Allows the attacker to track the victims •  Scope testing for pen-testers

Page 56: Social Zombies Gone Wild: Totally Exposed and Uncensored

•  Enhances upon the BeEF framework – Part of the HTML5

plug-ins

•  Determines if the payload is supported

•  Retrieves the location for the controller

Page 57: Social Zombies Gone Wild: Totally Exposed and Uncensored

•  Geolocation can be problematic – Current browsers respond erratically •  Often just the first time its called

– Support is getting better everyday

Page 58: Social Zombies Gone Wild: Totally Exposed and Uncensored

Ruby BeEF •  Geoloca>on  plug  in  is  part  of  the  Ruby  version  of  BeEF  

•  Supports  most  browsers  –  IE  is  s>ll  problema>c  – Kevin  and  Frank  are  working  on  an  update  

•  Displays  coordinates  in  the  results  

Page 59: Social Zombies Gone Wild: Totally Exposed and Uncensored
Page 60: Social Zombies Gone Wild: Totally Exposed and Uncensored

•  Inadvertent Location Sharing – Many mobile apps enable this by default!

•  Cyberstalking

•  Physical Security

Page 61: Social Zombies Gone Wild: Totally Exposed and Uncensored

•  You automatically allow your location shared with applications you use!

•  Apple’s 159+ page Terms of Service state…������“By  using  any  loca-on-­‐based  services  on  your  iPhone,  you  agree  and  consent  to  Apple’s  and  its  partners’  and  licensees'  transmission,  collec-on,  maintenance,  processing,  and  use  of  your  loca-on  data  to  provide  such  products  and  services.”  

Page 62: Social Zombies Gone Wild: Totally Exposed and Uncensored

•  What does your phone or browser leave behind?

•  Can you be tracked? •  How many of us sell our phones on eBay/

Craigslist?

Page 63: Social Zombies Gone Wild: Totally Exposed and Uncensored
Page 64: Social Zombies Gone Wild: Totally Exposed and Uncensored

•  Anonymize your location •  Allow access to delete/remove location

data •  Ability to turn off location based services •  What are the W3C devs doing?

Page 65: Social Zombies Gone Wild: Totally Exposed and Uncensored
Page 66: Social Zombies Gone Wild: Totally Exposed and Uncensored

- Image from Broadstuff.com

Page 67: Social Zombies Gone Wild: Totally Exposed and Uncensored

•  Getting more popular for promotions/prizes (Starbucks)

•  How do you verify check-in? •  Lot’s of *fun* ways to abuse the system •  Two-factor geo check-in’s?

Page 68: Social Zombies Gone Wild: Totally Exposed and Uncensored

•  Ensure “full disclosure” of how you use location based data

•  Implement PETs •  Demand more/get involved with W3C

Page 69: Social Zombies Gone Wild: Totally Exposed and Uncensored

•  To share or not to share? •  Share with only a select group? Example:

create a list in Facebook, share only with them

•  Think before sharing your location

•  Read the TOS, privacy policy of apps and services

Page 70: Social Zombies Gone Wild: Totally Exposed and Uncensored

•  SocialMediaSecurity.com •  Kevin will be submitting BeEF patches •  Follow us: @agent0x0 @secureideas •  Friend Kevin on Facebook. Really.

Page 71: Social Zombies Gone Wild: Totally Exposed and Uncensored

GONE