May 8, 212 Passwords: Security vs Usability? · Security vs Usability? FINSE Winter School May 8,...

41
Passwords: Security vs Usability? FINSE Winter School May 8, 212 Per Thorsheim CISA, CISM, CISSP-ISSAP Security Advisor

Transcript of May 8, 212 Passwords: Security vs Usability? · Security vs Usability? FINSE Winter School May 8,...

Page 1: May 8, 212 Passwords: Security vs Usability? · Security vs Usability? FINSE Winter School May 8, 212 Per Thorsheim CISA, CISM, CISSP-ISSAP Security Advisor. Introduction. 3 Google

Passwords:Security vs Usability?

FINSE Winter SchoolMay 8, 212

Per ThorsheimCISA, CISM, CISSP-ISSAPSecurity Advisor

Page 2: May 8, 212 Passwords: Security vs Usability? · Security vs Usability? FINSE Winter School May 8, 212 Per Thorsheim CISA, CISM, CISSP-ISSAP Security Advisor. Introduction. 3 Google

Introduction

Page 3: May 8, 212 Passwords: Security vs Usability? · Security vs Usability? FINSE Winter School May 8, 212 Per Thorsheim CISA, CISM, CISSP-ISSAP Security Advisor. Introduction. 3 Google

3

Google picture searchAbout me

Websitedesigner

Softwaredesigner

Securitydesigner

Page 4: May 8, 212 Passwords: Security vs Usability? · Security vs Usability? FINSE Winter School May 8, 212 Per Thorsheim CISA, CISM, CISSP-ISSAP Security Advisor. Introduction. 3 Google

4

Windows 8 - Picture Passwordhttps://blogs.msdn.com/b/b8/archive/2011/12/16/signing-in-with-a-picture-password.aspxhttps://blogs.msdn.com/b/b8/archive/2011/12/19/optimizing-picture-password-security.aspx

Security should be simple…

Page 5: May 8, 212 Passwords: Security vs Usability? · Security vs Usability? FINSE Winter School May 8, 212 Per Thorsheim CISA, CISM, CISSP-ISSAP Security Advisor. Introduction. 3 Google

5

…but not stupid…

Page 6: May 8, 212 Passwords: Security vs Usability? · Security vs Usability? FINSE Winter School May 8, 212 Per Thorsheim CISA, CISM, CISSP-ISSAP Security Advisor. Introduction. 3 Google

6

But do remember: In general, 2-factor authentication is one thing you know and one thing you forgot at home.

Good? security usability does exist:

Page 7: May 8, 212 Passwords: Security vs Usability? · Security vs Usability? FINSE Winter School May 8, 212 Per Thorsheim CISA, CISM, CISSP-ISSAP Security Advisor. Introduction. 3 Google

[my personal clip art gallery]

(Mostly) Bad Examples

Page 8: May 8, 212 Passwords: Security vs Usability? · Security vs Usability? FINSE Winter School May 8, 212 Per Thorsheim CISA, CISM, CISSP-ISSAP Security Advisor. Introduction. 3 Google

Tell everyone their new password inpublic

8

Page 9: May 8, 212 Passwords: Security vs Usability? · Security vs Usability? FINSE Winter School May 8, 212 Per Thorsheim CISA, CISM, CISSP-ISSAP Security Advisor. Introduction. 3 Google

9

be careful with your requirements…

Page 10: May 8, 212 Passwords: Security vs Usability? · Security vs Usability? FINSE Winter School May 8, 212 Per Thorsheim CISA, CISM, CISSP-ISSAP Security Advisor. Introduction. 3 Google

…but please do require something…

10

Page 11: May 8, 212 Passwords: Security vs Usability? · Security vs Usability? FINSE Winter School May 8, 212 Per Thorsheim CISA, CISM, CISSP-ISSAP Security Advisor. Introduction. 3 Google

…accept end-users for who they are…

11

Page 12: May 8, 212 Passwords: Security vs Usability? · Security vs Usability? FINSE Winter School May 8, 212 Per Thorsheim CISA, CISM, CISSP-ISSAP Security Advisor. Introduction. 3 Google

Store their credentials safely…

12

Page 13: May 8, 212 Passwords: Security vs Usability? · Security vs Usability? FINSE Winter School May 8, 212 Per Thorsheim CISA, CISM, CISSP-ISSAP Security Advisor. Introduction. 3 Google

13

… and give them simple but useful help…

Page 14: May 8, 212 Passwords: Security vs Usability? · Security vs Usability? FINSE Winter School May 8, 212 Per Thorsheim CISA, CISM, CISSP-ISSAP Security Advisor. Introduction. 3 Google

«write down your password» can besmart….

14

As long as you DO try to hide those POST-IT notes just a little bit!http://securitynirvana.blogspot.com/2010/03/write-down-your-password.html

Page 15: May 8, 212 Passwords: Security vs Usability? · Security vs Usability? FINSE Winter School May 8, 212 Per Thorsheim CISA, CISM, CISSP-ISSAP Security Advisor. Introduction. 3 Google

Hey, some actually do give that advice!

15

Page 16: May 8, 212 Passwords: Security vs Usability? · Security vs Usability? FINSE Winter School May 8, 212 Per Thorsheim CISA, CISM, CISSP-ISSAP Security Advisor. Introduction. 3 Google

16

Page 17: May 8, 212 Passwords: Security vs Usability? · Security vs Usability? FINSE Winter School May 8, 212 Per Thorsheim CISA, CISM, CISSP-ISSAP Security Advisor. Introduction. 3 Google

17

Page 18: May 8, 212 Passwords: Security vs Usability? · Security vs Usability? FINSE Winter School May 8, 212 Per Thorsheim CISA, CISM, CISSP-ISSAP Security Advisor. Introduction. 3 Google

18

Page 19: May 8, 212 Passwords: Security vs Usability? · Security vs Usability? FINSE Winter School May 8, 212 Per Thorsheim CISA, CISM, CISSP-ISSAP Security Advisor. Introduction. 3 Google

19

www.ssllabs.com

Page 20: May 8, 212 Passwords: Security vs Usability? · Security vs Usability? FINSE Winter School May 8, 212 Per Thorsheim CISA, CISM, CISSP-ISSAP Security Advisor. Introduction. 3 Google

Security questions are *hard* to doproperly!

20

www.lightbluetouchpaper.org/2010/03/04/evaluating-statistical-attacks-on-personal-knowledge-questions/

Page 21: May 8, 212 Passwords: Security vs Usability? · Security vs Usability? FINSE Winter School May 8, 212 Per Thorsheim CISA, CISM, CISSP-ISSAP Security Advisor. Introduction. 3 Google

Do NOT e-mail me my password!

21

Or else…..

Page 22: May 8, 212 Passwords: Security vs Usability? · Security vs Usability? FINSE Winter School May 8, 212 Per Thorsheim CISA, CISM, CISSP-ISSAP Security Advisor. Introduction. 3 Google

22

Hall of shame

Page 23: May 8, 212 Passwords: Security vs Usability? · Security vs Usability? FINSE Winter School May 8, 212 Per Thorsheim CISA, CISM, CISSP-ISSAP Security Advisor. Introduction. 3 Google

23

https://defuse.ca/password-policy-hall-of-shame.htm

Page 24: May 8, 212 Passwords: Security vs Usability? · Security vs Usability? FINSE Winter School May 8, 212 Per Thorsheim CISA, CISM, CISSP-ISSAP Security Advisor. Introduction. 3 Google

24

E-mail can be used for password resets…

Page 25: May 8, 212 Passwords: Security vs Usability? · Security vs Usability? FINSE Winter School May 8, 212 Per Thorsheim CISA, CISM, CISSP-ISSAP Security Advisor. Introduction. 3 Google

25

…but not everyone does it «correctly»

Page 26: May 8, 212 Passwords: Security vs Usability? · Security vs Usability? FINSE Winter School May 8, 212 Per Thorsheim CISA, CISM, CISSP-ISSAP Security Advisor. Introduction. 3 Google

26

http://securitynirvana.blogspot.com/2010/11/revisiting-password-meters.html

Password meters are dangerous:

Page 27: May 8, 212 Passwords: Security vs Usability? · Security vs Usability? FINSE Winter School May 8, 212 Per Thorsheim CISA, CISM, CISSP-ISSAP Security Advisor. Introduction. 3 Google

27

http://tech.dropbox.com/?p=165 & https://github.com/lowe/zxcvbn

…Still want a password meter at yoursite?

Page 28: May 8, 212 Passwords: Security vs Usability? · Security vs Usability? FINSE Winter School May 8, 212 Per Thorsheim CISA, CISM, CISSP-ISSAP Security Advisor. Introduction. 3 Google

28

http://seclists.org/bugtraq/2012/Apr/185

No default passwords or backdoors,PLEASE!

Page 29: May 8, 212 Passwords: Security vs Usability? · Security vs Usability? FINSE Winter School May 8, 212 Per Thorsheim CISA, CISM, CISSP-ISSAP Security Advisor. Introduction. 3 Google

Written Password Policies

Page 30: May 8, 212 Passwords: Security vs Usability? · Security vs Usability? FINSE Winter School May 8, 212 Per Thorsheim CISA, CISM, CISSP-ISSAP Security Advisor. Introduction. 3 Google

30

Password policies should be simple tounderstand

Page 31: May 8, 212 Passwords: Security vs Usability? · Security vs Usability? FINSE Winter School May 8, 212 Per Thorsheim CISA, CISM, CISSP-ISSAP Security Advisor. Introduction. 3 Google

31

… or passwords may end up here:

Page 32: May 8, 212 Passwords: Security vs Usability? · Security vs Usability? FINSE Winter School May 8, 212 Per Thorsheim CISA, CISM, CISSP-ISSAP Security Advisor. Introduction. 3 Google
Page 33: May 8, 212 Passwords: Security vs Usability? · Security vs Usability? FINSE Winter School May 8, 212 Per Thorsheim CISA, CISM, CISSP-ISSAP Security Advisor. Introduction. 3 Google

Our past is paved with bad examples…

33

Page 34: May 8, 212 Passwords: Security vs Usability? · Security vs Usability? FINSE Winter School May 8, 212 Per Thorsheim CISA, CISM, CISSP-ISSAP Security Advisor. Introduction. 3 Google

…. REALLY bad examples in fact.

Page 34

Page 35: May 8, 212 Passwords: Security vs Usability? · Security vs Usability? FINSE Winter School May 8, 212 Per Thorsheim CISA, CISM, CISSP-ISSAP Security Advisor. Introduction. 3 Google

Now let me fix that password security for you…

WITHOUT affecting UX ATALL

Page 36: May 8, 212 Passwords: Security vs Usability? · Security vs Usability? FINSE Winter School May 8, 212 Per Thorsheim CISA, CISM, CISSP-ISSAP Security Advisor. Introduction. 3 Google

36

Rate-limiting online bruteforce attacks

Page 37: May 8, 212 Passwords: Security vs Usability? · Security vs Usability? FINSE Winter School May 8, 212 Per Thorsheim CISA, CISM, CISSP-ISSAP Security Advisor. Introduction. 3 Google

3 Blog posts and 1 academic paper:

1. «Enough with the rainbow tables: what you need to know aboutsecure password schemes»http://chargen.matasano.com/chargen/2007/9/7/enough-with-the-rainbow-tables-what-you-need-to-know-about-s.html

2. «Strong password hashing for ASP.NET»http://zetetic.net/blog/2012/3/29/strong-password-hashing-for-aspnet.html

3. «Why you should use Bcrypt to hash stored passwords»http://phpmaster.com/why-you-should-use-bcrypt-to-hash-stored-passwords/

4. «The quest to replace passwords: a framework for comparativeevaluation of web authentication schemes»http://www.cl.cam.ac.uk/~fms27/papers/2012-BonneauHerOorSta-password--oakland.pdf

Recommendations

37

Page 38: May 8, 212 Passwords: Security vs Usability? · Security vs Usability? FINSE Winter School May 8, 212 Per Thorsheim CISA, CISM, CISSP-ISSAP Security Advisor. Introduction. 3 Google

You should do risk analysis…

Page 38

(Your choice of methodology of course…)

Page 39: May 8, 212 Passwords: Security vs Usability? · Security vs Usability? FINSE Winter School May 8, 212 Per Thorsheim CISA, CISM, CISSP-ISSAP Security Advisor. Introduction. 3 Google

Page 39

… and accept the real world.

Page 40: May 8, 212 Passwords: Security vs Usability? · Security vs Usability? FINSE Winter School May 8, 212 Per Thorsheim CISA, CISM, CISSP-ISSAP Security Advisor. Introduction. 3 Google

40

Thank you!

Per Thorsheim

securitynirvana.blogspot.com

@thorsheim

Page 41: May 8, 212 Passwords: Security vs Usability? · Security vs Usability? FINSE Winter School May 8, 212 Per Thorsheim CISA, CISM, CISSP-ISSAP Security Advisor. Introduction. 3 Google