78
CSE 484 / CSE M 584: Computer Security and Privacy Mobile Platform Security (finish) Fall 2016 Ada (Adam) Lerner [email protected] Thanks to Franzi Roesner, Dan Boneh, Dieter Gollmann, Dan Halperin, Yoshi Kohno, John Manferdelli, John Mitchell, Vitaly Shmatikov, Bennet Yee, and many others for sample slides and materials ...

Mobile Platform Security (finish) - University of … · Mobile Platform Security (finish) Fall 2016 Ada ... countries with fake packing slips ... – User approval of permissions

Embed Size (px)

Citation preview

Page 1: Mobile Platform Security (finish) - University of … · Mobile Platform Security (finish) Fall 2016 Ada ... countries with fake packing slips ... – User approval of permissions

CSE484/CSEM584:ComputerSecurityandPrivacy

MobilePlatformSecurity

(finish)

Fall2016

Ada(Adam)[email protected]

ThankstoFranziRoesner,DanBoneh,DieterGollmann,DanHalperin,YoshiKohno,JohnManferdelli,JohnMitchell,VitalyShmatikov,BennetYee,andmanyothersforsampleslidesandmaterials...

Page 2: Mobile Platform Security (finish) - University of … · Mobile Platform Security (finish) Fall 2016 Ada ... countries with fake packing slips ... – User approval of permissions

SecurityMindset:Customs

•  ExchangeonRedditcommentthread•  Startedwithanobservationabouttheworld:– “ItriedtoshipsomethingtoVenezuela,butitwouldhavecost$80shippingand$1420intaxesanddutyimportfees!”

11/30/16 CSE484/CSEM584-Fall2016 2

Page 3: Mobile Platform Security (finish) - University of … · Mobile Platform Security (finish) Fall 2016 Ada ... countries with fake packing slips ... – User approval of permissions

SecurityMindset:Customs

•  Problem:Extremelyhighcustomsfees.

•  Solution?

11/30/16 CSE484/CSEM584-Fall2016 3

Lieaboutthevalueoftheitem,or,better,claimit’sbroken!

Page 4: Mobile Platform Security (finish) - University of … · Mobile Platform Security (finish) Fall 2016 Ada ... countries with fake packing slips ... – User approval of permissions

11/30/16 CSE484/CSEM584-Fall2016 4

“Thatwon’tmakeitpastthecustomsinspection.Theysnatchitupinaheartbeatthenthrowtherecipientinjailforfraud.”

Page 5: Mobile Platform Security (finish) - University of … · Mobile Platform Security (finish) Fall 2016 Ada ... countries with fake packing slips ... – User approval of permissions

11/30/16 CSE484/CSEM584-Fall2016 5

“Thatcan’tberight.OtherwiseIcouldjustsendpackagesofpeopleIdon’tlikeinothercountrieswithfakepackingslipstohavethemarrested.”

Page 6: Mobile Platform Security (finish) - University of … · Mobile Platform Security (finish) Fall 2016 Ada ... countries with fake packing slips ... – User approval of permissions

MobileMalwareAttackVectors

•  Uniquetophones:–  PremiumSMSmessages–  Identifylocation– Recordphonecalls–  LogSMS

•  Similartodesktop/PCs:–  Connectstobotmasters–  Stealdata–  Phishing– Malvertising

11/30/16 CSE484/CSEM584-Fall2016 6

Page 7: Mobile Platform Security (finish) - University of … · Mobile Platform Security (finish) Fall 2016 Ada ... countries with fake packing slips ... – User approval of permissions

MobileMalwareExamples“ikeeisnevergoingtogiveyouup”

11/30/16 CSE484/CSEM584-Fall2016 7

Page 8: Mobile Platform Security (finish) - University of … · Mobile Platform Security (finish) Fall 2016 Ada ... countries with fake packing slips ... – User approval of permissions

(Android)MalwareintheWild

Whatdoesitdo?Root

ExploitRemoteControl FinancialCharges InformationStealing

Net SMS PhoneCall

SMS BlockSMS

SMS Phone# UserAccount

#Families

20 27 1 4 28 17 13 15 3

#Samples

1204 1171 1 256 571 315 138 563 43

[Zhouetal.]

11/30/16 CSE484/CSEM584-Fall2016 8

Page 9: Mobile Platform Security (finish) - University of … · Mobile Platform Security (finish) Fall 2016 Ada ... countries with fake packing slips ... – User approval of permissions

What’sDifferentaboutMobilePlatforms?

•  Applicationsareisolated–  Eachrunsinaseparateexecutioncontext–  Nodefaultaccesstofilesystem,devices,etc.–  DifferentthantraditionalOSeswheremultiple

applicationsrunwiththesameuserpermissions!•  AppStore:approvalprocessforapplications

– Market:Vendorcontrolled/Open–  Appsigning:Vendor-issued/self-signed–  Userapprovalofpermissions

11/30/16 CSE484/CSEM584-Fall2016 9

Page 10: Mobile Platform Security (finish) - University of … · Mobile Platform Security (finish) Fall 2016 Ada ... countries with fake packing slips ... – User approval of permissions

TwoTypesofAppWeWanttoDefendAgainst

•  Malware•  Legit,butprivacyinvasive

11/30/16 CSE484/CSEM584-Fall2016 10

Page 11: Mobile Platform Security (finish) - University of … · Mobile Platform Security (finish) Fall 2016 Ada ... countries with fake packing slips ... – User approval of permissions

(1)PermissionGrantingProblem

Smartphones(andothermodernOSes)trytopreventsuchattacksbylimitingapplications’accessto:

–  SystemResources(clipboard,filesystem).–  Devices(camera,GPS,phone,…).

Howshouldoperatingsystemgrantpermissionstoapplications?

11/30/16 CSE484/CSEM584-Fall2016 11

Page 12: Mobile Platform Security (finish) - University of … · Mobile Platform Security (finish) Fall 2016 Ada ... countries with fake packing slips ... – User approval of permissions

StateoftheArtPrompts(time-of-use)

11/30/16 CSE484/CSEM584-Fall2016 12

Page 13: Mobile Platform Security (finish) - University of … · Mobile Platform Security (finish) Fall 2016 Ada ... countries with fake packing slips ... – User approval of permissions

StateoftheArtPrompts(time-of-use) Manifests(install-time)

Disruptive,whichleadstoprompt-fatigue.

11/30/16 CSE484/CSEM584-Fall2016 13

Page 14: Mobile Platform Security (finish) - University of … · Mobile Platform Security (finish) Fall 2016 Ada ... countries with fake packing slips ... – User approval of permissions

StateoftheArtPrompts(time-of-use) Manifests(install-time)

Outofcontext;notunderstoodbyusers.

Inpractice,bothareoverlypermissive:Oncegrantedpermissions,appscanmisusethem.

Disruptive,whichleadstoprompt-fatigue.

11/30/16 CSE484/CSEM584-Fall2016 14

Page 15: Mobile Platform Security (finish) - University of … · Mobile Platform Security (finish) Fall 2016 Ada ... countries with fake packing slips ... – User approval of permissions

AreManifestsUsable?

Douserspayattentiontopermissions?

[Feltetal.]

…but88%ofuserslookedatreviews.

11/30/16 CSE484/CSEM584-Fall2016 15

Page 16: Mobile Platform Security (finish) - University of … · Mobile Platform Security (finish) Fall 2016 Ada ... countries with fake packing slips ... – User approval of permissions

Dousersunderstandthewarnings?

AreManifestsUsable?[Feltetal.]

11/30/16 CSE484/CSEM584-Fall2016 16

Page 17: Mobile Platform Security (finish) - University of … · Mobile Platform Security (finish) Fall 2016 Ada ... countries with fake packing slips ... – User approval of permissions

Dousersactonpermissioninformation?

“Haveyouevernotinstalledanappbecauseofpermissions?”

AreManifestsUsable?[Feltetal.]

11/30/16 CSE484/CSEM584-Fall2016 17

Page 18: Mobile Platform Security (finish) - University of … · Mobile Platform Security (finish) Fall 2016 Ada ... countries with fake packing slips ... – User approval of permissions

Over-Permissioning

•  Androidpermissionsarebadlydocumented.•  ResearchershavemappedAPIsàpermissions.www.android-permissions.org(Feltetal.),http://pscout.csl.toronto.edu(Auetal.)

[Feltetal.]

11/30/16 CSE484/CSEM584-Fall2016 18

Page 19: Mobile Platform Security (finish) - University of … · Mobile Platform Security (finish) Fall 2016 Ada ... countries with fake packing slips ... – User approval of permissions

WhyisOver-PermissioningBad?

•  Over-permissioning:apphaspermissiontoaccessresourcesbutneveraccessesthem.

•  Iftheappneverusestheextrapermissions,whyisitbadthatithasthem?

11/30/16 CSE484/CSEM584-Fall2016 19

Page 20: Mobile Platform Security (finish) - University of … · Mobile Platform Security (finish) Fall 2016 Ada ... countries with fake packing slips ... – User approval of permissions

Manifestsrelyontheusertomakegoodchoicesatinstalltime

•  It’snotclearthatusersknowhowtomaketherightchoice–orthatthereISarightchoice.

•  Idon’twantANYapptoaccessmycameraatalltimes.Ijustwantappstoaccessmycamerawhentheyneedtoforlegitimatepurposes!

11/30/16 CSE484/CSEM584-Fall2016 20

Page 21: Mobile Platform Security (finish) - University of … · Mobile Platform Security (finish) Fall 2016 Ada ... countries with fake packing slips ... – User approval of permissions

Android6.0:Prompts!

•  First-usepromptsforsensitivepermission(likeiOS).•  Bigchange!Nowappdevelopersneedtocheckfor

permissionsorcatchexceptions.

11/30/16 CSE484/CSEM584-Fall2016 21

Page 22: Mobile Platform Security (finish) - University of … · Mobile Platform Security (finish) Fall 2016 Ada ... countries with fake packing slips ... – User approval of permissions

Prompsrelyontheusertomakegoodchoicesatusetime

•  It’snotclearthatusersknowhowtomaketherightchoiceatusetimeeither.

•  Stillonlychecksonfirstuse–theappcanstillusetheresourceforanyreasonitwants,atanytimenoworinthefuture.

11/30/16 CSE484/CSEM584-Fall2016 22

Page 23: Mobile Platform Security (finish) - University of … · Mobile Platform Security (finish) Fall 2016 Ada ... countries with fake packing slips ... – User approval of permissions

ImprovingPermissions:AppFence[Hornyacketal.]

11/30/16 CSE484/CSEM584-Fall2016 23

Page 24: Mobile Platform Security (finish) - University of … · Mobile Platform Security (finish) Fall 2016 Ada ... countries with fake packing slips ... – User approval of permissions

Let this application access my location now.

Insight: A user’s natural UI actions within an application implicitly carry permission-granting semantics.

11/30/16 CSE484/CSEM584-Fall2016 24

ImprovingPermissions:User-DrivenAccessControl

[Roesneretal.]

Page 25: Mobile Platform Security (finish) - University of … · Mobile Platform Security (finish) Fall 2016 Ada ... countries with fake packing slips ... – User approval of permissions

Let this application access my location now.

Insight: A user’s natural UI actions within an application implicitly carry permission-granting semantics.

11/30/16 CSE484/CSEM584-Fall2016 25

Study shows: Many users already believe (52% of 186) – and/or desire (68%) – that resource access follows the user-driven access control model.

ImprovingPermissions:User-DrivenAccessControl

[Roesneretal.]

Page 26: Mobile Platform Security (finish) - University of … · Mobile Platform Security (finish) Fall 2016 Ada ... countries with fake packing slips ... – User approval of permissions

NewOSPrimitive:AccessControlGadgets(ACGs)

Approach:Makeresource-relatedUIelementsfirst-classoperatingsystemobjects(accesscontrolgadgets).

•  Toreceiveresourceaccess,applicationsmustembedasystem-providedACG.

•  ACGsallowtheOStocapturetheuser’spermissiongrantingintentinapplication-agnosticway.

11/30/16 CSE484/CSEM584-Fall2016 26

Page 27: Mobile Platform Security (finish) - University of … · Mobile Platform Security (finish) Fall 2016 Ada ... countries with fake packing slips ... – User approval of permissions

MiscThoughtsFromMobileSecurity

11/30/16 CSE484/CSEM584-Fall2016 27

Page 28: Mobile Platform Security (finish) - University of … · Mobile Platform Security (finish) Fall 2016 Ada ... countries with fake packing slips ... – User approval of permissions

PermissionRe-Delegation

•  Anapplicationwithoutapermissiongainsadditionalprivilegesthroughanotherapplication.

•  Settingsapplicationis deputy:haspermissions, andaccidentallyexposesAPIsthatusethose permissions.

API

Settings

Demo malware

toggleWifi()

pressButton(0)

Permission System

toggleWifi()

[Feltetal.]

11/30/16 CSE484/CSEM584-Fall2016 28

Page 29: Mobile Platform Security (finish) - University of … · Mobile Platform Security (finish) Fall 2016 Ada ... countries with fake packing slips ... – User approval of permissions

AndroidFragmentation

•  ManydifferentvariantsofAndroid(unlikeiOS)– Motorola,HTC,Samsung,…

•  Lesssecureecosystem–  Inconsistentorincorrect

implementations–  Slowtopropagatekernel

updatesandnewversions

[https://developer.android.com/about/dashboards/index.html]

11/30/16 CSE484/CSEM584-Fall2016 29

Page 30: Mobile Platform Security (finish) - University of … · Mobile Platform Security (finish) Fall 2016 Ada ... countries with fake packing slips ... – User approval of permissions

USABLESECURITY

11/30/16 CSE484/CSEM584-Fall2016 30

Page 31: Mobile Platform Security (finish) - University of … · Mobile Platform Security (finish) Fall 2016 Ada ... countries with fake packing slips ... – User approval of permissions

PoorUsabilityCausesProblems

11/30/16 CSE484/CSEM584-Spring2016 31

si.edu

Page 32: Mobile Platform Security (finish) - University of … · Mobile Platform Security (finish) Fall 2016 Ada ... countries with fake packing slips ... – User approval of permissions

ImportanceinSecurity

•  Whyisusabilityimportant?–  Peoplearethecriticalelementofanycomputersystem

•  Peoplearetherealreasoncomputersexistinthefirstplace

–  Evenifitispossibleforasystemtoprotectagainstanadversary,peoplemayusethesysteminother,lesssecureways

11/30/16 CSE484/CSEM584-Spring2016 32

Page 33: Mobile Platform Security (finish) - University of … · Mobile Platform Security (finish) Fall 2016 Ada ... countries with fake packing slips ... – User approval of permissions

Today

•  3casestudies– Phishing– SSLwarnings– Passwordmanagers

•  Stepback:rootcausesofusabilityproblems,andhowtoaddress

11/30/16 CSE484/CSEM584-Spring2016 33

Page 34: Mobile Platform Security (finish) - University of … · Mobile Platform Security (finish) Fall 2016 Ada ... countries with fake packing slips ... – User approval of permissions

CaseStudy#1:Phishing

11/30/16 CSE484/CSEM584-Spring2016 34

Page 35: Mobile Platform Security (finish) - University of … · Mobile Platform Security (finish) Fall 2016 Ada ... countries with fake packing slips ... – User approval of permissions

ATypicalPhishingPage

11/30/16 CSE484/CSEM584-Spring2016 35

WeirdURLhttpinsteadofhttps

Page 36: Mobile Platform Security (finish) - University of … · Mobile Platform Security (finish) Fall 2016 Ada ... countries with fake packing slips ... – User approval of permissions

SafetoTypeYourPassword?

11/30/16 CSE484/CSEM584-Spring2016 36

Page 37: Mobile Platform Security (finish) - University of … · Mobile Platform Security (finish) Fall 2016 Ada ... countries with fake packing slips ... – User approval of permissions

SafetoTypeYourPassword?

11/30/16 CSE484/CSEM584-Spring2016 37

Page 38: Mobile Platform Security (finish) - University of … · Mobile Platform Security (finish) Fall 2016 Ada ... countries with fake packing slips ... – User approval of permissions

SafetoTypeYourPassword?

11/30/16 CSE484/CSEM584-Spring2016 38

Page 39: Mobile Platform Security (finish) - University of … · Mobile Platform Security (finish) Fall 2016 Ada ... countries with fake packing slips ... – User approval of permissions

SafetoTypeYourPassword?

11/30/16 CSE484/CSEM584-Spring2016 39

“Picture-in-pictureattacks”Trainedusersaremorelikelytofallvictimtothis!

Page 40: Mobile Platform Security (finish) - University of … · Mobile Platform Security (finish) Fall 2016 Ada ... countries with fake packing slips ... – User approval of permissions

ExperimentsatIndianaUniversity

•  ReconstructedthesocialnetworkbycrawlingsiteslikeFacebook,MySpace,LinkedInandFriendster

•  Sent921IndianaUniversitystudentsaspoofedemailthatappearedtocomefromtheirfriend

•  Emailredirectedtoaspoofedsiteinvitingtheusertoenterhis/hersecureuniversitycredentials–  Domainnameclearlydistinctfromindiana.edu

•  72%ofstudentsenteredtheirrealcredentialsintothespoofedsite

11/30/16 CSE484/CSEM584-Spring2016 40

Page 41: Mobile Platform Security (finish) - University of … · Mobile Platform Security (finish) Fall 2016 Ada ... countries with fake packing slips ... – User approval of permissions

MoreDetails

•  Controlgroup:15of94(16%)enteredpersonalinformation

•  Socialgroup:349of487(72%)enteredpersonalinformation

•  70%ofresponseswithinfirst12hours•  Adversarywinsbygainingusers’trust

•  Also:Ifasitelooks“professional”,peoplelikelytobelievethatitislegitimate

11/30/16 CSE484/CSEM584-Spring2016 41

Page 42: Mobile Platform Security (finish) - University of … · Mobile Platform Security (finish) Fall 2016 Ada ... countries with fake packing slips ... – User approval of permissions

PhishingWarnings

11/30/16 CSE484/CSEM584-Spring2016 42

Passive(IE)

Active(IE)

Active(Firefox)

Page 43: Mobile Platform Security (finish) - University of … · Mobile Platform Security (finish) Fall 2016 Ada ... countries with fake packing slips ... – User approval of permissions

ArePhishingWarningsEffective?

•  CMUstudyof60users•  AskedtomakeeBayandAmazonpurchases•  Allweresentphishingmessagesinadditiontothe

realpurchaseconfirmations•  Goal:compareactiveandpassivewarnings

11/30/16 CSE484/CSEM584-Spring2016 43

[Egelmanetal.]

Page 44: Mobile Platform Security (finish) - University of … · Mobile Platform Security (finish) Fall 2016 Ada ... countries with fake packing slips ... – User approval of permissions

•  Activewarningssignificantlymoreeffective–  Passive(IE):100%clicked,90%phished–  Active(IE):95%clicked,45%phished–  Active(Firefox):100%clicked,0%phished

Activevs.PassiveWarnings

Passive(IE) Active(IE) Active(Firefox)11/30/16 CSE484/CSEM584-Spring2016 44

[Egelmanetal.]

Page 45: Mobile Platform Security (finish) - University of … · Mobile Platform Security (finish) Fall 2016 Ada ... countries with fake packing slips ... – User approval of permissions

•  Somefailtonoticewarningsentirely–  Passivewarningtakesacoupleofsecondstoappear;if

userstartstyping,hiskeystrokesdismissthewarning

•  Somesawthewarning,closedthewindow,wentbacktoemail,clickedlinksagain,werepresentedwiththesamewarnings…repeated4-5times–  Conclusion:“websiteisnotworking”–  Usersneverbotheredtoreadthewarnings,butwere

stillpreventedfromvisitingthephishingsite–  Activewarningswork!

UserResponsetoWarnings[Egelmanetal.]

11/30/16 CSE484/CSEM584-Spring2016 45

Page 46: Mobile Platform Security (finish) - University of … · Mobile Platform Security (finish) Fall 2016 Ada ... countries with fake packing slips ... – User approval of permissions

•  Don’ttrustthewarning–  “Sinceitgavemetheoptionofstillproceedingtothe

website,Ifigureditcouldn’tbethatbad”

•  Ignorewarningbecauseit’sfamiliar(IEusers)–  “Oh,Ialwaysignorethose”–  “LookedlikewarningsIseeatworkwhichIknowto

ignore”–  “Ithoughtthatthewarningsweresomeusualones

displayedbyIE”–  “MyownPCconstantlybombardsmewithsimilar

messages”

WhyDoUsersIgnoreWarnings?

11/30/16 CSE484/CSEM584-Spring2016 46

[Egelmanetal.]

Page 47: Mobile Platform Security (finish) - University of … · Mobile Platform Security (finish) Fall 2016 Ada ... countries with fake packing slips ... – User approval of permissions

TheLockIcon

•  Goal:identifysecureconnection–  SSL/TLSisbeingusedbetweenclientandserverto

protectagainstactivenetworkattacker

•  Lockiconshouldonlybeshownwhenthepageissecureagainstnetworkattacker–  Semanticssubtleandnotwidelyunderstoodbyusers– Whosecertificateisit??–  Probleminuserinterfacedesign

11/30/16 CSE484/CSEM584-Spring2016 47

Page 48: Mobile Platform Security (finish) - University of … · Mobile Platform Security (finish) Fall 2016 Ada ... countries with fake packing slips ... – User approval of permissions

WillYouNotice?

11/30/16 CSE484/CSEM584-Spring2016 48

[MoxieMarlinspike]

Cleverfaviconinsertedbynetworkattacker

Page 49: Mobile Platform Security (finish) - University of … · Mobile Platform Security (finish) Fall 2016 Ada ... countries with fake packing slips ... – User approval of permissions

SiteAuthenticationImage(SiteKey)

11/30/16 CSE484/CSEM584-Spring2016 49

Ifyoudon’trecognizeyourpersonalizedSiteKey,don’tenteryourPasscode

Page 50: Mobile Platform Security (finish) - University of … · Mobile Platform Security (finish) Fall 2016 Ada ... countries with fake packing slips ... – User approval of permissions

DoTheseIndicatorsHelp?

•  “TheEmperor’sNewSecurityIndicators”–  http://www.usablesecurity.org/emperor/emperor.pdf

Usersdon’tnoticetheabsenceofindicators!

11/30/16 CSE484/CSEM584-Spring2016 50

Page 51: Mobile Platform Security (finish) - University of … · Mobile Platform Security (finish) Fall 2016 Ada ... countries with fake packing slips ... – User approval of permissions

CaseStudy#2:BrowserSSLWarnings

•  Designquestion:Howtoalerttheuserifasite’sSSLcertificateisuntrusted?

11/30/16 CSE484/CSEM584-Spring2016 51

Page 52: Mobile Platform Security (finish) - University of … · Mobile Platform Security (finish) Fall 2016 Ada ... countries with fake packing slips ... – User approval of permissions

Firefoxvs.ChromeWarning

33%vs.70%clickthroughrate

[Feltetal.]

11/30/16 CSE484/CSEM584-Spring2016 52

Page 53: Mobile Platform Security (finish) - University of … · Mobile Platform Security (finish) Fall 2016 Ada ... countries with fake packing slips ... – User approval of permissions

Experimentingw/WarningDesign[Feltetal.]

11/30/16 CSE484/CSEM584-Spring2016 53

Page 54: Mobile Platform Security (finish) - University of … · Mobile Platform Security (finish) Fall 2016 Ada ... countries with fake packing slips ... – User approval of permissions

Experimentingw/WarningDesign[Feltetal.]

11/30/16 CSE484/CSEM584-Spring2016 54

Page 55: Mobile Platform Security (finish) - University of … · Mobile Platform Security (finish) Fall 2016 Ada ... countries with fake packing slips ... – User approval of permissions

Experimentingw/WarningDesign[Feltetal.]

11/30/16 CSE484/CSEM584-Spring2016 55

Page 56: Mobile Platform Security (finish) - University of … · Mobile Platform Security (finish) Fall 2016 Ada ... countries with fake packing slips ... – User approval of permissions

Experimentingw/WarningDesign[Feltetal.]

11/30/16 56CSE484/CSEM584-Spring2016

Page 57: Mobile Platform Security (finish) - University of … · Mobile Platform Security (finish) Fall 2016 Ada ... countries with fake packing slips ... – User approval of permissions

Experimentingw/WarningDesign[Feltetal.]

11/30/16 57CSE484/CSEM584-Spring2016

Page 58: Mobile Platform Security (finish) - University of … · Mobile Platform Security (finish) Fall 2016 Ada ... countries with fake packing slips ... – User approval of permissions

OpinionatedDesignHelps!

11/30/16 CSE484/CSEM584-Spring2016 58

[Feltetal.]

Adherence N30.9% 4,551

Page 59: Mobile Platform Security (finish) - University of … · Mobile Platform Security (finish) Fall 2016 Ada ... countries with fake packing slips ... – User approval of permissions

OpinionatedDesignHelps!

11/30/16 CSE484/CSEM584-Spring2016 59

Adherence N30.9% 4,55132.1% 4,075

[Feltetal.]

Adherence N30.9% 4,55132.1% 4,07558.3% 4,644

Page 60: Mobile Platform Security (finish) - University of … · Mobile Platform Security (finish) Fall 2016 Ada ... countries with fake packing slips ... – User approval of permissions

Challenge:MeaningfulWarnings

11/30/16 CSE484/CSEM584-Spring2016 60

[Feltetal.]

Page 61: Mobile Platform Security (finish) - University of … · Mobile Platform Security (finish) Fall 2016 Ada ... countries with fake packing slips ... – User approval of permissions

PasswordManagers

•  Separateapplicationand/orextensioninyourbrowser.

•  Remembersandautomaticallyenterspasswordsonyourbehalf.

•  Seemspossiblyeasierthanrememberingallyourpasswords.Isitmoresecure?

11/30/16 CSE484/CSEM584-Fall2016 61

Page 62: Mobile Platform Security (finish) - University of … · Mobile Platform Security (finish) Fall 2016 Ada ... countries with fake packing slips ... – User approval of permissions

Question

•  Q.Whataretherootcausesofusabilityissuesincomputersecurity?

11/30/16 CSE484/CSEM584-Spring2016 62

Page 63: Mobile Platform Security (finish) - University of … · Mobile Platform Security (finish) Fall 2016 Ada ... countries with fake packing slips ... – User approval of permissions

Issue#1:Complexities,LackofIntuition

11/30/16 CSE484/CSEM584-Spring2016 63

Wecansee,understand,relateto. Toocomplex,hidden,nointuition.

RealWorld ElectronicWorld

SSL/TLSRSA

XSS

SpywarePhishing

Bufferoverflows

Page 64: Mobile Platform Security (finish) - University of … · Mobile Platform Security (finish) Fall 2016 Ada ... countries with fake packing slips ... – User approval of permissions

Issue#1:Complexities,LackofIntuition

•  Mismatchbetweenperceptionoftechnologyandwhatreallyhappens–  Publickeys?–  Signatures?–  Encryption?– Messageintegrity?–  Chosen-plaintextattacks?–  Chosen-ciphertextattacks?–  Passwordmanagement?–  ...

11/30/16 CSE484/CSEM584-Spring2016 64

Page 65: Mobile Platform Security (finish) - University of … · Mobile Platform Security (finish) Fall 2016 Ada ... countries with fake packing slips ... – User approval of permissions

Issue#2:Who’sinCharge?

11/30/16 CSE484/CSEM584-Spring2016 65

Complex,hidden,andusersmanage

RealWorld ElectronicWorld

SSL/TLSRSA

XSS

SpywarePhishing

Bufferoverflows

Whereanalogybreaksdown:Adversariesintheelectronicworldcanbeintelligent,sneaky,andmalicious.

Userswanttofeellikethey’reincontrol.

Complex,hidden,butdoctorsmanage

Page 66: Mobile Platform Security (finish) - University of … · Mobile Platform Security (finish) Fall 2016 Ada ... countries with fake packing slips ... – User approval of permissions

Issue#2:Who’sinCharge?

•  Systemsdevelopersshouldhelpprotectusers–  Usableauthenticationsystems–  Usableprivacysettings(e.g.,onsocialmedia)–  User-drivenaccesscontrol

•  Softwareapplicationshelpusersmanagetheirapplications–  Anti-virussoftware–  Anti-webtrackingbrowseradd-ons–  PwdHash,Keychainforpasswordmanagement–  Somesay:Canwetrustsoftwareforthesetasks?

11/30/16 CSE484/CSEM584-Spring2016 66

Page 67: Mobile Platform Security (finish) - University of … · Mobile Platform Security (finish) Fall 2016 Ada ... countries with fake packing slips ... – User approval of permissions

Issue#3:HardtoGaugeRisks

11/30/16 CSE484/CSEM584-Spring2016 67

"Irememberedhearingaboutitandthinkingthatpeoplethatclickonthoselinksarestupid,"shesays."Thenithappenedtome."Ms.Millersaysshenowchangesherpasswordregularlyandavoidsclickingonstrangelinks.(OpenDoors,byV.Vara,TheWallStreetJournal,Jan29,2007)

“Itwon’thappentome!”(Sometimesareasonableassumption,sometimesnot.)

Page 68: Mobile Platform Security (finish) - University of … · Mobile Platform Security (finish) Fall 2016 Ada ... countries with fake packing slips ... – User approval of permissions

Issue#4:NoAccountability

•  Issue#3isamplifiedwhenusersarenotheldaccountablefortheiractions–  E.g.,fromemployers,serviceproviders,etc.–  (Notallpartieswillperceiverisksthesameway)

•  Also,recallthatauser’spoorsecuritychoicesmayaffectotherpeople

–  E.g.,compromiseaccountofuserwithweakpassword,thenexploitalocal(ratherthanremote)vulnerabilitytogetrootaccess

11/30/16 CSE484/CSEM584-Spring2016 68

Page 69: Mobile Platform Security (finish) - University of … · Mobile Platform Security (finish) Fall 2016 Ada ... countries with fake packing slips ... – User approval of permissions

Issue#5:Annoying,Awkward,orDifficult

•  Difficult–  Remembering50different,“random”passwords

•  Awkward

–  Lockcomputerscreeneverytimeleavetheroom

•  Annoying

–  Browserwarnings,virusalerts,forgottenpasswords,firewalls

•  Consequence:–  Changinguser’sknowledgemaynotaffecttheirbehavior

11/30/16 CSE484/CSEM584-Spring2016 69

Page 70: Mobile Platform Security (finish) - University of … · Mobile Platform Security (finish) Fall 2016 Ada ... countries with fake packing slips ... – User approval of permissions

Issue#6:SocialIssues

•  Publicopinion,self-image

–  Only“nerds”orthe“superparanoid”followsecurityguidelines

•  Unfriendly–  Lockingcomputerssuggestsdistrustofco-workers

•  Annoying

–  Sendingencryptedemailsthatsay,“whatwouldyoulikeforlunch?”

11/30/16 CSE484/CSEM584-Spring2016 70

Page 71: Mobile Platform Security (finish) - University of … · Mobile Platform Security (finish) Fall 2016 Ada ... countries with fake packing slips ... – User approval of permissions

IssueswithUsability

1.  Lackofintuition–  Seeasafe,understandthreats.Nottrueforcomputers.

2. Who’sincharge?–  Doctorskeepyourmedicalrecordssafe,youmanageyour

passwords.

3. Hardtogaugerisks–  “Itwouldneverhappentome!”

4. Noaccountability–  Asset-holderisnottheonlyoneyoucanloseassets.

5. Awkward,annoying,ordifficult6. Socialissues

11/30/16 CSE484/CSEM584-Spring2016 71

Page 72: Mobile Platform Security (finish) - University of … · Mobile Platform Security (finish) Fall 2016 Ada ... countries with fake packing slips ... – User approval of permissions

Question

•  Q.Whatapproachescanwetaketomitigateusabilityissuesincomputersecurity?

11/30/16 CSE484/CSEM584-Spring2016 72

Page 73: Mobile Platform Security (finish) - University of … · Mobile Platform Security (finish) Fall 2016 Ada ... countries with fake packing slips ... – User approval of permissions

Response#1:EducationandTraining

•  Education:–  Teachingtechnicalconcepts,risks

•  Training–  Changebehaviorthrough:

•  Drill•  Monitoring•  Feedback•  Reinforcement•  Punishment

•  Maybepartofthesolution–butnotthesolution

11/30/16 CSE484/CSEM584-Spring2016 73

Page 74: Mobile Platform Security (finish) - University of … · Mobile Platform Security (finish) Fall 2016 Ada ... countries with fake packing slips ... – User approval of permissions

Response#2:SecurityShouldBeInvisible

•  Securityshouldhappen

–  Naturally–  ByDefault–  Withoutuserinputorunderstanding

•  Recognizeandstopbadactions•  Startingtoseesomeinvisibility

–  SSL/TLS–  VPNs–  AutomaticSecurityUpdates–  User-drivenaccesscontrol

11/30/16 CSE484/CSEM584-Spring2016 74

Page 75: Mobile Platform Security (finish) - University of … · Mobile Platform Security (finish) Fall 2016 Ada ... countries with fake packing slips ... – User approval of permissions

Response#2:SecurityShouldBeInvisible

•  “Easy”atextremes,orforsimpleexamples–  Don’tgiveeveryoneaccesstoeverything

•  Buthardtogeneralize

•  Leadstothingsnotworkingforreasonsuserdoesn’tunderstand

•  Userswillthentrytogetthesystemtowork,possiblyfurtherreducingsecurity–  E.g.,“dangeroussuccesses”forpasswordmanagers

11/30/16 CSE484/CSEM584-Spring2016 75

Page 76: Mobile Platform Security (finish) - University of … · Mobile Platform Security (finish) Fall 2016 Ada ... countries with fake packing slips ... – User approval of permissions

Response#3:“3WordUI”:“AreYouSure?”

•  Securityshouldbeinvisible–  Exceptwhentheusertriessomethingdangerous–  Inwhichcaseawarningisgiven

•  Buthowdousersevaluatethewarning?Tworealisticcases:–  Alwaysheedwarning.Butseeproblems/commonality

withResponse#2(“securityshouldbeinvisible”)–  Alwaysignorethewarning.Ifso,thenhowcanitbe

effective?

11/30/16 CSE484/CSEM584-Spring2016 76

Page 77: Mobile Platform Security (finish) - University of … · Mobile Platform Security (finish) Fall 2016 Ada ... countries with fake packing slips ... – User approval of permissions

Response#4:FocusonUsers,UseMetaphors

•  Clear,understandablemetaphors:–  Physicalanalogs;e.g.,red-greenlights

•  User-centereddesign:Startwithusermodel•  Unifiedsecuritymodelacrossapplications

–  Userdoesn’tneedtolearnmanymodels,oneforeachapplication

•  Meaningful,intuitiveuserinput–  Don’tassumethingsonuser’sbehalf–  Figureouthowtoasksothatusercananswerintelligently

11/30/16 CSE484/CSEM584-Spring2016 77

Page 78: Mobile Platform Security (finish) - University of … · Mobile Platform Security (finish) Fall 2016 Ada ... countries with fake packing slips ... – User approval of permissions

Response#5:LeastResistance

•  “Matchthemostcomfortablewaytodotaskswiththeleastgrantingofauthority”–  Ka-PingYee,SecurityandUsability

•  Shouldbe“easy”tocomplywithsecuritypolicy

•  “Usersvalueandwantsecurityandprivacy,buttheyregardthemonlyassecondarytocompletingtheprimarytasks”–  Karatetal,SecurityandUsability

11/30/16 CSE484/CSEM584-Spring2016 78