Toward Better Password Requirements

Jim Fenton
Jim FentonIndependent Internet Technologist
Toward Better Password
Requirements
Jim Fenton
@jimfenton
1
Disclaimer
I’m a consultant for NIST, working on the SP 800-63-3 update
Everything here is my own opinion; I don’t speak for NIST!
I’m discussing a preview draft. Everything is subject to change in the review
process
2
First, some context…
3
A little about SP 800-63
Electronic Digital Authentication Guideline
Defines requirements to satisfy 4 “Levels of
Assurance” (defined by OMB):
Registration (especially Identity Proofing)
Authentication
Assertions
Intended for Federal Gov applications,

used by many others
4
The SP 800-63–3 update
Major rethinking and rewrite
Separates proofing from
authentication
4 documents
Public preview and comments on
GitHub
5
Guiding principles
Strong user experience emphasis. If it’s not user friendly, users cheat.
Realistic security expectations. Many things need 2-factor authentication
Put burdens on the verifier rather than user wherever possible
Don’t ask the user to do things that don’t significantly improve security
6
“Guiding Principles” by Ford-Foundation is licensed under CC BY-ND 2.0
Standards language
SHALL: Requirement to be followed strictly; no deviation allowed

(cf. IETF “MUST”)
SHOULD: Particularly suitable possibility, preferred but not necessarily
required (cf. IETF “SHOULD”)
MAY: A course of action permissible within the limits of the publication
CAN: A possibility and capability, whether material, physical, or causal.
7
Memorized Secrets “Exercise Plays Vital Role Maintaining Brain Health” by
A Health Blog is licensed under CC BY-SA 2.0 8
What’s in and out in 2016?
In:
8 character min, >64 max
Dictionary to disallow common
passwords
Allow all printing characters
(Unicode optional) + spaces
Out:
Composition rules
Hints
Knowledge-based authn (KBA)
Routine password expiration
9
“Can’t help loving that man o’mine”
by darwin Bell is licensed under CC BY-NC 2.0
Minimum length
OLD: 6 characters/4 random digit PIN (LOA 1), 8 characters/6 random digit PIN
(LOA 2)
NEW: SHALL be at least 8 characters or 6 random digits
Rationale
Defends against online attacks (w/throttling)
Defense against offline attacks would require much longer minimums
Consistent requirements at all AALs (LOAs), old LOA 1 requirements too weak
10
Maximum length
OLD: No specification
NEW: SHALL accept (and use) at least 64 characters. No truncation.
Rationale:
Give users maximum flexibility to choose a memorable pass phrase
64 characters fit on many screens
“measuring tape” by areta ekarafi is licensed under CC BY-NC-ND 2.0
11
Space characters
OLD: no specification
NEW: SHALL accept space characters, but MAY canonicalize them out
Rationale:
Spaces are natural to type in passphrases
UI concerns about inadvertently typing multiple spaces, and the space
characters themselves don’t add much entropy
“the burning of the midnight oil” by Robert S. Donovan is licensed under CC BY-NC 2.0
12
Character set
OLD: Alphabet of 90 or more characters
NEW:
SHALL accept all printable ASCII characters
SHOULD accept Unicode, including emojis (1 “character”/code point) 😺
Rationale:
Site-specific constraints on special characters have been a UX nightmare
Verifier SHALL hash the entry anyway, so SQL injection shouldn’t be a concern
“Lead Type (melting in the oven of your mind)”
by jm3 on Flickr is licensed under CC BY-SA 2.0
13
Hints and prompts
OLD: No requirement
NEW:
SHALL NOT permit subscriber to store a hint that is accessible to unauthenticated
claimant
SHALL NOT prompt subscribers to use specific types of information (e.g., “What was
the name of your first pet?) when choosing memorized secrets
Rationale
These greatly weaken the authentication
14
“whisper” by ElizaC3 is licensed under CC BY 2.0
Throttling
OLD:
SHALL limit failed authentication attempts to 100 in 30-day period per account
MAY use CAPTCHAs, delays, or IP whitelists when approaching the limit
Used for all authentication with ~20 bit authenticator output entropy (e.g., OTP)
NEW:
Substantially unchanged. Adds use of risk-based or adaptive techniques for throttling
Rationale:
Many other techniques (e.g., stronger use of IP address) can be easily circumvented by attackers.
15
“Revs Per Minute” by Michael Gil is licensed under CC BY 2.0
Composition
OLD: Implement dictionary or composition rule to constrain user-generated secrets (LOA 2)
NEW:
SHOULD NOT impose composition rules
SHOULD compare prospective secrets against dictionary of known commonly-used and/or
compromised values.
RATIONALE:
Composition rules are a UX nightmare, and don’t provide as much value as originally thought
Need to study how to ask users to pick something different
16
“Are you freaking INSANE????” by Paige Saez is licensed under CC BY-NC 2.0
Dictionaries: questions
How big should the dictionary be?
Too small: ineffective
Too big: bad user experience (like composition rules, but less transparent)
Will users act predictibly when asked to pick a different password?
Users might just append something like 1 or !
If so, the dictionary is a great resource for offline cracking
17
“Dictionary” by Caleb Roenigk is licensed under CC BY 2.0
Dictionary investigation
What would a good dictionary look like?
How big?
What’s in it?
Started with Burnett’s list of 10M compromised passwords
Limited to >=8 characters
4945022 entries, 3199670 distinct passwords
18
“The Worlds Smallest Dictionary” by Kit is licensed under CC SA-NC 2.0
1"
10"
100"
1000"
10000"
100000"
password"
15041988"
27041987"
motdepasse"
11011994"
06101990"
03081974"
welcome123"
hellrais"
travolta"
bowhunter"
18091968"
gjkrjdybr"
galatasa"
sebring1"
04112002"
5858855abc"
31011999"
Vampire1"
combined"
31423142"
stryker1"
greencard"
30031954"
pointer1"
actually"
jackknife"
asianpus"
griffey2"
pc7fddmh"
yfcnz1994"
Dic$onary*Distribu$on*
19
1"
10"
100"
1000"
10000"
100000"
1" 10" 100" 1000" 10000" 100000"
Rank (log scale)
20
Dictionary distribution (log-log scale)
0"
50000"
100000"
150000"
200000"
250000"
300000"
350000"
1" 2" 3" 4" 5" 6" 7" 8" 9" 10" 11" 12" 13" 14" 15" 16" 17" 18" 19" 20"
Entries(with(>n(occurrences(
Occurrences(
Dic1onary(size(vs(number(of(occurrences(
>=8(characters(
21
Dictionaries: takeaways
It’s pretty simple to build a reasonable dictionary
Dictionary with size of ~100,000 entries is probably good - but need to test
But what do users do when asked to try another password?
BadPassword -> BadPassword1 ??? 😰
22
Verifier storage
OLD: SHALL NOT store plaintext (LOA 1); MAY salt and derive key or encrypt (LOA 2)
NEW:
SHALL be hashed with 32-bit random salt using approved key derivation function
PBKDF2 with SHA-1, SHA-2 family, SHA-3 family

(NIST SP 800-131A rev 1, Sec 9)
SHOULD do 10,000 iterations
SHOULD use keyed hash (e.g., HMAC) with key stored separately (e.g., HSM)
RATIONALE: Need to require verifiers to protect password integrity
23
Displaying secrets
OLD: No requirement
NEW: SHOULD offer option to display the secret rather than dots or
asterisks
But rehide after some period of time
RATIONALE: Displaying the password when not likely to be observed helps
typing accuracy, and therefore improves user experience
24
“shoulder surfing” by Anne Petersen is licensed under CC BY-NC-ND 2.0
Memorized Secret expiration
OLD: No requirement
NEW: Verifiers SHOULD NOT require memorized secrets to be changed
arbitrarily (e.g., periodically) unless there is evidence of compromise
RATIONALE: Expiration encourages choice of less complex and/or multiple
use secrets.
25
“parking_meter.JPG” by Paul Vladuchick is licensed under CC BY-NC-ND 2.0
Some other authenticators
26
Pre-registered knowledge
OLD: User chosen or personal knowledge questions
NEW: Eliminated!
RATIONALE: Knowledge-based authentication by another name, weak and
likely to suffer from reuse on multiple sites
27
“Pip” by Helen Haden is licensed under CC BY-NC 2.0
First pet?
Out of Band authenticator
OLD: Uniquely addressable, separate from primary authentication channel
NEW:
SMS deprecated (more on this to come)
Response (only) may be over protected channel
OOB device authenticates to verifier using approved crypto
28
SMS as OOB authenticator
SMS is deprecated for OOB — may not be acceptable in next revision
SMS SHALL NOT be to a VoIP number: that doesn’t establish
possession of something you have
Rationale:
Many threats to SMS including smartphone malware, fraudulent
reassignment of telephone number, SS7 attacks, forwarding
Users’ phone numbers also change
29
Biometrics
SHALL be bound tightly to specific device identified using approved crypto
Therefore always part of a multifactor authenticator
New performance metrics for false match and nonmatch rates and presentation
attack resistance
New hard limit (10) consecutive failed attempts
Need backup activation factor, e.g., memorized secret
MAY use central verifier if other requirements met
30
How to participate
31
“soccer” by ..Russ.. is licensed under CC BY-SA 2.0
Join the conversation
Read the preview drafts: https://pages.nist.gov/800-63-3/
Note: continuous update model, expect frequent changes!
Review issues on GitHub: https://github.com/usnistgov/800-63-3/issues
More instructions: https://pages.nist.gov/800-63-3/comment_help.html
Public preview period runs until ~September 17, 2016
“Formal” public comment period will follow
32
“Conversations” by Steve McClnahan is licensed under CC BY-NC 2.0
Questions?
33
1 of 33

Recommended

CVSS by
CVSSCVSS
CVSSChristian Heinrich
1.8K views15 slides
Best Call centre solution with integrated CRM by
Best Call centre solution with integrated CRM Best Call centre solution with integrated CRM
Best Call centre solution with integrated CRM Limesh Parekh
2.9K views23 slides
Security Questions Considered Harmful by
Security Questions Considered HarmfulSecurity Questions Considered Harmful
Security Questions Considered HarmfulJim Fenton
4.3K views15 slides
The Ant Story by
The Ant StoryThe Ant Story
The Ant Storyislamtics default
97.6K views24 slides
Using Assessment Tools on ICS (English) by
Using Assessment Tools on ICS (English)Using Assessment Tools on ICS (English)
Using Assessment Tools on ICS (English)Digital Bond
3.8K views44 slides
LOA Alternatives - A Modest Proposal by
LOA Alternatives - A Modest ProposalLOA Alternatives - A Modest Proposal
LOA Alternatives - A Modest ProposalJim Fenton
1.9K views12 slides

More Related Content

Viewers also liked

Securing Cassandra The Right Way by
Securing Cassandra The Right WaySecuring Cassandra The Right Way
Securing Cassandra The Right WayDataStax Academy
10K views38 slides
Confessions of a “Recovering” Data Broker: Responsible Innovation in the Age ... by
Confessions of a “Recovering” Data Broker: Responsible Innovation in the Age ...Confessions of a “Recovering” Data Broker: Responsible Innovation in the Age ...
Confessions of a “Recovering” Data Broker: Responsible Innovation in the Age ...Jim Adler
2.4K views41 slides
Web performance tools @ WebPerf.camp 2016 by
Web performance tools @ WebPerf.camp 2016Web performance tools @ WebPerf.camp 2016
Web performance tools @ WebPerf.camp 2016SergeyChernyshev
771 views17 slides
Certificate Pinning in Mobile Applications by
Certificate Pinning in Mobile ApplicationsCertificate Pinning in Mobile Applications
Certificate Pinning in Mobile ApplicationsLuca Bongiorni
6.1K views17 slides
La disfunzione erettile (de) by
La disfunzione erettile (de)La disfunzione erettile (de)
La disfunzione erettile (de)dott. Comeri Giancarlo
3.4K views86 slides
Конфидент. Евгений Мардыко. "Рынок ИБ - тенденции 2016. Взгляд российского ра... by
Конфидент. Евгений Мардыко. "Рынок ИБ - тенденции 2016. Взгляд российского ра...Конфидент. Евгений Мардыко. "Рынок ИБ - тенденции 2016. Взгляд российского ра...
Конфидент. Евгений Мардыко. "Рынок ИБ - тенденции 2016. Взгляд российского ра...Expolink
5.1K views20 slides

Viewers also liked(20)

Confessions of a “Recovering” Data Broker: Responsible Innovation in the Age ... by Jim Adler
Confessions of a “Recovering” Data Broker: Responsible Innovation in the Age ...Confessions of a “Recovering” Data Broker: Responsible Innovation in the Age ...
Confessions of a “Recovering” Data Broker: Responsible Innovation in the Age ...
Jim Adler2.4K views
Web performance tools @ WebPerf.camp 2016 by SergeyChernyshev
Web performance tools @ WebPerf.camp 2016Web performance tools @ WebPerf.camp 2016
Web performance tools @ WebPerf.camp 2016
SergeyChernyshev771 views
Certificate Pinning in Mobile Applications by Luca Bongiorni
Certificate Pinning in Mobile ApplicationsCertificate Pinning in Mobile Applications
Certificate Pinning in Mobile Applications
Luca Bongiorni6.1K views
Конфидент. Евгений Мардыко. "Рынок ИБ - тенденции 2016. Взгляд российского ра... by Expolink
Конфидент. Евгений Мардыко. "Рынок ИБ - тенденции 2016. Взгляд российского ра...Конфидент. Евгений Мардыко. "Рынок ИБ - тенденции 2016. Взгляд российского ра...
Конфидент. Евгений Мардыко. "Рынок ИБ - тенденции 2016. Взгляд российского ра...
Expolink5.1K views
ESORICS 2014: Local Password validation using Self-Organizing Maps by Diogo Mónica
ESORICS 2014: Local Password validation using Self-Organizing MapsESORICS 2014: Local Password validation using Self-Organizing Maps
ESORICS 2014: Local Password validation using Self-Organizing Maps
Diogo Mónica176.6K views
2016 share the three headed beast v4 by bigendiansmalls
2016 share the three headed beast v42016 share the three headed beast v4
2016 share the three headed beast v4
bigendiansmalls3.7K views
Malware Detection with OSSEC HIDS - OSSECCON 2014 by Santiago Bassett
Malware Detection with OSSEC HIDS - OSSECCON 2014Malware Detection with OSSEC HIDS - OSSECCON 2014
Malware Detection with OSSEC HIDS - OSSECCON 2014
Santiago Bassett19.4K views
Threat Intelligence with Open Source Tools - Cornerstones of Trust 2014 by Santiago Bassett
Threat Intelligence with Open Source Tools - Cornerstones of Trust 2014Threat Intelligence with Open Source Tools - Cornerstones of Trust 2014
Threat Intelligence with Open Source Tools - Cornerstones of Trust 2014
Santiago Bassett18.2K views
iBeacons: Security and Privacy? by Jim Fenton
iBeacons: Security and Privacy?iBeacons: Security and Privacy?
iBeacons: Security and Privacy?
Jim Fenton1.5K views
Privacy Preserving Public Auditing for Data Storage Security in Cloud.ppt by Girish Chandra
Privacy Preserving Public Auditing for Data Storage Security in Cloud.pptPrivacy Preserving Public Auditing for Data Storage Security in Cloud.ppt
Privacy Preserving Public Auditing for Data Storage Security in Cloud.ppt
Girish Chandra19.4K views
Chapter 3: Olympic Movements by Vibha Choudhary
Chapter 3: Olympic MovementsChapter 3: Olympic Movements
Chapter 3: Olympic Movements
Vibha Choudhary78.1K views
Разработка средств защиты в России и на Западе: разность подходов by Aleksey Lukatskiy
Разработка средств защиты в России и на Западе: разность подходовРазработка средств защиты в России и на Западе: разность подходов
Разработка средств защиты в России и на Западе: разность подходов
Aleksey Lukatskiy5.8K views
Мастер-класс по моделированию угроз by Aleksey Lukatskiy
Мастер-класс по моделированию угрозМастер-класс по моделированию угроз
Мастер-класс по моделированию угроз
Aleksey Lukatskiy6.9K views
Модель угроз биометрических систем by Aleksey Lukatskiy
Модель угроз биометрических системМодель угроз биометрических систем
Модель угроз биометрических систем
Aleksey Lukatskiy5.2K views
LEGAL BASES OF SCHOOL ADMINISTRATION AND SUPERVISION by Cey Gloria
LEGAL BASES OF SCHOOL ADMINISTRATION AND SUPERVISIONLEGAL BASES OF SCHOOL ADMINISTRATION AND SUPERVISION
LEGAL BASES OF SCHOOL ADMINISTRATION AND SUPERVISION
Cey Gloria76K views
From cache to in-memory data grid. Introduction to Hazelcast. by Taras Matyashovsky
From cache to in-memory data grid. Introduction to Hazelcast.From cache to in-memory data grid. Introduction to Hazelcast.
From cache to in-memory data grid. Introduction to Hazelcast.
Taras Matyashovsky42.6K views

Similar to Toward Better Password Requirements

User Authentication: Passwords and Beyond by
User Authentication: Passwords and BeyondUser Authentication: Passwords and Beyond
User Authentication: Passwords and BeyondJim Fenton
2.5K views55 slides
Secure Communication with an Insecure Internet Infrastructure by
Secure Communication with an Insecure Internet InfrastructureSecure Communication with an Insecure Internet Infrastructure
Secure Communication with an Insecure Internet Infrastructurewebhostingguy
1.9K views50 slides
VoIP Security 101 what you need to know by
VoIP Security 101   what you need to knowVoIP Security 101   what you need to know
VoIP Security 101 what you need to knowEric Klein
758 views41 slides
Shameful secrets of proprietary network protocols by
Shameful secrets of proprietary network protocolsShameful secrets of proprietary network protocols
Shameful secrets of proprietary network protocolsSlawomir Jasek
432 views62 slides
Defending Against Attacks With Rails by
Defending Against Attacks With RailsDefending Against Attacks With Rails
Defending Against Attacks With RailsTony Amoyal
2.1K views51 slides
Debunking Information Security myths by
Debunking Information Security mythsDebunking Information Security myths
Debunking Information Security mythsDan Houser
69 views27 slides

Similar to Toward Better Password Requirements(20)

User Authentication: Passwords and Beyond by Jim Fenton
User Authentication: Passwords and BeyondUser Authentication: Passwords and Beyond
User Authentication: Passwords and Beyond
Jim Fenton2.5K views
Secure Communication with an Insecure Internet Infrastructure by webhostingguy
Secure Communication with an Insecure Internet InfrastructureSecure Communication with an Insecure Internet Infrastructure
Secure Communication with an Insecure Internet Infrastructure
webhostingguy1.9K views
VoIP Security 101 what you need to know by Eric Klein
VoIP Security 101   what you need to knowVoIP Security 101   what you need to know
VoIP Security 101 what you need to know
Eric Klein758 views
Shameful secrets of proprietary network protocols by Slawomir Jasek
Shameful secrets of proprietary network protocolsShameful secrets of proprietary network protocols
Shameful secrets of proprietary network protocols
Slawomir Jasek432 views
Defending Against Attacks With Rails by Tony Amoyal
Defending Against Attacks With RailsDefending Against Attacks With Rails
Defending Against Attacks With Rails
Tony Amoyal2.1K views
Debunking Information Security myths by Dan Houser
Debunking Information Security mythsDebunking Information Security myths
Debunking Information Security myths
Dan Houser69 views
Security Theatre - PHP UK Conference by xsist10
Security Theatre - PHP UK ConferenceSecurity Theatre - PHP UK Conference
Security Theatre - PHP UK Conference
xsist101.2K views
Діана Пінчук "Як відрізнити авторизацію від аутентифікації та перестати бояти... by Dakiry
Діана Пінчук "Як відрізнити авторизацію від аутентифікації та перестати бояти...Діана Пінчук "Як відрізнити авторизацію від аутентифікації та перестати бояти...
Діана Пінчук "Як відрізнити авторизацію від аутентифікації та перестати бояти...
Dakiry152 views
AuthN & AuthZ testing: it’s not only about the login form by Diana Pinchuk
AuthN & AuthZ testing:  it’s not only about the login formAuthN & AuthZ testing:  it’s not only about the login form
AuthN & AuthZ testing: it’s not only about the login form
Diana Pinchuk50 views
BSides London 2015 - Proprietary network protocols - risky business on the wire. by Jakub Kałużny
BSides London 2015 - Proprietary network protocols - risky business on the wire.BSides London 2015 - Proprietary network protocols - risky business on the wire.
BSides London 2015 - Proprietary network protocols - risky business on the wire.
Jakub Kałużny395 views
apidays LIVE Australia 2021 - Levelling up database security by thinking in A... by apidays
apidays LIVE Australia 2021 - Levelling up database security by thinking in A...apidays LIVE Australia 2021 - Levelling up database security by thinking in A...
apidays LIVE Australia 2021 - Levelling up database security by thinking in A...
apidays160 views
Enabling Web Apps For DoD Security via PKI/CAC Enablement (Forge.Mil case study) by Richard Bullington-McGuire
Enabling Web Apps For DoD Security via PKI/CAC Enablement (Forge.Mil case study)Enabling Web Apps For DoD Security via PKI/CAC Enablement (Forge.Mil case study)
Enabling Web Apps For DoD Security via PKI/CAC Enablement (Forge.Mil case study)
Shameful Secrets of Proprietary Network Protocols - OWASP AppSec EU 2014 by Jakub Kałużny
Shameful Secrets of Proprietary Network Protocols - OWASP AppSec EU 2014Shameful Secrets of Proprietary Network Protocols - OWASP AppSec EU 2014
Shameful Secrets of Proprietary Network Protocols - OWASP AppSec EU 2014
Jakub Kałużny346 views
The Client is not always right! How to secure OAuth authentication from your... by Mike Schwartz
The Client is not always right!  How to secure OAuth authentication from your...The Client is not always right!  How to secure OAuth authentication from your...
The Client is not always right! How to secure OAuth authentication from your...
Mike Schwartz2K views

More from Jim Fenton

Notifs 2018 by
Notifs 2018Notifs 2018
Notifs 2018Jim Fenton
345 views33 slides
REQUIRETLS: Sender Control of TLS Requirements by
REQUIRETLS: Sender Control of TLS RequirementsREQUIRETLS: Sender Control of TLS Requirements
REQUIRETLS: Sender Control of TLS RequirementsJim Fenton
148 views14 slides
User Authentication Overview by
User Authentication OverviewUser Authentication Overview
User Authentication OverviewJim Fenton
1.6K views24 slides
Making User Authentication More Usable by
Making User Authentication More UsableMaking User Authentication More Usable
Making User Authentication More UsableJim Fenton
633 views29 slides
Notifs update by
Notifs updateNotifs update
Notifs updateJim Fenton
530 views23 slides
IgnitePII2014 Nōtifs by
IgnitePII2014 NōtifsIgnitePII2014 Nōtifs
IgnitePII2014 NōtifsJim Fenton
732 views21 slides

More from Jim Fenton(8)

REQUIRETLS: Sender Control of TLS Requirements by Jim Fenton
REQUIRETLS: Sender Control of TLS RequirementsREQUIRETLS: Sender Control of TLS Requirements
REQUIRETLS: Sender Control of TLS Requirements
Jim Fenton148 views
User Authentication Overview by Jim Fenton
User Authentication OverviewUser Authentication Overview
User Authentication Overview
Jim Fenton1.6K views
Making User Authentication More Usable by Jim Fenton
Making User Authentication More UsableMaking User Authentication More Usable
Making User Authentication More Usable
Jim Fenton633 views
Notifs update by Jim Fenton
Notifs updateNotifs update
Notifs update
Jim Fenton530 views
IgnitePII2014 Nōtifs by Jim Fenton
IgnitePII2014 NōtifsIgnitePII2014 Nōtifs
IgnitePII2014 Nōtifs
Jim Fenton732 views
OneID Garage Door by Jim Fenton
OneID Garage DoorOneID Garage Door
OneID Garage Door
Jim Fenton367 views
Identity systems by Jim Fenton
Identity systemsIdentity systems
Identity systems
Jim Fenton643 views

Recently uploaded

Future of Indian ConsumerTech by
Future of Indian ConsumerTechFuture of Indian ConsumerTech
Future of Indian ConsumerTechKapil Khandelwal (KK)
22 views68 slides
Zero to Automated in Under a Year by
Zero to Automated in Under a YearZero to Automated in Under a Year
Zero to Automated in Under a YearNetwork Automation Forum
15 views23 slides
20231123_Camunda Meetup Vienna.pdf by
20231123_Camunda Meetup Vienna.pdf20231123_Camunda Meetup Vienna.pdf
20231123_Camunda Meetup Vienna.pdfPhactum Softwareentwicklung GmbH
41 views73 slides
virtual reality.pptx by
virtual reality.pptxvirtual reality.pptx
virtual reality.pptxG036GaikwadSnehal
14 views15 slides
iSAQB Software Architecture Gathering 2023: How Process Orchestration Increas... by
iSAQB Software Architecture Gathering 2023: How Process Orchestration Increas...iSAQB Software Architecture Gathering 2023: How Process Orchestration Increas...
iSAQB Software Architecture Gathering 2023: How Process Orchestration Increas...Bernd Ruecker
40 views69 slides
The Forbidden VPN Secrets.pdf by
The Forbidden VPN Secrets.pdfThe Forbidden VPN Secrets.pdf
The Forbidden VPN Secrets.pdfMariam Shaba
20 views72 slides

Recently uploaded(20)

iSAQB Software Architecture Gathering 2023: How Process Orchestration Increas... by Bernd Ruecker
iSAQB Software Architecture Gathering 2023: How Process Orchestration Increas...iSAQB Software Architecture Gathering 2023: How Process Orchestration Increas...
iSAQB Software Architecture Gathering 2023: How Process Orchestration Increas...
Bernd Ruecker40 views
The Forbidden VPN Secrets.pdf by Mariam Shaba
The Forbidden VPN Secrets.pdfThe Forbidden VPN Secrets.pdf
The Forbidden VPN Secrets.pdf
Mariam Shaba20 views
"Surviving highload with Node.js", Andrii Shumada by Fwdays
"Surviving highload with Node.js", Andrii Shumada "Surviving highload with Node.js", Andrii Shumada
"Surviving highload with Node.js", Andrii Shumada
Fwdays22 views
Future of AR - Facebook Presentation by ssuserb54b561
Future of AR - Facebook PresentationFuture of AR - Facebook Presentation
Future of AR - Facebook Presentation
ssuserb54b56115 views
ESPC 2023 - Protect and Govern your Sensitive Data with Microsoft Purview in ... by Jasper Oosterveld
ESPC 2023 - Protect and Govern your Sensitive Data with Microsoft Purview in ...ESPC 2023 - Protect and Govern your Sensitive Data with Microsoft Purview in ...
ESPC 2023 - Protect and Govern your Sensitive Data with Microsoft Purview in ...
TouchLog: Finger Micro Gesture Recognition Using Photo-Reflective Sensors by sugiuralab
TouchLog: Finger Micro Gesture Recognition  Using Photo-Reflective SensorsTouchLog: Finger Micro Gesture Recognition  Using Photo-Reflective Sensors
TouchLog: Finger Micro Gesture Recognition Using Photo-Reflective Sensors
sugiuralab21 views
Webinar : Desperately Seeking Transformation - Part 2: Insights from leading... by The Digital Insurer
Webinar : Desperately Seeking Transformation - Part 2:  Insights from leading...Webinar : Desperately Seeking Transformation - Part 2:  Insights from leading...
Webinar : Desperately Seeking Transformation - Part 2: Insights from leading...
GDG Cloud Southlake 28 Brad Taylor and Shawn Augenstein Old Problems in the N... by James Anderson
GDG Cloud Southlake 28 Brad Taylor and Shawn Augenstein Old Problems in the N...GDG Cloud Southlake 28 Brad Taylor and Shawn Augenstein Old Problems in the N...
GDG Cloud Southlake 28 Brad Taylor and Shawn Augenstein Old Problems in the N...
James Anderson92 views
SAP Automation Using Bar Code and FIORI.pdf by Virendra Rai, PMP
SAP Automation Using Bar Code and FIORI.pdfSAP Automation Using Bar Code and FIORI.pdf
SAP Automation Using Bar Code and FIORI.pdf
Business Analyst Series 2023 - Week 3 Session 5 by DianaGray10
Business Analyst Series 2023 -  Week 3 Session 5Business Analyst Series 2023 -  Week 3 Session 5
Business Analyst Series 2023 - Week 3 Session 5
DianaGray10300 views

Toward Better Password Requirements

  • 2. Disclaimer I’m a consultant for NIST, working on the SP 800-63-3 update Everything here is my own opinion; I don’t speak for NIST! I’m discussing a preview draft. Everything is subject to change in the review process 2
  • 4. A little about SP 800-63 Electronic Digital Authentication Guideline Defines requirements to satisfy 4 “Levels of Assurance” (defined by OMB): Registration (especially Identity Proofing) Authentication Assertions Intended for Federal Gov applications,
 used by many others 4
  • 5. The SP 800-63–3 update Major rethinking and rewrite Separates proofing from authentication 4 documents Public preview and comments on GitHub 5
  • 6. Guiding principles Strong user experience emphasis. If it’s not user friendly, users cheat. Realistic security expectations. Many things need 2-factor authentication Put burdens on the verifier rather than user wherever possible Don’t ask the user to do things that don’t significantly improve security 6 “Guiding Principles” by Ford-Foundation is licensed under CC BY-ND 2.0
  • 7. Standards language SHALL: Requirement to be followed strictly; no deviation allowed
 (cf. IETF “MUST”) SHOULD: Particularly suitable possibility, preferred but not necessarily required (cf. IETF “SHOULD”) MAY: A course of action permissible within the limits of the publication CAN: A possibility and capability, whether material, physical, or causal. 7
  • 8. Memorized Secrets “Exercise Plays Vital Role Maintaining Brain Health” by A Health Blog is licensed under CC BY-SA 2.0 8
  • 9. What’s in and out in 2016? In: 8 character min, >64 max Dictionary to disallow common passwords Allow all printing characters (Unicode optional) + spaces Out: Composition rules Hints Knowledge-based authn (KBA) Routine password expiration 9 “Can’t help loving that man o’mine” by darwin Bell is licensed under CC BY-NC 2.0
  • 10. Minimum length OLD: 6 characters/4 random digit PIN (LOA 1), 8 characters/6 random digit PIN (LOA 2) NEW: SHALL be at least 8 characters or 6 random digits Rationale Defends against online attacks (w/throttling) Defense against offline attacks would require much longer minimums Consistent requirements at all AALs (LOAs), old LOA 1 requirements too weak 10
  • 11. Maximum length OLD: No specification NEW: SHALL accept (and use) at least 64 characters. No truncation. Rationale: Give users maximum flexibility to choose a memorable pass phrase 64 characters fit on many screens “measuring tape” by areta ekarafi is licensed under CC BY-NC-ND 2.0 11
  • 12. Space characters OLD: no specification NEW: SHALL accept space characters, but MAY canonicalize them out Rationale: Spaces are natural to type in passphrases UI concerns about inadvertently typing multiple spaces, and the space characters themselves don’t add much entropy “the burning of the midnight oil” by Robert S. Donovan is licensed under CC BY-NC 2.0 12
  • 13. Character set OLD: Alphabet of 90 or more characters NEW: SHALL accept all printable ASCII characters SHOULD accept Unicode, including emojis (1 “character”/code point) 😺 Rationale: Site-specific constraints on special characters have been a UX nightmare Verifier SHALL hash the entry anyway, so SQL injection shouldn’t be a concern “Lead Type (melting in the oven of your mind)” by jm3 on Flickr is licensed under CC BY-SA 2.0 13
  • 14. Hints and prompts OLD: No requirement NEW: SHALL NOT permit subscriber to store a hint that is accessible to unauthenticated claimant SHALL NOT prompt subscribers to use specific types of information (e.g., “What was the name of your first pet?) when choosing memorized secrets Rationale These greatly weaken the authentication 14 “whisper” by ElizaC3 is licensed under CC BY 2.0
  • 15. Throttling OLD: SHALL limit failed authentication attempts to 100 in 30-day period per account MAY use CAPTCHAs, delays, or IP whitelists when approaching the limit Used for all authentication with ~20 bit authenticator output entropy (e.g., OTP) NEW: Substantially unchanged. Adds use of risk-based or adaptive techniques for throttling Rationale: Many other techniques (e.g., stronger use of IP address) can be easily circumvented by attackers. 15 “Revs Per Minute” by Michael Gil is licensed under CC BY 2.0
  • 16. Composition OLD: Implement dictionary or composition rule to constrain user-generated secrets (LOA 2) NEW: SHOULD NOT impose composition rules SHOULD compare prospective secrets against dictionary of known commonly-used and/or compromised values. RATIONALE: Composition rules are a UX nightmare, and don’t provide as much value as originally thought Need to study how to ask users to pick something different 16 “Are you freaking INSANE????” by Paige Saez is licensed under CC BY-NC 2.0
  • 17. Dictionaries: questions How big should the dictionary be? Too small: ineffective Too big: bad user experience (like composition rules, but less transparent) Will users act predictibly when asked to pick a different password? Users might just append something like 1 or ! If so, the dictionary is a great resource for offline cracking 17 “Dictionary” by Caleb Roenigk is licensed under CC BY 2.0
  • 18. Dictionary investigation What would a good dictionary look like? How big? What’s in it? Started with Burnett’s list of 10M compromised passwords Limited to >=8 characters 4945022 entries, 3199670 distinct passwords 18 “The Worlds Smallest Dictionary” by Kit is licensed under CC SA-NC 2.0
  • 20. 1" 10" 100" 1000" 10000" 100000" 1" 10" 100" 1000" 10000" 100000" Rank (log scale) 20 Dictionary distribution (log-log scale)
  • 21. 0" 50000" 100000" 150000" 200000" 250000" 300000" 350000" 1" 2" 3" 4" 5" 6" 7" 8" 9" 10" 11" 12" 13" 14" 15" 16" 17" 18" 19" 20" Entries(with(>n(occurrences( Occurrences( Dic1onary(size(vs(number(of(occurrences( >=8(characters( 21
  • 22. Dictionaries: takeaways It’s pretty simple to build a reasonable dictionary Dictionary with size of ~100,000 entries is probably good - but need to test But what do users do when asked to try another password? BadPassword -> BadPassword1 ??? 😰 22
  • 23. Verifier storage OLD: SHALL NOT store plaintext (LOA 1); MAY salt and derive key or encrypt (LOA 2) NEW: SHALL be hashed with 32-bit random salt using approved key derivation function PBKDF2 with SHA-1, SHA-2 family, SHA-3 family
 (NIST SP 800-131A rev 1, Sec 9) SHOULD do 10,000 iterations SHOULD use keyed hash (e.g., HMAC) with key stored separately (e.g., HSM) RATIONALE: Need to require verifiers to protect password integrity 23
  • 24. Displaying secrets OLD: No requirement NEW: SHOULD offer option to display the secret rather than dots or asterisks But rehide after some period of time RATIONALE: Displaying the password when not likely to be observed helps typing accuracy, and therefore improves user experience 24 “shoulder surfing” by Anne Petersen is licensed under CC BY-NC-ND 2.0
  • 25. Memorized Secret expiration OLD: No requirement NEW: Verifiers SHOULD NOT require memorized secrets to be changed arbitrarily (e.g., periodically) unless there is evidence of compromise RATIONALE: Expiration encourages choice of less complex and/or multiple use secrets. 25 “parking_meter.JPG” by Paul Vladuchick is licensed under CC BY-NC-ND 2.0
  • 27. Pre-registered knowledge OLD: User chosen or personal knowledge questions NEW: Eliminated! RATIONALE: Knowledge-based authentication by another name, weak and likely to suffer from reuse on multiple sites 27 “Pip” by Helen Haden is licensed under CC BY-NC 2.0 First pet?
  • 28. Out of Band authenticator OLD: Uniquely addressable, separate from primary authentication channel NEW: SMS deprecated (more on this to come) Response (only) may be over protected channel OOB device authenticates to verifier using approved crypto 28
  • 29. SMS as OOB authenticator SMS is deprecated for OOB — may not be acceptable in next revision SMS SHALL NOT be to a VoIP number: that doesn’t establish possession of something you have Rationale: Many threats to SMS including smartphone malware, fraudulent reassignment of telephone number, SS7 attacks, forwarding Users’ phone numbers also change 29
  • 30. Biometrics SHALL be bound tightly to specific device identified using approved crypto Therefore always part of a multifactor authenticator New performance metrics for false match and nonmatch rates and presentation attack resistance New hard limit (10) consecutive failed attempts Need backup activation factor, e.g., memorized secret MAY use central verifier if other requirements met 30
  • 31. How to participate 31 “soccer” by ..Russ.. is licensed under CC BY-SA 2.0
  • 32. Join the conversation Read the preview drafts: https://pages.nist.gov/800-63-3/ Note: continuous update model, expect frequent changes! Review issues on GitHub: https://github.com/usnistgov/800-63-3/issues More instructions: https://pages.nist.gov/800-63-3/comment_help.html Public preview period runs until ~September 17, 2016 “Formal” public comment period will follow 32 “Conversations” by Steve McClnahan is licensed under CC BY-NC 2.0