(almost) everything about passwords that owasp …almost)_everything...(almost) everything about...

36
(Almost) everything about passwords that OWASP won’t teach you. Per Thorsheim

Upload: buixuyen

Post on 25-May-2018

225 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: (Almost) everything about passwords that OWASP …Almost)_everything...(Almost) everything about passwords that OWASP won’t teach you. Per Thorsheim OWASP Cheat Sheets Password Storage

(Almost) everything about passwords that OWASP won’t teach you.

Per Thorsheim

Page 2: (Almost) everything about passwords that OWASP …Almost)_everything...(Almost) everything about passwords that OWASP won’t teach you. Per Thorsheim OWASP Cheat Sheets Password Storage

OWASP Cheat Sheets Password Storage

Cheat Sheet

Forgot Password Cheat Sheet

Pinning Cheat Sheet

Authentication Cheat Sheet

Page 3: (Almost) everything about passwords that OWASP …Almost)_everything...(Almost) everything about passwords that OWASP won’t teach you. Per Thorsheim OWASP Cheat Sheets Password Storage
Page 4: (Almost) everything about passwords that OWASP …Almost)_everything...(Almost) everything about passwords that OWASP won’t teach you. Per Thorsheim OWASP Cheat Sheets Password Storage

Work / Life Flowchart.

(As a CISO)

Page 5: (Almost) everything about passwords that OWASP …Almost)_everything...(Almost) everything about passwords that OWASP won’t teach you. Per Thorsheim OWASP Cheat Sheets Password Storage

Account creation form @ikea --------

Please enter preferred username

+ password.

Page 6: (Almost) everything about passwords that OWASP …Almost)_everything...(Almost) everything about passwords that OWASP won’t teach you. Per Thorsheim OWASP Cheat Sheets Password Storage

Online bank in Kuwait

Page 7: (Almost) everything about passwords that OWASP …Almost)_everything...(Almost) everything about passwords that OWASP won’t teach you. Per Thorsheim OWASP Cheat Sheets Password Storage

Usability in a nutshell

Page 8: (Almost) everything about passwords that OWASP …Almost)_everything...(Almost) everything about passwords that OWASP won’t teach you. Per Thorsheim OWASP Cheat Sheets Password Storage
Page 9: (Almost) everything about passwords that OWASP …Almost)_everything...(Almost) everything about passwords that OWASP won’t teach you. Per Thorsheim OWASP Cheat Sheets Password Storage

Passwords are *everywhere*

Page 10: (Almost) everything about passwords that OWASP …Almost)_everything...(Almost) everything about passwords that OWASP won’t teach you. Per Thorsheim OWASP Cheat Sheets Password Storage
Page 11: (Almost) everything about passwords that OWASP …Almost)_everything...(Almost) everything about passwords that OWASP won’t teach you. Per Thorsheim OWASP Cheat Sheets Password Storage

17yr teens – pick your PIN

Girls 1996

Boys 1337 1996

Page 12: (Almost) everything about passwords that OWASP …Almost)_everything...(Almost) everything about passwords that OWASP won’t teach you. Per Thorsheim OWASP Cheat Sheets Password Storage

Digit distribution for PINs

Thank you to Andrey Bogdanov, Sondre Rønjom & Jan Fredrik Leversund for great help!

4-digit memorable 4-digit non-memorable 7-digit memorable

Digit 6 is hard to remember?

Digit 0 is not «random» enough?

Page 13: (Almost) everything about passwords that OWASP …Almost)_everything...(Almost) everything about passwords that OWASP won’t teach you. Per Thorsheim OWASP Cheat Sheets Password Storage

Heatmapping PINs Rockyou iPhone Physical access

Control system

A birthday present every eleven wallets? The security of customer-chosen banking PINs http://www.cl.cam.ac.uk/~jcb82/doc/BPA12-FC-banking_pin_security.pdf http://www.cl.cam.ac.uk/~jcb82/doc/BPA12-FC-banking_pin_security-slides_ss.pdf

Daniel Amitay: http://danielamitay.com/blog/2011/6/13/most-common-iphone-passcodes

Radical.org/pinmap By @kluzz

Page 14: (Almost) everything about passwords that OWASP …Almost)_everything...(Almost) everything about passwords that OWASP won’t teach you. Per Thorsheim OWASP Cheat Sheets Password Storage

Look, and you shall see… PINs.

Page 15: (Almost) everything about passwords that OWASP …Almost)_everything...(Almost) everything about passwords that OWASP won’t teach you. Per Thorsheim OWASP Cheat Sheets Password Storage

Guess What?

YOU ARE

PREDICTABLE!

Page 16: (Almost) everything about passwords that OWASP …Almost)_everything...(Almost) everything about passwords that OWASP won’t teach you. Per Thorsheim OWASP Cheat Sheets Password Storage

What’s the value of a password?

Page 17: (Almost) everything about passwords that OWASP …Almost)_everything...(Almost) everything about passwords that OWASP won’t teach you. Per Thorsheim OWASP Cheat Sheets Password Storage

Consequences?

http://arstechnica.com/security/2013/04/hacked-ap-twitter-feed-rocks-market-after-sending-false-news-flash/

Page 18: (Almost) everything about passwords that OWASP …Almost)_everything...(Almost) everything about passwords that OWASP won’t teach you. Per Thorsheim OWASP Cheat Sheets Password Storage

Tuesday, June 5, 2012, on Twitter:

Page 19: (Almost) everything about passwords that OWASP …Almost)_everything...(Almost) everything about passwords that OWASP won’t teach you. Per Thorsheim OWASP Cheat Sheets Password Storage

Lessons from Linkedin

Page 20: (Almost) everything about passwords that OWASP …Almost)_everything...(Almost) everything about passwords that OWASP won’t teach you. Per Thorsheim OWASP Cheat Sheets Password Storage

Mobile Usability #1

Oh Please GOD, NO CAPTCHAS ON PHONES!

EVER!

Keys to small.

FINGERS TOO BIG!

Introduction to app should

include security features?

PIN on Phone = equals PIN on

Dropbox! (Why no other options for the

paranoid?)

Page 21: (Almost) everything about passwords that OWASP …Almost)_everything...(Almost) everything about passwords that OWASP won’t teach you. Per Thorsheim OWASP Cheat Sheets Password Storage

Foursquare – Verify mail account

Page 22: (Almost) everything about passwords that OWASP …Almost)_everything...(Almost) everything about passwords that OWASP won’t teach you. Per Thorsheim OWASP Cheat Sheets Password Storage

Lastpass – iOS & Android

Unknown address, or wrong format?

Can we verify mail

addresses?

Default do not show password?

Do not remember password?

Display password option = GOOD!

(Default on?)

Page 23: (Almost) everything about passwords that OWASP …Almost)_everything...(Almost) everything about passwords that OWASP won’t teach you. Per Thorsheim OWASP Cheat Sheets Password Storage

Tip For Mobile Usability:

= Johansen 56426736

Page 24: (Almost) everything about passwords that OWASP …Almost)_everything...(Almost) everything about passwords that OWASP won’t teach you. Per Thorsheim OWASP Cheat Sheets Password Storage

Password Meters

Page 25: (Almost) everything about passwords that OWASP …Almost)_everything...(Almost) everything about passwords that OWASP won’t teach you. Per Thorsheim OWASP Cheat Sheets Password Storage

Google account creation

Page 26: (Almost) everything about passwords that OWASP …Almost)_everything...(Almost) everything about passwords that OWASP won’t teach you. Per Thorsheim OWASP Cheat Sheets Password Storage

Give sound advice --

Recommend 2FA

Page 27: (Almost) everything about passwords that OWASP …Almost)_everything...(Almost) everything about passwords that OWASP won’t teach you. Per Thorsheim OWASP Cheat Sheets Password Storage

«Secret» Mail + Phone #

Facebook 2FA in use!

Page 28: (Almost) everything about passwords that OWASP …Almost)_everything...(Almost) everything about passwords that OWASP won’t teach you. Per Thorsheim OWASP Cheat Sheets Password Storage

Starttls.info RFC 2487 -> RFC 3207 Transparent opportunistic encryption using SSL/TLS between to SMTP servers RFC requires public servers to accept sending & receiving plaintext Self-signed, expired, SSLv2, RC4, MD5, Anonymous DH, 40-56 bits encryption keys…

We’ve found the dark side of SSL! (please contribute by testing domains.)

Page 29: (Almost) everything about passwords that OWASP …Almost)_everything...(Almost) everything about passwords that OWASP won’t teach you. Per Thorsheim OWASP Cheat Sheets Password Storage

Operation Face Factor Unique opportunity (!) 5000+ «headshots» Passwords + other information available Analyze!

Page 30: (Almost) everything about passwords that OWASP …Almost)_everything...(Almost) everything about passwords that OWASP won’t teach you. Per Thorsheim OWASP Cheat Sheets Password Storage

Categorization

Sex Glasses (Y/N) Hair color Facial hair

Page 31: (Almost) everything about passwords that OWASP …Almost)_everything...(Almost) everything about passwords that OWASP won’t teach you. Per Thorsheim OWASP Cheat Sheets Password Storage

… and the results? Women prefer length.

Men prefer wider selection (entropy).

«Unix gurus» have the worst passwords.

Page 32: (Almost) everything about passwords that OWASP …Almost)_everything...(Almost) everything about passwords that OWASP won’t teach you. Per Thorsheim OWASP Cheat Sheets Password Storage

Getting hacked may be good?

Page 33: (Almost) everything about passwords that OWASP …Almost)_everything...(Almost) everything about passwords that OWASP won’t teach you. Per Thorsheim OWASP Cheat Sheets Password Storage

PasswordsCon Las Vegas, Aug 5-6 co-located with

BSidesLV

Trondheim (Norge) Dec 7-8

passwordscon.org

Page 34: (Almost) everything about passwords that OWASP …Almost)_everything...(Almost) everything about passwords that OWASP won’t teach you. Per Thorsheim OWASP Cheat Sheets Password Storage

Applied Risk Analysis

Page 35: (Almost) everything about passwords that OWASP …Almost)_everything...(Almost) everything about passwords that OWASP won’t teach you. Per Thorsheim OWASP Cheat Sheets Password Storage

A final note + video

«Never write down your password»

Page 36: (Almost) everything about passwords that OWASP …Almost)_everything...(Almost) everything about passwords that OWASP won’t teach you. Per Thorsheim OWASP Cheat Sheets Password Storage

Thank you! in/thorsheim securitynirvana.blogspot.com @thorsheim /GodPraksis /user/thorsheim per.thorsheim Available on RedPhone for Android