that was then, this is now: a security evaluation of password … · evaluation of password...

19
That Was Then, This Is Now: A Security Evaluation of Password Generation, Storage, and Autofill in Browser-Based Password Managers Scott Ruoti Sean Oesch

Upload: others

Post on 27-Feb-2021

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: That Was Then, This Is Now: A Security Evaluation of Password … · Evaluation of Password Generation, Storage, and Autofill in Browser-Based Password Managers Sean Oesch ... , but

That Was Then, This Is Now: A Security Evaluation of Password

Generation, Storage, and Autofill in Browser-Based Password Managers

Scott RuotiSean Oesch

Page 2: That Was Then, This Is Now: A Security Evaluation of Password … · Evaluation of Password Generation, Storage, and Autofill in Browser-Based Password Managers Sean Oesch ... , but

Motivation

• Passwords are still the dominant form of authentication, but they have serious shortcomings

• Password managers can help users generate strong, unique passwords, but how secure are the password managers themselves?

2

Page 3: That Was Then, This Is Now: A Security Evaluation of Password … · Evaluation of Password Generation, Storage, and Autofill in Browser-Based Password Managers Sean Oesch ... , but

3

Generation

Storage

Autofill

The password lifecycle

Page 4: That Was Then, This Is Now: A Security Evaluation of Password … · Evaluation of Password Generation, Storage, and Autofill in Browser-Based Password Managers Sean Oesch ... , but

Standalone App Password Managers

4

Page 5: That Was Then, This Is Now: A Security Evaluation of Password … · Evaluation of Password Generation, Storage, and Autofill in Browser-Based Password Managers Sean Oesch ... , but

Extension Based Password Managers

5

Page 6: That Was Then, This Is Now: A Security Evaluation of Password … · Evaluation of Password Generation, Storage, and Autofill in Browser-Based Password Managers Sean Oesch ... , but

Browser Password Managers

6

Page 7: That Was Then, This Is Now: A Security Evaluation of Password … · Evaluation of Password Generation, Storage, and Autofill in Browser-Based Password Managers Sean Oesch ... , but

7

Page 8: That Was Then, This Is Now: A Security Evaluation of Password … · Evaluation of Password Generation, Storage, and Autofill in Browser-Based Password Managers Sean Oesch ... , but

Autofill, Generation, and StorageRecommended behaviors and security concerns

8

Page 9: That Was Then, This Is Now: A Security Evaluation of Password … · Evaluation of Password Generation, Storage, and Autofill in Browser-Based Password Managers Sean Oesch ... , but

Autofill

• Require user interaction before filling credential• Prevents automatic credential scraping

• Increases the probably the user can detect attacks

• Refuse to fill forms in iframes• Significantly reduces the attack surface

• Refuse to submit password over insecure connections

• Avoid filling suspicious forms

9

Page 10: That Was Then, This Is Now: A Security Evaluation of Password … · Evaluation of Password Generation, Storage, and Autofill in Browser-Based Password Managers Sean Oesch ... , but

10

Page 11: That Was Then, This Is Now: A Security Evaluation of Password … · Evaluation of Password Generation, Storage, and Autofill in Browser-Based Password Managers Sean Oesch ... , but

Firefox Credential Scraping Demo

11

Page 12: That Was Then, This Is Now: A Security Evaluation of Password … · Evaluation of Password Generation, Storage, and Autofill in Browser-Based Password Managers Sean Oesch ... , but

Generation

• Generate passwords that are resilient to online/offline attack• Resist ~106 guesses for online resilience

• Resist ~1014 guesses for offline resilience

• Preserve safe settings− Default: length 20, all character sets

− Modify: length 8, letters and digits

− Should restore default secure settings after modification

12

Page 13: That Was Then, This Is Now: A Security Evaluation of Password … · Evaluation of Password Generation, Storage, and Autofill in Browser-Based Password Managers Sean Oesch ... , but

13

Page 14: That Was Then, This Is Now: A Security Evaluation of Password … · Evaluation of Password Generation, Storage, and Autofill in Browser-Based Password Managers Sean Oesch ... , but

Random But Weak Passwords

14

• Most randomly generated passwords are resilient to online and offline attacks

• A small portion will be trivially guessed by brute force attacks• LastPass - 17M users, generate 1

password each, 730 weak passwords

• Probability is negligible for sufficiently long passwords• 10 characters for online resistance• 18 characters for offline resistance

Page 15: That Was Then, This Is Now: A Security Evaluation of Password … · Evaluation of Password Generation, Storage, and Autofill in Browser-Based Password Managers Sean Oesch ... , but

Storage

• Master password should be strong• Single point of failure

• Strong Key Derivation Function (KDF) should be used

• Metadata should be encrypted

15

Page 16: That Was Then, This Is Now: A Security Evaluation of Password … · Evaluation of Password Generation, Storage, and Autofill in Browser-Based Password Managers Sean Oesch ... , but

16

Page 17: That Was Then, This Is Now: A Security Evaluation of Password … · Evaluation of Password Generation, Storage, and Autofill in Browser-Based Password Managers Sean Oesch ... , but

Wrap-upRecommendations and future work

17

Page 18: That Was Then, This Is Now: A Security Evaluation of Password … · Evaluation of Password Generation, Storage, and Autofill in Browser-Based Password Managers Sean Oesch ... , but

Conclusion• Recommendations• Require user interaction for autofill• Filter weak passwords during generation• Better master password policies for storage

• Future Work• Browser-supported password managers− Safer autofill

• Research-derived character sets• HTML-supported password generation• Mobile password managers

18

Page 19: That Was Then, This Is Now: A Security Evaluation of Password … · Evaluation of Password Generation, Storage, and Autofill in Browser-Based Password Managers Sean Oesch ... , but

Thanks for Joining!

Contact: [email protected]

19