QUANTIFIED SELF - Black Hat Briefings€¦ · QUANTIFIED SELF Candid Wüest THREAT RESEARCHER A...

22
96 BPM 42 Calories QUANTIFIED SELF Candid Wüest THREAT RESEARCHER A Path to Self-Enlightenment or Just a Security Nightmare? Location: AMS Thanks To: Mario Ballano & Hon Lau

Transcript of QUANTIFIED SELF - Black Hat Briefings€¦ · QUANTIFIED SELF Candid Wüest THREAT RESEARCHER A...

Page 1: QUANTIFIED SELF - Black Hat Briefings€¦ · QUANTIFIED SELF Candid Wüest THREAT RESEARCHER A Path to Self-Enlightenment or Just a Security Nightmare? Location: AMS Thanks To: Mario

96 BPM 42 Calories

QUANTIFIED SELF

Candid Wüest

THREAT RESEARCHER

A Path to Self-Enlightenment or Just a Security Nightmare?

Location: AMS

Thanks To: Mario Ballano & Hon Lau

Page 2: QUANTIFIED SELF - Black Hat Briefings€¦ · QUANTIFIED SELF Candid Wüest THREAT RESEARCHER A Path to Self-Enlightenment or Just a Security Nightmare? Location: AMS Thanks To: Mario

Internet Of

Things Wearable Tech

Business Health

Culture

Sports &

Recreation

Recording everything about your life

QUANTIFIED

SELF

WHAT IS QUANTIFIED SELF?

2

Page 3: QUANTIFIED SELF - Black Hat Briefings€¦ · QUANTIFIED SELF Candid Wüest THREAT RESEARCHER A Path to Self-Enlightenment or Just a Security Nightmare? Location: AMS Thanks To: Mario

123 BPM

23.56 KM

15.8

More moving parts = more risks

RISK RISK

RISK RISK

RISK

WHERE THE BITS FIT IN

3

Page 4: QUANTIFIED SELF - Black Hat Briefings€¦ · QUANTIFIED SELF Candid Wüest THREAT RESEARCHER A Path to Self-Enlightenment or Just a Security Nightmare? Location: AMS Thanks To: Mario

APP ANALYTICS

The secret life of mobile apps...

AD NETWORKS

APP PROVIDER

SOCIAL MEDIA

APP FRAMEWORKS

CRM/MARKETING

UTILITY API

OS PROVIDER

MAX DOMAINS CONTACTED

14

AVG DOMAINS CONTACTED

5

UNINTENTIONAL DATA LEAKS

4

Page 5: QUANTIFIED SELF - Black Hat Briefings€¦ · QUANTIFIED SELF Candid Wüest THREAT RESEARCHER A Path to Self-Enlightenment or Just a Security Nightmare? Location: AMS Thanks To: Mario

Example: Fitbit once had the “sexual activity” visible to all by default

5

VERIFY THE DEFAULT SETTINGS!

5

Page 6: QUANTIFIED SELF - Black Hat Briefings€¦ · QUANTIFIED SELF Candid Wüest THREAT RESEARCHER A Path to Self-Enlightenment or Just a Security Nightmare? Location: AMS Thanks To: Mario

From the analyzed apps

52% had no privacy policy

It is personal identifiable information, but not as we know it “Apps that access HealthKit are required to have a privacy policy,…” Apple.com

6

DATA “CUSTODIANS”

6

Page 7: QUANTIFIED SELF - Black Hat Briefings€¦ · QUANTIFIED SELF Candid Wüest THREAT RESEARCHER A Path to Self-Enlightenment or Just a Security Nightmare? Location: AMS Thanks To: Mario

Jawbone: Who’s asleep during San Francisco earthquake 2014?

7

YOUR DATA IS ALREADY BEING ANALYSED

7

Page 8: QUANTIFIED SELF - Black Hat Briefings€¦ · QUANTIFIED SELF Candid Wüest THREAT RESEARCHER A Path to Self-Enlightenment or Just a Security Nightmare? Location: AMS Thanks To: Mario

Larger proportion of the top 100 health apps leaked activity data through HTTP

Some apps accepted self-signed certificates or don’t check revocation lists

POST http://api.******.com/Mobile/Functions.ashx?action=RegisterUser FName: ken LName: west GoalWeight: 68 Email: [email protected] Password: P@SSw0rd

POST http://******.*******.net/cgi-bin/account password: 8EEFB875DB938CEC08299BE7AA709EE0 action: create email: [email protected] preflang: de_CH

No need to crack simply pass the hash

GET http://*****.***/api/createUser? username=KenWest [email protected] password=P@SSw0rd

20% SENT PASSWORDS IN CLEAR TEXT

8

Page 9: QUANTIFIED SELF - Black Hat Briefings€¦ · QUANTIFIED SELF Candid Wüest THREAT RESEARCHER A Path to Self-Enlightenment or Just a Security Nightmare? Location: AMS Thanks To: Mario

HTTP GET /api/getUser/877 [No authentication needed] {"result":true,"data":{"id":"877","name":"Kenwest","email":"[email protected]", "password":"705bf40d40cb2904b04294fbc355XXXX","role":"0","about":null,"salt":"XgDLkaenP1","sex":"Male","age":null,"purpose":null,"coach_id":"1","heightfeet":null,"birthday":null,"heightinch":null,"startweight":null,"_currentweight":null,"targetweight":null,"_startbf":null,"_currentbf":null,"_targetbf":null,"_systolic":null,"_diastolic":null,"neck":null,"_hips":null,"_waist":null,"forearm":null,"wrist":null,"imageurl":null,"photo":null,"thumbnail_65":null,"thumbnail_150":null,"nike_user":null,"nike_pwd":null,"nike_join":"0","face_uid":null,"provider":"0","timezone":"America\/Los_Angeles","fitbit_token":null,"fitbit_secret":null,"fitbit_join":"0","withings_token":null,"withings_secret":null,"withings_userid":"0","withings_join":"0","google_uid":null,"google_join":"0", "facebook_access_token":null,"face_join":"0","first_run":"0","metric":"0","last_entry":null,"face_cache_last_update":null,"uuid":"d53fe2973d3ad4276a8aa5aaae0730aXXXX74aeefd9cc446b80eb14391a6XXXX","friendly":0,"follow":0,"currentweight":"190","sexnumber":"1","percent_to_lose":100,"percent_to_bf_lose":100,"totalbudget":1650,"systolic_warning":"bar bar-warning", "diastolic_warning":"bar bar-warning","systolic":null,"diastolic":null, "startavatar":"\/img\/male\/male_110","avatar":"\/img\/male\/male_190","points":0,"avgcalories":"108.71263885498047","avgminutes":"44.0000","avgweight":"190","sumweekcalories":"Still working on weight loss","level":"Newbie",“xxxxscore":0.60394444444444}}

Name Email Password Birthday Ideal for spammers Photo Email, context and Nike_pwd Social media accounts Fitbit_token Withings_token Google_uid Facebook_access_token

9

ENUMERATE USER DATA FOR SPAMMERS

9

Page 10: QUANTIFIED SELF - Black Hat Briefings€¦ · QUANTIFIED SELF Candid Wüest THREAT RESEARCHER A Path to Self-Enlightenment or Just a Security Nightmare? Location: AMS Thanks To: Mario

POST http://www.***.com/members/community130204/sendmail.php email: [email protected] subject: Daily Activity message: Dear User, You have 1 new private message. Please go to …

POST http://www.***.com/members/community130204/sendmail.php email: [email protected] subject: Your Daily Spam message: Dear User, You have 1 new SPAM message. Please click here…

OPEN REMAILER SCRIPTS

Page 11: QUANTIFIED SELF - Black Hat Briefings€¦ · QUANTIFIED SELF Candid Wüest THREAT RESEARCHER A Path to Self-Enlightenment or Just a Security Nightmare? Location: AMS Thanks To: Mario

• Account hijack o The problem of password reuse o Costs: Sign the user up for premium services, commitments, … o Change the privacy settings

• Spam o Enumerate user data to send spam with context o Create dummy accounts & use profile page as spam landing pages o Use socal media accounts to find friends and spam them

11

POSSIBLE IMPACT

11

Page 12: QUANTIFIED SELF - Black Hat Briefings€¦ · QUANTIFIED SELF Candid Wüest THREAT RESEARCHER A Path to Self-Enlightenment or Just a Security Nightmare? Location: AMS Thanks To: Mario

Who said you have to run yourself? Dog-sitters?

12

GET REWARDED

12

Page 13: QUANTIFIED SELF - Black Hat Briefings€¦ · QUANTIFIED SELF Candid Wüest THREAT RESEARCHER A Path to Self-Enlightenment or Just a Security Nightmare? Location: AMS Thanks To: Mario

• Loss of privacy o Reveal personal details: Identity theft, profiling, extortion, … o Reveal Location: Stalking, burglar, kidnapping, corporate misuse, …

• Loss of integrity o Modify/inject data: Gain rewards, high scores, frustrate other people ;-) o Delete the account and history o Brick the device through firmware updates

13

POSSIBLE IMPACT Cont.

13

Page 14: QUANTIFIED SELF - Black Hat Briefings€¦ · QUANTIFIED SELF Candid Wüest THREAT RESEARCHER A Path to Self-Enlightenment or Just a Security Nightmare? Location: AMS Thanks To: Mario

aka Bluetooth SMART and BTLE part of BT 4.0 (2010)

• Different from classic Bluetooth • Does frequency hopping but can still be sniffed • Pairing has been broken (Mike Ryan)

14

”Bluetooth Smart (low energy) technology supports a feature that reduces the ability to track a Bluetooth device over a period of time by changing the address on a frequent basis.” Bluetooth.org

BLUETOOTH LOW ENERGY

14

Page 15: QUANTIFIED SELF - Black Hat Briefings€¦ · QUANTIFIED SELF Candid Wüest THREAT RESEARCHER A Path to Self-Enlightenment or Just a Security Nightmare? Location: AMS Thanks To: Mario

Bluetooth 4.0 USB dongle

$7

Raspberry pi

$35

Battery pack

$28

4GB SD Card

$5

$75 TOTAL PRICE

OUR BLUETOOTH TRACKER

SCANNING WITH A BLUEBERRY PI

15

Page 16: QUANTIFIED SELF - Black Hat Briefings€¦ · QUANTIFIED SELF Candid Wüest THREAT RESEARCHER A Path to Self-Enlightenment or Just a Security Nightmare? Location: AMS Thanks To: Mario

SCAN RESULTS FOR MINI MARATHON

0.0%

5.0%

10.0%

15.0%

20.0%

25.0%

30.0%

35.0%

40.0%

45.0%

A B C D E F G H I

– Dawson – Alieen's mobile!!:) – Garret rip xxx – Big hairy bollo

• The phone may reveal the real name associated with the device • 30 from 563 devices had something like a person’s name – Rita :)) – Darren! – Franks phone – Erica

16

Page 17: QUANTIFIED SELF - Black Hat Briefings€¦ · QUANTIFIED SELF Candid Wüest THREAT RESEARCHER A Path to Self-Enlightenment or Just a Security Nightmare? Location: AMS Thanks To: Mario

SCAN RESULTS FOR BLACKHAT EU 2014 • 203 BTLE devices and 21 wearable fitness trackers seen

Page 18: QUANTIFIED SELF - Black Hat Briefings€¦ · QUANTIFIED SELF Candid Wüest THREAT RESEARCHER A Path to Self-Enlightenment or Just a Security Nightmare? Location: AMS Thanks To: Mario

18

Source: blog.everytrail.com

SOME WANT THE DATA TO BE SEEN

18

Page 19: QUANTIFIED SELF - Black Hat Briefings€¦ · QUANTIFIED SELF Candid Wüest THREAT RESEARCHER A Path to Self-Enlightenment or Just a Security Nightmare? Location: AMS Thanks To: Mario

Your digital footprint will be everywhere!

20% Login credentials

in clear text

14 Domains contacted

by apps

52% Do not have a privacy policy

123 BPM

23.56 KM

15.8

SELF-TRACKING CAN BE RISKY FOR USERS

19

Page 20: QUANTIFIED SELF - Black Hat Briefings€¦ · QUANTIFIED SELF Candid Wüest THREAT RESEARCHER A Path to Self-Enlightenment or Just a Security Nightmare? Location: AMS Thanks To: Mario

123 BPM

23.56 KM

15.8

SCREEN LOCK

DEVICE ENCRYPTION

DON'T REUSE USERNAME/PASSWORDS

USE STRONG PASSWORDS

SECURITY SOFTWARE

TURN OFF BLUETOOTH IF NOT REQUIRED

KEEP DEVICE/SOFTWARE/OS UPDATED

LOOK FOR A PRIVACY POLICY

EXCESSIVE INFORMATION GATHERING

WHAT CAN USERS DO?

20

Page 21: QUANTIFIED SELF - Black Hat Briefings€¦ · QUANTIFIED SELF Candid Wüest THREAT RESEARCHER A Path to Self-Enlightenment or Just a Security Nightmare? Location: AMS Thanks To: Mario

Copyright © 2014 Symantec Corporation. All rights reserved.

BLOG http://bit.ly/1pgGefW

WHITEPAPER http://bit.ly/1nGB4vw

TWITTER @threatintel

WEB http://www.symantec.com

QUESTIONS ?

21

Page 22: QUANTIFIED SELF - Black Hat Briefings€¦ · QUANTIFIED SELF Candid Wüest THREAT RESEARCHER A Path to Self-Enlightenment or Just a Security Nightmare? Location: AMS Thanks To: Mario

Copyright © 2014 Symantec Corporation. All rights reserved.

BLOG http://bit.ly/1pgGefW

WHITEPAPER http://bit.ly/1nGB4vw

TWITTER @threatintel

WEB http://www.symantec.com

THANK YOU !

22