HUM-R05 Securing the “Weakest Link” - RSA Conference · PDF fileSecuring the...

36
SESSION ID: #RSAC Adam Shostack Securing the “Weakest Link” Usable Security Lessons From Star Wars HUM-R05 @adamshostack

Transcript of HUM-R05 Securing the “Weakest Link” - RSA Conference · PDF fileSecuring the...

Page 1: HUM-R05 Securing the “Weakest Link” - RSA Conference · PDF fileSecuring the “Weakest Link” Usable Security Lessons From ... Solve this captcha! ... HUM-R05_Shostack-no-video.pptx

SESSIONID:

#RSAC

AdamShostack

Securingthe“WeakestLink”UsableSecurityLessonsFromStarWars

HUM-R05

@adamshostack

Page 2: HUM-R05 Securing the “Weakest Link” - RSA Conference · PDF fileSecuring the “Weakest Link” Usable Security Lessons From ... Solve this captcha! ... HUM-R05_Shostack-no-video.pptx

#RSAC

Intheroom,therewasvideofrom“StarWars”(fairlyused!)

It’stheboardroombriefingscene

Thegeneralsays“ThisbaRlestaSonisnowtheulSmatepowerintheuniverse,”

Vaderresponds“Don’tbesoproudofthistechnologicalterroryou’vecreated”

Myrealslideistoobigtodistribute

Page 3: HUM-R05 Securing the “Weakest Link” - RSA Conference · PDF fileSecuring the “Weakest Link” Usable Security Lessons From ... Solve this captcha! ... HUM-R05_Shostack-no-video.pptx

Lord Vader Was Right

Page 4: HUM-R05 Securing the “Weakest Link” - RSA Conference · PDF fileSecuring the “Weakest Link” Usable Security Lessons From ... Solve this captcha! ... HUM-R05_Shostack-no-video.pptx

USING THE FORCE•  Computersecurityisaboutpeople

•  PeopleareamoSvatedandstrugglinglink

•  Weignorethehumanelementatourownrisk

Page 5: HUM-R05 Securing the “Weakest Link” - RSA Conference · PDF fileSecuring the “Weakest Link” Usable Security Lessons From ... Solve this captcha! ... HUM-R05_Shostack-no-video.pptx

AGENDA•  Some threat models

•  How we make it worse•  How people are exploited

•  How to make it better

Page 6: HUM-R05 Securing the “Weakest Link” - RSA Conference · PDF fileSecuring the “Weakest Link” Usable Security Lessons From ... Solve this captcha! ... HUM-R05_Shostack-no-video.pptx

#RSAC

AThreatModel

Page 7: HUM-R05 Securing the “Weakest Link” - RSA Conference · PDF fileSecuring the “Weakest Link” Usable Security Lessons From ... Solve this captcha! ... HUM-R05_Shostack-no-video.pptx

#RSAC

” “ Given a choice between

dancing pigs and security the user will pick dancing pigs every time

ABadThreatModel

Page 8: HUM-R05 Securing the “Weakest Link” - RSA Conference · PDF fileSecuring the “Weakest Link” Usable Security Lessons From ... Solve this captcha! ... HUM-R05_Shostack-no-video.pptx

#RSAC

AnEvenWorseThreatModel

8

Declaretheproblemunsolvable!

OMGNOTOURFAULT!

Webproxies?RemoteDesktops?

LearnedHelplessness!

Page 9: HUM-R05 Securing the “Weakest Link” - RSA Conference · PDF fileSecuring the “Weakest Link” Usable Security Lessons From ... Solve this captcha! ... HUM-R05_Shostack-no-video.pptx

#RSAC

PeopleGetTricked:AThreatModel

9

HumanacSon(s)tochangethecomputer’sconfiguraSonNormalbehaviors

NoaRackersays“nowaddakeytotheregistry”becauseFAIL

Thecomputerhasachancetointervene/miSgateWarnings

Sandboxes

Architecture

Page 10: HUM-R05 Securing the “Weakest Link” - RSA Conference · PDF fileSecuring the “Weakest Link” Usable Security Lessons From ... Solve this captcha! ... HUM-R05_Shostack-no-video.pptx

#RSAC

HowPeopleAreTricked

CredenSalexposure(includingphishing)

IntenSonallyrunningorinstallingso]wareCodecs,doppelgangersand“Microso]Support”callsPiratedso]warewithextras

Accidentalso]wareexecuSonFileextensionhiding,icontricks(Salaries.xlsx.exe)Documentswithexploitpayload

Webfakery—clickjacking,XSRF,etc

Page 11: HUM-R05 Securing the “Weakest Link” - RSA Conference · PDF fileSecuring the “Weakest Link” Usable Security Lessons From ... Solve this captcha! ... HUM-R05_Shostack-no-video.pptx

#RSAC

HowPeopleAreTricked:Scamicry

11

Scamicry:Whenrealmessagesimitatescams

Peoplehaveasecuritygoallike“examinelinkscarefully”Storesendsemailwith<ahref=“http://cts.vrecc.com/ls?39389ee28a/64f53b0c9c/http%3A%2F…>SafeOnlineBanking</a>

Bankcallsandasksforyourpassword

“Butit’sthebank...I’mnotsmartenoughtounderstandthis”

Page 12: HUM-R05 Securing the “Weakest Link” - RSA Conference · PDF fileSecuring the “Weakest Link” Usable Security Lessons From ... Solve this captcha! ... HUM-R05_Shostack-no-video.pptx

#RSAC

HowPeopleAreOverwhelmed

12

Advicethatcan’tbefollowedinreasonableSme“ReadTOS,privacypoliciestounderstandhowwe’lluseyourdata”

AdvicethatrequirestoomuchskillSolvethiscaptcha!

ComplexityanddepthWhydoyouneedalongpassword?

Letmeexplainpasswordcracking…hRp://www.seosmarty.com/impossible-captcha-it-doesnt-really-maRer-if-you-are-human-or-not/

Page 13: HUM-R05 Securing the “Weakest Link” - RSA Conference · PDF fileSecuring the “Weakest Link” Usable Security Lessons From ... Solve this captcha! ... HUM-R05_Shostack-no-video.pptx

#RSAC

YouCanMakeItBeLer

Page 14: HUM-R05 Securing the “Weakest Link” - RSA Conference · PDF fileSecuring the “Weakest Link” Usable Security Lessons From ... Solve this captcha! ... HUM-R05_Shostack-no-video.pptx

#RSAC

FirefoxMalwareWarning

14

Page 15: HUM-R05 Securing the “Weakest Link” - RSA Conference · PDF fileSecuring the “Weakest Link” Usable Security Lessons From ... Solve this captcha! ... HUM-R05_Shostack-no-video.pptx

#RSAC

ChromeMalwareWarning

15

Page 16: HUM-R05 Securing the “Weakest Link” - RSA Conference · PDF fileSecuring the “Weakest Link” Usable Security Lessons From ... Solve this captcha! ... HUM-R05_Shostack-no-video.pptx

#RSAC

7.2%(FirefoxMalware)

23.2%(ChromeMalware)

9.1%(FirefoxPhishing)

18.0%(Chrome)

RealWorldClick-throughRates

AliceinWarningland:ALarge-ScaleFieldStudyofBrowserSecurityWarningEffec<veness

Page 17: HUM-R05 Securing the “Weakest Link” - RSA Conference · PDF fileSecuring the “Weakest Link” Usable Security Lessons From ... Solve this captcha! ... HUM-R05_Shostack-no-video.pptx

#RSAC

ThreatModeling&People

17

Amodelofthesystembeingdeveloped(whiteboard,DFD)

Amodelofthethreats(STRIDE,aRacktree)

[New!]Amodelofthepersonusingtheso]ware

Page 18: HUM-R05 Securing the “Weakest Link” - RSA Conference · PDF fileSecuring the “Weakest Link” Usable Security Lessons From ... Solve this captcha! ... HUM-R05_Shostack-no-video.pptx

#RSAC

ThreatModelingandPeople

18

Page 19: HUM-R05 Securing the “Weakest Link” - RSA Conference · PDF fileSecuring the “Weakest Link” Usable Security Lessons From ... Solve this captcha! ... HUM-R05_Shostack-no-video.pptx

#RSAC

ThreatModelingandPeople(2/2)

19

Amodelofthepersonusingtheso]wareBehavioristandcogniSvescienceKahneman’sSystem1/System2Reason’s“StrongHabitIntrusion”

ModelsforusablesecurityEllison:CeremoniesCranor:HumanintheloopSasse:ComplianceBudget

Page 20: HUM-R05 Securing the “Weakest Link” - RSA Conference · PDF fileSecuring the “Weakest Link” Usable Security Lessons From ... Solve this captcha! ... HUM-R05_Shostack-no-video.pptx

#RSAC

ThreatMi]ga]ons/PaLernsThatWork(So^waredevelopers)

20

Page 21: HUM-R05 Securing the “Weakest Link” - RSA Conference · PDF fileSecuring the “Weakest Link” Usable Security Lessons From ... Solve this captcha! ... HUM-R05_Shostack-no-video.pptx

#RSAC

WinbyBuildingbeLerdefenses

2KeypaRernsinInternetExplorer8+

NotwarningoneverydownloadPeoplebecomehabituated,clickthrough

Notmakingthedangerouschoicethedefault

Page 22: HUM-R05 Securing the “Weakest Link” - RSA Conference · PDF fileSecuring the “Weakest Link” Usable Security Lessons From ... Solve this captcha! ... HUM-R05_Shostack-no-video.pptx

#RSAC

PaLerns:GoldBar

•  AppearsinOffice,IE,Firefox,elsewhere

Page 23: HUM-R05 Securing the “Weakest Link” - RSA Conference · PDF fileSecuring the “Weakest Link” Usable Security Lessons From ... Solve this captcha! ... HUM-R05_Shostack-no-video.pptx

#RSAC

EngineerNEATWarnings

NEATisaneasywaytorememberkeysecurityUXguidance

NEATNecessary,Explained,AcSonable,Tested

Philosophy:Don’tinvolvethepersonifyoudon’thaveto

Ifyouinvolvetheperson,enablethemtomaketherightdecision

Doesthepersonhaveuniqueknowledgethesystemdoesn’t?

Page 24: HUM-R05 Securing the “Weakest Link” - RSA Conference · PDF fileSecuring the “Weakest Link” Usable Security Lessons From ... Solve this captcha! ... HUM-R05_Shostack-no-video.pptx

#RSAC

NEATWarnings:Necessary

AvoidinterrupSngtheuserwithsecuritydecisions,ifpossible

Whenpossible,automaScallytakethesafestopSonand,opSonally,noSfytheuserthatotheropSonsareavailable

IfpeoplehavenocourseofacSon&nouniqueknowledge,youshouldre-architectproduct

Page 25: HUM-R05 Securing the “Weakest Link” - RSA Conference · PDF fileSecuring the “Weakest Link” Usable Security Lessons From ... Solve this captcha! ... HUM-R05_Shostack-no-video.pptx

#RSAC

NEATWarnings:Explained

ProvidetheuserwithalltheinformaSonnecessarytomaketherightdecision

6keyelements:SPRUCESource:Whereisthisdecisioncomingfrom?Process:Whatstepsshouldtheytaketomakethedecision?Risk:Whatisthesecurityriskofgeongthedecisionwrong?UniqueKnowledgeUserHas:Whatdoestheuserknowthatwedon’tthathelpsmaketherightdecision?Choices:WhataretheiropSons?Whatdowerecommendtheydo?WhatwillhappenwhentheychooseeachopSon?Evidence:WhatinformaSonshouldtheyfactorin?

Page 26: HUM-R05 Securing the “Weakest Link” - RSA Conference · PDF fileSecuring the “Weakest Link” Usable Security Lessons From ... Solve this captcha! ... HUM-R05_Shostack-no-video.pptx

#RSAC

Good(long)exampleofexplana]on

Source

Risk

Choices

Process

Page 27: HUM-R05 Securing the “Weakest Link” - RSA Conference · PDF fileSecuring the “Weakest Link” Usable Security Lessons From ... Solve this captcha! ... HUM-R05_Shostack-no-video.pptx

#RSAC

27

ClearinstrucSon

ARracSvepreferredchoice

UnaRracSvealternatechoice

FromtheGoogleChrometeam—“ImprovingSSLWarningsComprehensionandAdherence”byAdriennePorterFelt&manycolleagues

Explana]on:OpinionatedDesign

Page 28: HUM-R05 Securing the “Weakest Link” - RSA Conference · PDF fileSecuring the “Weakest Link” Usable Security Lessons From ... Solve this captcha! ... HUM-R05_Shostack-no-video.pptx

#RSAC

NEATWarnings:Ac]onable

EnumeratescenariosatdesignSmeStepsthepersonmusttakeFigurethemoutWritethemdown

WordingcanbeatrickybalanceToowordy,peoplewon’treadorunderstandNotenoughinformaSon==notacSonable

Page 29: HUM-R05 Securing the “Weakest Link” - RSA Conference · PDF fileSecuring the “Weakest Link” Usable Security Lessons From ... Solve this captcha! ... HUM-R05_Shostack-no-video.pptx

#RSAC

NEATWarnings:Tested

ValidateyourSecurityUIwithrealpeopleBenignandmaliciousscenarios

WholearsenalofUItesSngtechniquesRangefromempaneling1000sofpeople,totesSngdozensinusabilitylab,toaskingcoworkersdownthehall

Applywhatyoucan

Usertestsarealwayssurprising

Page 30: HUM-R05 Securing the “Weakest Link” - RSA Conference · PDF fileSecuring the “Weakest Link” Usable Security Lessons From ... Solve this captcha! ... HUM-R05_Shostack-no-video.pptx

#RSAC

NEATWarnings:WalletCards

hRps://blogs.microso].com/cybertrust/2012/10/09/necessary-explained-acSonable-and-tested-neat-cards/

Page 31: HUM-R05 Securing the “Weakest Link” - RSA Conference · PDF fileSecuring the “Weakest Link” Usable Security Lessons From ... Solve this captcha! ... HUM-R05_Shostack-no-video.pptx

#RSAC

DefensivePaLernsThatWork(Opera]ons)

Page 32: HUM-R05 Securing the “Weakest Link” - RSA Conference · PDF fileSecuring the “Weakest Link” Usable Security Lessons From ... Solve this captcha! ... HUM-R05_Shostack-no-video.pptx

#RSAC

SpendYour“Budget”Wisely

32

PeoplewanttogettheirjobdoneTheyexpendefforttodoitsafely—toapoint

Whatdoyouwantthemost?ArepasswordchangesworththeSme?

Doyoupatchduringthebusinessday?

MakeiteasyandfasttodowhatyouwantthemostGreatopportunitytolearnfrommarkeSng&UIexperts

Page 33: HUM-R05 Securing the “Weakest Link” - RSA Conference · PDF fileSecuring the “Weakest Link” Usable Security Lessons From ... Solve this captcha! ... HUM-R05_Shostack-no-video.pptx

#RSAC

Example:AdviceYouGive

33

Emailisathreatvector

Howwelldoyouhelpemployeesmanageit?Prevent:IsiteasytoseewhoanemailislegiSmatelyfrom?

Howo]endoyourvendorsemailemployeeswithdemands?

Detect:Howeasyisittoreportsuspiciousemails?

Respond:Howquicklydoyourespondtothosereports?Totheoriginator?Totherecipient?

Areyoubreakingyourownadvicewithscamicry?

Page 34: HUM-R05 Securing the “Weakest Link” - RSA Conference · PDF fileSecuring the “Weakest Link” Usable Security Lessons From ... Solve this captcha! ... HUM-R05_Shostack-no-video.pptx

#RSAC

UsabilitymaLerstalkingtoexecu]ves

34

ExecuSvesareskilledatmanagingrisks

WeshowupwiththewrongmessagesCompliancerequirements

“Phonebooks”ofrisks

“CyberDefenseMatrix”isagoodstepSounilYu’stalk“UnderstandingtheSecurityVendorLandscapeUsingtheCyberDefenseMatrix”(PDIL-W02F)

Page 35: HUM-R05 Securing the “Weakest Link” - RSA Conference · PDF fileSecuring the “Weakest Link” Usable Security Lessons From ... Solve this captcha! ... HUM-R05_Shostack-no-video.pptx

#RSAC

ApplySlide

35

Don’tgiveintothedarkside

AvoidconfusingpeoplewithscamicryorimpracScaladvice

Usedefensiveso]warepaRernsGoldBarDefaultSafeNEAT

BuildoperaSonsforrealpeople

Shareyourwork

Page 36: HUM-R05 Securing the “Weakest Link” - RSA Conference · PDF fileSecuring the “Weakest Link” Usable Security Lessons From ... Solve this captcha! ... HUM-R05_Shostack-no-video.pptx

#RSAC

Ques]ons?Thankyou!